Esempio n. 1
0
 public FormHaiQuanView(IShipmentServices shipmentServices, IShipmentOutServices shipmentOutServices)
 {
     InitializeComponent();
     _shipmentServices    = shipmentServices;
     _shipmentOutServices = shipmentOutServices;
     txtShipmentNo.Focus();
 }
 public frmTrace(IMasterBillServices masterBillServices, IShipmentServices shipmentServices
                 , IBoxInforServices boxInforServices, IShipmentOutServices shipmentOutServices)
 {
     InitializeComponent();
     _masterBillServices  = masterBillServices;
     _shipmentServices    = shipmentServices;
     _shipmentOutServices = shipmentOutServices;
     _boxInforServices    = boxInforServices;
 }
        public FormXnDenMawb(IMasterBillServices masterBillServices, IShipmentServices shipmentServices
                             , IBoxInforServices boxInforServices, IShipmentOutServices shipmentOutServices
                             , IManifestServices manifestServices)
        {
            InitializeComponent();
            _masterBillServices  = masterBillServices;
            _shipmentServices    = shipmentServices;
            _shipmentOutServices = shipmentOutServices;
            _boxInforServices    = boxInforServices;
            _manifestServices    = manifestServices;
            currentEmployee      = FormLogin.mEmployee;

            txtMAWB.Text = "";
            txtMAWB.Focus();
            CloseBox();
            ResetFormInfoNhap();
            btnXNĐ.Enabled = false;
            this.Text      = "Xác nhận đến theo MAWB- " + FormUltils.getInstance().GetVersionInfo();
        }
Esempio n. 4
0
 public FormXuat(IMasterBillServices masterBillServices, IShipmentServices shipmentServices
                 , IBoxInforServices boxInforServices, IShipmentOutServices shipmentOutServices, IBoxOutServices boxOutServices
                 )
 {
     InitializeComponent();
     _masterBillServices  = masterBillServices;
     _shipmentServices    = shipmentServices;
     _shipmentOutServices = shipmentOutServices;
     _boxInforServices    = boxInforServices;
     _boxOutServices      = boxOutServices;
     currentEmployee      = FormLogin.mEmployee;
     BuildingGridviewRow();
     AddDeleteButtonToGridView(grvShipmentListOut);
     dtpNgayXuat.CustomFormat = "dd/MM/yyyy";
     txtShipmentNo.Text       = "";
     ComboBoxBindData(cbbMasterBillOut);
     CloseBoxOut();
     cbbMasterBillOut.Focus();
     this.Text = "Xuất kho - " + FormUltils.getInstance().GetVersionInfo();
 }
 //private readonly string DECLARATIONNO = "Số TK";
 //private readonly string DATEOFCOMPLETION = "Ngày thông quan";
 public FormNhap(IMasterBillServices masterBillServices, IShipmentServices shipmentServices
                 , IBoxInforServices boxInforServices, IShipmentOutServices shipmentOutServices
                 , IManifestServices manifestServices, IShipmentOutTempServices shipmentOutTempServices)
 {
     InitializeComponent();
     _masterBillServices      = masterBillServices;
     _shipmentServices        = shipmentServices;
     _shipmentOutServices     = shipmentOutServices;
     _boxInforServices        = boxInforServices;
     _manifestServices        = manifestServices;
     _shipmentOutTempServices = shipmentOutTempServices;
     currentEmployee          = FormLogin.mEmployee;
     BuildingTheGridviewRowStrure();
     AddDeleteButtonToGridView(grvShipments);
     dtpNgayDen.CustomFormat = "dd/MM/yyyy";
     ResetHardCodeText();
     LoadAllMasterBillByDateToCombobox(cbbMasterBill);
     cbbMasterBill.SelectedText = "";
     FillInforXacNhanDen();
     CloseBox();
     ResetFormInfoNhap();
     dtpNgayDen.Focus();
     this.Text = "Xác nhận đến - " + FormUltils.getInstance().GetVersionInfo();
 }