예제 #1
0
        private void ModePvP_Click(object sender, EventArgs e)
        {
            GamePvP formpvp = new GamePvP();

            this.Hide();
            formpvp.Show();
        }
예제 #2
0
        public Winner(GamePvP gamePvP)
        {
            bool w = gamePvP.Win;

            InitializeComponent();
            if (w == true)
            {
                playerWin.Text = "Победил Игрок 1";
            }
            else
            {
                playerWin.Text = "Победил Игрок 2";
            }
        }
예제 #3
0
 public pauseBox(GamePvP gamePvP)
 {
     InitializeComponent();
     this.gamePvP = gamePvP;
 }
예제 #4
0
파일: YoN.cs 프로젝트: greatUzumaki/WarShip
 public YoN(GamePvP gamePvP)
 {
     InitializeComponent();
     this.gamePvP = gamePvP;
 }