private void simpleButton1_Click(object sender, EventArgs e) { if (gridView1.RowCount == 0) { return; } Ajanda.frmNotKarti frmm = new frmNotKarti(Convert.ToInt32(gridView1.GetFocusedRowCellValue("NotID"))); frmm.MdiParent = this.MdiParent; frmm.Show(); }
private void barButtonItem22_ItemClick(object sender, ItemClickEventArgs e) { Ajanda.frmNotKarti frm = new Ajanda.frmNotKarti(-1); FormuAc(frm); }