private void TutorialWindow_FormClosing(object sender, FormClosingEventArgs e)
 {
     directControl.Render = null;
     device.ClearState();
 }
Exemple #2
0
 /// <summary>
 /// Handles the FormClosing event of the form.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="System.Windows.Forms.FormClosingEventArgs"/> instance containing the event data.</param>
 private void TutorialWindow_FormClosing(object sender, FormClosingEventArgs e)
 {
     device.ClearState();
 }