public LayerAdder(ESRI.ArcGIS.Client.Map myMap, Epi.View view, Epi.Data.IDbDriver db, DashboardHelper dashboardHelper, LayerList layerList, MapControl mapControl)
        {
            InitializeComponent();

            this.myMap           = myMap;
            this.view            = view;
            this.db              = db;
            this.dashboardHelper = dashboardHelper;
            this.layerList       = layerList;
            this.mapControl      = mapControl;

            AddItem();
        }
        public LayerListItem(ESRI.ArcGIS.Client.Map myMap, Epi.View view, Epi.Data.IDbDriver db, DashboardHelper dashboardHelper, MapControl mapControl)
        {
            InitializeComponent();

            this.myMap           = myMap;
            this.view            = view;
            this.db              = db;
            this.dashboardHelper = dashboardHelper;
            this.mapControl      = mapControl;

            cbxLayerType.SelectionChanged += new SelectionChangedEventHandler(cbxLayerType_SelectionChanged);
            cbxLayerType.SelectedIndex     = 0;
            lblLayerType.Foreground        = new SolidColorBrush(FontColor);
        }