private void yetkiliFirmaToolStripMenuItem_Click(object sender, EventArgs e) { if (firmaForm == null) { firmaForm = new Yetkili_Firma(); firmaForm.MdiParent = this; firmaForm.FormClosed += FirmaForm_FormClosed; firmaForm.Show(); } else { firmaForm.Activate(); } }
private void FirmaForm_FormClosed(object sender, FormClosedEventArgs e) { firmaForm = null; }