public override void A(bool flag) { try { if (this.A != null) { this.a = Rectangle.Empty; this.C = false; this.A.E(this.B); this.A.A(); this.A = null; } if (flag) { this.A.L(null); string str = (this.A.a() > 1) ? "Auswahl" : "Symbol"; if (this.B) { this.A.L().A(this.A, this.a(), this.A, str + " repliziern"); } else { this.A.L().a(this.A, this.A, this.A, str + " verschieben"); } } } finally { base.A(flag); } }
public bool A(p1 p, ref int ptr, H2 h) { this.A(p); g1 g = new H1(this.A, p, "Diagramm einfĂĽgen"); bool flag = false; try { flag = true; if (ptr < 0) { ptr = this.A().E(); } this.A().E(p, ptr); if (h != null) { ((Q1)p).A(h); } } catch (Exception ex) { g.a(); n1.A(ex); } if (flag) { flag = this.A.A(g); } return(flag); }
public j(e2 e, MouseEventArgs mouseEventArgs, KeyEventArgs keyEventArgs, bool flag, bool flag2) : base(e, keyEventArgs) { this.A = e.L().A(); this.A = this.A.A(); this.A = flag; this.a = flag2; if (e.A().J()) { throw new l1(); } if (this.A == null) { throw new l1(); } if (this.A.A() == null) { throw new l1(); } if (mouseEventArgs == null) { throw new l1(); } this.A = e.L(this.A.A()); Bitmap bitmap = e2.L(e, this.A); this.A = new I(bitmap, 0.5f); this.c(mouseEventArgs); this.B(); }
public override void d(MouseEventArgs mouseEventArgs) { bool flag = global::a.F.B(this.A, null) && mouseEventArgs.Button == MouseButtons.Left; this.A(flag); this.A = null; }
public bool A(e2 e, H2 h, Q1 q, string text) { Q1 q2 = e.L(); q2.A(h); H2 h2 = h.A(); E1 e2 = this.A.A(this.A, text); try { if (!this.A(e, h, q.b(), text)) { throw new InvalidOperationException(); } int num = -1; if (!this.A(q, ref num, h2)) { throw new InvalidOperationException(); } this.A.A(e2); } catch (Exception ex) { this.A.a(e2); e.C(); n1.A(ex); } return(true); }
public void A(H2 h) { this.A = null; if (h != null) { if (h.a() == 0 && h.c() == 0) { throw new l1(); } if (h.c()) { throw new l1(); } } if (this.A != h) { if (this.A != null) { this.A.C(); } this.A = h; this.a(); if (this.A != null) { this.A.C(); } } }
private new H2 a() { if (this.a == null) { this.a = this.A.A(); this.a.a(); } return(this.a); }
public override void e() { if (K1.A().A().ToolCursorExitOnLeave) { H2 h = this.A.L().A(); this.A(false); this.A.L().A(h); } }
private void e(object arg, EventArgs eventArgs) { H2 h = H2.a(); if (this.A == h.A() && this.a == this.A.L().A()) { this.A = -1; } else { h.a(); } this.A.l(); this.A.L(new y(h, this.A, "" + arg)); }
public y(H2 h, e2 e, string text) : base(e) { if (e.A().J()) { throw new l1(); } this.A = h; if (h == null) { throw new l1(); } this.A = text; this.A = X.A().a(); e.Cursor = this.A; }
private new void a() { Point point = this.A.l(this.B); point += this.A; F f = this.A.L().A().A(point); if (global::a.F.a(this.a, f) && this.b == this.B) { return; } this.a = f; this.b = this.B; bool flag = false; if (global::a.F.B(f, null) && f.a() && this.A.L().A().A(this.A) == f.a()) { flag = true; f = null; } if (global::a.F.B(f, null)) { if (this.B) { if (!this.A.L().A(this.a(), f)) { f = null; } } else { if (!this.A.L().A(this.A.L(), f)) { f = null; } } } if (global::a.F.B(f, null) || flag) { this.A.Cursor = (this.B ? X.A().b() : X.A().C()); } else { this.A.Cursor = Cursors.No; } this.A.L(this.A = f); }
public bool A(e2 e, H2 h, F f, string text) { try { if (h == null) { throw new l1(); } if (h.a() == 0) { throw new l1(); } if (h.A() == null) { throw new l1(); } if (!h.c()) { throw new l1(); } } catch (Exception ex) { n1.A(ex); return(false); } byte[] array = this.A(e.A()); g1 g = new g1(this.A, e, array, text); bool flag = false; try { e.L().A(h, f); flag = true; } catch (Exception ex2) { g.a(); e.C(); n1.A(ex2); } if (flag) { flag = this.A(e, g); } return(flag); }
private static void L(object obj, CancelEventArgs cancelEventArgs) { e2 e = e2.A.Tag as e2; if (e != null) { global::c.a a = e.L().A(); H2 h = e.L().A(); e.l(); if (h != null) { e.L().A(h); return; } e.L().A(a); } }
public override void c(MouseEventArgs mouseEventArgs) { this.a = null; base.c(mouseEventArgs); if (this.A.HasValue) { this.A(false); return; } this.a(); Point point = this.A.l(this.B); this.A = new Size(this.A.d() - point.X, this.A.G() - point.Y); this.a = this.A; this.C = true; this.A.E(this.a); this.A = new Point?(this.B); }
public override void D(MouseEventArgs mouseEventArgs) { base.D(mouseEventArgs); if (!this.A) { this.B.X = this.A.X; } if (!this.a) { this.B.Y = this.A.Y; } this.a(); Point value = this.A.Value; this.a.Offset(this.B.X - value.X, this.B.Y - value.Y); this.A.E(this.B); this.A.E(this.a); this.A = new Point?(new Point(this.B.X, this.B.Y)); }
public override void A(bool flag) { this.A.L(this.A); if (this.A.Width <= 0 || this.A.Height <= 0) { flag = false; } base.A(flag); if (!(this.A.L() is A1)) { throw new l1(); } if (flag) { H2 h = new H2(this.A.L().A(), this.A.l(this.A), true); if (h.a() > 0) { this.A.L().A(h); } } }
public bool A(e2 e, H2 h, string text, string text2) { byte[] array = this.A(e.A()); g1 g = new g1(this.A, e, array, text2); bool flag = false; try { e.L().A(h, text); flag = true; } catch (Exception ex) { g.a(); n1.A(ex); } if (flag) { flag = this.A.A(g); } e.C(); return(flag); }
public new bool A(H2 h, F f) { return(new F2.A(h, this, f).A()); }
private bool a() { int num; int num2; if (this.A.A(this.A, out this.A, out this.a, out num, out num2)) { this.A = this.A.A().A(); this.B = this.A.A().Width - this.A.X - 1; this.b = this.A.X; this.C = this.A.A().Height - this.A.Y - 1; this.c = this.A.Y; this.A = this.A.E(this.A, this.a); if ((this.A.A() == null && this.A.A() == null) || !this.A.A(this.A.A()) || this.A.A(this.A.A()).Y == this.A.B()) { this.A = true; int num3 = 0; for (int i = 0; i < this.A.A().Width; i++) { d.a a = this.A.A().A(i, num3); if (a != null && !(a is d.A) && !(a is global::b.A)) { this.A = false; break; } } this.a = true; num3 = this.A.A().Height - 1; for (int j = 0; j < this.A.A().Width; j++) { d.a a2 = this.A.A().A(j, num3); if (a2 != null && !(a2 is d.A) && !(a2 is E.A)) { this.a = false; break; } } Point point = new Point(this.A.a(), this.A.B()); if (this.A(point.X) == G2.None && this.A(point.Y, this.A.Y) == G2.None && !this.A(point.X, point.Y)) { if (this.A.A() != null) { for (int k = -1; k >= -this.c; k--) { if (!this.A(k, false, true)) { return(false); } } } if (this.A.A() != null) { for (int l = 1; l <= this.C; l++) { if (!this.A(l, false, true)) { return(false); } } } return(true); } } } if (num >= 0) { this.A.f(num); } if (num2 >= 0) { this.A.G(num2); } return(false); }
public A(H2 h, F2 f, F f2) { this.A = h; this.A = f; this.A = f2; }
public void A(h2 h, e2 e, bool flag) { this.A = h; if (h == null || h.F()) { this.d(); return; } this.A = e; if (e == null) { throw new l1(); } m m = m.A(); int num = 0; if (m.A(typeof(H2)) && !H2.A(m, out num)) { throw new l1(); } this.D(); R1 r = q1.A().A(h); i1 i = r.A(); k k = e.L(); this.A.A(i.A() && (k.A() || flag)); this.a.A(i.a() && (k.A() || flag)); this.c.A(k.a() && (k.C() || e.L(k.A()))); this.D.A(k.A() == null); this.d.A(k.A() != null && this.c.A() && Q1.A(k.A().GetType())); this.E.A(k.E() && k.e()); this.e.A(k.E()); this.F.A(m.A().A(typeof(H2))); this.f.A(k.e()); this.C.A(k.f()); bool flag2 = false; if (k.a() && k.b()) { this.E(new object[] { "Symbol" }); } else { if (k.a() && k.C()) { flag2 = true; this.E(new object[] { "Verbindung" }); this.c.A(new object[] { "Verbindungtext" }); this.E.A(false); this.e.A(false); } else { this.E(new object[] { "Auswahl" }); } } if (num == 1) { this.F.A(new object[] { "Symbol" }); } else { if (num > 1) { this.F.A(new object[] { "Auswahl" }); } } this.A.A(new object[] { i.A() ? (": " + i.A()) : "" }); this.a.A(new object[] { i.a() ? (": " + i.a()) : "" }); this.B.A(false); this.b.A(false); bool flag3 = false; if (k.a() && k.A() is d.B) { d.a a = k.A(); this.B.A(new object[] { a.c() }); this.b.A(new object[] { a.c() }); p1 p = e.L(a, false); if (p != null) { if (p != e.A()) { this.b.A(true); this.b.A(a); flag3 = true; } } else { this.B.A(true); this.B.A(a.c()); } } if (this.d.A()) { U.A().A(h, e, k.A()); } this.b(); if (!flag3) { this.b.a(false); } if (flag) { this.A.a(true); this.a.a(true); } if (this.D.A() && this.D.a()) { t.A().A(h, e); } else { t.A().d(); } if (this.E.A() || this.e.A() || this.F.A() || this.f.A()) { this.E.a(!flag2); this.e.a(!flag2); this.F.a(true); this.f.a(true); } }