コード例 #1
0
        public PageKPP()
        {
            InitializeComponent();
            kPP  = new Controllers.KPPShipmentsController();
            plan = new Controllers.PlanShipmentController();
            shipmentController = new Controllers.ShipmentController();

            DatePicker.SelectedDate = DateTime.Now;

            Thread thread = new Thread(new ThreadStart(RefreshThread));

            thread.Start();
        }
コード例 #2
0
        public PageShipments()
        {
            InitializeComponent();
            controller = new Controllers.ShipmentController();
            DatePicker.SelectedDate = DateTime.Now;

            Thread thread = new Thread(new ThreadStart(RefreshThread));

            thread.Start();

            if (App.LevelAccess == "admin" || App.LevelAccess == "shipment")
            {
                btn_new.Visibility = Visibility.Visible;
            }
        }