private void candidateToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (_reg == null)
     {
         _reg = new FrmCandidateRegistration {MdiParent = this};
         _reg.FormClosed += Reg_FormClosed;
         _reg.Show();
     }
     else
     {
         _reg.Activate();
         _reg.WindowState = FormWindowState.Normal;
     }
 }
 private void Reg_FormClosed(object sender, FormClosedEventArgs e)
 {
     _reg = null;
 }
 private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     var frmCandidate = new FrmCandidateRegistration();
     Hide() ;
     frmCandidate.Show();
 }