From 8b1f024231571b16940aab83c1a131bf9a1eb5d5 Mon Sep 17 00:00:00 2001 From: emkael Date: Sat, 26 Nov 2016 17:39:59 +0100 Subject: * hand record clearing, per section --- Aktywator/MainForm.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'Aktywator/MainForm.cs') diff --git a/Aktywator/MainForm.cs b/Aktywator/MainForm.cs index f684e34..aa3a447 100644 --- a/Aktywator/MainForm.cs +++ b/Aktywator/MainForm.cs @@ -287,5 +287,18 @@ namespace Aktywator } } + private void bClearHands_Click(object sender, EventArgs e) + { + try + { + bws.clearHandRecords(); + MessageBox.Show("Wyczyszczono rozkłady", "Rozkłady wyczyszczone!", MessageBoxButtons.OK, MessageBoxIcon.Information); + } + catch (Exception ex) + { + MessageBox.Show(ex.Message, "Błąd czyszczenia rozkładów", MessageBoxButtons.OK, MessageBoxIcon.Error); + } + } + } } -- cgit v1.2.3