コード例 #1
0
 /// <summary>
 /// Clean up any resources being used.
 /// </summary>
 /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
 protected override void Dispose(bool disposing)
 {
     if (disposing && (components != null))
     {
         controlsLink.Dispose();
         components.Dispose();
     }
     base.Dispose(disposing);
 }
コード例 #2
0
 /// <summary>
 /// Clean up any resources being used.
 /// </summary>
 /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
 protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         if (deadzoneLink != null)
         {
             deadzoneLink.Dispose();
         }
         if (antiDeadzoneLink != null)
         {
             antiDeadzoneLink.Dispose();
         }
         if (updateTimer != null)
         {
             updateTimer.Dispose();
         }
         if (components != null)
         {
             components.Dispose();
         }
         if (dInputLine != null)
         {
             dInputLine.Dispose();
         }
         if (dInputPoint != null)
         {
             dInputPoint.Dispose();
         }
         if (nInputLine != null)
         {
             nInputLine.Dispose();
         }
         if (xInputPoint != null)
         {
             xInputPoint.Dispose();
         }
         if (xInputLine != null)
         {
             xInputLine.Dispose();
         }
         if (xInputPath != null)
         {
             xInputPath.Dispose();
         }
     }
     base.Dispose(disposing);
 }
コード例 #3
0
ファイル: ThumbUserControl.cs プロジェクト: Seaweedbeard/x360
 /// <summary>
 /// Clean up any resources being used.
 /// </summary>
 /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
 protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         deadzoneLink.Dispose();
         antiDeadzoneLink.Dispose();
         if (updateTimer != null)
         {
             updateTimer.Dispose();
         }
         if (components != null)
         {
             components.Dispose();
         }
     }
     base.Dispose(disposing);
 }