COSC 1436: Project Page 1 Pre Project Example Section 1: 1. Part 1: To create windows forms. Here is one step by step how to create windows form. Practice this example and submit it by March 17. a. Start Visual Studio and Create new project as Windows Forms Application. Name your project as COSC1436_Project Once project is created following 4 windows should get displayed. If you do not see any Toolbox, select View from the menu list and click on toolbox. You can dock it on the left or right side of your Form1.cs window. ToolBox Form1.cs Solution Explorer Properties COSC 1436: Project Page 2 Select Label on Toolbox then drag and drop the label three times from the toolbox to the form and then go to properties window and change their text values to Add Two Numbers, Number 1 and Number 2 as shown in the following figures. Remember each label will have its own property. COSC 1436: Project Page 3 Now create three text boxes and one radio button, change the text value of radio button to Add Now run your program to see the following window, exit out by selecting the X on the window COSC 1436: Project Page 4 You should be back on the design form. Double click on Add radio button and you will see following code window. Type the following code inside the method radioButton1_CheckChanged() starting from string n private void radioButton1_CheckedChanged(object sender, EventArgs e) { string n = textBox1.Text; string n2 = textBox2.Text; int n3 = Convert.ToInt32(n); int n4 = Convert.ToInt32(n2); int sum = n3 + n4; textBox3.Text = sum.ToString(); } COSC 1436: Project Page 5 Run your program and type any two numbers and click on Add radio button to see the result. 2. Part 2: Now create radio buttons for Subtract, Multiply, Divide, and Modulus on the same form and add appropriate code inside the other radio buttons using the same method as described in previous steps for Add radio button. .