private void Window_Closed(object sender, EventArgs e)
        {
            //AudioPlaybackControl[] apcs = MyDeskLayout.AudioControls.ToArray();
            //for (var i = 0; i < apcs.Length; i++)
            //{
            //    apcs[i].CloseWaveOut();
            //}

            MyDeskLayout.AudioControls.All((i) => i.Stop());
            MyDeskLayout.VideoControls.All((i) => i.Stop());

            MyDeskLayout.SaveProject(ProjectFileName);
        }
示例#2
0
 private void MenuItemSaveProject_Click(object sender, RoutedEventArgs e)
 {
     MyDeskLayout.SaveProject(ProjectFileName);
 }