示例#1
0
 void bbiPrintPreview_ItemClick(object sender, ItemClickEventArgs e)
 {
     //gridControl.ShowRibbonPrintPreview();
     try
     {
         if (bbiContainer.EditValue.ToString() != "")
         {
             BookingPreviewForm frm = new BookingPreviewForm(bbiContainer.EditValue.ToString());
             frm.ShowDialog();
         }
     }
     catch (Exception)
     {
     }
 }
示例#2
0
 private void bbiNew_ItemClick(object sender, ItemClickEventArgs e)
 {
     UpdateContainer(null);
     XtraMessageBox.Show("บันทึกข้อมูลเสร็จแล้ว", "XPW Alert!", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
     try
     {
         if (bbiContainer.EditValue.ToString() != "")
         {
             BookingPreviewForm frm = new BookingPreviewForm(bbiContainer.EditValue.ToString());
             frm.ShowDialog();
         }
     }
     catch (Exception)
     {
     }
 }