Ver Fonte

2005-11-03 Peter Dennis Bartok <[email protected]>

	* XplatUI.cs: Updated build rev/date
	* ComboBox.cs, DataGridTextBoxColumn.cs Control.cs, 
	  DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
	* Application.cs: Trigger context-specific ExitThread events


svn path=/trunk/mcs/; revision=52545
Peter Dennis Bartok há 20 anos atrás
pai
commit
ca0734de50

+ 4 - 0
mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs

@@ -364,6 +364,10 @@ namespace System.Windows.Forms {
 			if (ApplicationExit != null) {
 				ApplicationExit(null, EventArgs.Empty);
 			}
+
+			if (app_context != null) {
+				app_context.ExitThread();
+			}
 		}
 
 		public static void Run(Form mainForm) {

+ 8 - 1
mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog

@@ -1,8 +1,15 @@
+2005-11-03  Peter Dennis Bartok  <[email protected]>
+
+	* XplatUI.cs: Updated build rev/date
+	* ComboBox.cs, DataGridTextBoxColumn.cs Control.cs, 
+	  DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
+	* Application.cs: Trigger context-specific ExitThread events
+
 2005-11-03  Jackson Harper  <[email protected]>
 
 	* Menu.cs:
 	* MainMenu.cs:
-	* GrigTableStylesCollection.cs:
+	* GridTableStylesCollection.cs:
 	* Timer.cs:
 	* TabPage.cs:
 	* HelpProvider.cs:

+ 1 - 1
mcs/class/Managed.Windows.Forms/System.Windows.Forms/ComboBox.cs

@@ -360,7 +360,7 @@ namespace System.Windows.Forms
 		}
 
 		[Localizable (true)]
-		public virtual int ItemHeight {
+		public int ItemHeight {
 			get { return combobox_info.item_height; }
 			set {
 				if (value < 0)

+ 2 - 2
mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs

@@ -275,7 +275,7 @@ namespace System.Windows.Forms
 				}
 			}
 
-			public bool IsReadOnly {
+			public virtual bool IsReadOnly {
 				get {
 					return list.IsReadOnly;
 				}
@@ -422,7 +422,7 @@ namespace System.Windows.Forms
 				return Contains (value) || ImplicitContains (value);
 			}
 
-			public void CopyTo (Array array, int index)
+			public virtual void CopyTo (Array array, int index)
 			{
 				list.CopyTo(array, index);
 			}

+ 3 - 3
mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGrid.cs

@@ -298,7 +298,7 @@ namespace System.Windows.Forms
 			}
 		}
 
-		public Color BackColor {
+		public override Color BackColor {
 			get {
 				return backColor;
 			}
@@ -322,7 +322,7 @@ namespace System.Windows.Forms
 
 		[Browsable(false)]
 		[EditorBrowsable(EditorBrowsableState.Never)]
-		public Image BackgroundImage {
+		public override Image BackgroundImage {
 			get {
 				return base.BackgroundImage;
 			}
@@ -565,7 +565,7 @@ namespace System.Windows.Forms
 			}
 		}
 
-		public Color ForeColor {
+		public override Color ForeColor {
 			get {
 				return base.ForeColor;
 			}

+ 1 - 1
mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGridTableStyle.cs

@@ -421,7 +421,7 @@ namespace System.Windows.Forms
 		}
 
 		[DefaultValue(false)]
-		public bool ReadOnly {
+		public virtual bool ReadOnly {
 			get {
 				return _readonly;
 			}

+ 1 - 1
mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGridTextBoxColumn.cs

@@ -101,7 +101,7 @@ namespace System.Windows.Forms
 		}
 
 		[DefaultValue(null)]
-		public PropertyDescriptor PropertyDescriptor {
+		public override PropertyDescriptor PropertyDescriptor {
 			set {
 				base.PropertyDescriptor = value;
 			}

+ 2 - 2
mcs/class/Managed.Windows.Forms/System.Windows.Forms/DateTimePicker.cs

@@ -124,7 +124,7 @@ namespace System.Windows.Forms {
 		// no reason why this is overridden
 		[Browsable(false)]
 		[EditorBrowsable(EditorBrowsableState.Never)]
-		public Color BackColor {
+		public override Color BackColor {
 			set {
 				base.BackColor = value;
 			}
@@ -365,7 +365,7 @@ namespace System.Windows.Forms {
 		[Browsable(false)]
 		[EditorBrowsable(EditorBrowsableState.Advanced)]
 		[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
-		public string Text {
+		public override string Text {
 			set {
 				// TODO: if the format is a custom format we need to do a custom parse here
 				DateTime parsed_value = DateTime.Parse (value);