Révision f128e34e GES_PAC/ViewModel/MainViewModel.cs

Voir les différences:

GES_PAC/ViewModel/MainViewModel.cs
1 1
using GES_PAC.Model;
2
using GES_PAC.Services;
2 3
using GES_PAC.View;
3 4
using System.Windows.Input;
4 5

  
......
51 52
        #region Constructeur
52 53
        public MainViewModel()
53 54
        {
54

  
55 55
            GoToCreateDayCommand = new Command(async () => await GoToCreateDayPage());
56 56
            ResumeDayCommand = new Command(async () => await ResumeDay());
57 57
            ExportDataCommand = new Command(async () => await ExportData());
......
73 73
        {
74 74
            if (IsBusy) return;
75 75
            IsBusy = true;
76

  
76 77
            await Shell.Current.GoToAsync(nameof(CreateDayView));
78

  
77 79
            IsBusy = false;
78 80
        }
79 81

  

Formats disponibles : Unified diff