示例#1
0
 void ReleaseDesignerOutlets()
 {
     if (BetterAsyncButton != null)
     {
         BetterAsyncButton.Dispose();
         BetterAsyncButton = null;
     }
     if (DownloadedImageView != null)
     {
         DownloadedImageView.Dispose();
         DownloadedImageView = null;
     }
     if (GetButton != null)
     {
         GetButton.Dispose();
         GetButton = null;
     }
     if (ResultLabel != null)
     {
         ResultLabel.Dispose();
         ResultLabel = null;
     }
     if (ResultTextView != null)
     {
         ResultTextView.Dispose();
         ResultTextView = null;
     }
 }
示例#2
0
        void ReleaseDesignerOutlets()
        {
            if (getXMLX != null)
            {
                getXMLX.Dispose();
                getXMLX = null;
            }

            if (BetterAsyncButton != null)
            {
                BetterAsyncButton.Dispose();
                BetterAsyncButton = null;
            }

            if (DownloadedImageView != null)
            {
                DownloadedImageView.Dispose();
                DownloadedImageView = null;
            }

            if (GetButton != null)
            {
                GetButton.Dispose();
                GetButton = null;
            }

            if (kayitOldumu != null)
            {
                kayitOldumu.Dispose();
                kayitOldumu = null;
            }

            if (ResultLabel != null)
            {
                ResultLabel.Dispose();
                ResultLabel = null;
            }

            if (ResultTextView != null)
            {
                ResultTextView.Dispose();
                ResultTextView = null;
            }
        }