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

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

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

            if (InfoToolbarItem != null)
            {
                InfoToolbarItem.Dispose();
                InfoToolbarItem = null;
            }
        }
Exemple #2
0
        void ReleaseDesignerOutlets()
        {
            if (AddToolbarItem != null)
            {
                AddToolbarItem.Dispose();
                AddToolbarItem = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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