/// <summary> /// Gets called when there is a new value to be plotted in the function plot /// </summary> /// <param name="onPlotValue">Details about the value to be plotted</param> private void OnWindowStatisticsPlotValueHandler(WindowStatistics.OnPlotValue onPlotValue) { if (_windowStatistics != null) { Globals.GlobalWinFormsServicePort.FormInvoke( delegate() { //_windowStatistics.valueToPlot = onPlotValue.value; } ); } }
/// <summary> /// InitializePlot all window event messages /// </summary> private void InitializeWindowEventMessages() { updateDebugData = new WindowStatistics.OnDisplayUpdate(); plotValue = new WindowStatistics.OnPlotValue(); updateStatsData = new WindowControl.OnUpdateDisplay(); }