packages/Windows API Code Pack 1.1/source/Samples/DirectX/CS/Direct3D10/Tutorials/D3D10Tutorial01_WinFormsWindow/TutorialWindow.cs
/// <summary>
/// Handles the Load event of the form.
/// </summary>
/// <param name="sender">The source of the event.</param>
/// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
Handles the Load event of the form.
Handles the Load event of the form .
private void TutorialWindow_Load(object sender, EventArgs e)
        {
            if (!active)
            {
                InitDevice();
                active = true;
            }
        }
private void TutorialWindow_Load ( object sender , EventArgs e ) { if ( ! active ) { InitDevice ( ) ; active = true ; } }
Handles the Load event of the form.
Handles the Load event of the form .
sender
object
The source of the event.
The source of the event .
e
EventArgs
The  instance containing the event data.
The instance containing the event data .