ToolBoxBitmapAttribute
[ToolboxBitmap(typeof(TextBox))] public sealed class CustomTextBox : TextBox
System.Windows.Forms.TextBox
TextBox
CustomTextBox
[ToolboxBitmap(typeof(TextBox),"System.Windows.Forms.TextBox.bmp")] // System.Windows.Forms.TextBox.bmp is the resource name of the icon for the TextBox, according to my decompiler public sealed class CustomTextBox : TextBox
CustomControl
[ToolboxBitmap(typeof(TextBox), "TextBox.bmp")] public sealed class CustomTextBox : TextBox { }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)