private void kategoriEkleToolStripMenuItem_Click(object sender, EventArgs e) { CategoryEditForm frm = new CategoryEditForm(); frm.MdiParent = this; frm.Show(); }
private void dgvCategories_RowHeaderMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e) { int id = (int)dgvCategories.Rows[e.RowIndex].Cells[0].Value; CategoryEditForm frm = new CategoryEditForm(id); frm.MdiParent = this.MdiParent; frm.Show(); }