示例#1
0
 private void ViewBuildsOnOnGettingStartedClick(object sender, GettingStartedOpenDialogArgs args)
 {
     if (args.GettingStartedClickType == GettingStartedClickTypeEnum.ConfigureServer)
     {
         OpenConfigureServerDialog();
     }
     if (args.GettingStartedClickType == GettingStartedClickTypeEnum.ConfigureSosOnline)
     {
         OpenConfigureSosOnlineDialog();
     }
 }
示例#2
0
 private void InvokeOnGettingStartedClick(object sender, GettingStartedOpenDialogArgs args)
 {
     if (args.GettingStartedClickType == GettingStartedClickTypeEnum.NeverShowGettingStarted)
     {
         _settings.NeverShowGettingStarted = true;
         _settings.Save();
         DisposeGettingStarted();
     }
     else
     {
         GettingStartedClick handler = OnGettingStartedClick;
         if (handler != null)
         {
             handler(this, args);
         }
     }
 }
示例#3
0
 private void ViewBuildsOnOnGettingStartedClick(object sender, GettingStartedOpenDialogArgs args)
 {
     if (args.GettingStartedClickType == GettingStartedClickTypeEnum.ConfigureServer)
     {
         OpenConfigureServerDialog();
     }
     if (args.GettingStartedClickType == GettingStartedClickTypeEnum.ConfigureSosOnline)
     {
         OpenConfigureSosOnlineDialog();
     }
 }
示例#4
0
 private void InvokeOnGettingStartedClick(object sender, GettingStartedOpenDialogArgs args)
 {
     if (args.GettingStartedClickType == GettingStartedClickTypeEnum.NeverShowGettingStarted)
     {
         _settings.NeverShowGettingStarted = true;
         _settings.Save();
         DisposeGettingStarted();
     }
     else
     {
         GettingStartedClick handler = OnGettingStartedClick;
         if (handler != null) handler(this, args);
     }
 }