Frame Navigation in a Window Sample

This sample demonstrates how to host a Frame within a Window. Building the Sample Install the Windows Software Development Kit (SDK) and open its build environment command window.

 
 
 
 
 
(0)
8,664 times
Add to favorites
2/1/2011
E-mail Twitter del.icio.us Digg Facebook
using System;
using System.Windows;

namespace FrameWindowSample
{
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
        }
        
        void openSDKButton_Click(object sender, RoutedEventArgs e) {
            SDKViewerWindow window = new SDKViewerWindow();
            window.Show();
        }
    }
}