private void btn_ögrenilmis_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { if (OK == null) { OK = new OgrenilenKelimeler(); OK.MdiParent = this; OK.FormClosed += OK_FormClosed; OK.Show(); } else { OK.Activate(); } }
private void OK_FormClosed(object sender, FormClosedEventArgs e) { OK = null; }