Merge pull request #3018 from ludovic-henry/coop-marshal-attach
[mono.git] / mcs / class / System.Windows.Forms / System.Windows.Forms / StatusBarPanelClickEventArgs.cs
index f68024349be9a05c50769c09554c1e425f510184..6c92e0d14109a420cc1779fd6342d50d15f07164 100644 (file)
@@ -1,15 +1,3 @@
-//
-// System.Windows.Forms.StatusBarPanelClickEventArgs
-//
-// Author:
-//   stubbed out by Richard Baumann (biochem333@nyc.rr.com)
-//      Partially completed by Dennis Hayes (dennish@raytek.com)
-//   Gianandrea Terzi (gianandrea.terzi@lario.com)
-//
-// (C) Ximian, Inc., 2002
-//
-
-//
 // 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
 // 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
 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
+// Copyright (c) 2004 Novell, Inc.
+//
+// Authors:
+//     Jackson Harper (jackson@ximian.com)
+
+
+using System;
 
 namespace System.Windows.Forms {
 
-       /// <summary>
-       /// Provides data for the PanelClick event.
-       /// </summary>
        public class StatusBarPanelClickEventArgs : MouseEventArgs {
 
                private StatusBarPanel panel;
 
-               /// --- Constructor ---
-               public StatusBarPanelClickEventArgs(StatusBarPanel panel, MouseButtons button, int clicks, int x, int y) : base(button, clicks, x, y, 0) 
+               public StatusBarPanelClickEventArgs (StatusBarPanel statusBarPanel,
+                               MouseButtons button, int clicks, int x, int y) :
+                       base (button, clicks, x, y, 0)
                {
-                       this.panel = panel;
+                       this.panel = statusBarPanel;
                }
 
-               #region Public Properties
-               
-               /// <summary>
-               ///     StatusBarPanel Property
-               /// </summary>
-               ///
-               /// <remarks>
-               ///     Gets the StatusBarPanel to draw.
-               /// </remarks>
-               public StatusBarPanel StatusBarPanel 
-               {
-                       get 
-                       {
-                               return panel;
-                       }
+               public StatusBarPanel StatusBarPanel {
+                       get { return panel; }
                }
-
-               #endregion
        }
 }
+