private void button5_Click(object sender, EventArgs e)
{
if(MessageBox.Show("Do you really want to remove all task history ?", "SecureDelete", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes) {
HistoryManager man = new HistoryManager();
man.LoadHistory(SecureDeleteLocations.GetScheduleHistoryFile());
man.Clear();
man.SaveHistory(SecureDeleteLocations.GetScheduleHistoryFile());
}
}