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

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

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

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

            if (TitleTextField != null)
            {
                TitleTextField.Dispose();
                TitleTextField = null;
            }
        }
示例#2
0
        void ReleaseDesignerOutlets()
        {
            if (GroupsSourceList != null)
            {
                GroupsSourceList.Dispose();
                GroupsSourceList = null;
            }

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

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

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

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

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