Example #1
0
 public void C(T_ITEM t_ITEM)
 {
     if (!this.B(t_ITEM))
     {
         throw new ArgumentException("Item '" + t_ITEM.b() + "' not contained in the pool");
     }
     if (!object.ReferenceEquals(this.A[t_ITEM], t_ITEM.b()))
     {
         throw new l1();
     }
     if (!object.ReferenceEquals(this.A[t_ITEM.b()], t_ITEM))
     {
         throw new l1();
     }
     if (this.a != null && this.A != null)
     {
         Delegate[] invocationList = this.a.GetInvocationList();
         Delegate[] array          = invocationList;
         for (int i = 0; i < array.Length; i++)
         {
             W1 <T_ITEM> .A a = (W1 <T_ITEM> .A)array[i];
             if (!a(t_ITEM))
             {
                 throw new InvalidOperationException("Removal if item '" + t_ITEM.b() + "' was not accepted");
             }
         }
     }
 }
Example #2
0
 public t1(s1 s, string text, d.B b, W1 <p1> w)
 {
     this.A();
     this.Font = d2.a().Font;
     H.A(this.A);
     H.A(this.A, this.A, this.A);
     H.A(this.A, this.A, this.a);
     this.A           = s;
     this.A           = b;
     this.A           = w;
     this.A.MaxLength = 64;
     this.A           = this.A.BackColor;
     this.Text        = text;
     this.A.Text      = o1.b(b.c());
     if (w != null)
     {
         foreach (p1 current in w)
         {
             this.A.Items.Add(current.b());
         }
     }
     if (t1.A.HasValue)
     {
         base.Size = t1.A.Value;
     }
     this.a();
 }
Example #3
0
        private void A(W1 <p1> w, TreeNode treeNode, h <p1> h)
        {
            p1 p = this.A(treeNode, false);

            if (p == null)
            {
                return;
            }
            if (h == null)
            {
                h = new h <p1>();
            }
            h.Add(p);
            foreach (p1 current in w)
            {
                if (!h.Contains(current))
                {
                    Q1 q = current as Q1;
                    if (q != null && q.A(p.b()))
                    {
                        TreeNode treeNode2 = new J2 <p1>(q);
                        treeNode2.ImageIndex         = this.A.ImageIndex + 8;
                        treeNode2.SelectedImageIndex = this.A.SelectedImageIndex + 8;
                        treeNode.Nodes.Add(treeNode2);
                        this.A(w, treeNode2, h);
                    }
                }
            }
        }
Example #4
0
 public b2(K1 a, W1 <h2> w, I2 i, A2 a2)
 {
     b2.A   = this;
     this.A = a;
     this.A = w;
     this.A = i;
     this.A = a2;
     this.A = a2.A();
     if (w.B() > 0)
     {
         throw new l1();
     }
     this.A = (b2.A)Delegate.Combine(this.A, new b2.A(this.b));
     this.A = (b2.a)Delegate.Combine(this.A, new b2.a(this.a));
     w.C(new W1 <h2> .a(this.a));
     w.F(new W1 <h2> .a(this.a));
     w.B(new W1 <h2> .a(this.A));
     w.D(new W1 <h2> .a(this.A));
     w.B(new W1 <h2> .B(this.A));
     w.E(new W1 <h2> .a(this.B));
     i.A(w);
     i.A(new I2.A(this.A));
     this.A.A(w);
     this.A.A(new V1.A(this.A));
 }
Example #5
0
 public void A(W1 <h2> w)
 {
     if (this.A != w)
     {
         if (this.A != null)
         {
             this.A.b(new W1 <h2> .B(this.A));
             this.A.e(new W1 <h2> .a(this.a));
             foreach (h2 current in this.A)
             {
                 this.a(current);
             }
         }
         this.A = w;
         if (this.A != null)
         {
             int num = 0;
             foreach (h2 current2 in this.A)
             {
                 this.A(current2, num++);
             }
             this.A.B(new W1 <h2> .B(this.A));
             this.A.E(new W1 <h2> .a(this.a));
         }
     }
 }
Example #6
0
        public IEnumerator <T_ITEM> GetEnumerator()
        {
            W1 <T_ITEM> .b b = new W1 <T_ITEM> .b(0);

            b.A = this;
            return(b);
        }
Example #7
0
        private void A()
        {
            s1 a = this.A;

            this.A = this.A();
            if (this.A != a && this.A != null)
            {
                this.A(this.A);
            }
        }
Example #8
0
 public void B(T_ITEM t_ITEM)
 {
     if (this.B(t_ITEM))
     {
         throw new ArgumentException("Item already exist in the pool");
     }
     if (this.B(t_ITEM.b()))
     {
         throw new ArgumentException("Name '" + t_ITEM.b() + "' already exist in the pool");
     }
     if (this.A != null)
     {
         Delegate[] invocationList = this.A.GetInvocationList();
         Delegate[] array          = invocationList;
         for (int i = 0; i < array.Length; i++)
         {
             W1 <T_ITEM> .A a = (W1 <T_ITEM> .A)array[i];
             if (!a(t_ITEM))
             {
                 throw new InvalidOperationException("Item '" + t_ITEM.b() + "' was not accepted");
             }
         }
     }
 }
Example #9
0
 public void A(V1.A b)
 {
     this.A = (V1.A)Delegate.Combine(this.A, b);
 }
Example #10
0
 public void L(W1 <p1> w)
 {
     this.A = w;
 }
Example #11
0
 public void d(W1 <T_ITEM> .a value)
 {
     this.B = (W1 <T_ITEM> .a)Delegate.Remove(this.B, value);
 }
Example #12
0
 public void D(W1 <T_ITEM> .a a)
 {
     this.B = (W1 <T_ITEM> .a)Delegate.Combine(this.B, a);
 }
Example #13
0
 public void c(W1 <T_ITEM> .A value)
 {
     this.a = (W1 <T_ITEM> .A)Delegate.Remove(this.a, value);
 }
Example #14
0
 public void C(W1 <T_ITEM> .A a)
 {
     this.a = (W1 <T_ITEM> .A)Delegate.Combine(this.a, a);
 }
Example #15
0
 public void b(W1 <T_ITEM> .B value)
 {
     this.A = (W1 <T_ITEM> .B)Delegate.Remove(this.A, value);
 }
Example #16
0
 public void B(W1 <T_ITEM> .B b)
 {
     this.A = (W1 <T_ITEM> .B)Delegate.Combine(this.A, b);
 }
Example #17
0
 public void B(W1 <T_ITEM> .a a)
 {
     this.A = (W1 <T_ITEM> .a)Delegate.Combine(this.A, a);
 }
Example #18
0
 public void E(W1 <T_ITEM> .a a)
 {
     this.b = (W1 <T_ITEM> .a)Delegate.Combine(this.b, a);
 }
Example #19
0
 public void a(V1.A value)
 {
     this.A = (V1.A)Delegate.Remove(this.A, value);
 }
Example #20
0
 public void f(W1 <T_ITEM> .a value)
 {
     this.C = (W1 <T_ITEM> .a)Delegate.Remove(this.C, value);
 }
Example #21
0
 public void F(W1 <T_ITEM> .a a)
 {
     this.C = (W1 <T_ITEM> .a)Delegate.Combine(this.C, a);
 }
Example #22
0
 public void e(W1 <T_ITEM> .a value)
 {
     this.b = (W1 <T_ITEM> .a)Delegate.Remove(this.b, value);
 }