internal CSocketPermDialog(SocketPermission perm)
        {
            this.Text = CResourceStore.GetString("SocketPerm:PermName");

            if (perm == null)
            {
                perm = new SocketPermission(PermissionState.None);
            }

            m_PermControls = new CSocketPermControls(perm, this);
            Init();
        } // CSocketPermDialog(SocketPermission)
        }// CSocketPermPropPage

        protected override void CreateControls()
        {
            IPermission perm = m_pSetWrap.PSet.GetPermission(typeof(SocketPermission));

            m_PermControls = new CSocketPermControls(perm, this);
        } // CreateControls