Пример #1
0
 private void AddEmptyConnector()
 {
     if (CurrentConnector != null)
     {
         CurrentConnector.TextEnable = true;
         CurrentConnector.FormEnable = false;
         CurrentConnector.Name       = "Transition_" + NodesCanvas.Connects.Count.ToString();
     }
     CurrentConnector = new ViewModelConnector(NodesCanvas, this)
     {
         TextEnable = false
     };
     Transitions.Insert(0, CurrentConnector);
 }