예제 #1
0
        }// CMessageQueuePermPropPage

        //-------------------------------------------------
        // CreateControls
        //
        // Pulls the MessageQueuePermission out of the
        // permission set and creates the controls used to
        // display the permission
        //-------------------------------------------------
        protected override void CreateControls()
        {
            IPermission perm = m_pSetWrap.PSet.GetPermission(typeof(MessageQueuePermission));

            m_PermControls = new CMessageQueuePermControls(perm, this);
        } // CreateControls
예제 #2
0
 //-------------------------------------------------
 // CMessageQueuePermDialog - Constructor
 //
 // The constructor takes in a permission that the dialog
 // will use to display default values
 //-------------------------------------------------
 internal CMessageQueuePermDialog(MessageQueuePermission perm) : base()
 {
     this.Text      = CResourceStore.GetString("MessageQueuePermission:PermName");
     m_PermControls = new CMessageQueuePermControls(perm, this);
     Init();
 } // CMessageQueuePermDialog