public MainWnd() { InitializeComponent(); mAudioMgr = cAudioCSharpWrapper.createAudioManager(true); mAudioListener = new AudioSourceListener(this); mUpdateTimer.Tick += UpdateTimerTick; Closing += MainWnd_Closing; }