internal void m00021e(c000112 p0, ListBoxBase p1) { if (this.f000018 != null) { this.f000018(p0, p1, this); } }
public c000112 m0001fa(c000112 p0) { p0.f000028 = this; p0.f000017 = null; base.m00008a().Add(p0); base.m0003ae(); return p0; }
public void m0003db(c000112 p0) { int num = this.m0003e0(p0); int num2 = this.m0000f0(); if ((num + 1) > (this.f00000b + num2)) { this.f00000b = (1 + num) - num2; } else if ((num > -1) && (num < this.f00000b)) { this.f00000b = Math.Max(0, num); } this.f000017.m0002d6(this.f00000b); }
protected int m0003da(c000112 p0) { int num = 0; using (List<c000112>.Enumerator enumerator = this.f00005b.GetEnumerator()) { Label_0010: if (enumerator.MoveNext()) { int num2 = enumerator.Current.m000206(ref num, p0); if (num2 == -1) { goto Label_0010; } return num2; } } return -1; }
public c000112 m0003d4(int p0, string p1, object p2) { c000112 item = new c000112(p1, p2); item.f000028 = this; item.f000017 = null; this.f00005b.Insert(p0, item); this.m0003ae(); if (!(base.m000191() || !this.m00018f())) { this.m0003de(); } return item; }
public void m0003d5(c000112 p0) { if (this.f000078.Contains(p0)) { this.f000078.Remove(p0); } int num = this.m0002d5(); if (((this.f00000b + base.f000033) - 1f) > num) { this.f00000b = num - ((int) (base.f000033 - 1f)); } if (this.f00000b < 0) { this.f00000b = 0; } p0.m0000af(); this.m0003ae(); this.m0003de(); if (!base.m000191()) { this.m0003dd(); } }
public void m0000af() { for (int i = this.f00005b.Count - 1; i > -1; i--) { this.f00005b[i].f000017 = null; if (null != (this.f000028 as c000130)) { ((c000130) this.f000028).m0001fa(this.f00005b[i]); } } if (this.f000017 == null) { if (null != (this.f000028 as ListBoxBase)) { ((ListBoxBase) this.f000028).f00005b.Remove(this); } } else { this.f000017.f00005b.Remove(this); this.f000017.m0000ae(); } if (((ListBoxBase) this.f000028).m00004f() == this) { ((ListBoxBase) this.f000028).m00006e(null); } this.f000028 = null; this.f000017 = null; }
public void m0003d1(c000112 p0, bool p1) { bool flag = (p0 == null) && (this.f000078.Count == 0); bool flag2 = this.f000078.Contains(p0); bool flag3 = (this.f000078.Count > 1) && !p1; bool flag4 = !flag && !flag2; if (flag4 | flag3) { if (!p1) { this.f000078.Clear(); } if (p0 != null) { this.f000078.Add(p0); } if (this.f000207 != null) { this.f000207(this); } if (this.f000206 != null) { this.f000206(this); } if (this.m0003cb() && (this.f000208 != null)) { this.f000208(this); } } this.m0003db(p0); if (!base.m000191()) { if (this.f00002c != null) { this.m0003dc(); } this.m0003dc(); this.m0003de(); } }
public virtual c000112 m0001f9(string p0, object p1) { c000112 item = new c000112(p0, p1); item.f000028 = this; item.f000017 = null; this.f00005b.Add(item); this.m0003ae(); if (!(base.m000191() || !this.m00018f())) { this.m0003de(); this.m0003d8(); this.m0003dd(); } if (this.f000156 == Sorting.f000157) { this.m0003af(); } return item; }
public c000112 m0001fa(c000112 p0) { if (p0.f000017 != null) { p0.m000047(); } if (p0.f000028 is ListBoxBase) { ((ListBoxBase) p0.f000028).m00008a().Remove(p0); } p0.f000028 = this.f000028; p0.f000017 = this; this.f00005b.Add(p0); this.m0000ae(); if (null != (this.f000028 as ListBoxBase)) { ((ListBoxBase) this.f000028).m0003ae(); } return p0; }
public int m000206(ref int p0, c000112 p1) { if (p1 == this) { return p0; } p0++; if (this.f00000a) { using (List<c000112>.Enumerator enumerator = this.f00005b.GetEnumerator()) { Label_003A: if (enumerator.MoveNext()) { int num = enumerator.Current.m000206(ref p0, p1); if (num == -1) { goto Label_003A; } return num; } } } return -1; }
public void m0003d1(c000112 p0, bool p1) { this.f000026.m0003d1(p0, p1); }
public bool m000202(c000112 p0) { for (c000112 c = this.f000017; c != null; c = c.f000017) { if (c == p0) { return true; } } return false; }
public bool m0001fe(ref int p0, c000112 p1) { if (p1 == this) { return true; } p0++; if (this.f00000a) { for (int i = 0; i < this.f00005b.Count; i++) { if (this.f00005b[i].m0001fe(ref p0, p1)) { return true; } } } return false; }
public bool m0001fb(c000112 p0) { for (int i = 0; i < this.f00005b.Count; i++) { if ((this.f00005b[i] == p0) || this.f00005b[i].m0001fb(p0)) { return true; } } return false; }
private int m0003e0(c000112 p0) { int num = 0; for (int i = 0; i < this.f00005b.Count; i++) { if (this.f00005b[i].m0001fe(ref num, p0)) { return num; } } return -1; }
public bool m000202(c000112 p0) { int num = this.m0003e0(p0); return ((num >= this.f00000b) && (num < (this.f00000b + this.m0000f0()))); }
public void m00006e(c000112 p0) { this.m0003d1(p0, false); }
public c000112 m0001f9(string p0, object p1) { c000112 item = new c000112(p0, p1); item.f000028 = this.f000028; item.f000017 = this; this.f00005b.Add(item); this.m0000ae(); if (null != (this.f000028 as ListBoxBase)) { ((ListBoxBase) this.f000028).m0003ae(); } return item; }
public bool m0001fb(c000112 p0) { using (List<c000112>.Enumerator enumerator = this.f00005b.GetEnumerator()) { Label_000D: if (enumerator.MoveNext()) { c000112 current = enumerator.Current; if ((current != p0) && !current.m0001fb(p0)) { goto Label_000D; } return true; } } return false; }
private void m0003dd() { this.f000026.m00036a(); this.f000026.m000094(""); this.f000017 = this.f000026.m000200(""); this.f000026.m000094("Desktop"); this.f000026.m000094("My Computer"); this.f000026.m000094("My Documents"); if (!(((!(this.m000195() != "My Documents") || !(this.m000195() != "Desktop")) || !(this.m000195() != "My Computer")) || this.m0000e1(this.m000195()))) { this.f000017.m00007f(this.m000195()); } if ((this.f000078 != null) && (this.f000078.Count != 0)) { this.f000026.m000094("---------------"); foreach (string str in this.f000078) { this.f000026.m000094(str); } } }
public void m0003cd(c000112 p0, ListBoxBase p1, c00012e p2) { if (p2.f000006 == "$FRB_PLUS_BOX") { p0.m000031(); } else if (p2.f000006 == "$FRB_MINUS_BOX") { p0.m000001(); } p1.m0003ae(); }
public void m000047() { ListBoxBase base2 = this.f000028 as ListBoxBase; if (this.f000017 != null) { this.f000017.f00005b.Remove(this); this.f000017.m0000ae(); this.f000017 = null; } if (!base2.m00008a().Contains(this)) { base2.m00008a().Add(this); } this.f000028 = base2; }