Mutex hinzugefügt.

Imprägnierprotokoll weitergeführt
This commit is contained in:
HuskyTeufel
2019-09-20 11:02:54 +02:00
parent 9a4335f81a
commit 8d089a7905
7 changed files with 53 additions and 46 deletions

View File

@@ -43,7 +43,9 @@ namespace Database
foreach(string t in projekte)
{
tempProjekt = XamlServices.Load(Path.Combine("projekte", t,string.Format("{0}.xaml",t))) as KlassenBIB.Projekt;
string filepath = Path.Combine("projekte", t, string.Format("{0}.xaml", t));
if (!File.Exists(filepath)) continue;
tempProjekt = XamlServices.Load(filepath) as KlassenBIB.Projekt;
//auftraggebers.Add(tempProjekt.Auftraggeber);
if (Datenbank.Instance.MainDatenbank.AuftraggeberListe.Contains(tempProjekt.Auftraggeber))