Example #1
0
 private void Form2_Load(object sender, EventArgs e)
 {
     STUIHelper.initLeftTree(this.twLeft, dbtype);
     //DataTable dt = inidata();
     //this.showdata.DataSource = dt;
     //showLine(dt);
 }
Example #2
0
        private void twLeft_NodeMouseDoubleClick(object sender, TreeNodeMouseClickEventArgs e)
        {
            if (e.Node.Level == 0)
            {
                return;
            }
            string itemname = e.Node.Text;

            this.lib_Name.Text = itemname;
            this.chart1.Titles.Clear();
            this.chart1.Series.Clear();
            this.showdata.Columns.Clear();
            this.chart1.Titles.Add(itemname);
            if (itemname == "专利趋势分析")
            {
                tabRight.TabPages.Remove(tabZhiBiao);
                //tabZhiBiao.Hide();
            }
            STUIHelper.initChartType(cmbChartType, itemname);
            STUIHelper.initCharColumn(cmbYear, dbtype, itemname);
            STUIHelper.initChartZhiBiao(cklist_zhibiao, dbtype, itemname);
        }
Example #3
0
 private void frmFilter_Load(object sender, EventArgs e)
 {
     STUIHelper.iniFilterColumn(cmbColName, dbtype);
     cmbLuoJi.SelectedIndex = 0;
     BindData();
 }