コード例 #1
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();
        }
コード例 #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();
        }