3
alt text http://img413.imageshack.us/img413/9417/snapshotapp.jpg顯示所選列表視圖只記錄右擊選項 - 的WinForms C#.NET
的的ContextMenuStrip綁在ListView控件。然而,右擊選項(編輯) 出現在我點擊ListView區域的地方,這給了我特殊的錯誤,因爲編輯的實現只能應付選定的行。我只希望它出現在選定的行上(藍色突出顯示的行)。我該怎麼做?
只是讓你知道,它沒有工作,當我右鍵單擊我沒有得到正確的單擊選項(編輯)。我想知道爲什麼。我試圖找出它,一旦我得到它會讓你知道。任何更多的建議將不勝感激 – peace 2010-05-25 11:23:54
嗯,那裏沒有失敗模式,除了沒有正確設置MouseUp事件。使用屬性窗口中的閃電圖標。 – 2010-05-25 11:26:56
工作!這是我的錯誤,我選擇了MouseUp在錯誤的控制...謝謝! – peace 2010-05-25 11:52:25