Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "gobshite"
-
Never ever directly edit the source code of libraries.
Not to the smallest bit.
I just did that and forgot about it, then I wondered how a decent library like I used can produce such gobshite as it did. Several hours (!) later I discover my little "debug output" line in the library's source.
Goddammit I must have a well built table. And a well built head.2 -
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?1