예제 #1
0
 private void ChildFormSalesCategorizedByConfirmedCOVID19Cases_Load(object sender, EventArgs e)
 {
     //MessageBox.Show(now.ToString());
     covid = new ChildFormSalesCategorizedByConfirmedCOVID19Cases();
     salesModelBindingSource.DataSource = Dao.Sales.GetCovid(SaleMonth);
     covidModelBindingSource.DataSource = Dao.Covid.GetAll();
     diagram = (XYDiagram)CovidChart.Diagram;
 }
예제 #2
0
        /// <summary>
        /// 메인 폼이 로드될 때 차일드 프레임을 생성한다
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void MainForm_Load(object sender, EventArgs e)
        {
            Form form = null;

            // 1. 손익 계산서 화면
            form = new ChildFormIncomeStatement();
            RegisterChildForm("ChildFormIncomeStatement", form);

            // 2. 손익 계산서 화면
            form = new ChildFormBalanceSheet();
            RegisterChildForm("ChildFormBalanceSheet", form);

            // 3. 일별/월별 판매량
            form = new ChildFormDailyMonthlySales();
            RegisterChildForm("ChildFormDailyMonthlySales", form);

            // 4. 시간대별 고객 구매자 수 분석
            form = new ChildFormHourlySales();
            RegisterChildForm("ChildFormHourlySales", form);

            // 5. 코로나 확진자 수에 따른 카테고리별 판매량
            form = new ChildFormSalesCategorizedByConfirmedCOVID19Cases();
            RegisterChildForm("ChildFormSalesCategorizedByConfirmedCOVID19Cases", form);

            // 6. 카테고리별 연령대별 비중 남자 - 여자
            form = new ChildFormCategorizedByAgeGroup();
            RegisterChildForm("ChildFormCategorizedByAgeAndGenderGroup", form);

            // 7. 비건 화장품 매출
            form = new ChildFormSalesOfVeganCosmetic();
            RegisterChildForm("ChildFormSalesOfVeganCosmetic", form);

            // 8. 브랜드별 최근 1년 월 매출
            form = new ChildFormRecentYearlySalesBasedOnBrand();
            RegisterChildForm("ChildFormRecentYearlySalesBasedOnBrand", form);

            // 9. Top / Worst 5 제품
            form = new ChildFormTopWorstProduct();
            RegisterChildForm("ChildFormTopWorstProduct", form);

            ShowChildForm(childformNameList[0]);
        }