using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace sharpmines { public partial class DifficultyDialog : Form { public Difficulty.Difficulties DifficultyLevel { get { if (intermediateRadioButton.Checked) { return sharpmines.Difficulty.Difficulties.Intermediate; } else if (advancedRadioButton.Checked) { return sharpmines.Difficulty.Difficulties.Advanced; } return sharpmines.Difficulty.Difficulties.Beginner; } } public DifficultyDialog() { InitializeComponent(); } } }