p>
}
void button36_Click (object sender, EventArgs e)
{. Text + = ((Button) sender). Text ;//вивід в текстове поле
} void button1_Click (object sender, EventArgs e)
{
((oper! = "") && (textBox1.Text.Length! = 0))
{= float.Parse (textBox1.Text); (oper)
{"+": {textBox1.Text = (x + y). ToString (); break;} "-": {textBox1.Text = (x - y). ToString (); break;} "/": {textBox1.Text = (x/y). ToString (); break;} "*": {textBox1.Text = (x * y). ToString ( ); break;}
} = "";
}
}
void button51_Click (object sender, EventArgs e)
{(textBox1.Text.Length! = 0)
{. Text = textBox1.Text.Remove (textBox1.Text.Length - 1, 1);
}
} void button4_Click (object sender, EventArgs e)
{. Text = "";
} void button10_Click (object sender, EventArgs e)
{. Text = ""; = 0; = 0;
}
void button_plus (object sender, EventArgs e)
{(textBox1.Text.Length! = 0)
{= float.Parse (textBox1.Text); = ((Button) sender). Text;. Clear ();
}
}
void button_invers (object sender, EventArgs e)
{(textBox1.Text.Length! = 0)
{= float.Parse (textBox1.Text); =-temp;. Text = temp.ToString ();
}
}
void button_exp (object sender, EventArgs e)
{. Text = System.Math.PI.ToString ();
} void button_sct (object sender, EventArgs e)
{(textBox1.Text.Length! = 0)
{(((Button) sender). Text)
{"sin": {textBox1.Text =
(System.Math.Sin (double.Parse (textBox1.Text))). ToString (); break;} "cos": {textBox1.Text =
(System.Math.Cos (double.Parse (textBox1.Text))). ToString (); break;} "tan": {textBox1.Text =
(System.Math.Tan (double.Parse (textBox1.Text))). ToString (); break;}
}
}
}
void button14_Click (object sender, EventArgs e)
{((textBox1.Text.Length! = 0) && (textBox1.Text.Contains (",") == false))
. Text + = ",";
}
void button9_Click (object sender, EventArgs e)
{(textBox1.Text.Length! = 0)
{. Enabled = true;. Add (textBox1...