public SongHuoViewModel(INavigation navigation) : base(navigation) { logisticStoreServices = Xamarin.Forms.DependencyService.Resolve <ILogisticStoreServices>(); _shipmentServices = Xamarin.Forms.DependencyService.Resolve <IShipmentServices>(); shipmentPlanServices = Xamarin.Forms.DependencyService.Resolve <IShipmentPlanServices>(); zXingScannerServices = new ZXingScannerServices(navigation) { CallBackAction = async(a) => await SearchOrderAsync(a.ToString()) }; SearchOrderCommand = new Command(async(trackorderId) => await SearchOrderAsync(trackorderId.ToString())); QrScanCommand = new Command(async(a) => await zXingScannerServices.OpenQrPage()); RemoveItemCommand = new Command((trackorderId) => RemoveOrder(trackorderId.ToString())); CreatePlanCommand = new Command(async() => await CreatePlan()); _userAuthorizeStores = new ObservableCollection <LogisticStore>(); OrderCollections = new ObservableCollection <ScanOrderModel>(); }
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(); }
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(); }