//跟随鼠标显示K信息 void MainForm_MouseMove(object sender, MouseEventArgs e) { KData kd = drawK.GetKDataInfo(e.X / (iKGrade + 1)); this.lb_KInfo.Text = String.Format("{3} {4}点{5}分 H:{0} L:{1} {2} {6}/{7}", kd.iHigh, kd.iLow, drawK.iShowStartNumber, kd.iDate, kd.iMinute / 60, kd.iMinute % 60, drawK.iShowStartNumber + e.X / (iKGrade + 1), KDataArray.Length); this.lb_KInfo.Refresh(); }
public void UpdateKData(KData[] kdIn) { this.KDataArray = kdIn; }