public MarkerProperties(ESRI.ArcGIS.Client.Map myMap, ESRI.ArcGIS.Client.Geometry.MapPoint point)
        {
            InitializeComponent();

            this.myMap = myMap;
            this.point = point;

            provider = new MarkerProvider(myMap, point);
            cbxSize.SelectionChanged += new SelectionChangedEventHandler(config_SelectionChanged);
            cbxStyle.SelectionChanged += new SelectionChangedEventHandler(config_SelectionChanged);
            rctColor.MouseUp += new MouseButtonEventHandler(rctColor_MouseUp);
            btnOK.Click += new RoutedEventHandler(btnOK_Click);

            FillComboBoxes();
        }
        public MarkerProperties(ESRI.ArcGIS.Client.Map myMap, ESRI.ArcGIS.Client.Geometry.MapPoint point)
        {
            InitializeComponent();

            this.myMap = myMap;
            this.point = point;

            provider = new MarkerProvider(myMap, point);
            cbxSize.SelectionChanged  += new SelectionChangedEventHandler(config_SelectionChanged);
            cbxStyle.SelectionChanged += new SelectionChangedEventHandler(config_SelectionChanged);
            rctColor.MouseUp          += new MouseButtonEventHandler(rctColor_MouseUp);
            btnOK.Click += new RoutedEventHandler(btnOK_Click);

            FillComboBoxes();

            #region translation
            lblTitle.Content        = DashboardSharedStrings.GADGET_MAP_MARKER;
            lblStyle.Content        = DashboardSharedStrings.GADGET_LABEL_STYLE;
            lblSize.Content         = DashboardSharedStrings.GADGET_MAP_SIZE;
            rctColorToolTip.Content = DashboardSharedStrings.MAP_POINT_COLOR;
            btnOK.Content           = DashboardSharedStrings.BUTTON_OK;
            #endregion //translation
        }