private void button_save_Click(object sender, RoutedEventArgs e) { pns.FromExt(grid, sudoku, buffer); solver.Put_in(tab, buffer); tab = solver.Solve(tab, buffer, 0, 0); this.Close(); }