private void buttonDeleteAllTransports_Click(object sender, EventArgs e) { BL.CLS_SettingsDeleteFullInfo settings = new BL.CLS_SettingsDeleteFullInfo(); if (MessageBox.Show("هل تريد فعلا حذف جميع طرق النقل ", "عملية الحذف", MessageBoxButtons.YesNo, MessageBoxIcon.Exclamation) == DialogResult.Yes) { settings.DeleteAllTransports(); MessageBox.Show("تم حذف جميع طرق النقل", "عملية الحذف", MessageBoxButtons.OK, MessageBoxIcon.Information); } }
private void buttonDeleteAllRecurting_Click(object sender, EventArgs e) { BL.CLS_SettingsDeleteFullInfo settings = new BL.CLS_SettingsDeleteFullInfo(); if (MessageBox.Show("هل تريد فعلا حذف جميع مناطق التجنيد ", "عملية الحذف", MessageBoxButtons.YesNo, MessageBoxIcon.Exclamation) == DialogResult.Yes) { settings.DeleteAllRecruitingAreas(); MessageBox.Show("تم حذف جميع مناطق التجنيد", "عملية الحذف", MessageBoxButtons.OK, MessageBoxIcon.Information); } }