示例#1
0
        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();
        }
示例#2
0
        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();
        }
示例#3
0
        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();
        }
示例#4
0
        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();
        }
示例#5
0
 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;
 }