Example #1
0
 private void btnCtrlSectionHelper_Click(object sender, EventArgs e)
 {
     CodeRef.CodeRefSection cr = new CodeRef.CodeRefSection(uservo.CompanyCondition.ICompanyCd);
     cr.AddValueControl(this.atxtCtrlSection);
     cr.AddNameControl(this.lblCtrlSectionNm);
     cr.ShowDialog(this);
     this.atxtCtrlSection.Focus();
 }
Example #2
0
 /// <summary>
 /// 部门代码参照按钮的点击事件
 /// </summary>
 private void btnDepart_Click(object sender, EventArgs e)
 {
     CodeRef.CodeRefSection cr = new CodeRef.CodeRefSection(this.txtCompany.Text);
     cr.AddValueControl(this.txtDepart);
     cr.AddNameControl(this.lblDepartNM);
     cr.ShowDialog(this);
     this.txtDepart.Focus();
 }