예제 #1
0
        protected override void OnMouseDown(MouseEventArgs e)
        {
            if (DesignMode)
            {
                return;
            }

            m.HandleMouseDown(e, Camera);
        }
예제 #2
0
        /// <summary>
        /// Raises the <see cref="E:System.Windows.Forms.Control.MouseDown"/> event.
        /// </summary>
        /// <param name="e">A <see cref="T:System.Windows.Forms.MouseEventArgs"/> that contains the event data.</param>
        protected override void OnMouseDown(MouseEventArgs e)
        {
            if (DesignMode)
            {
                base.OnMouseDown(e);
                return;
            }

            if (TransBoxManager.HandleMouseDown(e, Camera))
            {
                return;
            }

            base.OnMouseDown(e);
        }
 protected override void OnMouseDown(MouseEventArgs e)
 {
     m.HandleMouseDown(e, Camera);
 }