You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.0 KiB
34 lines
1.0 KiB
using Model;
|
|
using Persistance;
|
|
using System.ComponentModel;
|
|
using System.Runtime.CompilerServices;
|
|
|
|
namespace Views
|
|
{
|
|
public partial class App : Application, INotifyPropertyChanged
|
|
{
|
|
public string SerializationPath = FileSystem.Current.AppDataDirectory;
|
|
static private string serializationPath = FileSystem.Current.AppDataDirectory;
|
|
public Theque Theque { get; set; } = DataSerializer.Deserializer(serializationPath);
|
|
public Animal AnimalSelectionner
|
|
{
|
|
get => animalSelectionner;
|
|
set
|
|
{
|
|
animalSelectionner = value;
|
|
OnPropertyChanged(nameof(AnimalSelectionner));
|
|
}
|
|
}
|
|
private Animal animalSelectionner;
|
|
|
|
public New_DetailAnimal PageDeSaisie { get; set; }
|
|
public Espece EspeceSelectionner { get; set; }
|
|
public Race RaceSelectionner { get; set; }
|
|
|
|
public App()
|
|
{
|
|
InitializeComponent();
|
|
MainPage = new AppShell();
|
|
}
|
|
}
|
|
} |