Hello and welcome to this lecture in this lecture we are going to be looking at some basic arithmetic.
Operators commonly used in business applications
so these are the basic operators.
So we've got the addition with the symbol of the plus sign.
I'm sure we are all familiar with these operators subtraction multiplication and division.
Notice that for the multiplication in parentheses I've called it asterisks.
This is because in C sharp the asterisks is what is used to implement multiplication.
If you are trying to program or code an arithmetic function for multiplication if you're trying to code
for a division you'll be using this slash symbol to represent division let's create a project that we
can use to implement these arithmetic operators.
So I've got my vision study here.
I'm going to right click and go run as administrator and then click.
Yes.
So Visual Studio as launched I'm going to click new project.
Give it time to load
trying to initialize the templates.
All right so call it templates up.
So I'm going to use web was called templates.
Got web selected.
I'm going to go for airspeed on net application and this is where I give the application a name when
they mean your application.
If you're using more than one word try not to create spaces between them.
So I'm going to call mine same basic
operators.
Notice the couples tell ization of the second word and I click OK.
OK so next in our selected empty template on the ad folders and core references make sure you go to
web form selected.
This will enable us to add.
Let her on and click.
OK.
Let's add our form.
So where's got the name of your.
Here we go.
Basic operators right click and click on the ship should be an option to add and click on a web form
then give you a web form a name.
I'm going to call my default and click OK
so it opens up in this view.
I'm going to switch to design which is this tab here and I'm going to add some controls.
I'm going to add a text box a button and a label so I click on it to click on that and text box can
scroll down where the textbook says make sure I put my mouse where I want to put a text box and go back
to my control double click.
And a tool inserted where I have placed the mouse so I just drag it along a little bit and just tab
down.
Next thing I want to do is add a button.
So where I've got the mouse cursor flashing there I just go back to my control look for the button.
This should be one full button.
Larry go.
Just double click and it will insert the button there.
Finally I want a label so where the mouse is flashing.
I go back to Tool Box go down double click on label.
So I've got all my controls.
I just need to change the I.D. on the labels or click on the first one which is it tells you that's
a text box one I need to change that name.
Scroll down to the I.D. part of it.
No words got the I.D. I'll just change that to input text box
gain.
Notice a capitalization of the first letter of each word.
I come here to the bottom.
I'm going to change that too.
Okay.
Button will also change the text on the button.
There should be a text.
So rather than it's a button I'm gonna say something else.
Going to click that
and typing okay.
And that you change from button to OK.
Finally the label came to label here I'm going to make the text blank.
I don't want any text there.
So the text should disappear.
I just need to change the I.D. on that label and if click on it so I can see it.
All right.
Found the label.
Just need to rename that to result
label again.
Notice a capitalization on the first letter of the second word.
So we've created the basic form for our application.
We'll use this to test out the basic operators.
So I'm gonna stop this lecture here and in the subsequent lectures that follows I will be testing out
each of these operators using this application interface.
We have built.
So that's it for this lecture.
Thanks for watching.
Bye for now.