コード例 #1
0
        void ReleaseDesignerOutlets()
        {
            if (Category != null)
            {
                Category.Dispose();
                Category = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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