2007-04-17 Everaldo Canuto <everaldo@simios.org>
[mono.git] / mcs / class / Managed.Windows.Forms / System.Windows.Forms / ToolStripItemRenderEventArgs.cs
index 987bda04dfd7e6d92ae61320a44888e5df2752db..f4ab5600d72eb38b0d9b3d0eaf6e1bfabf51496f 100644 (file)
@@ -1,60 +1,60 @@
-//\r
-// ToolStripItemRenderEventArgs.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 ToolStripItemRenderEventArgs : EventArgs\r
-       {\r
-               private Graphics graphics;\r
-               private ToolStripItem item;\r
-\r
-               public ToolStripItemRenderEventArgs (Graphics g, ToolStripItem item) : base ()\r
-               {\r
-                       this.graphics = g;\r
-                       this.item = item;\r
-               }\r
-               \r
-               #region Public Properties\r
-               public Graphics Graphics {\r
-                       get { return this.graphics; }\r
-               }\r
-\r
-               public ToolStripItem Item {\r
-                       get { return this.item; }\r
-               }\r
-\r
-               public ToolStrip ToolStrip {\r
-                       get { return this.item.Owner; }\r
-               }\r
-               #endregion\r
-       }\r
-}\r
+//
+// ToolStripItemRenderEventArgs.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)
+//
+
+#if NET_2_0
+using System.Drawing;
+
+namespace System.Windows.Forms
+{
+       public class ToolStripItemRenderEventArgs : EventArgs
+       {
+               private Graphics graphics;
+               private ToolStripItem item;
+
+               public ToolStripItemRenderEventArgs (Graphics g, ToolStripItem item) : base ()
+               {
+                       this.graphics = g;
+                       this.item = item;
+               }
+               
+               #region Public Properties
+               public Graphics Graphics {
+                       get { return this.graphics; }
+               }
+
+               public ToolStripItem Item {
+                       get { return this.item; }
+               }
+
+               public ToolStrip ToolStrip {
+                       get { return this.item.Owner; }
+               }
+               #endregion
+       }
+}
 #endif
\ No newline at end of file