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(); }
/// <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(); }