I am making a flat button just like the ones in the toolbars.
At first i Inherited the control from ButtonBase, but i could not avoid the control to draw its border, is there a way to avoid this, i want to draw my own border. Since i could not get to avoid the button to draw its border, i modified the class to inherit the Control class and i already did my flat button.
i have other problem, i add an image propery and it works fine, but i can't delete in the properties page. In windows control when you pressed delete on the propery the image get deleted from the propery. can someone tell me how to get that.
I also have a propery that uses an enum and i set a default value for that property but always write the value to the form and show the property bolded, how can i avoid this.
What should be the defaltvalue for the image property (System.Drawing.Image)
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only