Exemple #1
0
        void ReleaseDesignerOutlets()
        {
            if (ArchiveButton != null)
            {
                ArchiveButton.Dispose();
                ArchiveButton = null;
            }

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

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

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

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

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

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

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