private void BtnNotListesi_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { if (fr19 == null || fr19.IsDisposed) { fr19 = new Formlar.FrmNotlar(); fr19.MdiParent = this; fr19.Show(); } }
private void barButtonItem1_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { if (frmNotlar == null || frmNotlar.IsDisposed) { frmNotlar = new Formlar.FrmNotlar(); frmNotlar.MdiParent = this; frmNotlar.Show(); } }