Esempio n. 1
0
 public void ShowActionPalette(bool show, bool recordState)
 {
     using (var switcher = new RecordActionPalettePreviousStateSwitcher(this, recordState))
     {
         if (show)
         {
             AllPaletteSets.DisplayPaletteSet(PaletteSetType.ActionSequence, Document);
         }
         else
         {
             AllPaletteSets.ClosePaletteSet(PaletteSetType.ActionSequence);
         }
     }
 }
Esempio n. 2
0
 public void ShowMapCleanPanel(bool show, bool recordState)
 {
     using (var switcher = new RecordPanelPreviousStateSwitcher(this, recordState))
     {
         if (show)
         {
             AllPaletteSets.DisplayPaletteSet(PaletteSetType.MapClean, Document);
         }
         else
         {
             AllPaletteSets.ClosePaletteSet(PaletteSetType.MapClean);
         }
     }
 }