日期:2014-05-18 浏览次数:20961 次
switch (lblLogo.Text)
{
case "您好,请上秤!":
PlaySound(@".\player\04.wav", IntPtr.Zero, 0x00020000 | 0x0001);
break;
case "等待计量中。":
PlaySound(@".\player\01.wav", IntPtr.Zero, 0x00020000 | 0x0001);
break;
case "车辆停稳,正在计量。":
PlaySound(@".\player\02.wav", IntPtr.Zero, 0x00020000 | 0x0001);
break;
case "计量完毕,请下秤。":
PlaySound(@".\player\03.wav", IntPtr.Zero, 0x00020000 | 0x0001);
break;
}