Ejemplo n.º 1
0
 private void DgvHead_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     if (e.RowIndex < 0) return;
     string id = DgvHead.Rows[e.RowIndex].Cells["ChId"].Value.ToString();
     string base_ = DgvHead.Rows[e.RowIndex].Cells["Base"].Value.ToString();
     frmCashierSave frm = new frmCashierSave(id,base_);
     frm.ShowDialog();
     try
     {
         if (frm.DialogResult == System.Windows.Forms.DialogResult.OK)
             LoadFirst("");
     }
     catch { }
 }
Ejemplo n.º 2
0
 private void toolStripLabelRepair_Click(object sender, EventArgs e)
 {
     frmCashierSave s = new frmCashierSave();
     //s.Visible = true;
     s.ShowDialog();
     try
     {
         if (s.DialogResult == System.Windows.Forms.DialogResult.OK)
             LoadFirst("");
     }catch{}
 }