private void btnCopyAdd_Click(object sender, EventArgs e) { DataGridViewRow dr = this.dg1.CurrentRow; DevelopQuestData_Edit ae = new DevelopQuestData_Edit(dr, "2"); ae.Show(); }
private void dg1_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { DataGridViewRow dr = this.dg1.CurrentRow; DevelopQuestData_Edit ae = new DevelopQuestData_Edit(dr, "0"); ae.ShowDialog(); }