private void btn_kelimeEkle_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { if (KE == null) { KE = new KelimeEkle(); KE.MdiParent = this; KE.FormClosed += KE_FormClosed; KE.Show(); } else { KE.Activate(); } }
private void KE_FormClosed(object sender, FormClosedEventArgs e) { KE = null; }