This commit was manufactured by cvs2svn to create branch 'mono-1-0'.
[mono.git] / mcs / class / System.Windows.Forms / System.Windows.Forms / SplitterEventArgs.cs
index 0759071a38cace4e6814d33858572a362a441223..9b3ecafdf9aeff48d9ab4d66a1c3e736faf31cfa 100644 (file)
@@ -3,11 +3,35 @@
 //
 // Author:
 //   stubbed out by Daniel Carrera (dcarrera@math.toronto.edu)
-//     Partially completed by Dennis Hayes (dennish@raytek.com)\r
+//      Partially completed by Dennis Hayes (dennish@raytek.com)
+//   Gianandrea Terzi (gianandrea.terzi@lario.com)
 //
 // (C) 2002 Ximian, Inc
 //
 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+using System.Runtime.InteropServices;
+
 namespace System.Windows.Forms {
 
        // <summary>
@@ -15,10 +39,14 @@ namespace System.Windows.Forms {
 
     [ComVisible(true)]
        public class SplitterEventArgs : EventArgs {
+
+               #region Fields
                private int x;
                private int y;
                private int splitx;
                private int splity;
+               #endregion
+
                //
                //  --- Constructor
                //
@@ -29,9 +57,9 @@ namespace System.Windows.Forms {
                        splitx = splitX;
                        splity = splitY;
                }
-               //
-               //  --- Public Properties
-               //
+
+               #region Public Properties
+
                [ComVisible(true)]
                public int SplitX {
                        get {
@@ -41,6 +69,7 @@ namespace System.Windows.Forms {
                                splitx = value;
                        }
                }
+
                [ComVisible(true)]
                public int SplitY {
                        get {
@@ -50,31 +79,20 @@ namespace System.Windows.Forms {
                                splity = value;
                        }
                }
+
                [ComVisible(true)]
                public int X {
                        get {
                                return x;
                        }
                }
+
                [ComVisible(true)]
                public int Y {
                        get {
                                return y;
                        }
                }
-
-               //
-               //  --- Public Methods
-               //
-               [MonoTODO]
-               public virtual bool Equals(object o)
-               {
-                       throw new NotImplementedException ();
-               }
-               [MonoTODO]
-               public static bool Equals(object o1, object o2)
-               {
-                       throw new NotImplementedException ();
-               }
-        }
+               #endregion
+       }
 }