Exemplo n.º 1
0
        private void EhGraphPanel_MouseUp(object sender, MouseButtonEventArgs e)
        {
            var position = GetMousePosition(e);

            _mouseState.OnMouseUp(position, e);
            Controller?.EhView_GraphPanelMouseUp(position, GuiHelper.ToAltaxo(e, _d3dCanvas));
        }
Exemplo n.º 2
0
        /*
         * /// <summary>
         * /// Called by the host window after the host window was closed.
         * /// </summary>
         * public void HostWindowClosed()
         * {
         * Current.ProjectService.RemoveGraph(this);
         * }
         */



        /// <summary>
        /// Handles the mouse up event onto the graph in the controller class.
        /// </summary>
        /// <param name="e">MouseEventArgs.</param>
        public virtual void EhView_GraphPanelMouseUp(System.Windows.Forms.MouseEventArgs e)
        {
            _mouseState.OnMouseUp(e);
        }