Ejemplo n.º 1
0
        //
        // PRIVATE METHODS
        //
        private void Initialize()
        {
            // Suspend Events
            this.SuspendEvents = true;

            // Create Text Label
            TextLabel textLabel = new TextLabel();

            textLabel.Color = ModelSettings.Default.TextColor;
            textLabel.Bold  = false;

            // Default Settings
            this.BorderColor            = ModelSettings.Default.EnabledLines;
            this.BorderStyle            = DashStyle.Solid;
            this.BorderWidth            = 1f;
            this.End.Marker.BorderColor = ModelSettings.Default.EnabledLines;
            this.Label         = textLabel;
            this.Opacity       = 100;
            this.SmoothingMode = SmoothingMode.HighQuality;
            this.Tooltip       = string.Empty;

            // Set Invalidation Listener
            EsriObject esriObject = (EsriObject)this.m_parent;

            esriObject.Invalidated += new EventHandler <EventArgs>(this.Parent_Invalidated);

            // Run Invalidation Delegate to Update Label and Tooltip
            this.Parent_Invalidated(null, EventArgs.Empty);

            // Resume Events
            this.SuspendEvents = false;
        }
Ejemplo n.º 2
0
 public EsriObject(EsriObject prototype)
 {
 }
Ejemplo n.º 3
0
 public EsriObject(EsriObject prototype) { }