/// <summary> /// Plot event handler. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> void viewModel_Plot(object sender, PlotEventArgs e) { this.progressBar.Visible = false; customLaDisplayControl1.SetSamplingRate(viewModel.Settings.SamplingRate); this.customLaDisplayControl1.Plot(e.Samples); }