[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] pnetlib/System.Windows.Forms ColumnHeader.cs, 1.1,
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] pnetlib/System.Windows.Forms ColumnHeader.cs, 1.1, 1.2 ListBox.cs, 1.5, 1.6 ListViewItem.cs, 1.1, 1.2 PropertyTabChangedEventArgs.cs, 1.2, 1.3 PropertyTabChangedEventHandler.cs, 1.1, 1.2 ToolTip.cs, 1.2, 1.3 |
Date: |
Mon, 29 Sep 2003 00:23:51 +0000 |
Update of /cvsroot/dotgnu-pnet/pnetlib/System.Windows.Forms
In directory subversions:/tmp/cvs-serv23638/System.Windows.Forms
Modified Files:
ColumnHeader.cs ListBox.cs ListViewItem.cs
PropertyTabChangedEventArgs.cs
PropertyTabChangedEventHandler.cs ToolTip.cs
Log Message:
ECMA fixes.
Index: ToolTip.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System.Windows.Forms/ToolTip.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** ToolTip.cs 28 Sep 2003 22:06:36 -0000 1.2
--- ToolTip.cs 29 Sep 2003 00:23:49 -0000 1.3
***************
*** 28,32 ****
! public sealed class ToolTip : Component, IExtenderProvider
{
//[TODO]
--- 28,35 ----
! public sealed class ToolTip
! #if CONFIG_COMPONENT_MODEL
! : Component, IExtenderProvider
! #endif
{
//[TODO]
***************
*** 37,40 ****
--- 40,44 ----
}
+ #if CONFIG_COMPONENT_MODEL
//[TODO]
public ToolTip(IContainer cont)
***************
*** 42,45 ****
--- 46,50 ----
}
+ #endif
// [TODO]
***************
*** 122,126 ****
--- 127,135 ----
// [TODO]
+ #if CONFIG_COMPONENT_MODEL
protected override void Dispose(bool disposing)
+ #else
+ protected virtual void Dispose(bool disposing)
+ #endif
{
// TODO
Index: ListViewItem.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System.Windows.Forms/ListViewItem.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** ListViewItem.cs 28 Sep 2003 22:03:07 -0000 1.1
--- ListViewItem.cs 29 Sep 2003 00:23:49 -0000 1.2
***************
*** 29,35 ****
#endif
! public class ListViewItem: ICloneable,
#if CONFIG_SERIALIZATION
! ISerializable
#endif
{
--- 29,35 ----
#endif
! public class ListViewItem: ICloneable
#if CONFIG_SERIALIZATION
! , ISerializable
#endif
{
Index: PropertyTabChangedEventArgs.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/System.Windows.Forms/PropertyTabChangedEventArgs.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** PropertyTabChangedEventArgs.cs 28 Sep 2003 22:06:36 -0000 1.2
--- PropertyTabChangedEventArgs.cs 29 Sep 2003 00:23:49 -0000 1.3
***************
*** 23,26 ****
--- 23,28 ----
{
+ #if CONFIG_COMPONENT_MODEL_DESIGN
+
using System.Runtime.InteropServices;
using System.Windows.Forms.Design;
***************
*** 59,62 ****
--- 61,66 ----
}; // class PropertyTabChangedEventArgs
+
+ #endif // CONFIG_COMPONENT_MODEL_DESIGN
}; // namespace System.Windows.Forms
Index: PropertyTabChangedEventHandler.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/System.Windows.Forms/PropertyTabChangedEventHandler.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** PropertyTabChangedEventHandler.cs 18 Jun 2003 09:46:49 -0000 1.1
--- PropertyTabChangedEventHandler.cs 29 Sep 2003 00:23:49 -0000 1.2
***************
*** 23,28 ****
--- 23,32 ----
{
+ #if CONFIG_COMPONENT_MODEL_DESIGN
+
public delegate void PropertyTabChangedEventHandler
(Object sender, PropertyTabChangedEventArgs e);
+
+ #endif
}; // namespace System.Windows.Forms
Index: ListBox.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System.Windows.Forms/ListBox.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** ListBox.cs 28 Sep 2003 21:55:00 -0000 1.5
--- ListBox.cs 29 Sep 2003 00:23:49 -0000 1.6
***************
*** 1810,1814 ****
private void ShiftHighlight(int dataInd, int lastInd, bool clear, bool
select)
{
! Debug.Assert(this.selectionMode == SelectionMode.MultiExtended);
// When holding down shift, highlight everything between the
last
--- 1810,1814 ----
private void ShiftHighlight(int dataInd, int lastInd, bool clear, bool
select)
{
! //Debug.Assert(this.selectionMode ==
SelectionMode.MultiExtended);
// When holding down shift, highlight everything between the
last
***************
*** 1956,1960 ****
private void MoveSelection(int newInd)
{
! Debug.Assert(this.selectionMode == SelectionMode.One);
if(this.selectedIndices.Count > 0)
--- 1956,1960 ----
private void MoveSelection(int newInd)
{
! //Debug.Assert(this.selectionMode == SelectionMode.One);
if(this.selectedIndices.Count > 0)
Index: ColumnHeader.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System.Windows.Forms/ColumnHeader.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** ColumnHeader.cs 28 Sep 2003 22:03:07 -0000 1.1
--- ColumnHeader.cs 29 Sep 2003 00:23:49 -0000 1.2
***************
*** 22,31 ****
namespace System.Windows.Forms
{
- #if CONFIG_COMPONENT_MODEL
using System;
using System.ComponentModel;
public class ColumnHeader : Component
{
private ListView listView;
--- 22,35 ----
namespace System.Windows.Forms
{
using System;
+ using System.Reflection;
using System.ComponentModel;
+ #if CONFIG_COMPONENT_MODEL
public class ColumnHeader : Component
+ #else
+ public class ColumnHeader
+ #endif
{
private ListView listView;
***************
*** 117,122 ****
--- 121,135 ----
if (type == typeof(ColumnHeader))
columnHeader = new ColumnHeader();
+ #if !ECMA_COMPAT
else
columnHeader = Activator.CreateInstance(type)
as ColumnHeader;
+ #else
+ else
+ columnHeader = type.InvokeMember
+ (String.Empty,
BindingFlags.CreateInstance |
+
BindingFlags.Public |
+
BindingFlags.Instance,
+ null, null, null, null, null, null) as
ColumnHeader;
+ #endif
columnHeader.textAlign = TextAlign;
columnHeader.text = text;
***************
*** 153,156 ****
}
}
- #endif
}
--- 166,168 ----
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] pnetlib/System.Windows.Forms ColumnHeader.cs, 1.1, 1.2 ListBox.cs, 1.5, 1.6 ListViewItem.cs, 1.1, 1.2 PropertyTabChangedEventArgs.cs, 1.2, 1.3 PropertyTabChangedEventHandler.cs, 1.1, 1.2 ToolTip.cs, 1.2, 1.3,
Rhys Weatherley <address@hidden> <=
- Prev by Date:
[Dotgnu-pnet-commits] pnetlib/System/Net EndpointPermission.cs, 1.1, 1.2 ServicePointManager.cs, 1.1, 1.2 WebPermission.cs, 1.1, 1.2
- Next by Date:
[Dotgnu-pnet-commits] pnetlib/System.Drawing.Win32 Win32.cs, 1.10, 1.11
- Previous by thread:
[Dotgnu-pnet-commits] pnetlib/System/Net EndpointPermission.cs, 1.1, 1.2 ServicePointManager.cs, 1.1, 1.2 WebPermission.cs, 1.1, 1.2
- Next by thread:
[Dotgnu-pnet-commits] pnetlib/System.Drawing.Win32 Win32.cs, 1.10, 1.11
- Index(es):