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

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

[dotgnu-pnet-commits] pnetlib ChangeLog System/Net/DownloadProgressCh...


From: Klaus Treichel
Subject: [dotgnu-pnet-commits] pnetlib ChangeLog System/Net/DownloadProgressCh...
Date: Thu, 25 Jan 2007 11:37:50 +0000

CVSROOT:        /cvsroot/dotgnu-pnet
Module name:    pnetlib
Changes by:     Klaus Treichel <ktreichel>      07/01/25 11:37:49

Modified files:
        .              : ChangeLog 
        System/Net     : DownloadProgressChangedEventArgs.cs 
                         UploadProgressChangedEventArgs.cs 
        System/Net/Sockets: SocketFlags.cs 
        System.Windows.Forms: Application.cs 
Added files:
        runtime/System/Threading: AbandonedMutexException.cs 
                                  ContextCallback.cs EventResetMode.cs 
                                  ParameterizedThreadStart.cs 
        System/Net     : ICredentialsByHost.cs IWebProxyScript.cs 
        System/Net/Sockets: IOControlCode.cs IPPacketInformation.cs 
                            SocketError.cs SocketInformation.cs 
                            SocketInformationOptions.cs 
                            TransmitFileOptions.cs 
        System.Windows.Forms: FormCollection.cs MessageLoopCallback.cs 
                              PowerState.cs UnhandledExceptionMode.cs 

Log message:
        Add some 2.0 stuff.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pnetlib/ChangeLog?cvsroot=dotgnu-pnet&r1=1.2464&r2=1.2465
http://cvs.savannah.gnu.org/viewcvs/pnetlib/runtime/System/Threading/AbandonedMutexException.cs?cvsroot=dotgnu-pnet&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/pnetlib/runtime/System/Threading/ContextCallback.cs?cvsroot=dotgnu-pnet&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/pnetlib/runtime/System/Threading/EventResetMode.cs?cvsroot=dotgnu-pnet&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/pnetlib/runtime/System/Threading/ParameterizedThreadStart.cs?cvsroot=dotgnu-pnet&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/pnetlib/System/Net/DownloadProgressChangedEventArgs.cs?cvsroot=dotgnu-pnet&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/pnetlib/System/Net/UploadProgressChangedEventArgs.cs?cvsroot=dotgnu-pnet&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/pnetlib/System/Net/ICredentialsByHost.cs?cvsroot=dotgnu-pnet&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/pnetlib/System/Net/IWebProxyScript.cs?cvsroot=dotgnu-pnet&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/pnetlib/System/Net/Sockets/SocketFlags.cs?cvsroot=dotgnu-pnet&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/pnetlib/System/Net/Sockets/IOControlCode.cs?cvsroot=dotgnu-pnet&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/pnetlib/System/Net/Sockets/IPPacketInformation.cs?cvsroot=dotgnu-pnet&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/pnetlib/System/Net/Sockets/SocketError.cs?cvsroot=dotgnu-pnet&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/pnetlib/System/Net/Sockets/SocketInformation.cs?cvsroot=dotgnu-pnet&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/pnetlib/System/Net/Sockets/SocketInformationOptions.cs?cvsroot=dotgnu-pnet&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/pnetlib/System/Net/Sockets/TransmitFileOptions.cs?cvsroot=dotgnu-pnet&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/pnetlib/System.Windows.Forms/Application.cs?cvsroot=dotgnu-pnet&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/pnetlib/System.Windows.Forms/FormCollection.cs?cvsroot=dotgnu-pnet&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/pnetlib/System.Windows.Forms/MessageLoopCallback.cs?cvsroot=dotgnu-pnet&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/pnetlib/System.Windows.Forms/PowerState.cs?cvsroot=dotgnu-pnet&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/pnetlib/System.Windows.Forms/UnhandledExceptionMode.cs?cvsroot=dotgnu-pnet&rev=1.1

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/ChangeLog,v
retrieving revision 1.2464
retrieving revision 1.2465
diff -u -b -r1.2464 -r1.2465
--- ChangeLog   25 Jan 2007 10:22:04 -0000      1.2464
+++ ChangeLog   25 Jan 2007 11:37:48 -0000      1.2465
@@ -1,3 +1,28 @@
+2ßß7-01-25  Klaus Treichel  <address@hidden>
+
+       * runtime/System/Threading/AbandonedMutexException.cs,
+       runtime/System/Threading/ContextCallback.cs,
+       runtime/System/Threading/EventResetMode.cs,
+       runtime/System/Threading/ParameterizedThreadStart.cs,
+       System/Net/ICredentialsByHost.cs, System/Net/IWebProxyScript.cs,
+       System/Net/Sockets/IOControlCode.cs,
+       System/Net/Sockets/IPPacketInformation.cs,
+       System/Net/Sockets/SocketError.cs,
+       System/Net/Sockets/SocketInformation.cs,
+       System/Net/Sockets/SocketInformationOptions.cs,
+       System/Net/Sockets/TransmitFileOptions.cs,
+       System.Windows.Forms/FormCollection.cs,
+       System.Windows.Forms/MessageLoopCallback.cs,
+       System.Windows.Forms/PowerState.cs,
+       System.Windows.Forms/UnhandledExceptionMode.cs: Add some .NET 2.0 stuff.
+
+       * System/Net/DownloadProgressChangedEventArgs.cs,
+       System/Net/UploadProgressChangedEventArgs.cs: Fix the percentage
+       calculation in the constructors.
+
+       * System/Net/Sockets/SocketFlags.cs, 
System.Windows.Forms/Application.cs:
+       Stub .NET 2.0 methods.
+
 2007-01-25  Heiko Weiss <address@hidden>
 
        *System.Windows.Forms/CheckListBox.cs: set ItemHeight enabled.

