public static void Update(double stim, double cond, double score) { ThrowIf.Argument.IsNull(Active, "Active"); if (Active.chart.InvokeRequired) { Active.chart.BeginInvoke(new InvokeDelegate(() => Active.AddData(stim, cond, score))); } else { Active.AddData(stim, cond, score); } }