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