Exemple #1
0
 public void RemoveSheetSelection()
 {
     foreach (var s in selectedSheets.ToList())
     {
         ViewHosts.Remove(s);
     }
     NotifyOfPropertyChange(() => GoLabel);
     NotifyOfPropertyChange(() => GoLabelIsEnabled);
 }
Exemple #2
0
 public void RemoveSelectedViews()
 {
     foreach (var s in selectedViews.ToList())
     {
         ChildViews.Remove(s);
     }
     if (SelectedViewHost.Type == ViewHostType.Model)
     {
         if (SelectedViewHost.ChildViews.Count == 0)
         {
             ViewHosts.Remove(SelectedViewHost);
         }
         else
         {
             SelectedViewHost.Title = "<" + SelectedViewHost.ChildViews.Count.ToString() + " Independent Views>";
         }
     }
 }