Ejemplo n.º 1
0
        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);
            }
        }