1
我試圖動態項目添加到工具條下面的代碼:事件處理與動態的ToolStripItem
contextMenuStrip.Items.Add(string.Format("{0} kB/s", currSpeed), null, new EventHandler(Connection.SetSpeed));
的問題是,我需要傳遞一個參數Connection.SetSpeed:currSpeed(INT) 。 我該怎麼做?
謝謝你的時間。 此致敬禮。
謝謝!那正是我所尋找的 – 2009-03-05 16:00:17