[問題] chart 內建cursor

看板C_Sharp (C#)作者 (網洋中的一條狗)時間13年前 (2012/03/19 18:17), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
想要請問 我是用裡面的CursorX 下面程式主要功能為選取範圍並放大 但似乎是要用鼠標左鍵來偵測 但由於鼠標左鍵的移動和click都有想要的其他用的功能 請問是否可以把下面程式改成右鍵來偵測 chart1.ChartAreas[series1.ChartArea].CursorX.IsUserEnabled = true; chart1.ChartAreas[series1.ChartArea].CursorY.IsUserEnabled = true; chart1.ChartAreas[series1.ChartArea].CursorX.IsUserSelectionEnabled = true; chart1.ChartAreas[series1.ChartArea].CursorX.SelectionColor = System.Drawing.SystemColors.Highlight; chart1.ChartAreas[series1.ChartArea].CursorY.IsUserSelectionEnabled = true; chart1.ChartAreas[series1.ChartArea].CursorY.SelectionColor = System.Drawing.SystemColors.Highlight; 感恩 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.116.164.79
文章代碼(AID): #1FPmUzMe (C_Sharp)
文章代碼(AID): #1FPmUzMe (C_Sharp)