[winforms] Reorder code a bit
[mono.git] / mcs / class / Managed.Windows.Forms / Notes
index 9c15b2dd8f633113a04172ecc5afd9c7eb2fe50e..35e602544003766063e844ed4daae534add9281e 100644 (file)
@@ -7,6 +7,8 @@
   passed <control>.DeviceContext. If an event, for example a resize, that
   causes <control>.DeviceContext to be recreated, is initiated by the 
   drawing function, the Graphics object passed to it will no longer be valid.
+  Remember that resizing a control results in recreating <control>.DeviceContext
+  and this in turn results in destroying the old <control>.DeviceContext.
 
 * If you're implementing a theme and you need to know about certain states
   of the control, you have to access the internal variables of the control