好像不可以。只有用API才行吧!
搜索声音!就知道了。:)

解决方案 »

  1.   

    用这个函数吧,它能发出系统缺省的警告声.using System.Runtime.InteropServices;
    [DllImport("user32.dll")] 
    public static extern int MessageBeep(uint n);  private void button1_Click(object sender, System.EventArgs e)
    { MessageBeep(0xFFFFFFFF); 
    }
      

  2.   

    可是我不能应用user32.dll,它不是有效的程序集或com组件啊?!请高手指点!
      

  3.   

    using System.Runtime.InteropServices;
    [DllImport("kernel32.dll")]
    public static extern int Beep(int dwFreq,int dwDuration);private void timer1_Tick(object sender, System.EventArgs e)
    {
    int i ;
    int[] a = “X1FF,0X2FF,0X3FF,0X4FF,0X5FF,0X6FF,0X7FF,0X8FF}; //音调
    int b = 1000;  //控制时长
    for ( i = 0 ;i<=7;i++)
    {
    Beep(a[i],b);
    if (i==7)
    timer1.Enabled = false;
    }

    }发出 1234567!的音
      

  4.   

    你可以用API
    主要有两个API:MessageBeep(user32),Beep(kernel32)
    具体怎样操作,你可以参考一下C#BOOK,还可以看看楼上兄弟们的用法