Пример #1
0
 public void Show()
 {
     try
     {
         SharedConfigurationDialog.Show(this.Context.DesktopWindow);
     }
     catch (Exception e)
     {
         ExceptionHandler.Report(e, this.Context.DesktopWindow);
     }
 }
 void IActivityMonitorQuickLinkHandler.Handle(ActivityMonitorQuickLink link, IDesktopWindow window)
 {
     try
     {
         if (link == ActivityMonitorQuickLink.SystemConfiguration)
         {
             SharedConfigurationDialog.Show(window);
         }
         if (link == ActivityMonitorQuickLink.LocalStorageConfiguration)
         {
             SharedConfigurationDialog.Show(window, StorageConfigurationPath);
         }
     }
     catch (Exception e)
     {
         ExceptionHandler.Report(e, window);
     }
 }