dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] pnetlib/System.Windows.Forms Control.cs, 1.47, 1.


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] pnetlib/System.Windows.Forms Control.cs, 1.47, 1.48 Form.cs, 1.25, 1.26
Date: Wed, 03 Dec 2003 05:14:23 +0000

Update of /cvsroot/dotgnu-pnet/pnetlib/System.Windows.Forms
In directory subversions:/tmp/cvs-serv23812/System.Windows.Forms

Modified Files:
        Control.cs Form.cs 
Log Message:


Implement window maximize and restore; track dynamic changes to
the minimized and maximized window states.


Index: Control.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System.Windows.Forms/Control.cs,v
retrieving revision 1.47
retrieving revision 1.48
diff -C2 -d -r1.47 -r1.48
*** Control.cs  2 Dec 2003 07:28:06 -0000       1.47
--- Control.cs  3 Dec 2003 05:14:20 -0000       1.48
***************
*** 4876,4881 ****
                        }
  
!       // Close request received - processed by the "Form" class.
        internal virtual void CloseRequest() {}
  
        // Create a brush that can be used to fill with the background 
color/image.
--- 4876,4889 ----
                        }
  
!       // Event that is emitted when the window state changes.
!       // The argument is the "int" version of a "FormWindowState" value.
!       void IToolkitEventSink.ToolkitStateChanged(int state)
!                       {
!                               WindowStateChanged((FormWindowState)state);
!                       }
! 
!       // Close or state request received - processed by the "Form" class.
        internal virtual void CloseRequest() {}
+       internal virtual void WindowStateChanged(FormWindowState state) {}
  
        // Create a brush that can be used to fill with the background 
color/image.

Index: Form.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System.Windows.Forms/Form.cs,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** Form.cs     2 Dec 2003 11:04:18 -0000       1.25
--- Form.cs     3 Dec 2003 05:14:20 -0000       1.26
***************
*** 1479,1483 ****
                        }
  
!       
  
  #if !CONFIG_COMPACT_FORMS
--- 1479,1487 ----
                        }
  
!       // Window state change request received.
!       internal override void WindowStateChanged(FormWindowState state)
!                       {
!                               windowState = state;
!                       }
  
  #if !CONFIG_COMPACT_FORMS





reply via email to

[Prev in Thread] Current Thread [Next in Thread]