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