dont show missing CustomDescription as MessageBox or in VSCode

pull/1/head
DJh2o2 2022-05-13 08:29:47 +07:00
parent 25e09b86d7
commit f79f3d8178
1 changed files with 15 additions and 15 deletions

@ -158,23 +158,23 @@ namespace Gremlin.MVVM.ViewModels
}
//Öffne Datei
using (Process process = new())
{
process.StartInfo.WorkingDirectory = QuotePath;
process.StartInfo.FileName = @"C:\Program Files\Microsoft VS Code\Code.exe";
process.StartInfo.Arguments = $"{QuoteNumber}-missing-CustomDescriptions.txt";
try
{
process.Start();
}
catch (Exception ex)
{
ErrorHandler.ShowErrorInMessageBox(ex);
}
}
//using (Process process = new())
//{
// process.StartInfo.WorkingDirectory = QuotePath;
// process.StartInfo.FileName = @"C:\Program Files\Microsoft VS Code\Code.exe";
// process.StartInfo.Arguments = $"{QuoteNumber}-missing-CustomDescriptions.txt";
// try
// {
// process.Start();
// }
// catch (Exception ex)
// {
// ErrorHandler.ShowErrorInMessageBox(ex);
// }
//}
//Zeige Fehlermeldung
ErrorHandler.ShowErrorMessage(fehlendeCustomDescriptions);
//ErrorHandler.ShowErrorMessage(fehlendeCustomDescriptions);
}
return LineItemsVM.Count != 0 && Recipient.LastName != "lastName";