Index: System/Net/DownloadProgressChangedEventArgs.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/System/Net/DownloadProgressChangedEventArgs.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- System/Net/DownloadProgressChangedEventArgs.cs      17 Jan 2007 12:58:13 
-0000      1.1
+++ System/Net/DownloadProgressChangedEventArgs.cs      25 Jan 2007 11:37:49 
-0000      1.2
@@ -36,9 +36,8 @@
        internal DownloadProgressChangedEventArgs(long bytesReceived,
                                                                                
          long totalBytesToReceive,
                                                                                
          Object userState)
-               : base((int)(bytesReceived == 0 ? 0
-                       : (int)(totalBytesToReceive / bytesReceived) * 100), 
userState)
-                               
+               : base((int)(totalBytesToReceive == 0 ? 100
+                       : (int)((bytesReceived * 100) / totalBytesToReceive)), 
userState)
        {
                this.bytesReceived = bytesReceived;
                this.totalBytesToReceive = totalBytesToReceive;

Index: System/Net/UploadProgressChangedEventArgs.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/System/Net/UploadProgressChangedEventArgs.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- System/Net/UploadProgressChangedEventArgs.cs        17 Jan 2007 12:58:14 
-0000      1.1
+++ System/Net/UploadProgressChangedEventArgs.cs        25 Jan 2007 11:37:49 
-0000      1.2
@@ -40,9 +40,8 @@
                                                                                
        long bytesReceived,
                                                                                
        long totalBytesToReceive,
                                                                                
        Object userState)
-               : base((int)(bytesSent == 0 ? 0
-                       : (int)(totalBytesToSend / bytesSent) * 100), userState)
-                               
+               : base((int)(totalBytesToSend == 0 ? 100
+                       : (int)((bytesSent * 100) / totalBytesToSend)), 
userState)
        {
                this.bytesReceived = bytesReceived;
                this.bytesSent = bytesSent;

Index: System/Net/Sockets/SocketFlags.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System/Net/Sockets/SocketFlags.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- System/Net/Sockets/SocketFlags.cs   2 Apr 2003 07:16:00 -0000       1.2
+++ System/Net/Sockets/SocketFlags.cs   25 Jan 2007 11:37:49 -0000      1.3
@@ -30,6 +30,12 @@
        Peek                            = 0x0002,
        DontRoute                       = 0x0004,
        MaxIOVectorLength       = 0x0010,
+#if CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FRAMEWORK
+       Truncated                       = 0x0100,
+       ControlDataTruncated= 0x0200,
+       Broadcast                       = 0x0400,
+       Multicast                       = 0x0800,
+#endif // CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FRAMEWORK
        Partial                         = 0x8000
 
 }; // enum SocketFlags

Index: System.Windows.Forms/Application.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System.Windows.Forms/Application.cs,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- System.Windows.Forms/Application.cs 29 Nov 2005 12:05:16 -0000      1.11
+++ System.Windows.Forms/Application.cs 25 Jan 2007 11:37:49 -0000      1.12
@@ -28,6 +28,9 @@
 using System.Reflection;
 using System.IO;
 using System.Drawing.Toolkit;
