Refactored, cleaned up
[mono.git] / mcs / class / Managed.Windows.Forms / System.Windows.Forms / ToolStripContentPanelRenderEventArgs.cs
index 868f913c58929271fffa2c1639251da0dbcd39d1..b7336fb1b107e10b8adcfe2b9996286883ebf287 100644 (file)
@@ -1,63 +1,61 @@
-//\r
-// ToolStripContentPanelRenderEventArgs.cs\r
-//\r
-// Permission is hereby granted, free of charge, to any person obtaining\r
-// a copy of this software and associated documentation files (the\r
-// "Software"), to deal in the Software without restriction, including\r
-// without limitation the rights to use, copy, modify, merge, publish,\r
-// distribute, sublicense, and/or sell copies of the Software, and to\r
-// permit persons to whom the Software is furnished to do so, subject to\r
-// the following conditions:\r
-// \r
-// The above copyright notice and this permission notice shall be\r
-// included in all copies or substantial portions of the Software.\r
-// \r
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,\r
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\r
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\r
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\r
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\r
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\r
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r
-//\r
-// Copyright (c) 2006 Jonathan Pobst\r
-//\r
-// Authors:\r
-//     Jonathan Pobst (monkey@jpobst.com)\r
-//\r
-\r
-#if NET_2_0\r
-using System.Drawing;\r
-\r
-namespace System.Windows.Forms\r
-{\r
-       public class ToolStripContentPanelRenderEventArgs : EventArgs\r
-       {\r
-               private Graphics graphics;\r
-               private bool handled;\r
-               private ToolStripContentPanel tool_strip_content_panel;\r
-\r
-               public ToolStripContentPanelRenderEventArgs (Graphics g, ToolStripContentPanel contentPanel) : base ()\r
-               {\r
-                       this.graphics = g;\r
-                       this.tool_strip_content_panel = contentPanel;\r
-                       this.handled = false;\r
-               }\r
-\r
-               #region Public Properties\r
-               public Graphics Graphics {\r
-                       get { return this.graphics; }\r
-               }\r
-\r
-               public bool Handled {\r
-                       get { return this.handled; }\r
-                       set { this.handled = value; }\r
-               }\r
-\r
-               public ToolStripContentPanel ToolStripContentPanel {\r
-                       get { return this.tool_strip_content_panel; }\r
-               }\r
-               #endregion              \r
-       }\r
-}\r
-#endif
\ No newline at end of file
+//
+// ToolStripContentPanelRenderEventArgs.cs
+//
+// 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.
+//
+// Copyright (c) 2006 Jonathan Pobst
+//
+// Authors:
+//     Jonathan Pobst (monkey@jpobst.com)
+//
+
+using System.Drawing;
+
+namespace System.Windows.Forms
+{
+       public class ToolStripContentPanelRenderEventArgs : EventArgs
+       {
+               private Graphics graphics;
+               private bool handled;
+               private ToolStripContentPanel tool_strip_content_panel;
+
+               public ToolStripContentPanelRenderEventArgs (Graphics g, ToolStripContentPanel contentPanel) : base ()
+               {
+                       this.graphics = g;
+                       this.tool_strip_content_panel = contentPanel;
+                       this.handled = false;
+               }
+
+               #region Public Properties
+               public Graphics Graphics {
+                       get { return this.graphics; }
+               }
+
+               public bool Handled {
+                       get { return this.handled; }
+                       set { this.handled = value; }
+               }
+
+               public ToolStripContentPanel ToolStripContentPanel {
+                       get { return this.tool_strip_content_panel; }
+               }
+               #endregion              
+       }
+}