[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnetlib/System.Drawing.Xsharp DrawingTopLeve
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnetlib/System.Drawing.Xsharp DrawingTopLevelWindow.cs,1.4,1.5 |
Date: |
Sat, 21 Jun 2003 23:19:47 -0400 |
Update of /cvsroot/dotgnu-pnet/pnetlib/System.Drawing.Xsharp
In directory subversions:/tmp/cvs-serv30487/System.Drawing.Xsharp
Modified Files:
DrawingTopLevelWindow.cs
Log Message:
Correct "Close" handling for top-level forms; implement
"DestroyHandle" and "Dispose".
Index: DrawingTopLevelWindow.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/System.Drawing.Xsharp/DrawingTopLevelWindow.cs,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** DrawingTopLevelWindow.cs 12 Jun 2003 05:50:29 -0000 1.4
--- DrawingTopLevelWindow.cs 22 Jun 2003 03:19:45 -0000 1.5
***************
*** 432,435 ****
--- 432,446 ----
}
+ // Override the "Close" event from Xsharp. We pass control to
+ // the event sink to deal with it, and avoid calling the base.
+ public override bool Close()
+ {
+ if(sink != null)
+ {
+ sink.ToolkitClose();
+ }
+ return false;
+ }
+
}; // class DrawingTopLevelWindow
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/System.Drawing.Xsharp DrawingTopLevelWindow.cs,1.4,1.5,
Rhys Weatherley <address@hidden> <=