Exemple #1
0
 public override void Execute(object parameter)
 {
     if (previewControl == null)
     {
         previewControl         = new ThemePreviewControl();
         previewControl.Closed += (o, e) => {
             MapApplication.Current.HideWindow(previewControl);
         };
     }
     MapApplication.Current.ShowWindow(Resources.Strings.PreviewTheme, previewControl);
 }
 public override void Execute(object parameter)
 {
     if (previewControl == null)
     {
         previewControl = new ThemePreviewControl();
         previewControl.Closed += (o, e) => {
             MapApplication.Current.HideWindow(previewControl);
         };
     }
     MapApplication.Current.ShowWindow(Resources.Strings.PreviewTheme, previewControl);
 }