Exemplo n.º 1
0
 private void ApplyButton_Click(object sender, RoutedEventArgs e)
 {
     Settings.Default.fieldWidth  = this.fieldWidth;
     Settings.Default.fieldHeight = this.fieldHeight;
     Settings.Default.mines       = this.mines;
     this.Close();
     MainWindow.Restart();
 }
Exemplo n.º 2
0
 private void RetryButton_Click(object sender, RoutedEventArgs e)
 {
     MainWindow.Restart();
     this.Close();
 }