private void button_clear_Click(object sender, RoutedEventArgs e) { if (!solver.bufferEmpty(buffer)) { board.Clear(siatka, buffer); } }