private void savestopbutton_Click(object sender, RoutedEventArgs e) { textBox1.Text = ""; DispatcherTimer dispatcherTimer = new DispatcherTimer(); dispatcherTimer = new System.Windows.Threading.DispatcherTimer(); dispatcherTimer.Tick += new EventHandler(dispatcherTimer_Tick); interval = new TimeSpan(0, 0, 0); dispatcherTimer.Interval = interval; dispatcherTimer.Stop(); mciSendString("save recsound d:\\WPF\\record.wma", "", 0, 0); mciSendString("close recsound ", "", 0, 0); Computer c = new Computer(); c.Audio.Stop(); }
mciSendString("save recsound d:\\WPF\\record.wma"
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)