Exemplo n.º 1
0
        void ReleaseDesignerOutlets()
        {
            if (ChkEnabled != null)
            {
                ChkEnabled.Dispose();
                ChkEnabled = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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