コード例 #1
0
        public AccionParqueoViewModel()
        {
            instance = this;

            navigationService = new NavigationService();
            dialogService     = new DialogService();
            apiService        = new ApiService();

            IsEnabled = true;
        }
コード例 #2
0
        public AccionParqueoViewModel(Parking parking, string TitleBtn)
        {
            this.parking = parking;

            instance = this;

            navigationService = new NavigationService();
            dialogService     = new DialogService();
            apiService        = new ApiService();

            Descripcion   = parking.Descripcion;
            Direccion     = parking.Direccion;
            NumeroZonas   = parking.NumeroZonas;
            this.TitleBtn = TitleBtn;
            IsEnabled     = true;
        }
コード例 #3
0
 async void GoNewParking()
 {
     ActionParking          = new AccionParqueoViewModel();
     ActionParking.TitleBtn = "Agregar";
     await navigationService.NavigateOnMaster("AccionParqueoView");
 }