Exemplo n.º 1
0
        private void EntireLineReportDialog_Load(object sender, EventArgs e)
        {
            //从数据库中的sys_biz_ReportRTConfig获得手工录入的报表名称
            cBox_Types.Items.Clear();
            List <String> Reports = DepositoryRTReportConfig.GetRTReports("全线");

            cBox_Types.Items.AddRange(Reports.ToArray());
            if (cBox_Types.Items.Count > 0)
            {
                cBox_Types.SelectedIndex = 0;
            }
        }
Exemplo n.º 2
0
        private void PeriodsReportDialog_Load(object sender, EventArgs e)
        {
            //从数据库中的sys_biz_ReportRTConfig获得手工录入的报表名称
            cBox_Types.Items.Clear();
            List <String> Reports = DepositoryRTReportConfig.GetRTReports("试验室");

            cBox_Types.Items.AddRange(Reports.ToArray());
            if (cBox_Types.Items.Count > 0)
            {
                cBox_Types.SelectedIndex = 0;
            }

            DepositoryProjectCatlog.InitProjectCatlogWithoutModel(treeView1);
            //treeView1.TopNode.Checked = true;
            //treeView1_AfterCheck(null, new TreeViewEventArgs(treeView1.TopNode, TreeViewAction.ByMouse));
            //treeView1.TopNode.Checked = false;
            //treeView1_AfterCheck(null, new TreeViewEventArgs(treeView1.TopNode, TreeViewAction.ByMouse));
        }