private void hesaplarıListelemeToolStripMenuItem_Click(object sender, EventArgs e) { if (hesapList == null) { hesapList = new frm_HesapListele(musteriBanka); hesapList.MdiParent = this; hesapList.FormClosed += HesapList_FormClosed; hesapList.Show(); } else { hesapList.Activate(); } }
private void HesapList_FormClosed(object sender, FormClosedEventArgs e) { hesapList = null; }