public void Load(RoutedEventArgs args) { grid = ((args.OriginalSource as Grid).Children[0] as DataGrid); CheckRowStatus(); acquisitor.Start(UpdateEvent); notificationService.ShowNotification("Client", $"Started", Notifications.Wpf.NotificationType.Success); }
public void StartAcquisition() { if (appState != AppState.running) { Status = "Acquiring ..."; acquisitor.Start(config); appState = AppState.running; mainWindow.AppendToTextArea("Starting acquisition ..."); mainWindow.ClearLeakageMeasurements(); } }