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)
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement