private void InitializeFormControls() { // OperativeSystemType OperativeSystemTypeParameters pmtOperativeSystemType = new OperativeSystemTypeParameters(); pmtOperativeSystemType.OperativeSystemTypeId = ParameterConstants.IntDefault; IList <OperativeSystemType> lstDependencies = srvOperativeSystemType.GetListByParameters(pmtOperativeSystemType); WindowsFormsUtil.LoadCombo <OperativeSystemType>(this.frmOperativeSystem.uceSchOperativeSystemType, lstDependencies, "OperativeSystemTypeId", "Name", "Seleccione", false); WindowsFormsUtil.LoadCombo <OperativeSystemType>(this.frmOperativeSystem.uceDetOperativeSystemType, lstDependencies, "OperativeSystemTypeId", "Name", "Seleccione", false); this.frmOperativeSystem.btnSchEdit.Click += new EventHandler(btnSchEdit_Click); this.frmOperativeSystem.btnSchSearch.Click += new EventHandler(btnSchSearch_Click); this.frmOperativeSystem.btnSchCreate.Click += new EventHandler(btnSchCreate_Click); this.frmOperativeSystem.btnDetSave.Click += new EventHandler(btnDetSave_Click); this.frmOperativeSystem.btnDetCancel.Click += new EventHandler(btnDetCancel_Click); this.frmOperativeSystem.btnSchClear.Click += new EventHandler(btnSchClear_Click); this.frmOperativeSystem.btnSchDelete.Click += new EventHandler(this.btnSchDelete_Click); this.frmOperativeSystem.HiddenDetail(true); this.ClearSearchControls(); }