public override void Update(KeyPoint kp) { int i = m_Value.IndexOf(kp); if (i != -1) { m_DataSource.SetValue(i, kp.Time, kp.GetValue(0)); } }
protected void DrawHandle(Graphics canvas, KeyPoint kp, uint index, float size, Color color, Color bordercolor) { DrawHandle(canvas, kp.Time, kp.GetValue(index), size, color, bordercolor); }
protected void DrawLine(Graphics canvas, Pen pen, KeyPoint st, KeyPoint ed, uint index) { { DrawLine(canvas, pen, st.Time, st.GetValue(index), ed.Time, ed.GetValue(index)); } }