user interface - (C#) MetroModern UI, Button BackColor dont change Color -
good evening, i´ve problem. have code:
public partial class form1 : form { public form1() { initializecomponent(); } private void form1_load(object sender, eventargs e) { this.metrobutton1.usecustombackcolor = true; this.metrobutton1.backcolor = color.green; } }
i want change backcolor, when start program, color grey. no matter do, nothing changes. metrobutton on form. can inherit form metroform, button grey.
when change properties button on design class, backcolor change color. when start program, grey.
Comments
Post a Comment