TimeDemo Application Using Windows Form

Step 1. Open Visual Studio, go to New Project -> Windows -> Windows Forms Application and give a name for your project.

New Project

Step 2. Choose Tool Box(Ctrl+Alt+X).Choose your Tools like Button,Text Box and Label.

button

Step 3. Go to Properties and change the name.

Properties

Step 4. Fill the textbox, as shown below- 

demo

Step 5. Go to Coding Page Form.Cs and write the coding for button1.

code

Step 6. Go to the Coding Page Form.Cs and write the coding similarly for button2.

code

Step 7. Go to Start. See the output.

Output