Esempio n. 1
0
        /// <summary>
        /// Perform double click processing.
        /// </summary>
        /// <param name="pt">Control coordinates point.</param>
        public virtual void DoubleClick(Point pt)
        {
            // If there is an active element
            ActiveView?.DoubleClick(pt);

            // Generate event to indicate the view manager has processed a mouse up
            DoubleClickProcessed?.Invoke(this, pt);
        }
Esempio n. 2
0
        /// <summary>
        /// Perform double click processing.
        /// </summary>
        /// <param name="pt">Control coordinates point.</param>
        public virtual void DoubleClick(Point pt)
        {
            // If there is an active element
            if (ActiveView != null)
            {
                ActiveView.DoubleClick(pt);
            }

            // Generate event to indicate the view manager has processed a mouse up
            if (DoubleClickProcessed != null)
            {
                DoubleClickProcessed(this, pt);
            }
        }