void _mainForm_VolumeClick(object sender, ReceivedDataEventArgs e) { _commandManager.SetVolume(e.Volume); }
private void volumeBar_Scroll(object sender, EventArgs e) { if (VolumeClick != null) { ReceivedDataEventArgs args = new ReceivedDataEventArgs(); args.Volume = volumeBar.Value; VolumeClick(this, args); } labelVolume.Text = volumeBar.Value.ToString(); }
void _mainForm_TrackBarClick(object sender, ReceivedDataEventArgs e) { int temp = e.Seconds; _commandManager.SetTime(temp); }
private void trackBar1_Scroll(object sender, EventArgs e) { if (TrackBarClick != null) { ReceivedDataEventArgs args = new ReceivedDataEventArgs(); args.Seconds = trackBar.Value; TrackBarClick(this, args); } }