|
|
|
|
@ -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";
|
|
|
|
|
|