Exemple #1
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"
            });
        }