* Control.cs: Visibility of the control should be false
when the handle is destroyed in WmDestroy and not immediately
in Dispose(). This is effectively where the disposing process
ends even though the control is marked as Disposed immediately
after calling Dispose().
[Fixes bug #402446]
svn path=/trunk/mcs/; revision=106721
+2008-06-27 Ivan N. Zlatev <contact@i-nz.net>
+
+ * Control.cs: Visibility of the control should be false
+ when the handle is destroyed in WmDestroy and not immediately
+ in Dispose().
+ [Fixes bug #402446]
+
2008-06-27 Ivan N. Zlatev <contact@i-nz.net>
* PropertyGridTextBox.cs: Start monitoring the mouse clicks
}
}
is_disposed = true;
- is_disposing = false;
- is_visible = false;
base.Dispose(disposing);
}
#endregion // Public Constructors
#endif
is_recreating = false;
}
+
+ if (is_disposing) {
+ is_disposing = false;
+ is_visible = false;
+ }
}
private void WmWindowPosChanged (ref Message m) {