コード例 #1
0
ファイル: Form1.cs プロジェクト: DusanNikolic11/Santorini
        private void btnPlayervsPlayer_Click(object sender, EventArgs e)
        {
            gameWindow f = new gameWindow();

            gameWindow.clickCounter = 0;
            gameWindow.gameStarted  = false;
            gameWindow.odaklei      = gameWindow.odaklej = gameWindow.gdei = gameWindow.gdej = gameWindow.gdegradii = gameWindow.gdegradij = 0;
            gameWindow.botvbot      = false;
            gameWindow.botvplay     = false;
            f.ShowDialog();
        }
コード例 #2
0
        private void btnNewGame_Click(object sender, EventArgs e)
        {
            gameWindow f = new gameWindow();

            f.ShowDialog();
        }