瀏覽代碼

2003-03-29 Alan Tam <[email protected]>
* ToolboxBitmapAttribute: stubbed more constructors and fixed base class

svn path=/trunk/mcs/; revision=12888

Alan Tam 23 年之前
父節點
當前提交
9c15947e93

+ 4 - 0
mcs/class/System.Drawing/System.Drawing/ChangeLog

@@ -1,3 +1,7 @@
+2003-03-29 Alan Tam <[email protected]>
+	* ToolboxBitmapAttribute
+		stubbed more constructors and fixed base class
+
 2003-03-01 Alexandre Pigolkine <[email protected]>
 	* SystemBrushes.cs
 			added stubs to compile SWF

+ 16 - 2
mcs/class/System.Drawing/System.Drawing/ToolboxBitmapAttribute.cs

@@ -13,9 +13,23 @@ namespace System.Drawing
 	/// <summary>
 	/// Summary description for ToolboxBitmapAttribute.
 	/// </summary>
-	public class ToolboxBitmapAttribute
+	public class ToolboxBitmapAttribute : Attribute
 	{
-		public ToolboxBitmapAttribute()
+		public ToolboxBitmapAttribute(string imageFile)
+		{
+			//
+			// TODO: Add constructor logic here
+			//
+		}
+		
+		public ToolboxBitmapAttribute(Type t)
+		{
+			//
+			// TODO: Add constructor logic here
+			//
+		}
+		
+		public ToolboxBitmapAttribute(Type t, string name)
 		{
 			//
 			// TODO: Add constructor logic here