Restructuration
This commit is contained in:
21
PreferencesModal.xaml.cs
Normal file
21
PreferencesModal.xaml.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using Hermes.Model;
|
||||
using System.Windows;
|
||||
|
||||
namespace Hermes {
|
||||
/// <summary>
|
||||
/// Logique d'interaction pour PreferencesModal.xaml
|
||||
/// </summary>
|
||||
public partial class PreferencesModal : Window {
|
||||
private ModelContext dbContext = null;
|
||||
|
||||
public PreferencesModal() {
|
||||
dbContext = ModelContext.Getinstance();
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e) {
|
||||
e.Cancel = true;
|
||||
this.Hide();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user