//添加项目
 private void tsmiProAdd_Click(object sender, EventArgs e)
 {
     projectfrm pro = new projectfrm();
     pro.Text = "添加项目";
     pro.ShowDialog();
     RefreshTree("projectinfo", "DISTINCT province", "项目列表", "projectname ,projectid", "where province='", "projectid");
 }
        //添加项目
        private void tsmiProAdd_Click(object sender, EventArgs e)
        {
            projectfrm pro = new projectfrm();

            pro.Text = "添加项目";
            pro.ShowDialog();
            RefreshTree("projectinfo", "DISTINCT province", "项目列表", "projectname ,projectid", "where province='", "projectid");
        }
示例#3
0
        //项目添加按钮
        private void btnProadd_Click(object sender, EventArgs e)
        {
            projectfrm pro = new projectfrm();

            pro.Text    = "添加项目";
            pro.ProName = cmbPro.Text.Trim();
            pro.ShowDialog();
            if (pro.State)
            {
                cmbPro.AutoCompleteCustomSource = getSuggestSource("projectinfo", "projectName", cmbPro);
            }
        }
示例#4
0
        private void tsmiProAdd_Click(object sender, EventArgs e)
        {
            projectfrm pro = new projectfrm();

            pro.ShowDialog();
        }
 private void tsmiProAdd_Click(object sender, EventArgs e)
 {
     projectfrm pro = new projectfrm();
     pro.ShowDialog();
 }
 //项目添加按钮
 private void btnProadd_Click(object sender, EventArgs e)
 {
     projectfrm pro = new projectfrm();
     pro.Text = "添加项目";
     pro.ProName = cmbPro.Text.Trim();
     pro.ShowDialog();
     if(pro.State)
     cmbPro.AutoCompleteCustomSource = getSuggestSource("projectinfo", "projectName", cmbPro);            
 }