Projekte können nun erzeugt werden und geladen werden
This commit is contained in:
@@ -9,6 +9,7 @@ using System.IO.Compression;
|
||||
using System.Diagnostics;
|
||||
using ICSharpCode.SharpZipLib.Zip;
|
||||
using ICSharpCode.SharpZipLib.Core;
|
||||
using KlassenBIB;
|
||||
|
||||
namespace Database
|
||||
{
|
||||
@@ -43,6 +44,14 @@ namespace Database
|
||||
return true;
|
||||
}
|
||||
|
||||
public bool InitProjekt(Projekt projekt,string projektpfad)
|
||||
{
|
||||
this.projektpfad = Path.Combine(projektpfad,string.Format("{0}.xaml",projekt.Nummer));
|
||||
loadedProjekt = projekt;
|
||||
SaveProjekt();
|
||||
return true;
|
||||
}
|
||||
|
||||
private void UnPackProject(string projekt, string password = "")
|
||||
{
|
||||
if (!Directory.Exists("./temp")) Directory.CreateDirectory("./temp");
|
||||
|
||||
Reference in New Issue
Block a user