Exemple #1
0
        private void ButtonVsPlayerClicked(object sender, System.EventArgs e)
        {
            this.Hide();
            var customScreen = new MultiPlayerUserSetUpView();

            customScreen.ShowDialog();
            this.Close();
        }
Exemple #2
0
        private void ButtonBackClicked(object sender, System.EventArgs e)
        {
            var message = MessageBox.Show(
                Messages.PossibleProgressLoss,
                Messages.Information,
                MessageBoxButtons.OKCancel,
                MessageBoxIcon.Exclamation);

            if (message == DialogResult.OK)
            {
                this.Hide();
                var customScreen = new MultiPlayerUserSetUpView();
                customScreen.ShowDialog();
                this.Close();
            }
        }
 private void ButtonBackClicked(object sender, System.EventArgs e)
 {
     var message = MessageBox.Show(
         Messages.PossibleProgressLoss,
         Messages.Information,
         MessageBoxButtons.OKCancel,
         MessageBoxIcon.Exclamation);
     if (message == DialogResult.OK)
     {
         this.Hide();
         var customScreen = new MultiPlayerUserSetUpView();
         customScreen.ShowDialog();
         this.Close();
     }
 }