Example #1
0
        private void A(p1 p, int num)
        {
            TabPage tabPage = new TabPage(p.b());

            tabPage.Tag        = p;
            tabPage.ImageIndex = -1;
            if (p is Q1)
            {
                E2 e = new E2();
                e.Dock = DockStyle.Fill;
                e.A().L((Q1)p);
                tabPage.Controls.Add(e);
                if (num < this.A.TabCount)
                {
                    this.A.TabPages.Insert(num, tabPage);
                }
                else
                {
                    this.A.TabPages.Add(tabPage);
                }
                this.A.Add(p, tabPage);
                p.B(new P1 <p1> .a(this.A));
                this.a();
                return;
            }
            throw new l1();
        }
Example #2
0
 private void e(p1 p, int num)
 {
     p.B(new P1 <p1> .a(this.E));
     this.A.A(p);
     p.h(this.F());
 }