private void btnAdd_Click(object sender, EventArgs e) { bool isClashing = CheckClash(); if (isClashing == false) { saveTimetable(); } else { MessageBox.Show("The timeslot chosen is allready occupied!!"); } private Boolean CheckClash() { return false; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)