Beispiel #1
0
 /// <summary>
 /// Deletes the control from canvas.
 /// </summary>
 public void DeleteFromCanvas()
 {
     Association.PropertyChanged -= ModelPropertyChanged;
     if (Junction != null)
     {
         Junction.DeleteFromCanvas();
     }
     if (multiplicityLabel != null)
     {
         XCaseCanvas.Children.Remove(multiplicityLabel);
     }
     this.CloseBindings();
 }
Beispiel #2
0
 public void DeleteFromCanvas()
 {
     Junction.DeleteFromCanvas();
 }