예제 #1
0
        protected override void Delete()
        {
            var command = new DeleteDelegateParameter(shape);

            command.Execute();
            shape.Diagram.TrackCommand(command);
        }
예제 #2
0
 protected internal override bool DeleteSelectedMember(bool showConfirmation)
 {
     if (IsActive && ActiveParameter != null)
     {
         if (!showConfirmation || ConfirmMemberDelete())
         {
             var command = new DeleteDelegateParameter(this);
             command.Execute();
             diagram.TrackCommand(command);
         }
         return(true);
     }
     else
     {
         return(false);
     }
 }