Ejemplo n.º 1
0
        void ReleaseDesignerOutlets()
        {
            if (CancelButton != null)
            {
                CancelButton.Dispose();
                CancelButton = null;
            }

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

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

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

            if (SideSplashView != null)
            {
                SideSplashView.Dispose();
                SideSplashView = null;
            }
        }
Ejemplo n.º 2
0
 public void Dispose()
 {
     if (Line != null)
     {
         Line.Dispose();
     }
     if (Outline != null)
     {
         Outline.Dispose();
     }
     if (Fill != null)
     {
         Fill.Dispose();
     }
     if (Symbol != null)
     {
         Symbol.Dispose();
     }
     //NS, 2013-09-17
     if (DashLine != null)
     {
         DashLine.Dispose();
     }
     //NS, 2013-09-23
     //if (_pointBrush != null)
     //{
     //    _pointBrush.Dispose();
     //    _pointBrush = null;
     //}
     //NS, 2013-10-02
     if (CircleLine != null)
     {
         CircleLine.Dispose();
     }
 }
Ejemplo n.º 3
0
        /// <summary>
        /// Method to release all managed resources
        /// </summary>
        protected override void ReleaseManagedResources()
        {
            CheckDisposed();

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

            base.ReleaseManagedResources();
        }
Ejemplo n.º 4
0
 public void Dispose()
 {
     if (Line != null)
     {
         Line.Dispose();
     }
     if (Outline != null)
     {
         Outline.Dispose();
     }
     if (Fill != null)
     {
         Fill.Dispose();
     }
     if (Symbol != null)
     {
         Symbol.Dispose();
     }
 }
Ejemplo n.º 5
0
        void ReleaseDesignerOutlets()
        {
            if (AddressLabel != null)
            {
                AddressLabel.Dispose();
                AddressLabel = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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