private void deleteToolStripMenuItem2_Click(object sender, EventArgs e) { if (_login == false) { MessageBox.Show("Please Login to use this feature"); } else { Form frm = new Delete_Candidate(); frm.ShowDialog(); } }
private void button10_Click(object sender, EventArgs e) { Form frm = new Delete_Candidate(); frm.Show(); }