Exemple #1
0
        public override void Dispose()
        {
            ButtonClose.Dispose();
            ButtonMaximized.Dispose();

            this.Parent.Childs.Remove(this);
        }
Exemple #2
0
        void ReleaseDesignerOutlets()
        {
            if (ButtonCheck != null)
            {
                ButtonCheck.Dispose();
                ButtonCheck = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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