public Window() { InitializeComponent(); }
public void Window1_MouseClick(object sender, MouseButtonEventArgs e) { if (e.ClickCount == 2 && e.Source is Ellipse) { findNode = e.GetPosition(TestSpace); textBlock2.Text = "test complete"; if (e.ChangedButton == MouseButton.Left) { DoFindShortestPathTree((int)findNode.X, (int)findNode.Y); } else if (e.ChangedButton == MouseButton.Right) { textBlock2.Text = "test complete"; DoFindShortestPath((int)findNode.X, (int)findNode.Y); } } } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)