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(); }
private void button4_Click(object sender, EventArgs e) { igrach1.Nared = false; igrach2.Nared = false; this.Hide(); Pochetna p = new Pochetna(2); p.Show(); }
private void pictureBox1_Click(object sender, EventArgs e) { Pochetna p = new Pochetna(2); p.Show(); this.Hide(); }
private void FormHelp_FormClosed(object sender, FormClosedEventArgs e) { Pochetna p = new Pochetna(2); p.Show(); this.Hide(); }
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(); } }