private void timer_Tick(object sender, System.EventArgs e) { float frequency = 0, volume = 0, pan = 0; bool playing = false; if (channel != null) { channel.getFrequency(ref frequency); channel.getVolume(ref volume); channel.getPan(ref pan); channel.isPlaying(ref playing); } statusBar.Text = "Channel " + (playing ? "playing" : "stopped") + " : Frequency " + frequency + " Volume " + volume + " Pan " + pan; if (system != null) { system.update(); } }