private void Button_GenerateNew_Click(object sender, RoutedEventArgs e)
        {
            SudokuGrid.GenerateAndPopulateSudoku();

            RestartTimer();
            UpdateProgressBar();
            ClearMessage();
        }
        private void ComboBox_SudokuDifficulty_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            SudokuGrid.GenerateAndPopulateSudoku();

            RestartTimer();
            UpdateProgressBar();
            ClearMessage();
        }
        /// <summary>
        /// 초기 설정
        /// </summary>
        public MainWindow()
        {
            InitializeComponent();
            DataContext = this;

            PrepareDispatcherTimer();
            RestartTimer();

            SudokuGrid.GenerateAndPopulateSudoku();
            SudokuGrid.SudokuSolved            += new EventHandler(OnSudokuSolved);
            SudokuGrid.UnvalidCellValueAdded   += new EventHandler(OnUnvalidCellValueAdded);
            SudokuGrid.UnvalidCellValueRemoved += new EventHandler(OnUnvalidCellValueRemoved);
        }