예제 #1
0
        public frmApproveRejectOrder(long orderID, frmDashboard _dashboard)
        {
            InitializeComponent();
            _orderID = orderID;

            dashboard = _dashboard;

            this.cmbStatus.Items.Clear();
            this.cmbStatus.Items.Add("Reject");
            this.cmbStatus.Items.Add("Skip");
            // this.cmbStatus.Enabled = false;
            this.cmbStatus.Text = "Skip";
            //if(barCode.
            //  string barCode = txtCode.Text;
        }
 public frmBarcodePrinting(PrintProduct _product, frmDashboard parent)
 {
     try
     {
         InitializeComponent();
         //if(barCode.
         //  string barCode = txtCode.Text;
         product    = _product;
         _orderId   = product.OrderID;
         parentForm = parent;
         DrawBarcode();
         InitiatePrint();
         this.Hide();
     }
     catch (Exception ex)
     {
         LogException(ex);
     }
 }
 public frmOrderUpload(frmDashboard dash)
 {
     masterForm = dash;
     InitializeComponent();
     RefreshPage();
 }