private void reloadWindow() { UnregisterEvent(); AudioRecord ar = new AudioRecord(); ar.Show(); this.Close(); }
private void audioKinectBtn_Click(object sender, RoutedEventArgs e) { unregisterEvent(); sensorChooser.Stop(); AudioRecord audioRecord = new AudioRecord(); audioRecord.Show(); //stopKinectSensor(); //Window3 window = new Window3(); //window.Show(); this.Close(); }