private void ModePvP_Click(object sender, EventArgs e) { GamePvP formpvp = new GamePvP(); this.Hide(); formpvp.Show(); }
public Winner(GamePvP gamePvP) { bool w = gamePvP.Win; InitializeComponent(); if (w == true) { playerWin.Text = "Победил Игрок 1"; } else { playerWin.Text = "Победил Игрок 2"; } }
public pauseBox(GamePvP gamePvP) { InitializeComponent(); this.gamePvP = gamePvP; }
public YoN(GamePvP gamePvP) { InitializeComponent(); this.gamePvP = gamePvP; }