timerCB = new TimerCallback(CBn); private void SendMidi() { midiOutShortMsg(hmidi, msg); timerID = timeSetEvent(1000, 0, timerCB, UIntPtr.Zero, 0); *** How can I Write the code here to do something after the delay time **** }
public async void CBn(uint uTimerID, uint uMsg, UIntPtr dwUser, UIntPtr dw1, UIntPtr dw2) { timeKillEvent(timerID); timerID = 0; textBox.Text = beat.ToString();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)