Exemple #1
0
 void ReleaseDesignerOutlets()
 {
     if (ClearButton != null)
     {
         ClearButton.Dispose();
         ClearButton = null;
     }
     if (ReadButton != null)
     {
         ReadButton.Dispose();
         ReadButton = null;
     }
     if (ReadText != null)
     {
         ReadText.Dispose();
         ReadText = null;
     }
     if (StatusLabel != null)
     {
         StatusLabel.Dispose();
         StatusLabel = null;
     }
     if (StopButton != null)
     {
         StopButton.Dispose();
         StopButton = null;
     }
 }