mirror of
https://github.com/chylex/Backup-Essentials.git
synced 2025-04-09 23:15:43 +02:00
Do not compile/use SimpleStyles.xaml
This commit is contained in:
parent
1307c89b1b
commit
e4191482e6
BackupEssentials
@ -8,11 +8,7 @@
|
||||
Startup="StartApp"
|
||||
DispatcherUnhandledException="HandleException">
|
||||
<Application.Resources>
|
||||
<ResourceDictionary>
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<ResourceDictionary Source="Simple Styles.xaml"/>
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
|
||||
<ResourceDictionary>
|
||||
<sys:String x:Key="PathButtonClose">M7,0 L9,0 9,7 16,7 16,9 9,9 9,16 7,16 7,9 0,9 0,7 7,7 z</sys:String>
|
||||
<sys:String x:Key="PathButtonMaximized">M1,2 L1,9 13,9 13,2 z M0,0 L14,0 14,10 0,10 z</sys:String>
|
||||
<sys:String x:Key="PathButtonWindowed">M2.5,3.75 L2.5,8.75 10.5,8.75 10.5,3.75 z M1.5,1.75 L11.5,1.75 11.5,9.75 1.5,9.75 z M0,0 L10,0 10,1.25 1,1.25 1,2 1,7 1,8 0,8 z</sys:String>
|
||||
|
@ -150,10 +150,10 @@
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
<Page Include="Simple Styles.xaml">
|
||||
<None Include="Simple Styles.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
</None>
|
||||
<Page Include="TestingWindow.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
|
@ -2,11 +2,13 @@
|
||||
using BackupEssentials.Controls;
|
||||
using BackupEssentials.Pages;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Forms;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Threading;
|
||||
|
||||
namespace BackupEssentials{
|
||||
public partial class MainWindow : Window{
|
||||
@ -19,7 +21,11 @@ namespace BackupEssentials{
|
||||
InitializeComponent();
|
||||
Instance = this;
|
||||
|
||||
DataStorage.Load();
|
||||
Loaded += (args, sender) => {
|
||||
Dispatcher.BeginInvoke(DispatcherPriority.Loaded,new Action(() => {
|
||||
DataStorage.Load();
|
||||
}));
|
||||
};
|
||||
|
||||
Closed += (args, sender) => {
|
||||
DataStorage.Save(true);
|
||||
|
Loading…
Reference in New Issue
Block a user