Example #1
0
        protected virtual void RaiseOnToolActivate(ToolEventArgs e)
        {
            EventHandler <ToolEventArgs> handler = OnToolActivate;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Example #2
0
        public virtual void RaiseOnToolDeactivate(ToolEventArgs e)
        {
            EventHandler <ToolEventArgs> handler = OnToolDeactivate;

            if (handler != null)
            {
                handler(this, e);
            }
        }