コード例 #1
0
 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));
     }
 }
コード例 #2
0
 /// <summary> Create an LdapControl from an existing control.</summary>
 protected internal LdapControl(RfcControl control)
 {
     Asn1Object = control;
 }
コード例 #3
0
ファイル: FrmSucursal.cs プロジェクト: EnriqueMB/NaturalWuane
 private void RfcControl_TextChanged(object sender, EventArgs e)
 {
     RfcControl.Text = RfcControl.Text.Replace(" ", "");
     RfcControl.Select(RfcControl.Text.Length, 0);
 }
コード例 #4
0
ファイル: LdapControl.cs プロジェクト: pmq20/mono_forked
 /// <summary> Create an LdapControl from an existing control.</summary>
 protected internal LdapControl(RfcControl control)
 {
     this.control = control;
     return;
 }