Пример #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;
     }
 }
        void ReleaseDesignerOutlets()
        {
            if (DownloadedImageView != null)
            {
                DownloadedImageView.Dispose();
                DownloadedImageView = null;
            }

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

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

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

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

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

            if (ResultTextView != null)
            {
                ResultTextView.Dispose();
                ResultTextView = null;
            }
        }
Пример #3
0
        void ReleaseDesignerOutlets()
        {
            if (belgeGoster != null)
            {
                belgeGoster.Dispose();
                belgeGoster = 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;
            }

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