Exemplo n.º 1
0
        private bool a()
        {
            bool   result = this.ValidateChildren();
            int    num    = -1;
            string text   = o1.b(this.A.Text);

            for (int i = 0; i < this.A.Items.Count; i++)
            {
                if (Q1.A(text, this.A.Items[i].ToString()))
                {
                    num = i;
                    break;
                }
            }
            string text2 = this.A.Text;

            this.A.SelectedIndex = num;
            this.A.Text          = text2;
            this.A.Enabled       = (num == -1 && this.A.A(text));
            if (!this.A.Enabled)
            {
                this.A.Checked = false;
            }
            this.A.Enabled = (text.Length > 0);
            return(result);
        }
Exemplo n.º 2
0
        public bool A(e2 e, H2 h, Q1 q, string text)
        {
            Q1 q2 = e.L();

            q2.A(h);
            H2 h2 = h.A();
            E1 e2 = this.A.A(this.A, text);

            try
            {
                if (!this.A(e, h, q.b(), text))
                {
                    throw new InvalidOperationException();
                }
                int num = -1;
                if (!this.A(q, ref num, h2))
                {
                    throw new InvalidOperationException();
                }
                this.A.A(e2);
            }
            catch (Exception ex)
            {
                this.A.a(e2);
                e.C();
                n1.A(ex);
            }
            return(true);
        }
Exemplo n.º 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);
                    }
                }
            }
        }
Exemplo n.º 4
0
 private void E(p1 p, string text)
 {
     foreach (p1 current in this.A)
     {
         Q1 q = current as Q1;
         if (q != null)
         {
             q.A(text, p.b());
         }
     }
 }
Exemplo n.º 5
0
 public void A(e2 e, D.A a)
 {
     D.A a2 = a;
     if (K1.A().A().SmartConnectionDClick)
     {
         a2 = Q1.A(a);
         if (a2 != null && a2 != a)
         {
             e.L().A(a2);
         }
     }
     this.a(e, a2);
 }
Exemplo n.º 6
0
 public static void A(h2 h, byte[] array, int num)
 {
     if (array != null)
     {
         p1 p = Q1.A(array);
         if (p != null)
         {
             if (h.E().B(p.b()))
             {
                 p.b(h.E().b(p.b()));
             }
             p.a(-1);
             q1 q = q1.A();
             if (q.A(h).A(p, ref num, null))
             {
                 b2.A().A(p);
             }
         }
     }
 }
Exemplo n.º 7
0
 public p1 L(d.a a, bool flag)
 {
     if (a is d.B)
     {
         foreach (p1 current in this.L())
         {
             if (current is Q1 && Q1.A(a.c(), current.b()))
             {
                 p1 result;
                 if (flag && current == this.A())
                 {
                     result = null;
                     return(result);
                 }
                 result = current;
                 return(result);
             }
         }
     }
     return(null);
 }
Exemplo n.º 8
0
 public virtual void b(XmlReader xmlReader, w1 w)
 {
     if (w == null)
     {
         throw new l1();
     }
     this.A = new Z1("0.0.0.0");
     this.B = null;
     this.b = null;
     this.A = false;
     if (xmlReader["GUID"] != "2FB25471-B62C-4EE6-BD43-F819C095ACF8")
     {
         throw new M1();
     }
     if (xmlReader["FORMAT"] != "0000")
     {
         throw new M1();
     }
     if (xmlReader["APP_VERSION"] != null)
     {
         this.A = new Z1(xmlReader["APP_VERSION"]);
     }
     w.A = this.A;
     if (Z1.c(this.A(), new Z1("2.1.0.2")))
     {
         this.A = true;
         this.B = xmlReader["CHECKSUM"];
         if (Z1.a(this.A(), new Z1("2.1.0.2")))
         {
             this.B = o.A(ulong.Parse(this.B));
         }
     }
     xmlReader.ReadStartElement("FRAME");
     this.A = new h2(xmlReader, w);
     if (this.A)
     {
         X1     x     = new X1();
         byte[] array = j2.A(this.A, x);
         this.b = new o(array).ToString();
         if (this.b != this.B)
         {
             if (Z1.b(this.A, j1.A()))
             {
                 throw new N1(this.A, j1.A());
             }
             if (K1.A().A().DefaultAuthorName != "PAPREPAIR")
             {
                 throw new m1();
             }
         }
     }
     using (IEnumerator <p1> enumerator = this.A().E().GetEnumerator())
     {
         while (enumerator.MoveNext())
         {
             Q1 q = (Q1)enumerator.Current;
             q.A(this.A);
         }
     }
     xmlReader.ReadEndElement();
     if (!xmlReader.EOF)
     {
         throw new M1();
     }
 }
