, Visual C#



Form3.cs () = Form3; . Form3.cs , :

double add1, add2, add3;

add1 = Convert.ToDouble(textBox1.Text);

add2 = Convert.ToDouble(textBox2.Text);

add3 = add1 + add2;

textBox3.Text = add3.ToString();

. Form3.cs , , textBox:

double sub1, sub2, sub3;

sub1 = Convert.ToDouble(textBox4.Text);

sub2 = Convert.ToDouble(textBox5.Text);

sub3 = sub1 - sub2;

textBox6.Text = sub3.ToString();

. Form3.cs , , textBox:

double mul1, mul2, mul3;

mul1 = Convert.ToDouble(textBox7.Text);

mul2 = Convert.ToDouble(textBox8.Text);

mul3 = mul1 * mul2;

textBox9.Text = mul3.ToString();

. Form3.cs , , textBox:

double div1, div2, div3;

div1 = Convert.ToDouble(textBox10.Text);

div2 = Convert.ToDouble(textBox11.Text);

div3 = div1 / div2;

textBox12.Text = div3.ToString();