void ReleaseDesignerOutlets()
        {
            if (KeyLabel != null)
            {
                KeyLabel.Dispose();
                KeyLabel = null;
            }

            if (ValueLabel != null)
            {
                ValueLabel.Dispose();
                ValueLabel = null;
            }
        }
コード例 #2
0
 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;
     }
 }