Inheritance: System.Windows.Forms.Form
Example #1
0
        /// <summary>
        /// Shows the Edit Score Settings form
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void EditScoreSettingsBtn_Click(object sender, EventArgs e)
        {
            ScoreSettings SS;
            ScoreSelectForm SSF = new ScoreSelectForm();
            DialogResult R = SSF.ShowDialog();

            // Player
            if (R == DialogResult.Yes)
                SS = new ScoreSettings(true);
            else if (R == DialogResult.No)
                SS = new ScoreSettings(false);
            else
                return;

            try
            {
                // Show score form
                SS.ShowDialog();
            }
            catch { }
        }
Example #2
0
 /// <summary>
 /// Shows the Edit Score Settings form
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void EditScoreSettingsBtn_Click(object sender, EventArgs e)
 {
     // Show score form
     ScoreSettings SS = new ScoreSettings();
     SS.ShowDialog();
 }