private void FormaRazno_FormClosed(object sender, FormClosedEventArgs e)
 {
     if (id == 8 || id == 5)
     {
         Pochetna p = new Pochetna(2);
         p.Show();
         this.DialogResult = DialogResult.Cancel;
     }
     this.Close();
 }
Example #2
0
        private void button4_Click(object sender, EventArgs e)
        {
            igrach1.Nared = false;
            igrach2.Nared = false;

             this.Hide();
                Pochetna p = new Pochetna(2);
                p.Show();
        }
Example #3
0
 private void pictureBox1_Click(object sender, EventArgs e)
 {
     Pochetna p = new Pochetna(2);
     p.Show();
     this.Hide();
 }
Example #4
0
 private void FormHelp_FormClosed(object sender, FormClosedEventArgs e)
 {
     Pochetna p = new Pochetna(2);
     p.Show();
     this.Hide();
 }
Example #5
0
        private void NewGame_MouseDown(object sender, MouseEventArgs e)
        {
            if (this.play.Contains(e.Location))
            {
                Form1 f = new Form1(imetekovno, textBox1.Text);
                f.Show();
                this.Hide();
            }
            else if (this.left.Contains(e.Location))
            {
                tekovna = coveche2;
                imetekovno = ime2;
                precrtaj();

            }
            else if (this.back.Contains(e.Location))
            {
                Pochetna p = new Pochetna(2);
                p.Show();
                this.Hide();

            }
            else if (this.right.Contains(e.Location))
            {
                tekovna = coveche1;
                imetekovno = ime1;
                precrtaj();
            }
        }