http://www.projectargio.com
PLEASE READ AND COMMENT:
Hey guys thank you for coming back. Today we'll be diving into code!!!
EXPLANATION:
So lets break up all the code we typed today. We made a label and changed the name property to Displayer. We also made a button and changed the name property to MainButton. Then we changed the text of MainButton to "Click Me!". Then we changed the text of the label to nothing. Then we opened up the code of the event that we clicked the button. In our code we typed:
Displayer.Text = "You've clicked the button!"
Lets break this up... Displayer is the name of our label. The dot in our code is an operator that allows us to access variables and methods of our label, Displayer. Text is the variable we would like to access. = is an assignment operator. Next we tell the computer what we want our label's text property to have. In this case we want it to have You've clicked the button.
In english this would be:
Computer! Open the box displayer! /
/
/
/
| |
|Displayer |
|__________|
Now, assign "You've clicked the text" to a variable called text inside our box.
So once you understand it, it is pretty easy.
Please SUBSCRIBE! If you do I will ask you for your email and If you give it to me I will send you weekly code updates :).
is it me or are you talking like .. hard core?
arsenal2wins 1 year ago
nice vid
nak4money 2 years ago