示例#1
0
        private void BtnNewGame_Click(object sender, RoutedEventArgs e)
        {
            ReadyPlayers ReadyPlayers = new ReadyPlayers();

            ReadyPlayers.WindowStartupLocation = WindowStartupLocation.CenterScreen;
            ReadyPlayers.Show();
            this.Close();
        }
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            //vorige
            ReadyPlayers readyPlayers = new ReadyPlayers();

            readyPlayers.WindowStartupLocation = WindowStartupLocation.CenterScreen;
            readyPlayers.Show();
            this.Close();
        }