이건모두다
2010-05-19 10:03:24

차에 필통이 없기때문에 일어난 일이다

신차가나온다면 2단필통기능을 넣어야한다

차에 펜이 없어서 '안' 안심

엔진은 있으니 안심

▼ more
생각해보니
2010-05-18 21:58:52

진짜준비는 그게아니였어

▼ more
SNS 마무라
2010-05-18 18:52:30

두글자이상

비는부분채우기

7개정도로만들기

긍정부정표현적기

▼ more
볼륨변경
2010-05-18 16:07:17

//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

▼ more