コード例 #1
0
        private void A(h2 h, p1 p)
        {
            this.A = h;
            string str = h.e() ? "" : "Projekt ";

            this.Text = this.A + " " + str + h.b();
            this.A.Items.Clear();
            int startPage = 0;
            int num       = 0;

            foreach (p1 current in h.E())
            {
                if (current == p)
                {
                    startPage = num;
                }
                this.A.Items.Add(string.Concat(new object[]
                {
                    "",
                    ++num,
                    ": ",
                    current.b()
                }));
            }
            this.A.InvalidatePreview();
            this.A.StartPage = startPage;
            this.a();
        }
コード例 #2
0
ファイル: D2.cs プロジェクト: hakanaku2009/svn-dump
 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);
 }
コード例 #3
0
ファイル: B2.cs プロジェクト: hakanaku2009/svn-dump
 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());
     }
 }
コード例 #4
0
ファイル: I2.cs プロジェクト: hakanaku2009/svn-dump
 public i2(string text, h2 h, v1 v)
 {
     this.A();
     this.Font        = d2.a().Font;
     this.A           = h;
     this.A           = v;
     this.A.MaxLength = 64;
     this.a.MaxLength = 64;
     this.A           = this.A.BackColor;
     this.A           = this.a.Text;
     this.A           = new Control[]
     {
         this.A,
         this.a
     };
     if (!string.IsNullOrEmpty(text))
     {
         this.Text = text;
     }
     this.A.Text    = h.b();
     this.a.Text    = h.E();
     this.c.Text    = h.f();
     this.D.Text    = h.E().ToString("dd.MM.yy HH:mm");
     this.E.Text    = h.e().ToString("dd.MM.yy HH:mm");
     this.A         = h.E();
     this.A.Checked = V.B(this.A, null);
     this.A.Enabled = !h.e();
     this.A.Visible = !K1.A().A().SuppressProjectProtectionSwitch;
     if (h.E())
     {
         this.A.Text = "";
         if (string.IsNullOrEmpty(this.a.Text))
         {
             this.a.Text = K1.A().A().DefaultAuthorName;
         }
         this.A.Enabled = false;
     }
 }
コード例 #5
0
 public e1(h2 h, string text) : base(h, text)
 {
     this.A = h.b();
     this.a = h.E();
 }