public S1(string text, p1 p, v1 v) { this.A(); this.Font = d2.a().Font; this.A = p; this.A = v; this.A.MaxLength = 64; this.A = this.A.BackColor; if (!string.IsNullOrEmpty(text)) { this.Text = text; } this.A.Text = p.b(); this.B.Text = ((p == null) ? "" : p.J().ToString("dd.MM.yy HH:mm")); this.a.Text = ((p == null) ? "" : p.j().ToString("dd.MM.yy HH:mm")); this.A.Checked = p.E(); this.A(); }
private void A(object obj, MouseEventArgs mouseEventArgs) { this.B = true; TreeNode nodeAt = this.A.GetNodeAt(mouseEventArgs.Location); p1 p = this.A(nodeAt, true); if (p != null && !p.J()) { if (p != this.A()) { this.A(p); } this.A = this.A(p); this.A = p; this.b = false; this.a = null; this.a(obj, mouseEventArgs); } }
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); } }
private void A(object obj, PrintPageEventArgs printPageEventArgs) { Graphics graphics = printPageEventArgs.Graphics; p1 p = this.A.E().B(this.A); s1 s = this.A[this.A]; s.f(graphics); graphics.DrawRectangle(new Pen(Color.Black), printPageEventArgs.MarginBounds); bool flag = p.E(); string str = flag ? "Project" : "Projekt"; string text = flag ? "File" : "Datei"; string text2 = flag ? "Author" : "Ersteller"; string text3 = flag ? "Diagram" : "Diagramm"; string text4 = flag ? "Created" : "Erstellt"; string text5 = flag ? "Modified" : "GeƤndert"; string text6 = str + ": " + this.A.b(); if (!string.IsNullOrEmpty(this.A.f())) { string text7 = text6; text6 = string.Concat(new string[] { text7, "\n", text, ": ", Path.GetFileName(this.A.f()) }); } if (!string.IsNullOrEmpty(this.A.E())) { string text8 = text6; text6 = string.Concat(new string[] { text8, "\n", text2, ": ", this.A.E() }); } string text9 = text6; text6 = string.Concat(new string[] { text9, "\n", text3, ": ", s.A().b() }); string text10 = p.J().ToString("dd.MM.yy"); if (!string.IsNullOrEmpty(text10)) { string text11 = text6; text6 = string.Concat(new string[] { text11, "\n", text4, ": ", text10 }); } string text12 = p.j().ToString("dd.MM.yy"); if (!string.IsNullOrEmpty(text12)) { string text13 = text6; text6 = string.Concat(new string[] { text13, " ", text5, ": ", text12 }); } Font font = global::c.C.A(); StringFormat stringFormat = new StringFormat(); SizeF sizeF = graphics.MeasureString(text6, font, new Point(0, 0), stringFormat); Rectangle rect = new Rectangle(printPageEventArgs.MarginBounds.Location, sizeF.ToSize()); int num = 3; rect.Width += num * 2; rect.Height += num * 2; rect.X += printPageEventArgs.MarginBounds.Width - rect.Width; rect.Y += printPageEventArgs.MarginBounds.Height - rect.Height; graphics.DrawRectangle(new Pen(Color.Black), rect); Point p2 = new Point(rect.X + num, rect.Y + num); graphics.DrawString(text6, font, global::c.C.A, p2); Rectangle marginBounds = printPageEventArgs.MarginBounds; marginBounds.Height -= rect.Height; if (this.A == 0f && !K1.A().A().SeparatePrintPageScaling) { this.A = 3.40282347E+38f; s1[] array = this.A; for (int i = 0; i < array.Length; i++) { s1 s2 = array[i]; float val = 0f; Point point; s2.g(marginBounds, ref val, out point, false); this.A = Math.Min(this.A, val); } } B1 b = p.G(s, graphics, a1.Paper, false); s.H(marginBounds, this.A, b); printPageEventArgs.HasMorePages = (++this.A <= this.a); }