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

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

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

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

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

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

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

            if (WebView != null)
            {
                WebView.Dispose();
                WebView = null;
            }
        }
Esempio n. 2
0
        void Dispose(bool disposing)
        {
            if (disposed)
            {
                return;
            }

            if (disposing)
            {
                Effect.Dispose();

                Up.Dispose();
                Down.Dispose();
                Forward.Dispose();
                Backward.Dispose();
                Left.Dispose();
                Right.Dispose();
            }

            disposed = true;
        }