-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathApp.xaml.cs
More file actions
27 lines (24 loc) · 725 Bytes
/
Copy pathApp.xaml.cs
File metadata and controls
27 lines (24 loc) · 725 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
using DropZone.Utils;
using System.Windows;
namespace DropZone
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
protected override void OnStartup(StartupEventArgs e)
{
System.Windows.Forms.Application.SetCompatibleTextRenderingDefault(false);
System.Windows.Forms.Application.EnableVisualStyles();
Debugger.Init();
Debugger.IsEnabledLog = SettingsUtils.Get<AppSettings>().IsEnabledDebugger;
base.OnStartup(e);
}
protected override void OnExit(ExitEventArgs e)
{
SettingsUtils.Save();
base.OnExit(e);
}
}
}