Hey guys, I know there is like 53043435 threads about this. But this one is far the easiest one, BUT the fastest one you'll come across
. ( me being cocky ), anyhow, I'm gonna write a tutorial on how this is done, so if your wanting to learn c# then, check in each week on this forum, and I'll more c# tutorials for you guys
.
--
Ok, first thing you need to do is just start a new windows form application, and name it whatever you want.
Then you'll need to add 3 text boxes, 1 timer, 2 command buttons.
Name the 2 command buttons " Start, and Stop "
--
Double click on the timer, and you should see the page where you input the code. Now insert this :
Double click on the Start command button and add this :
Double click on the Stop command button and add this :
Now test the app, and I suggest only putting 1 box of text in. If you put 3, it will be extremely fast lol.
--
Congrats, you just made your first program in C#
--
Ok, first thing you need to do is just start a new windows form application, and name it whatever you want.
Then you'll need to add 3 text boxes, 1 timer, 2 command buttons.
Name the 2 command buttons " Start, and Stop "
--
Double click on the timer, and you should see the page where you input the code. Now insert this :
Code:
SendKeys.Send(textBox1.Text);
SendKeys.Send("{ENTER}");
SendKeys.Send(textBox2.Text);
SendKeys.Send("{ENTER}");
SendKeys.Send(textBox3.Text);
SendKeys.Send("{ENTER}");
Double click on the Start command button and add this :
Code:
timer1.Enabled = true;
Double click on the Stop command button and add this :
Code:
timer1.Enabled = false;
Now test the app, and I suggest only putting 1 box of text in. If you put 3, it will be extremely fast lol.
--
Congrats, you just made your first program in C#