+#if CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FORMS
+using System.Windows.Forms.VisualStyles;
+#endif // CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FORMS
 
 public sealed class Application
 {
@@ -44,6 +47,22 @@
        [ThreadStatic] private static InputLanguage inputLanguage;
        private static String safeTopLevelCaptionFormat = "{0}";
 
+#if CONFIG_FRAMEWORK_2_0
+
+       // The application wide default for the UseCompatibleTextRendering.
+       internal static bool useCompatibleTextRendering = true;
+
+       // The last value to which the UseWaitCursor of this application was 
set.
+       private static bool useWaitCursor = false;
+
+       // The application wide unhandled exception mode.
+       internal static UnhandledExceptionMode unhandledExceptionMode = 
UnhandledExceptionMode.Automatic;
+
+       // The application wide visual style state.
+       internal static VisualStyleState visualStyleState = 
VisualStyleState.ClientAndNonClientAreasEnabled;
+
+#endif // CONFIG_FRAMEWORK_2_0
+
        // Determine if it is possible to quit this application.
        public static bool AllowQuit
                        {
@@ -302,6 +321,145 @@
                                // We don't use message filters in this 
implementation.
                        }
 
+#if CONFIG_FRAMEWORK_2_0
+
+       // Run any filters for the message.
+       // Returns true if filters processed the message and false otherwise
+       [TODO]
+       public static bool FilterMessage(Message message)
+                       {
+                               return false;
+                       }
+
+       // Get a read only collection of all currently open forms in this 
application.
+       [TODO]
+       public static FormCollection OpenForms
+                       {
+                               get
+                               {
+                                       return null;
+                               }
+                       }
+
+       // Raise the Idle event
+       public static void RaiseIdle(EventArgs e)
+                       {
+                               if(Idle != null)
+                               {
+                                       Idle(null, e);
+                               }
+                       }
+
+       // Register a callback to for checking if messages are still processed.
+       // The MessageLoop property will return false if SWF is not processing 
messages.
+       [TODO]
+       public static void RegisterMessageLoop(MessageLoopCallback callback)
+                       {
+                       }
+
+       public static bool RenderWithVisualStyles
+                       {
+                               get
+                               {
+                                       // No visual styles are used.
+                                       return false;
+                               }
+                       }
+
+       // Shut down and restart the application.
+       // Throws a NotSupportedException if it's no SWF application.
+       [TODO]
+       public static void Restart()
+                       {
+                               throw new NotSupportedException();
+                       }
+
+       // Suspend or hibernate the system or requests the system to do so.
+       // if force is true the system will be suspended immediately otherwise
+       // a suspend request is sent to every app.
+       // If disableWakeEvent is true the power state will not be restored on a
+       // wake event.
+       // Returns true if the system is being suspended, otherwise false.
+       [TODO]
+       public static bool SetSuspendState(PowerState state,
+                                                                          bool 
force,
+                                                                          bool 
disableWakeEvent)
+                       {
+                               return false;
+                       }
+
+       // Instruct the application how to handle unhandled exceptions.
+       // This function must be called before the first window is created
+       // otherwise an InvalidOperationException will be thrown.
+       [TODO]
+       public static void SetUnhandledExceptionMode(UnhandledExceptionMode 
mode)
+                       {
+                               unhandledExceptionMode = mode;
+                       }
+ 
+       // Instruct the application how to handle unhandled exceptions.
+       // This version allows the mode to be set thread specific.
+       // This function must be called before the first window is created
+       // otherwise an InvalidOperationException will be thrown.
+       [TODO]
+       public static void SetUnhandledExceptionMode(UnhandledExceptionMode 
mode,
+                                                                               
                 bool threadScope)
+                       {
+                               if(!threadScope)
+                               {
+                                       unhandledExceptionMode = mode;
+                               }
+                       }
+
+       // Set the application wide default for the UseCompatibleTextRendering.
+       // This function must be called before the first window is created
+       // otherwise an InvalidOperationException will be thrown.
+       [TODO]
+       public static void SetCompatibleTextRenderingDefault(bool defaultValue)
+                       {
+                               useCompatibleTextRendering = defaultValue;
+                       }
+
+       //  Set or reset the UseWaitCursor for all windows in this application.
+       [TODO]
+       public static bool UseWaitCursor
+                       {
+                               get
+                               {
+                                       return useWaitCursor;
+                               }
+                               set
+                               {
+                                       if(useWaitCursor != value)
+                                       {
+                                               // TODO
+                                               // Apply the property change to 
all open windows
+                                               useWaitCursor = value;
+                                       }
+                               }
+                       }
+
+       // Get or set the visual style state used.
+       public static VisualStyleState VisualStyleState
+                       {
+                               get
+                               {
+                                       return visualStyleState;
+                               }
+                               set
+                               {
+                                       visualStyleState = value;
+                               }
+                       }
+
+       // Event that occurs when the application is about to enter a modal 
state.
+       public static event EventHandler EnterThreadModal;
+
+       // Event that occurs when the application is about to leave a modal 
state.
+       public static event EventHandler LeaveThreadModal;
+
+#endif // CONFIG_FRAMEWORK_2_0
+
        // Event that is raised when the application is about to exit.
        public static event EventHandler ApplicationExit;
 

Index: runtime/System/Threading/AbandonedMutexException.cs
===================================================================
RCS file: runtime/System/Threading/AbandonedMutexException.cs
diff -N runtime/System/Threading/AbandonedMutexException.cs
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ runtime/System/Threading/AbandonedMutexException.cs 25 Jan 2007 11:37:49 
-0000      1.1
@@ -0,0 +1,122 @@
+/*
+ * AbandonedMutexException.cs - Implementation of the
+ *                     "System.Threading.AbandonedMutexException" class.
+ *
+ * Copyright (C) 2007  Southern Storm Software, Pty Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+namespace System.Threading
+{
+
+#if CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FRAMEWORK
+
+using System.Runtime.InteropServices;
+
+#if CONFIG_SERIALIZATION
+using System.Runtime.Serialization;
+
+[Serializable]
+#endif // CONFIG_SERIALIZATION
+[ComVisible(false)]
+public class AbandonedMutexException : SystemException
+{
+       private Mutex mutex;
+       private int mutexIndex;
+
+       // Constructors.
+       public AbandonedMutexException() : base(_("Exception_MutexAbandoned"))
+       {
+               mutex = null;
+               mutexIndex = -1;
+       }
+
+       public AbandonedMutexException(String msg) : base(msg)
+       {
+               mutex = null;
+               mutexIndex = -1;
+       }
+
+       public AbandonedMutexException(int index, WaitHandle handle) :
+                       base(_("Exception_MutexAbandoned"))
+       {
+               mutexIndex = index;
+               mutex = (Mutex)handle;
+       }
+
+       public AbandonedMutexException(String msg, Exception inner) : base(msg, 
inner)
+       {
+               mutex = null;
+               mutexIndex = -1;
+       }
+
+       public AbandonedMutexException(String msg, int index, WaitHandle 
handle) :
+                       base(msg)
+       {
+               mutexIndex = index;
+               mutex = (Mutex)handle;
+       }
+
+       public AbandonedMutexException(String msg, Exception inner,
+                                                                  int index, 
WaitHandle handle) :
+                       base(msg, inner)
+       {
+               mutexIndex = index;
+               mutex = (Mutex)handle;
+       }
+
+#if CONFIG_SERIALIZATION
+       protected AbandonedMutexException(SerializationInfo info,
+                                                                         
StreamingContext context) :
+                       base(info, context)
+       {
+               mutexIndex = info.GetInt32("MutexIndex");
+               mutex = (Mutex)(info.GetValue("Mutex", typeof(Mutex)));
+       }
+#endif
+
+       // Get the abandoned mutex that caused the exception.
+       public Mutex Mutex
+       {
+               get
+               {
+                       return mutex;
+               }
+       }
+
+       // Get the index of the abandoned mutex that caused the exception.
+       public int MutexIndex
+       {
+               get
+               {
+                       return mutexIndex;
+               }
+       }
+
+       // Get the default message to use for this exception type.
+       internal override String MessageDefault
+                       {
+                               get
+                               {
+                                       return _("Exception_MutexAbandoned");
+                               }
+                       }
+
+}; // class AbandonedMutexException
+
+#endif // CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FRAMEWORK
+
+}; // namespace System.Threading

Index: runtime/System/Threading/ContextCallback.cs
===================================================================
RCS file: runtime/System/Threading/ContextCallback.cs
diff -N runtime/System/Threading/ContextCallback.cs
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ runtime/System/Threading/ContextCallback.cs 25 Jan 2007 11:37:49 -0000      
1.1
@@ -0,0 +1,34 @@
+/*
+ * ContextCallback.cs - Implementation of the
+ *             "System.Threading.ContextCallback" delegate.
+ *
+ * Copyright (C) 2007  Southern Storm Software, Pty Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+namespace System.Threading
+{
+
+#if CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FRAMEWORK
+
+using System.Runtime.InteropServices;
+
+[ComVisible(true)]
+public delegate void ContextCallback(Object state);
+
+#endif // CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FRAMEWORK
+
+}; // namespace System.Threading

Index: runtime/System/Threading/EventResetMode.cs
===================================================================
RCS file: runtime/System/Threading/EventResetMode.cs
diff -N runtime/System/Threading/EventResetMode.cs
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ runtime/System/Threading/EventResetMode.cs  25 Jan 2007 11:37:49 -0000      
1.1
@@ -0,0 +1,35 @@
+/*
+ * EventResetMode.cs - Implementation of the
+ *             "System.Threading.EventResetMode" class.
+ *
+ * Copyright (C) 2003  Southern Storm Software, Pty Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+namespace System.Threading
+{
+
+#if CONFIG_FRAMEWORK_2_0
+
+public enum EventResetMode
+{
+       AutoReset       = 0,
+       ManualReset     = 1
+}; // enum EventResetMode
+
+#endif // CONFIG_FRAMEWORK_2_0
+
+}; // namespace System.Threading

Index: runtime/System/Threading/ParameterizedThreadStart.cs
===================================================================
RCS file: runtime/System/Threading/ParameterizedThreadStart.cs
diff -N runtime/System/Threading/ParameterizedThreadStart.cs
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ runtime/System/Threading/ParameterizedThreadStart.cs        25 Jan 2007 
11:37:49 -0000      1.1
@@ -0,0 +1,34 @@
+/*
+ * ParameterizedThreadStart.cs - Implementation of the
+ *             "System.Threading.ParameterizedThreadStart" delegate.
+ *
+ * Copyright (C) 2007  Southern Storm Software, Pty Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+namespace System.Threading
+{
+
+#if CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FRAMEWORK
+
+using System.Runtime.InteropServices;
+
+[ComVisible(false)]
+public delegate void ParameterizedThreadStart(Object obj);
+
+#endif // CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FRAMEWORK
+
+}; // namespace System.Threading

Index: System/Net/ICredentialsByHost.cs
===================================================================
RCS file: System/Net/ICredentialsByHost.cs
diff -N System/Net/ICredentialsByHost.cs
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ System/Net/ICredentialsByHost.cs    25 Jan 2007 11:37:49 -0000      1.1
@@ -0,0 +1,39 @@
+/*
+ * ICredentialsByHost.cs - Implementation of the
+ *                                                     
"System.Net.ICredentialsByHost" class.
+ *
+ * Copyright (C) 2007  Southern Storm Software, Pty Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+namespace System.Net
+{
+
+#if CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FRAMEWORK
+
+using System;
+
+public interface ICredentialsByHost
+{
+       // Get a credential object for a specific host, port and authentication 
type.
+       NetworkCredential GetCredential(String host, int port,
+                                                                       String 
authenticationType);
+
+}; // interface ICredentialsByGost
+
+#endif // CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FRAMEWORK
+
+}; // namespace System.Net

Index: System/Net/IWebProxyScript.cs
===================================================================
RCS file: System/Net/IWebProxyScript.cs
diff -N System/Net/IWebProxyScript.cs
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ System/Net/IWebProxyScript.cs       25 Jan 2007 11:37:49 -0000      1.1
@@ -0,0 +1,43 @@
+/*
+ * IWebProxyScript.cs - Implementation of the "System.Net.IWebProxyScript" 
class.
+ *
+ * Copyright (C) 2007  Southern Storm Software, Pty Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+namespace System.Net
+{
+
+#if CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FRAMEWORK
+
+using System;
+
+public interface IWebProxyScript
+{
+       // Close a script.
+       void Close();
+
+       // Load a script.
+       bool Load(Uri scriptLocation, String script, Type helperType);
+
+       // Run a script.
+       String Run(String url, String host);
+
+}; // interface IWebProxyScript
+
+#endif // CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FRAMEWORK
+
+}; // namespace System.Net

Index: System/Net/Sockets/IOControlCode.cs
===================================================================
RCS file: System/Net/Sockets/IOControlCode.cs
diff -N System/Net/Sockets/IOControlCode.cs
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ System/Net/Sockets/IOControlCode.cs 25 Jan 2007 11:37:49 -0000      1.1
@@ -0,0 +1,67 @@
+/*
+ * IOControlCode.cs - Implementation of the
+ *                     "System.Net.Sockets.IOControlCode" class.
+ *
+ * Copyright (C) 2003  Southern Storm Software, Pty Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+namespace System.Net.Sockets
+{
+
+#if CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FRAMEWORK
+
+public enum IOControlCode
+{
+       EnableCircularQueuing                           = 671088642,
+       Flush                                                           = 
671088644,
+       AddressListChange                                       = 671088663,
+       DataToRead                                                      = 
1074030207,
+       OobDataRead                                                     = 
1074033415,
+       GetBroadcastAddress                                     = 1207959557,
+       AddressListQuery                                        = 1207959574,
+       QueryTargetPnpHandle                            = 1207959576,
+       AsyncIO                                                         = 
2127772029,
+       NonBlockingIO                                           = 2147772030,
+       AssociateHandle                                         = 2281701377,
+       MultipointLoopback                                      = 2281701385,
+       MulticastScope                                          = 2281701386,
+       SetQos                                                          = 
2281701387,
+       SetGroupQos                                                     = 
2281701388,
+       RoutingInterfaceChange                          = 2281701397,
+       NamespaceChange                                         = 2281701401,
+       ReceiveAll                                                      = 
2550136833,
+       ReceiveAllMulticast                                     = 2550136834,
+       ReceiveAllIgmpMulticast                         = 2550136835,
+       KeepAliveValues                                         = 2550136836,
+       AbsorbRouterAllert                                      = 2550136837,
+       UnicastInterface                                        = 2550136838,
+       LimitBroadcasts                                         = 2550136839,
+       BindToInterface                                         = 2550136840,
+       MulticastInterface                                      = 2550136841,
+       AddMulticastGroupOnInterface            = 2550136842,
+       DeleteMulticastGroupFromInterface       = 2550136843,
+       GetExtensionFunctionPointer                     = 3355443206,
+       GetQos                                                          = 
3355443207,
+       GetGroupQos                                                     = 
3355443208,
+       TranslateHandle                                         = 3355443213,
+       RoutingInterfaceQuery                           = 3355443220,
+       AddressListSort                                         = 3355443225
+}; // enum IOControlCode
+
+#endif // CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FRAMEWORK
+
+}; // namespace System.Net.Sockets

Index: System/Net/Sockets/IPPacketInformation.cs
===================================================================
RCS file: System/Net/Sockets/IPPacketInformation.cs
diff -N System/Net/Sockets/IPPacketInformation.cs
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ System/Net/Sockets/IPPacketInformation.cs   25 Jan 2007 11:37:49 -0000      
1.1
@@ -0,0 +1,79 @@
+/*
+ * IPPacketInformation.cs - Implementation of the
+ *                     "System.Net.Sockets.IPPacketInformation" class.
+ *
+ * Copyright (C) 2003  Southern Storm Software, Pty Ltd.
+ *
+ * This program is free software, you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY, without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program, if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+namespace System.Net.Sockets
+{
+
+#if CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FRAMEWORK
+
+[Serializable]
+public struct IPPacketInformation
+{
+       IPAddress address;
+       int interf;
+
+       public IPAddress Address
+       {
+               get
+               {
+                       return address;
+               }
+       }
+
+       public int Interface
+       {
+               get
+               {
+                       return interf;
+               }
+       }
+
+       public override bool Equals(Object comparand)
+       {
+               if(comparand is IPPacketInformation)
+               {
+                       IPPacketInformation packetInformation2 = 
(IPPacketInformation)comparand;
+
+                       return (this.interf == packetInformation2.interf) &&
+                                       (this.address == 
packetInformation2.address);
+               }
+               return false;
+       }
+       
+       public static bool operator == (IPPacketInformation packetInformation1,
+                                                                       
IPPacketInformation packetInformation2)
+       {
+               return (packetInformation1.interf == packetInformation2.interf) 
&&
+                               (packetInformation1.address == 
packetInformation2.address);
+       }
+
+       public static bool operator != (IPPacketInformation packetInformation1,
+                                                                       
IPPacketInformation packetInformation2)
+       {
+               return (packetInformation1.interf != packetInformation2.interf) 
||
+                               (packetInformation1.address != 
packetInformation2.address);
+       }
+
+}; // struct IPPacketInformation
+
+#endif // CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FRAMEWORK
+
+}; // namespace System.Net.Sockets

Index: System/Net/Sockets/SocketError.cs
===================================================================
RCS file: System/Net/Sockets/SocketError.cs
diff -N System/Net/Sockets/SocketError.cs
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ System/Net/Sockets/SocketError.cs   25 Jan 2007 11:37:49 -0000      1.1
@@ -0,0 +1,80 @@
+/*
+ * SocketError.cs - Implementation of the
+ *                     "System.Net.Sockets.SocketError" class.
+ *
+ * Copyright (C) 2003  Southern Storm Software, Pty Ltd.
+ *
+ * This program is free software, you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.Se
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY, without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program, if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+namespace System.Net.Sockets
+{
+
+#if CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FRAMEWORK
+
+public enum SocketError
+{
+       SocketError                                     = -1,
+       Success                                         = 0,
+       OperationAborted                        = 995,
+       IOPending                                       = 997,
+       Interrupted                                     = 10004,
+       AccessDenied                            = 10013,
+       Fault                                           = 10014,
+       InvalidArgument                         = 10022,
+       TooManyOpenSockets                      = 10024,
+       WouldBlock                                      = 10035,
+       InProgress                                      = 10036,
+       AlreadyInProgress                       = 10037,
+       NotSocket                                       = 10038,
+       DestinationAddressRequired      = 10039,
+       MessageSize                                     = 10040,
+       ProtocolType                            = 10041,
+       ProtocolOption                          = 10042,
+       ProtocolNotSupported            = 10043,
+       SocketNotSupported                      = 10044,
+       OperationNotSupported           = 10045,
+       ProtocolFamilyNotSupported      = 10046,
+       AddressFamilyNotSupported       = 10047,
+       AddressAlreadyInUse                     = 10048,
+       AddressNotvailable                      = 10049,
+       NetworkDown                                     = 10050,
+       NetworkUnreachable                      = 10051,
+       NetworkReset                            = 10052,
+       ConnectionAborted                       = 10053,
+       ConnectionReset                         = 10054,
+       NoBufferSpqceAvailable          = 10055,
+       IsConnected                                     = 10056,
+       NotConnected                            = 10057,
+       Shutdown                                        = 10058,
+       TimedOut                                        = 10060,
+       ConnectionRefused                       = 10061,
+       HostDown                                        = 10064,
+       HostUnreachable                         = 10065,
+       ProcessLimit                            = 10067,
+       SystemNotReady                          = 10091,
+       VersionNotSupported                     = 10092,
+       NotInitialized                          = 10093,
+       TypeNotFound                            = 10109,
+       Disconnecting                           = 10101,
+       HostNotFound                            = 11001,
+       TryAgain                                        = 11002,
+       NoRecovery                                      = 11003,
+       NoData                                          = 11004
+}; // enum SocketError
+
+#endif // CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FRAMEWORK
+
+}; // namespace System.Net.Sockets

Index: System/Net/Sockets/SocketInformation.cs
===================================================================
RCS file: System/Net/Sockets/SocketInformation.cs
diff -N System/Net/Sockets/SocketInformation.cs
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ System/Net/Sockets/SocketInformation.cs     25 Jan 2007 11:37:49 -0000      
1.1
@@ -0,0 +1,61 @@
+/*
+ * SocketInformation.cs - Implementation of the
+ *                     "System.Net.Sockets.SocketInformation" class.
+ *
+ * Copyright (C) 2003  Southern Storm Software, Pty Ltd.
+ *
+ * This program is free software, you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY, without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program, if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+namespace System.Net.Sockets
+{
+
+#if CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FRAMEWORK
+
+[Serializable]
+public struct SocketInformation
+{
+       SocketInformationOptions options;
+       byte[] protocolInformation;
+
+       public SocketInformationOptions Options
+       {
+               get
+               {
+                       return options;
+               }
+               set
+               {
+                       options = value;
+               }
+       }
+
+       public byte[] ProtocolInformation
+       {
+               get
+               {
+                       return protocolInformation;
+               }
+               set
+               {
+                       protocolInformation = value;
+               }
+       }
+       
+}; // struct SocketInformation
+
+#endif // CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FRAMEWORK
+
+}; // namespace System.Net.Sockets

Index: System/Net/Sockets/SocketInformationOptions.cs
===================================================================
RCS file: System/Net/Sockets/SocketInformationOptions.cs
diff -N System/Net/Sockets/SocketInformationOptions.cs
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ System/Net/Sockets/SocketInformationOptions.cs      25 Jan 2007 11:37:49 
-0000      1.1
@@ -0,0 +1,38 @@
+/*
+ * SocketInformationOptions.cs - Implementation of the
+ *                     "System.Net.Sockets.SocketInformationOptions" class.
+ *
+ * Copyright (C) 2003  Southern Storm Software, Pty Ltd.
+ *
+ * This program is free software, you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY, without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program, if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+namespace System.Net.Sockets
+{
+
+#if CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FRAMEWORK
+
+[Flags]
+public enum SocketInformationOptions
+{
+       NonBlocking                     = 0x0001,
+       Connected                       = 0x0002,
+       Listening                       = 0x0004,
+       UseOnlyOverlappedIO     = 0x0008
+}; // enum SocketInformationOptions
+
+#endif // CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FRAMEWORK
+
+}; // namespace System.Net.Sockets

Index: System/Net/Sockets/TransmitFileOptions.cs
===================================================================
RCS file: System/Net/Sockets/TransmitFileOptions.cs
diff -N System/Net/Sockets/TransmitFileOptions.cs
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ System/Net/Sockets/TransmitFileOptions.cs   25 Jan 2007 11:37:49 -0000      
1.1
@@ -0,0 +1,40 @@
+/*
+ * TransmitFileOptions.cs - Implementation of the
+ *                     "System.Net.Sockets.TransmitFileOptions" class.
+ *
+ * Copyright (C) 2003  Southern Storm Software, Pty Ltd.
+ *
+ * This program is free software, you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY, without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program, if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+namespace System.Net.Sockets
+{
+
+#if CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FRAMEWORK
+
+[Flags]
+public enum TransmitFileOptions
+{
+       UseDefaultWorkerThread  = 0x0000,
+       Disconnect                              = 0x0001,
+       ReuseSocket                             = 0x0002,
+       WriteBehind                             = 0x0004,
+       UseSystemThread                 = 0x0010,
+       UseKernelApc                    = 0x0020
+}; // enum TransmitFileOptions
+
+#endif // CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FRAMEWORK
+
+}; // namespace System.Net.Sockets

Index: System.Windows.Forms/FormCollection.cs
===================================================================
RCS file: System.Windows.Forms/FormCollection.cs
diff -N System.Windows.Forms/FormCollection.cs
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ System.Windows.Forms/FormCollection.cs      25 Jan 2007 11:37:49 -0000      
1.1
@@ -0,0 +1,57 @@
+/*
+ * FormCollection.cs - Implementation of the
+ *                     "System.Windows.Forms.FormCollection" class.
+ *
+ * Copyright (C) 2007  Southern Storm Software, Pty Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+namespace System.Windows.Forms
+{
+
+#if CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FORMS
+
+using System.Collections;
+
+       public class FormCollection : ReadOnlyCollectionBase
+       {
+               [TODO]
+               public FormCollection()
+               {
+               }
+
+               [TODO]
+               public virtual Form this[int index]
+               {
+                       get
+                       {
+                               return null;
+                       }
+               }
+
+               [TODO]
+               public virtual Form this[String name]
+               {
+                       get
+                       {
+                               return null;
+                       }
+               }
+       }
+
+#endif // CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FORMS
+
+}; // namespace System.Windows.Forms

Index: System.Windows.Forms/MessageLoopCallback.cs
===================================================================
RCS file: System.Windows.Forms/MessageLoopCallback.cs
diff -N System.Windows.Forms/MessageLoopCallback.cs
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ System.Windows.Forms/MessageLoopCallback.cs 25 Jan 2007 11:37:49 -0000      
1.1
@@ -0,0 +1,31 @@
+/*
+ * MessageLoopCallback.cs - Implementation of the
+ *                     "System.Windows.Forms.MessageLoopCallback" class.
+ *
+ * Copyright (C) 2007  Southern Storm Software, Pty Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+namespace System.Windows.Forms
+{
+
+#if CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FORMS
+
+public delegate bool MessageLoopCallback();
+
+#endif // CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FORMS
+
+}; // namespace System.Windows.Forms

Index: System.Windows.Forms/PowerState.cs
===================================================================
RCS file: System.Windows.Forms/PowerState.cs
diff -N System.Windows.Forms/PowerState.cs
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ System.Windows.Forms/PowerState.cs  25 Jan 2007 11:37:49 -0000      1.1
@@ -0,0 +1,36 @@
+/*
+ * PowerState.cs - Implementation of the
+ *             "System.Windows.Forms.PowerState" class.
+ *
+ * Copyright (C) 2007  Southern Storm Software, Pty Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+namespace System.Windows.Forms
+{
+
+#if CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FORMS
+
+public enum PowerState
+{
+       Suspend                 = 0,
+       Hibernate               = 1
+}; // enum PowerState
+
+#endif // CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FORMS
+
+}; // namespace System.Windows.Forms
+

Index: System.Windows.Forms/UnhandledExceptionMode.cs
===================================================================
RCS file: System.Windows.Forms/UnhandledExceptionMode.cs
diff -N System.Windows.Forms/UnhandledExceptionMode.cs
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ System.Windows.Forms/UnhandledExceptionMode.cs      25 Jan 2007 11:37:49 
-0000      1.1
@@ -0,0 +1,37 @@
+/*
+ * UnhandledExceptionMode.cs - Implementation of the
+ *             "System.Windows.Forms.UnhandledExceptionMode" class.
+ *
+ * Copyright (C) 2007  Southern Storm Software, Pty Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+namespace System.Windows.Forms
+{
+
+#if CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FORMS
+
+public enum UnhandledExceptionMode
+{
+       Automatic               = 0,
+       ThrowException  = 1,
+       CatchException  = 2
+}; // enum UnhandledExceptionMode
+
+#endif // CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FORMS
+
+}; // namespace System.Windows.Forms
+




reply via email to

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