C# Tutorial #2: More If/Else
Uploader Comments (Xylogeist)
All Comments (48)
-
@ravemania100 Go check out my newer series. Its in full HD and much more effective at teaching the concepts.
-
@BrokenBjartur I have the same problem too
-
@1CavitePride1 imma call him Fargo (eureka)
-
i made it so that when you click the button, you can select a color using colorDialog, and if you uncheck the checkbox when you have a color selected, it will remove the color.
-
Realy good video keep it going
-
I am a beginner at programming. I feel awesome when I understand something. lol
-
Good tutorial, LOL, I made it if the box isn't checked it shows a picture of a troll :3
-
Ah worked it out, you can access the control colour via code with this:
if (label1.BackColor == SystemColors.Control)
SystemColors being key here.
Anyway good tuts thus far, good job.
-
The label's default backcolor is not transparent, so when you click the button the first time, no colour will change as it's actually setting it to transparent first, then you click it again and then it turns blue. According to the IDE, the default backcolor for it is Control, but it doesn't seem to be accessible via code.
Y'know, you could just change its default to transparent VIA properties.
Xylogeist 7 months ago
An if statement inside of an if statement... Ifception?
Chiefhalo19 8 months ago 6
@Chiefhalo19 LOL
Xylogeist 8 months ago
Sounds like your reading it from Head First C#...
justhayden15 11 months ago
@justhayden15 Like I say in a lot of my vid descriptions, I recommend supplementing my tuts with Headfirst C#. It's an excellent source of information. In fact, some of my examples were partially/largely inspired by their very examples.
Xylogeist 11 months ago