Esempio n. 1
0
 private void CancelLink_Click(object sender, RoutedEventArgs e)
 {
     linkParent.UnSelect();
     linkParent = null;
     isLinking  = false;
     vm.CanInteractWithMenuArea = true;
 }
Esempio n. 2
0
 private void CreateLink(Node child)
 {
     vm.AddLink(linkParent.Source, child);
     isLinking  = false;
     linkParent = null;
     vm.CanInteractWithMenuArea = true;
 }
Esempio n. 3
0
 private void StartLink_Click(object sender, RoutedEventArgs e)
 {
     linkParent = ((FrameworkElement)sender).DataContext as Graphing.RootCauseVertex;
     linkParent.Select();
     isLinking = true;
     vm.CanInteractWithMenuArea = false;
 }