private void gv_results_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { string RecID = gv_results.Rows[e.RowIndex].Cells[0].Value.ToString(); int Recid = Convert.ToInt32(RecID); NewRec Editor = new NewRec(Recid); Editor.ShowDialog(); }
private void btnAdd_Click(object sender, EventArgs e) { NewRec temp = new NewRec(); temp.ShowDialog(); }