Example #1
0
 public override BindData GetBindData()
 {
     comBoxBD data = new comBoxBD();
     data.Value = this.FieldValue;
     data.comboxList = Getlist();
     return data;
 }
Example #2
0
        public override BindData GetBindData()
        {
            comBoxBD data = new comBoxBD();

            data.Value      = this.FieldValue;
            data.comboxList = Getlist();
            return(data);
        }
Example #3
0
        public override void BindTheControl(BindData _data)
        {
            comBoxBD _comBoxBD = (comBoxBD)_data;

            this.box.BindTheControl(_comBoxBD.comboxList, _comBoxBD.Value);
        }
Example #4
0
 private void 绑定控件(string 字段名, structComboBox控件数据 控件数据)
 {
     string 表名 = "dbo.生成试验组";
     comBoxBD comBoxBD = new comBoxBD();
     ControlElement Control;
     comBoxBD.comboxList = 控件数据.CtrlData_list;
     comBoxBD.Value = 控件数据.获取选择字符串();
     Control = _form.GetControlElementByInfo(表名, 字段名);
     Control.BindTheControl(comBoxBD);
 }