Пример #1
0
        private void butSwapChainPanel_Click(object sender, RoutedEventArgs e)
        {

            // Place the frame in the current Window and ensure that it is active
            var swapchainPanel = new MPSCBP();
            Window.Current.Content = swapchainPanel;
            Window.Current.Activate();
        }
Пример #2
0
        private void butSwapChainBackgroundPanel_Click(object sender, RoutedEventArgs e)
        {
            // Place the frame in the current Window and ensure that it is active
            var swapchainPanel = new MPSCBP();

            Window.Current.Content = swapchainPanel;
            Window.Current.Activate();
        }