Exemplo n.º 9
0
        public void A(h2 h, e2 e, bool flag)
        {
            this.A = h;
            if (h == null || h.F())
            {
                this.d();
                return;
            }
            this.A = e;
            if (e == null)
            {
                throw new l1();
            }
            m   m   = m.A();
            int num = 0;

            if (m.A(typeof(H2)) && !H2.A(m, out num))
            {
                throw new l1();
            }
            this.D();
            R1 r = q1.A().A(h);
            i1 i = r.A();
            k  k = e.L();

            this.A.A(i.A() && (k.A() || flag));
            this.a.A(i.a() && (k.A() || flag));
            this.c.A(k.a() && (k.C() || e.L(k.A())));
            this.D.A(k.A() == null);
            this.d.A(k.A() != null && this.c.A() && Q1.A(k.A().GetType()));
            this.E.A(k.E() && k.e());
            this.e.A(k.E());
            this.F.A(m.A().A(typeof(H2)));
            this.f.A(k.e());
            this.C.A(k.f());
            bool flag2 = false;

            if (k.a() && k.b())
            {
                this.E(new object[]
                {
                    "Symbol"
                });
            }
            else
            {
                if (k.a() && k.C())
                {
                    flag2 = true;
                    this.E(new object[]
                    {
                        "Verbindung"
                    });
                    this.c.A(new object[]
                    {
                        "Verbindungtext"
                    });
                    this.E.A(false);
                    this.e.A(false);
                }
                else
                {
                    this.E(new object[]
                    {
                        "Auswahl"
                    });
                }
            }
            if (num == 1)
            {
                this.F.A(new object[]
                {
                    "Symbol"
                });
            }
            else
            {
                if (num > 1)
                {
                    this.F.A(new object[]
                    {
                        "Auswahl"
                    });
                }
            }
            this.A.A(new object[]
            {
                i.A() ? (": " + i.A()) : ""
            });
            this.a.A(new object[]
            {
                i.a() ? (": " + i.a()) : ""
            });
            this.B.A(false);
            this.b.A(false);
            bool flag3 = false;

            if (k.a() && k.A() is d.B)
            {
                d.a a = k.A();
                this.B.A(new object[]
                {
                    a.c()
                });
                this.b.A(new object[]
                {
                    a.c()
                });
                p1 p = e.L(a, false);
                if (p != null)
                {
                    if (p != e.A())
                    {
                        this.b.A(true);
                        this.b.A(a);
                        flag3 = true;
                    }
                }
                else
                {
                    this.B.A(true);
                    this.B.A(a.c());
                }
            }
            if (this.d.A())
            {
                U.A().A(h, e, k.A());
            }
            this.b();
            if (!flag3)
            {
                this.b.a(false);
            }
            if (flag)
            {
                this.A.a(true);
                this.a.a(true);
            }
            if (this.D.A() && this.D.a())
            {
                t.A().A(h, e);
            }
            else
            {
                t.A().d();
            }
            if (this.E.A() || this.e.A() || this.F.A() || this.f.A())
            {
                this.E.a(!flag2);
                this.e.a(!flag2);
                this.F.a(true);
                this.f.a(true);
            }
        }