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

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

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

            if (GroupsTableView != null)
            {
                GroupsTableView.Dispose();
                GroupsTableView = null;
            }
        }
Beispiel #2
0
        void ReleaseDesignerOutlets()
        {
            if (BtnAdd != null)
            {
                BtnAdd.Dispose();
                BtnAdd = null;
            }

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

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

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

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

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

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

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

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

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

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