예제 #1
0
 private static void OpenCurrentVersionProjectPrompt(string assemblyName, string assemblyVersion)
 {
     if (UserPromptUtils.ActionPrompt(
             prompt: String.Format(Resources.LogsViewerPleaseOpenProjectPrompt, assemblyName, assemblyVersion),
             title: Resources.uiDefaultPromptTitle,
             message: Resources.LogsViewerAskToOpenProjectMessage))
     {
         ShellUtils.OpenProject();
     }
     else
     {
         throw new FileNotFoundException(null);
     }
 }