private void button4_Click(object sender, EventArgs e) { Hide(); FormPocitani nasob = new FormPocitani(1, 8, 0, 8, "**", "choice"); nasob.FormClosing += new FormClosingEventHandler(Zavri); nasob.Show(); }
private void button3_Click(object sender, EventArgs e) { Hide(); FormPocitani scitodec = new FormPocitani(10, 21, -999, -999, "+-", "choice+-"); scitodec.FormClosing += new FormClosingEventHandler(Zavri); scitodec.Show(); }
private void button1_Click(object sender, EventArgs e) { Hide(); FormPocitani scitani = new FormPocitani(0, 31, 0, 21, "+", "choice+"); scitani.FormClosing += new FormClosingEventHandler(Zavri); scitani.Show(); }
private void button2_Click(object sender, EventArgs e) { Hide(); FormPocitani odcitani = new FormPocitani(10, 21, -999, -999, "-", "choice-"); odcitani.FormClosing += new FormClosingEventHandler(Zavri); odcitani.Show(); }
public rozmezi(FormPocitani pocitani, int min1, int max1, int min2, int max2, ZiskejText ZiskejMin1, ZiskejText ZiskejMax1, ZiskejText ZiskejMin2, ZiskejText ZiskejMax2) { InitializeComponent(); this.min1 = min1; this.min2 = min2; this.max1 = max1; this.max2 = max2; this.pocitani = pocitani; textBox1.Text = min1.ToString(); textBox2.Text = max1.ToString(); textBox3.Text = min2.ToString(); textBox4.Text = max2.ToString(); this.ZiskejMin1 = ZiskejMin1; this.ZiskejMax1 = ZiskejMax1; this.ZiskejMin2 = ZiskejMin2; this.ZiskejMax2 = ZiskejMax2; }