Ejemplo n.º 1
0
 private void btnNext_Click(object sender, EventArgs e)
 {
     WaitCursor.Set();
     try
     {
         DetailForm billDetailForm = new DetailForm(billType, this.dgInfo[this.dgInfo.CurrentCell.RowNumber, 0].ToString(), billId, detailTable);
         billDetailForm.Index = this.index;
         billDetailForm.Show();
         this.Close();
     }
     catch (Exception ex)
     {
         WaitCursor.Restore();
         MessageBox.Show(ex.Message);
     }
 }
Ejemplo n.º 2
0
 private void btnNext_Click(object sender, EventArgs e)
 {
     WaitCursor.Set();
     try
     {
         DetailForm billDetailForm = new DetailForm(billType, this.dgInfo[this.dgInfo.CurrentCell.RowNumber, 0].ToString(), billId, detailTable);
         billDetailForm.Index = this.index;
         billDetailForm.Show();
         this.Close();
     }
     catch (Exception ex)
     {
         WaitCursor.Restore();
         MessageBox.Show(ex.Message);
     }
 }