private void btnUpdate_Click(object sender, EventArgs e) { frmCreate = new CreateForm(false, int.Parse(dataGridAza.Rows[dataGridAza.CurrentCell.RowIndex].Cells[1].Value.ToString())); frmCreate.ShowDialog(); }
private void btnCreate_Click(object sender, EventArgs e) { frmCreate = new CreateForm(true, 0); frmCreate.ShowDialog(); }