Ejemplo n.º 1
0
        public MatchOrderRefund(AnalyticsForm _af)
        {
            ordersController = new OrdersController(this);
            ordersController.GetOrders();

            returnsController = new CustomerReturnsController(this);
            returnsController.GetOrders();
            af = _af;
            MainLogic();
        }
Ejemplo n.º 2
0
        public AnalyticsForm()
        {
            InitializeComponent();
            paymentsController        = new PaymentsController(this);
            ordersController          = new OrdersController(this);
            shipmentsController       = new ShipmentsController(this);
            customerReturnsController = new CustomerReturnsController(this);

            start               = DateTime.Today;
            end                 = DateTime.Today;
            tb_DateStart.Text   = start.ToString().Substring(0, 10);
            tb_DateEnd.Text     = end.ToString().Substring(0, 10);
            btn_ChooseDate.Text = btn_ChooseDate.Text = start.ToString().Substring(0, 10) + " - " + end.ToString().Substring(0, 10);
        }