Esempio n. 1
0
        void ReleaseDesignerOutlets()
        {
            if (BackForwardToolBarItem != null)
            {
                BackForwardToolBarItem.Dispose();
                BackForwardToolBarItem = null;
            }

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

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

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

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

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

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

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

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