summaryrefslogtreecommitdiff
path: root/Aktywator/MainForm.cs
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2016-11-26 17:39:59 +0100
committeremkael <emkael@tlen.pl>2016-11-26 17:39:59 +0100
commit8b1f024231571b16940aab83c1a131bf9a1eb5d5 (patch)
treeb80cd6bd497b435653a8c5e31290bd8df8e630bf /Aktywator/MainForm.cs
parent9651a1a48d6343787e608b2c9daa70eb541fffdb (diff)
* hand record clearing, per section
Diffstat (limited to 'Aktywator/MainForm.cs')
-rw-r--r--Aktywator/MainForm.cs13
1 files changed, 13 insertions, 0 deletions
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);
+ }
+ }
+
}
}