Esempio n. 1
0
        private void InitializeAdvancedCustomizableFields(int?linkId)
        {
            _advancedFieldsControl = new CustomizableFieldsControl(OCustomizableFieldEntities.Individual, linkId, false)
            {
                Dock    = DockStyle.Fill,
                Enabled = true,
                Name    = "customizableFieldsControl",
                Visible = true
            };

            tabPageCustomizableFields.Controls.Add(_advancedFieldsControl);
        }
Esempio n. 2
0
        private void InitializeCustomizableFields(int linkId)
        {
            _customziableFieldsControl = new CustomizableFieldsControl(OCustomizableFieldEntities.Corporate, linkId, false)
            {
                Dock    = DockStyle.Fill,
                Enabled = true,
                Name    = "customizableFieldsControl",
                Visible = true
            };

            tabPageCustomizableFields.Controls.Add(_customziableFieldsControl);
        }
        private void InitializeCustomizableFields(int linkId)
        {
            _customizableFieldsControl = new CustomizableFieldsControl(OCustomizableFieldEntities.SG, linkId, false)
            {
                Dock = DockStyle.Fill,
                Enabled = true,
                Name = "customizableFieldsControl",
                Visible = true
            };

            tabPageCustomizableFields.Controls.Add(_customizableFieldsControl);
        }
        private void InitializeAdvancedCustomizableFields(int? linkId)
        {
            _advancedFieldsControl = new CustomizableFieldsControl(OCustomizableFieldEntities.Individual, linkId, false)
                                         {
                                             Dock = DockStyle.Fill,
                                             Enabled = true,
                                             Name = "customizableFieldsControl",
                                             Visible = true
                                         };

            tabPageCustomizableFields.Controls.Add(_advancedFieldsControl);
        }
Esempio n. 5
0
        private void InitializeCustomizableFields(OCustomizableFieldEntities entity, int? linkId, bool isActive)
        {
            if (entity == OCustomizableFieldEntities.Loan)
            {
                tabPageLoanCustomizableFields.Controls.Clear();
                _customizableLoanFieldsControl = new CustomizableFieldsControl(entity, linkId, isActive)
                {
                    Dock = DockStyle.Fill,
                    Enabled = true,
                    Name = "customizableLoanFieldsControl",
                    Visible = true
                };
                tabPageLoanCustomizableFields.Controls.Add(_customizableLoanFieldsControl);

            }
            else if (entity == OCustomizableFieldEntities.Savings)
            {
                tabPageSavingsCustomizableFields.Controls.Clear();
                _customizableSavingsFieldsControl = new CustomizableFieldsControl(entity, linkId, isActive)
                {
                    Dock = DockStyle.Fill,
                    Enabled = true,
                    Name = "customizableSavingsFieldsControl",
                    Visible = true
                };
                tabPageSavingsCustomizableFields.Controls.Add(_customizableSavingsFieldsControl);
            }
        }