/// <summary>
        /// Gets from the parent if the parent is the PersonListingControl
        /// </summary>
        private void CaptureSettings()
        {
            PersonListingControl parent = Parent as PersonListingControl;

            if (parent != null)
            {
                personFormat    = parent.PersonFormat;
                firstNameField  = parent.DataFirstNameField;
                lastNameField   = parent.DataLastNameField;
                birthDateField  = parent.DataBirthDateField;
                birthDateFormat = parent.DataBirthDateFormat;
                cityField       = parent.DataCityField;
                countryField    = parent.DataCountryField;
            }
        }
Пример #2
0
 public override void Initialize(IComponent component)
 {
     _ctrl = component as PersonListingControl;
     base.Initialize(component);
 }
 /// <summary>
 /// Contructor
 /// </summary>
 public PersonListingControlActionList(IComponent component)
     : base(component)
 {
     _ctrl = component as PersonListingControl;
 }