I made a calculator that uses textboxes.
private void Btnrovnase_Click(object sender, EventArgs e)
{
int vysledek;
vysledek = (int.Parse(textBox1.Text) / int.Parse(textBox2.Text));
textBox3.Text = vysledek.ToString();
My code looks like this but now I want to use int named a
in it.
The question is, is there a way to put the int in textbox1
or textbox2
?