Sicherung
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
using Hardcodet.Wpf.TaskbarNotification;
|
||||
using NHotkey;
|
||||
using NHotkey.Wpf;
|
||||
using System.Collections;
|
||||
using System.Windows;
|
||||
using System.Windows.Input;
|
||||
using FSI.Lib.Helpers;
|
||||
using FSI.Lib.CompareNetObjects;
|
||||
using FSI.Lib.Guis.SetSizePosExWindow;
|
||||
using Config.Net.Stores;
|
||||
using System.IO;
|
||||
using Config.Net;
|
||||
|
||||
namespace FSI.BT.Tools
|
||||
{
|
||||
@@ -17,13 +17,21 @@ namespace FSI.BT.Tools
|
||||
{
|
||||
private static readonly KeyGesture RadialMenu = new KeyGesture(Key.OemBackslash, ModifierKeys.Control);
|
||||
private static readonly KeyGesture TimeStamp = new KeyGesture(Key.C, ModifierKeys.Control | ModifierKeys.Alt);
|
||||
|
||||
|
||||
public void Application_Startup(object sender, StartupEventArgs e)
|
||||
{
|
||||
|
||||
Global.Log.Info("Anwendung wurde gestartet!");
|
||||
|
||||
Global.Settings = new AppSettings(GetType().Namespace.ToString() + ".xml");
|
||||
Global.Settings.Load();
|
||||
|
||||
JsonConfigStore _store = new JsonConfigStore(System.IO.Path.Combine(Directory.GetCurrentDirectory(), "config.json"), true);
|
||||
Global.AppSettings = new ConfigurationBuilder<Settings.AppSettings.IAppSettings>()
|
||||
.UseConfigStore(_store)
|
||||
.Build();
|
||||
|
||||
Global.TaskbarIcon = (TaskbarIcon)FindResource("FSINotifyIcon");
|
||||
|
||||
Global.AdminRights = Admin.CheckAdminRight();
|
||||
|
||||
Reference in New Issue
Block a user