Beispiel #1
0
 private void B(h2 h)
 {
     h.b(new P1 <h2> .a(this.A));
     h.e(new h2.a(this.A));
     h.E().b(new W1 <p1> .a(this.A));
     h.E().c(new W1 <p1> .a(this.a));
     h.E().d(new W1 <p1> .a(this.A));
     h.E().f(new W1 <p1> .a(this.B));
     if (h.F() != null)
     {
         this.A.A(h.F());
     }
 }
Beispiel #2
0
        private void a(object obj, MouseEventArgs mouseEventArgs)
        {
            if (this.A == null)
            {
                return;
            }
            if (mouseEventArgs != null)
            {
                this.a = this.A.GetNodeAt(mouseEventArgs.Location);
            }
            h2 h = this.A(this.a, true);

            if (h == null)
            {
                p1 p = this.A(this.a, true);
                h = this.A(p);
            }
            if (h == null || h.F())
            {
                this.Cursor = Cursors.No;
                return;
            }
            if (this.b || h != this.A)
            {
                this.Cursor = X.A().D();
                return;
            }
            this.Cursor = X.A().c();
        }
Beispiel #3
0
 public void a(h2 h)
 {
     if (h != null)
     {
         this.Text = j1.a() + " - " + h.b();
         if (h.F() == null)
         {
             this.Text = j1.a() + " - " + h.b();
         }
         else
         {
             this.Text = j1.a() + " - " + Path.GetFileName(h.F());
         }
     }
     else
     {
         this.Text = j1.a();
     }
     this.C.Enabled = (h != null);
     this.b.Enabled = (h != null);
 }
Beispiel #4
0
        public void A(h2 h)
        {
            this.A = h;
            bool flag = R.A(this.a);

            this.D();
            bool flag2 = h != null && !h.F();

            this.A.A(flag2);
            this.a.A(flag2 && flag);
            this.b();
        }
Beispiel #5
0
 public void a(h2 h)
 {
     foreach (TabPage tabPage in this.A.TabPages)
     {
         e2 e = this.A(tabPage) as e2;
         if (e != null)
         {
             e.M(!h.F());
             e.l();
         }
     }
 }
Beispiel #6
0
 private void B(object obj, MouseEventArgs mouseEventArgs)
 {
     this.a(null, null);
     try
     {
         if (this.A != null)
         {
             if (mouseEventArgs != null)
             {
                 this.a = this.A.GetNodeAt(mouseEventArgs.Location);
             }
             h2 h = this.A(this.a, true);
             p1 p = this.A(this.a, true);
             if (h == null)
             {
                 h = this.A(p);
             }
             if (h != null && !h.F() && p != this.A)
             {
                 if (this.b || h != this.A)
                 {
                     r.A();
                     byte[] array = null;
                     if (r.A(this.A, this.A, ref array))
                     {
                         int num = h.E(p) + 1;
                         R.A(h, array, num);
                     }
                 }
                 else
                 {
                     int num2 = this.A.E(p) + 1;
                     q1  q    = q1.A();
                     q.A(this.A).A(this.A, num2);
                 }
             }
         }
     }
     finally
     {
         this.B(null, null);
         this.B = false;
         if (this.B != null)
         {
             this.A(this.B);
             this.B = null;
         }
     }
 }
Beispiel #7
0
        public void A(h2 h, p1 p)
        {
            this.A = h;
            this.A = p;
            bool flag  = h != null && !h.F();
            bool flag2 = flag && p != null && !p.J();
            bool flag3 = flag2 && !z1.A();
            bool flag4 = this.A();

            this.c(flag2, flag2);
            this.a.A(flag3 && flag4);
            this.B.A(flag3);
            this.C.A(flag3);
            this.b();
            if (this.B.A() || this.b.A() || this.C.A())
            {
                this.B.a(true);
                this.b.a(true);
                this.C.a(true);
            }
        }
Beispiel #8
0
        public void A(h2 h, bool flag)
        {
            this.A = h;
            bool flag2 = h.g();
            bool flag3 = flag2;

            if (!flag3)
            {
                foreach (h2 current in this.A.A())
                {
                    if (current.g())
                    {
                        flag3 = true;
                        break;
                    }
                }
            }
            this.D();
            this.A.A(h != null);
            this.a.A(flag2);
            this.B.A(h != null);
            this.b.A(flag3);
            this.C.A(h != null);
            this.c.A(this.A.A().B() > 1);
            this.D.A(h != null && this.A.a(h, true));
            this.b.a(flag && this.A.A().B() > 1);
            this.c.a(flag && this.A.A().B() > 1);
            if (h.F())
            {
                this.a.a(h.f());
                this.B.a(h.f());
                this.b.a(h.f());
                this.D.a(false);
            }
            this.C.A(new object[]
            {
                h.e() ? "Tutorial" : "Project"
            });
        }
Beispiel #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);
            }
        }