2006-09-18 Jonathan Pobst <monkey@jpobst.com>
[mono.git] / mcs / class / Managed.Windows.Forms / System.Windows.Forms / ToolStripItemClickedEventArgs.cs
diff --git a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ToolStripItemClickedEventArgs.cs b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ToolStripItemClickedEventArgs.cs
new file mode 100644 (file)
index 0000000..fafcdd4
--- /dev/null
@@ -0,0 +1,48 @@
+//\r
+// ToolStripItemClickedEventArgs.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
+namespace System.Windows.Forms\r
+{\r
+       public class ToolStripItemClickedEventArgs : EventArgs\r
+       {\r
+               private ToolStripItem clicked_item;\r
+\r
+               public ToolStripItemClickedEventArgs (ToolStripItem clickedItem) : base ()\r
+               {\r
+                       this.clicked_item = clickedItem;\r
+               }\r
+               \r
+               #region Public Properties\r
+               public ToolStripItem ClickedItem {\r
+                       get { return this.clicked_item; }\r
+               }\r
+               #endregion\r
+       }\r
+}\r
+#endif
\ No newline at end of file