示例#1
0
文件: Form1.cs 项目: NaokiStark/Nami
 public Form1()
 {
     InitializeComponent();
     CheckForIllegalCrossThreadCalls = false;
     player         = new NAudioPlayer();
     player.OnPeak += Player_OnPeak;
     FormClosing   += (obj, args) => {
         player?.Dispose();
     };
 }