53 lines
1.1 KiB
C#
53 lines
1.1 KiB
C#
using SanShared;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.IO;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace SanSystem
|
|
{
|
|
class Global
|
|
{
|
|
public static readonly Global instance = new Global();
|
|
|
|
const string speicherpfad_to_projekts = "projekte";
|
|
string projektpfad = "18-850";
|
|
|
|
public string Projektpfad
|
|
{
|
|
get
|
|
{
|
|
return Path.Combine(speicherpfad_to_projekts, projektpfad);
|
|
}
|
|
}
|
|
public ILanguage language = null;
|
|
|
|
public static Global Instance
|
|
{
|
|
get
|
|
{
|
|
return instance;
|
|
}
|
|
}
|
|
|
|
void LadeRegistry()
|
|
{
|
|
string userroot = "HKEY_CURRENT_USER\\Software";
|
|
string firmkey = "Cosysda";
|
|
string subkey = "SanManager";
|
|
string keyName = userroot + "\\" + firmkey + "\\" + subkey;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
public void LoadLanguage()
|
|
{
|
|
language = Language.Language.GetLanguage(Language.BUILTINLANGUAGES.GERMAN);
|
|
}
|
|
}
|
|
}
|