packages/Windows API Code Pack 1.1/source/Samples/DirectX/CS/Direct3D11/Tutorials/D3D11Tutorial02_WPF/Window1.xaml.cs
/// <summary>
/// Handles the Loaded event of the window.
/// </summary>
/// <param name="sender">The source of the event.</param>
/// <param name="e">The <see cref="System.Windows.RoutedEventArgs"/> instance containing the event data.</param>
Handles the Loaded event of the window.
Handles the Loaded event of the window .
private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            InitDevice();
            host.Render = RenderScene;
        }
private void Window_Loaded ( object sender , RoutedEventArgs e ) { InitDevice ( ) ; host . Render = RenderScene ; }
Handles the Loaded event of the window.
Handles the Loaded event of the window .
sender
object
The source of the event.
The source of the event .
e
RoutedEventArgs
The  instance containing the event data.
The instance containing the event data .