public UCFilterImg() { this.InitializeComponent(); EnumManager <EMostImageType> .SetComboxControl(this.comboBox_ImgType); this.comboBox_ImgType.DataBindings.Add("SelectedValue", this, "ImageType").Parse += new ConvertEventHandler(this.UCFilterImg_Parse); this.textBox_Size.DataBindings.Add("Text", this, "ImageSize"); this.LoadCheckBox(); base.HandleDestroyed += new EventHandler(this.UCFilterImg_HandleDestroyed); }
public UCNote() { this.InitializeComponent(); this.txtUser.Text = LibCommon.AppContext.GetInstance().Config.GetConfigParamValue("AccountSetting", "AccountName"); this._listnote.MouseDoubleClick += new MouseEventHandler(this._listnot_MouseDoubleClick); this._listnote.MouseClick += new MouseEventHandler(this._listnot_MouseClick); this.CombSelectOCRLan.DropDownStyle = ComboBoxStyle.DropDownList; this.CombSelectOCRLan.DataBindings.Add("visible", this, "AllowTextOCR"); EnumManager <OCRMgr.Lang> .SetComboxControl(this.CombSelectOCRLan); this.CombSelectOCRLan.DataBindings.Add("SelectedValue", this, "SelectOCRLan").Parse += new ConvertEventHandler(this.UCFilterImg_Parse); }