3
Alfer
7y

A friend of mine showed me his "theme change" code

if (!myControl.BackColor.Equals(Color.Black))
{
this.BackColor = Color.Black;
this.buttonBOT.BackColor = Color.Black;
this.buttonNAV.BackColor = Color.Black;
this.buttonCFG.BackColor = Color.Black;
this.buttonBOT.ForeColor = Color.White;
this.buttonNAV.ForeColor = Color.White;
this.buttonCFG.ForeColor = Color.White;
this.ToolStripMenuItemAntiSun.BackColor = Color.White;
this.ToolStripMenuItemAntiSun.ForeColor = Color.Black;
myControl.BackColor = Color.Black;
myControl.ForeColor = Color.White;

}

The fact that he want to add a dark theme is nice but yeah...

Wat do?

Comments
  • 0
    @No-one nice, didnt know that, thanks !
Add Comment