/// <summary> /// Create an alert plot panel. /// </summary> /// <param name="nPoint">the number of points to plot</param> /// <param name="tf">the function to plot</param> public AlertPlotPanel(int nPoint, TpeakFunction tf, Tpeak tp) : base(nPoint, new Function(tf.F)) { tp.Change += new ChangeHandler(FunctionChange); }
/// <summary> /// Create an alert plot panel. /// </summary> /// <param name="nPoint">the number of points to plot</param> /// <param name="tf">the function to plot</param> public AlertPlotPanel(int nPoint, TpeakFunction tf) : base(nPoint, new Function(tf.F)) { tf.Change += new EventHandler(FunctionChange); }
/// <summary> /// Tworzy nas³uchuj¹cy zmian panel wykresu. /// </summary> /// <param name="nPoint">iloœæ nanoszonych punktów</param> /// <param name="tf">nanoszona funkcja</param> public AlertPlotPanel(int nPoint, TpeakFunction tf, PropertyHolder ph) : base(nPoint, new Function(tf.F)) { ph.Change += new ChangeHandler(FunctionChange); }