Esempio n. 1
0
        private void showSalesDataToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            ReportBusinessView repBus = new ReportBusinessView(this);

            repBus.Show();
            this.Visible = false;
        }
Esempio n. 2
0
        private bool NoErrors;          //ошибка ввода в textBox пользователем при фильтре по таблице


        public ReportBusinessFilterView(ReportBusinessView _mf)
        {
            InitializeComponent();
            mf = _mf;

            StartDate         = DateTime.Today;
            EndDate           = DateTime.Today.AddHours(23).AddMinutes(59);
            lb_StartDate.Text = StartDate.ToString().Substring(0, 10);
            lb_EndDate.Text   = StartDate.ToString().Substring(0, 10);


            mpList              = new List <MarketplaceModel> {
            };
            pList               = new List <ProductsModel> {
            };
            businessList        = new List <ReportBusinessModel> {
            };
            summaryBusinessList = new List <ReportBusinessModel> {
            };
            filterBusinessListt = new List <ReportBusinessModel> {
            };

            mpController       = new MarketplaceController(this);
            prodController     = new ProductsController(this);
            businessController = new BusinessController(this);

            checkedMarkeplaces = new List <string> {
            };
            checkedProducts    = new List <string> {
            };

            if (mpController.GetMarketplaces() == 1)
            {
                Fill_CLB_Marketplace();
            }
        }