private void FlagsEditorForm_Close(object sender, System.EventArgs e)
        {
            uint n = 0;

            uint[] narr = new uint[this._al.Count];
            this._al.CopyTo(narr);
            foreach (int i in this._clb.CheckedIndices)
            {
                n |= narr[i];
            }
            // accept new value and close editor
            this._value = (Ras.Ras.EntryProtocols)n;
        }
        private void _clb_SelectedIndexChanged(object sender, System.EventArgs e)
        {
            Ras.Ras.EntryProtocols rep = (Ras.Ras.EntryProtocols)Enum.Parse(typeof(Ras.Ras.EntryProtocols), this._clb.SelectedItem.ToString());
            this._lb1.Text = this._clb.SelectedItem.ToString();
            switch (rep)
            {
            case Ras.Ras.EntryProtocols.RASNP_NetBEUI:
                this._lb2.Text = "The RASNP_NetBEUI flag is no longer supported.";
                break;

            case Ras.Ras.EntryProtocols.RASNP_Ipx:
                this._lb2.Text = "Specifies the network protocols to negotiate. This flag forced negotiate the IPX protocol. You can combine this protocol with others.";
                break;

            case Ras.Ras.EntryProtocols.RASNP_Ip:
                this._lb2.Text = "Specifies the network protocols to negotiate. This flag forced negotiate the TCP/IP protocol. You can combine this protocol with others.";
                break;
            }
        }
		private void FlagsEditorForm_Close(object sender, System.EventArgs e)
		{
			uint n = 0;
			uint[] narr = new uint[this._al.Count];
			this._al.CopyTo(narr);
			foreach(int i in this._clb.CheckedIndices)
				n |= narr[i];
			// accept new value and close editor
			this._value = (Ras.Ras.EntryProtocols)n;
		}