private void pictureBox_Click(object sender, System.EventArgs e)
        {
            DemographicStyleBuilderType StyleType = DemographicStyleBuilderType.DotDensity;

            if (sender == picDotDensity)
            {
                StyleType = DemographicStyleBuilderType.DotDensity;
            }
            else if (sender == picThematic)
            {
                StyleType = DemographicStyleBuilderType.Thematic;
            }
            else if (sender == picValueCircle)
            {
                StyleType = DemographicStyleBuilderType.ValueCircle;
            }

            StyleUpdatedStyleSelectorUserControlEventArgs eventArgs = new StyleUpdatedStyleSelectorUserControlEventArgs(StyleType);

            chkIsSelected.Checked = true;
            OnStyleUpdated(eventArgs);
        }
 public StyleUpdatedDataSelectorUserControlEventArgs(DemographicStyleBuilderType demographicStyleBuilderType)
     : base()
 {
     this.demographicStyleBuilderType = demographicStyleBuilderType;
     this.activatedStyleSelectors     = new List <StyleSelectorUserControl>();
 }
 public StyleUpdatedStyleSelectorUserControlEventArgs(DemographicStyleBuilderType demographicStyleBuilderType)
     : base()
 {
     this.demographicStyleBuilderType = demographicStyleBuilderType;
 }