public CantvItemViewModel() { this.cantvViewModel = CantvViewModel.GetInstance(); this.mainViewModel = MainViewModel.GetInstance(); // Generate an instance of the services class this.apiService = new ApiService(); this.dialogService = new DialogService(); this.navigationService = new NavigationService(); }
public CneItemViewModel() { // Gets an instance of the MainViewModel this.mainViewModel = MainViewModel.GetInstance(); this.cantvViewModel = CantvViewModel.GetInstance(); // Gets an instance of the service class apiService = new ApiService(); dialogService = new DialogService(); navigationService = new NavigationService(); }
public NewCneViewModel() { // Gets an instance of the service class this.apiService = new ApiService(); this.dialogService = new DialogService(); this.navigationService = new NavigationService(); // Gets an instances of the ViewModels this.mainViewModel = MainViewModel.GetInstance(); this.cantvViewModel = CantvViewModel.GetInstance(); // Load the value in the form this.LoadValues(); }
public NewIvssViewModel() { // Gets an instance of the class this.mainViewModel = MainViewModel.GetInstance(); this.cantvViewModel = CantvViewModel.GetInstance(); // Gets an new instance the service class this.apiService = new ApiService(); this.dialogService = new DialogService(); this.navigationService = new NavigationService(); // Invoke the method Preload this.LoadValues(); }
public EditCneViewModel(CneItemViewModel _cneItemViewModel) { // Gets an intance of the services class this.apiService = new ApiService(); this.dialogService = new DialogService(); this.navigationService = new NavigationService(); // Capture the instance of the CneItemViewModel this.cneItemViewModel = _cneItemViewModel; this.mainViewModel = MainViewModel.GetInstance(); this.cantvViewModel = CantvViewModel.GetInstance(); // Invoke the method of load values CNE this.LoadData(); }
public CantvViewModel() { // Gets an instance of the class instance = this; // Gets an instance of the MainViewModel this.mainViewModel = MainViewModel.GetInstance(); // Optain an instance of service this.apiService = new ApiService(); this.dialogService = new DialogService(); // Load values in the object UserData this.LoadUserData(); }
public NewZoomViewModel() { // Define control format this.SetInitialize(); this.SetStatusControl(true, false, 0); // Gets an instances of the services class this.apiservices = new ApiService(); this.dialogService = new DialogService(); this.navigationService = new NavigationService(); // Gets an instance of the MainViewModel mainViewModel = MainViewModel.GetInstance(); // Gets an instance of the CantvViewModel cantvViewModel = CantvViewModel.GetInstance(); }
public EditCantvViewModel( CantvItemViewModel _editCantvData) { // Load value object this.editCantv = _editCantvData; // Define control format SetInitialize(1, _editCantvData); SetStatusControl(true, false, 0); // Gets an instances of the services class apiservices = new ApiService(); dialogService = new DialogService(); navigationService = new NavigationService(); // Gets an instance of the CantvViewModel cantvViewModel = CantvViewModel.GetInstance(); // Gets an instance of the MainViewModel mainViewModel = MainViewModel.GetInstance(); }
public EditZoomViewModel(ZoomItemViewModel _zoomItemViewModel) { // Get an instance of the ZoomItemViewModel this.zoomItemViewModel = _zoomItemViewModel; // Define control format this.SetInitialize(); this.SetStatusControl(true, false, 0); // Gets an instances of the services class this.apiservices = new ApiService(); this.dialogService = new DialogService(); this.navigationService = new NavigationService(); // Gets an instance of the MainViewModel this.mainViewModel = MainViewModel.GetInstance(); // Gets an instance of the CantvViewModel this.cantvViewModel = CantvViewModel.GetInstance(); // Load value in the controls this.Tracking = this.zoomItemViewModel.Tracking; }