public LdapControl(string oid, bool critical, sbyte[] values) { if ((object)oid == null) { throw new ArgumentException("An OID must be specified"); } if (values == null) { control = new RfcControl(new RfcLdapOID(oid), new Asn1Boolean(critical)); } else { control = new RfcControl(new RfcLdapOID(oid), new Asn1Boolean(critical), new Asn1OctetString(values)); } }
/// <summary> Create an LdapControl from an existing control.</summary> protected internal LdapControl(RfcControl control) { Asn1Object = control; }
private void RfcControl_TextChanged(object sender, EventArgs e) { RfcControl.Text = RfcControl.Text.Replace(" ", ""); RfcControl.Select(RfcControl.Text.Length, 0); }
/// <summary> Create an LdapControl from an existing control.</summary> protected internal LdapControl(RfcControl control) { this.control = control; return; }