Пример #1
0
 //添加项目
 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");
 }
Пример #2
0
        //添加项目
        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);            
 }