private void simpleButton_Design_Click(object sender, EventArgs e)
        {
            //design
            if (comboBoxEdit_Report.SelectedIndex == 0)
            {
                splashScreenManager_Report.ShowWaitForm();
                splashScreenManager_Report.SetWaitFormCaption("Đang tạo report");
                splashScreenManager_Report.SetWaitFormDescription("Vui lòng chờ trong giây lát...");

                XtraReport_Template _XtraReport_Template = new XtraReport_Template(FillDatasetFromGrid(), gridViewThongKe, checkEdit_Landscape.Checked);
                ReportDesignTool    designTool           = new ReportDesignTool(_XtraReport_Template);
                splashScreenManager_Report.CloseWaitForm();
                designTool.ShowDesignerDialog();


                ReportPrintTool printTool = new ReportPrintTool(designTool.Report);
                printTool.ShowPreviewDialog();
            }
            else
            {
                splashScreenManager_Report.ShowWaitForm();
                splashScreenManager_Report.SetWaitFormCaption("Đang tạo report");
                splashScreenManager_Report.SetWaitFormDescription("Vui lòng chờ trong giây lát...");

                XtraReport_XtraGrid _XtraReport_XtraGrid = new XtraReport_XtraGrid(gridControlThongKe, checkEdit_Landscape.Checked);
                ReportDesignTool    designTool           = new ReportDesignTool(_XtraReport_XtraGrid);
                splashScreenManager_Report.CloseWaitForm();
                designTool.ShowDesignerDialog();


                ReportPrintTool printTool = new ReportPrintTool(designTool.Report);
                printTool.ShowPreviewDialog();
            }
        }
        private void simpleButton_View_Click(object sender, EventArgs e)
        {
            //View
            if (comboBoxEdit_Report.SelectedIndex == 0)
            {
                splashScreenManager_Report.ShowWaitForm();
                splashScreenManager_Report.SetWaitFormCaption("Đang tạo report");
                splashScreenManager_Report.SetWaitFormDescription("Vui lòng chờ trong giây lát...");

                XtraReport_Template _XtraReport_Template = new XtraReport_Template(FillDatasetFromGrid(), gridViewThongKe, checkEdit_Landscape.Checked);
                ReportPrintTool printTool = new ReportPrintTool(_XtraReport_Template);
                splashScreenManager_Report.CloseWaitForm();
                printTool.ShowPreviewDialog();

            }
            else
            {
                splashScreenManager_Report.ShowWaitForm();
                splashScreenManager_Report.SetWaitFormCaption("Đang tạo report");
                splashScreenManager_Report.SetWaitFormDescription("Vui lòng chờ trong giây lát...");

                XtraReport_XtraGrid _XtraReport_XtraGrid = new XtraReport_XtraGrid(gridControlThongKe, checkEdit_Landscape.Checked);
                ReportPrintTool printTool = new ReportPrintTool(_XtraReport_XtraGrid);
                splashScreenManager_Report.CloseWaitForm();
                printTool.ShowPreviewDialog();

            }
        }