Example #1
0
 public ChooseMP(AnalyticsForm _af)
 {
     InitializeComponent();
     connection    = DBData.GetDBConnection();
     analyticsForm = _af;
     getMarketplaces();
 }
Example #2
0
        public MatchOrderRefund(AnalyticsForm _af)
        {
            ordersController = new OrdersController(this);
            ordersController.GetOrders();

            returnsController = new CustomerReturnsController(this);
            returnsController.GetOrders();
            af = _af;
            MainLogic();
        }
Example #3
0
        public OrdersController(AnalyticsForm _form1)
        {
            connection   = DBData.GetDBConnection();
            ordersList   = new List <OrdersModel> {
            };
            allLines     = 0;
            addedLines   = 0;
            updatedLines = 0;

            form1 = _form1;
        }
Example #4
0
        public ShipmentsController(AnalyticsForm _form1)
        {
            connection    = DBData.GetDBConnection();
            shipmentsList = new List <ShipmentsModel> {
            };
            allLines      = 0;
            addedLines    = 0;
            updatedLines  = 0;

            form1 = _form1;
        }
        public CustomerReturnsController(AnalyticsForm _form1)
        {
            connection          = DBData.GetDBConnection();
            customerReturnsList = new List <CustomerReturnsModel> {
            };
            allLines            = 0;
            addedLines          = 0;
            updatedLines        = 0;

            form1 = _form1;
        }
Example #6
0
        public Matching(AnalyticsForm _af)
        {
            af = _af;

            ordersController = new OrdersController(this);
            ordersController.GetOrders();

            ordersController.GetOrders();

            ordersListstring = new List <string> {
            };
            resultList       = new List <OrdersModel> {
            };
            OpenNewFile();

            StartMatching();
        }
Example #7
0
        public PaymentsController(AnalyticsForm _form1)
        {
            connection              = DBData.GetDBConnection();
            paymentsList            = new List <PaymentsModel> {
            };
            orderIdIndexesForDelete = new List <int> {
            };
            alreadySeenOrderIds     = new List <string> {
            };
            alreadySeenDescriptions = new List <string> {
            };
            allLines     = 0;
            addedLines   = 0;
            updatedLines = 0;

            form1 = _form1;
        }