Exemple #1
0
 void ReleaseDesignerOutlets()
 {
     if (createdLabel != null)
     {
         createdLabel.Dispose();
         createdLabel = null;
     }
     if (errorLabel != null)
     {
         errorLabel.Dispose();
         errorLabel = null;
     }
     if (HTTPStatusLabel != null)
     {
         HTTPStatusLabel.Dispose();
         HTTPStatusLabel = null;
     }
     if (progressLabel != null)
     {
         progressLabel.Dispose();
         progressLabel = null;
     }
     if (sizeLabel != null)
     {
         sizeLabel.Dispose();
         sizeLabel = null;
     }
     if (stateLabel != null)
     {
         stateLabel.Dispose();
         stateLabel = null;
     }
     if (URLLabel != null)
     {
         URLLabel.Dispose();
         URLLabel = null;
     }
     if (UUIDLabel != null)
     {
         UUIDLabel.Dispose();
         UUIDLabel = null;
     }
 }
 void ReleaseDesignerOutlets()
 {
     if (KeyLabel != null)
     {
         KeyLabel.Dispose();
         KeyLabel = null;
     }
     if (KeyText != null)
     {
         KeyText.Dispose();
         KeyText = null;
     }
     if (MobileServiceSegments != null)
     {
         MobileServiceSegments.Dispose();
         MobileServiceSegments = null;
     }
     if (StartButton != null)
     {
         StartButton.Dispose();
         StartButton = null;
     }
     if (StatusLabel != null)
     {
         StatusLabel.Dispose();
         StatusLabel = null;
     }
     if (URLLabel != null)
     {
         URLLabel.Dispose();
         URLLabel = null;
     }
     if (URLText != null)
     {
         URLText.Dispose();
         URLText = null;
     }
 }