Пример #1
0
        private ExternalLinkControl AddNewExternalLinkControl(Workspace.ExternalLink inExternalLink)
        {
            ExternalLinkControl control = new ExternalLinkControl(this, inExternalLink);

            linksAndNotesStackPanel.Children.Insert(0, control);

            return(control);
        }
Пример #2
0
 public void DeleteExternalLinkAndControl(ExternalLinkControl inLinkControl)
 {
     mTask.RemoveExternalLink(inLinkControl.ExternalLink);
     linksAndNotesStackPanel.Children.Remove(inLinkControl);
 }