Example #1
0
 private void dgPOSItem_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     temp.setFields(dgPOSItem.CurrentRow.Cells[0].Value.ToString(), dgPOSItem.CurrentRow.Cells[1].Value.ToString(), Convert.ToDouble(dgPOSItem.CurrentRow.Cells[2].Value), Convert.ToInt32(dgPOSItem.CurrentRow.Cells[3].Value));
     this.DialogResult = DialogResult.OK;
 }