예제 #1
0
        private void MainVol_Scroll(object sender, EventArgs e)
        {
            CH1VOL.Value = CH2VOL.Value = CH3VOL.Value = CH4VOL.Value = CH5VOL.Value = CH6VOL.Value = CH7VOL.Value = CH8VOL.Value = CH9VOL.Value = CH10VOL.Value = CH11VOL.Value = CH12VOL.Value = CH13VOL.Value = CH14VOL.Value = CH15VOL.Value = CH16VOL.Value = MainVol.Value;
            VolumeTip.SetToolTip(MainVol, String.Format("{0}: {1}%", Languages.Parse("ChannelsSettingsAll"), MainVol.Value));

            for (int i = 0; i <= 15; i++)
            {
                MainWindow.KMCStatus.ChannelsVolume[i] = MainVol.Value;
            }
        }
예제 #2
0
 private void VolumeToolTip(int channel, TrackBar trackbar)
 {
     VolumeTip.SetToolTip(trackbar, String.Format("{0}: {1}%", String.Format(Languages.Parse("ChannelsSettingsChan"), channel), trackbar.Value));
     MainWindow.KMCStatus.ChannelsVolume[channel - 1] = trackbar.Value;
 }
예제 #3
0
 private void VolumeToolTip(string channel, TrackBar trackbar)
 {
     VolumeTip.SetToolTip(trackbar, String.Format("{0}: {1}%", channel, trackbar.Value));
 }