private void Search()
        {
            SecuritySoftwareTypeParameters pmtSecuritySoftwareType = new SecuritySoftwareTypeParameters();

            pmtSecuritySoftwareType.Name = "%" + this.frmSecuritySoftwareType.txtSchName.Text + "%";

            DataTable dtSecuritySoftwareTypes = srvSecuritySoftwareType.SearchByParameters(pmtSecuritySoftwareType);

            this.frmSecuritySoftwareType.grdSchSearch.DataSource = null;
            this.frmSecuritySoftwareType.grdSchSearch.DataSource = dtSecuritySoftwareTypes;
        }
        private void InitializeControlControls()
        {
            if (LicenseManager.UsageMode != LicenseUsageMode.Designtime)
            {
                SecuritySoftwareBrandParameters pmtSecuritySoftwareBrand = new SecuritySoftwareBrandParameters();

                this.controlCustomerInfrastructureSecuritySoftwares.ssbSecuritySoftwareBrand.Parameters = pmtSecuritySoftwareBrand;
                this.controlCustomerInfrastructureSecuritySoftwares.ssbSecuritySoftwareBrand.Refresh();

                SecuritySoftwareTypeParameters pmtSecuritySoftwareType = new SecuritySoftwareTypeParameters();

                this.controlCustomerInfrastructureSecuritySoftwares.sstcSecuritySoftwareType.Parameters = pmtSecuritySoftwareType;
                this.controlCustomerInfrastructureSecuritySoftwares.sstcSecuritySoftwareType.Refresh();

                this.controlCustomerInfrastructureSecuritySoftwares.grdRelations.InitializeLayout
                    += new InitializeLayoutEventHandler(grdRelations_InitializeLayout);
            }
        }
        private void grdRelations_InitializeLayout(object sender, InitializeLayoutEventArgs e)
        {
            UltraGridBand band = e.Layout.Bands[0];

            band.Override.AllowUpdate = DefaultableBoolean.False;

            SecuritySoftwareBrandParameters pmtSecuritySoftwareBrand = new SecuritySoftwareBrandParameters();

            IList <SecuritySoftwareBrand> cctvBrands = this.srvSecuritySoftwareBrand.GetListByParameters(pmtSecuritySoftwareBrand);

            WindowsFormsUtil.SetUltraGridValueList(e.Layout, cctvBrands,
                                                   band.Columns["SecuritySoftwareBrandId"], "SecuritySoftwareBrandId", "Name", "Seleccione");

            SecuritySoftwareTypeParameters pmtSecuritySoftwareType = new SecuritySoftwareTypeParameters();

            IList <SecuritySoftwareType> cctvTypes = this.srvSecuritySoftwareType.GetListByParameters(pmtSecuritySoftwareType);

            WindowsFormsUtil.SetUltraGridValueList(e.Layout, cctvTypes,
                                                   band.Columns["SecuritySoftwareTypeId"], "SecuritySoftwareTypeId", "Name", "Seleccione");
        }