Пример #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);
     }
 }
Пример #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);
     }
 }