#pragma warning restore IDISP006 // Implement IDisposable. public ConfigureDeviceViewModel(UserViewModel userViewModel, SpinnerViewModel spinnerViewModel, WarningViewModel warningViewModel, PopupViewModel popupViewModel) { this.UserViewModel = userViewModel; this.SpinnerViewModel = spinnerViewModel; this.SpinnerViewModel.SpinnerHeight = 15; this.SpinnerViewModel.SpinnerWidth = 15; this.SpinnerViewModel.EllipseSize = 5; this.SpinnerViewModel.UpdateView(); this.PopupViewModel = popupViewModel; this.WarningViewModel = warningViewModel; RefreshComPortsCommand = new RefreshComPortsCommand(this); RefreshPatientsCommand = new RefreshPatientsCommand(this); ConfigureDeviceCommand = new ConfigureDeviceCommand(this); }
public HistoricalViewDetailPage(SpinnerViewModel viewModel) { InitializeComponent(); BindingContext = ViewModel = viewModel; }
static StaticClasses() { Spinner = new SpinnerView(); SpinnerVm = (SpinnerViewModel)Spinner.DataContext; }