コード例 #1
0
ファイル: Graph.cs プロジェクト: ivynetca/lapsestudio
        public override void MouseDown(NSEvent theEvent)
        {
            base.MouseDown(theEvent);
            PointF np = ConvertPointFromView(theEvent.LocationInWindow, null);

            BaseGraph.Mouse_Down(np.X, Bounds.Height - np.Y);
        }
コード例 #2
0
 private void Graph_MouseDown(object sender, MouseEventArgs e)
 {
     BaseGraph.Mouse_Down(e.X, e.Y);
 }
コード例 #3
0
ファイル: Graph.cs プロジェクト: ivynetca/lapsestudio
 protected void OnGraphEventBoxButtonPressEvent(object o, ButtonPressEventArgs args)
 {
     BaseGraph.Mouse_Down(args.Event.X, args.Event.Y);
 }