차에 필통이 없기때문에 일어난 일이다
신차가나온다면 2단필통기능을 넣어야한다
차에 펜이 없어서 '안' 안심
엔진은 있으니 안심
차에 필통이 없기때문에 일어난 일이다
신차가나온다면 2단필통기능을 넣어야한다
차에 펜이 없어서 '안' 안심
엔진은 있으니 안심
진짜준비는 그게아니였어
두글자이상
비는부분채우기
7개정도로만들기
긍정부정표현적기
//import
[DllImport("winmm.dll")]
public static extern int waveOutGetVolume(IntPtr hwo, out uint dwVolume);
[DllImport("winmm.dll")]
public static extern int waveOutSetVolume(IntPtr hwo, uint dwVolume);
//initialize
uint CurrVol = 0;
// At this point, CurrVol gets assigned the volume
waveOutGetVolume(IntPtr.Zero, out CurrVol);
// Calculate the volume
ushort CalcVol = (ushort)(CurrVol & 0x0000ffff);
// Get the volume on a scale of 1 to 10 (to fit the trackbar)
volume = CalcVol / (ushort.MaxValue / 10);
#region volumeUp
// Calculate the volume that's being set
int NewVolume = ((ushort.MaxValue / 10) * (++volume));
// Set the same volume for both the left and the right channels
uint NewVolumeAllChannels = (((uint)NewVolume & 0x0000ffff) | ((uint)NewVolume << 16));
// Set the volume
waveOutSetVolume(IntPtr.Zero, NewVolumeAllChannels);
#endregion