private void hslCurveHistory1_onCurveDoubleClick(HslControls.HslCurveHistory hslCurve, int index, DateTime dateTime) { MessageBox.Show($"Index: {index} Time:{dateTime.ToString( )}"); }
private void HslCurveHistory1_onCurveRangeSelect(HslControls.HslCurveHistory hslCurve, int index, int end) { label4.Text = DateTime.Now.ToString("HH:mm:ss") + " Start:" + index + " End:" + end; }
private void HslCurveHistory1_onCurveRangeSelect(HslControls.HslCurveHistory hslCurve, HslControls.HslMarkForeSection foreSection) { label4.Text = DateTime.Now.ToString("HH:mm:ss") + " Start:" + foreSection.StartIndex + " End:" + foreSection.EndIndex; foreSection.MarkText = "这是标记的自定义的数据"; }