private void method_0(object sender, EventArgs e) { if (((vmethod_4().SelectedItem == null) & (vmethod_6().SelectedItem == null))) { return; } if (Operators.CompareString(vmethod_6().SelectedItem.ToString(), vmethod_4().SelectedItem.ToString(), false) == 0) { return; } IEnumerable <GClass28.GClass29> ienumerable = Enumerable.Where <GClass28.GClass29>(GClass28.hashSet_0, new Func <GClass28.GClass29, bool>(method_4)); if (Enumerable.Count <GClass28.GClass29>(ienumerable) == 3) { return; } GClass28.GClass29 gclass29_2 = Enumerable.FirstOrDefault <GClass28.GClass29>(GClass28.hashSet_0, new Func <GClass28.GClass29, bool>(method_5)); if (((gclass29_2.method_2() == PartyCode.Leader) & (Enumerable.Count <GClass28.GClass29>(ienumerable) == 3))) { return; } gclass29_2 = Enumerable.FirstOrDefault <GClass28.GClass29>(GClass28.hashSet_0, new Func <GClass28.GClass29, bool>(method_6)); if (gclass29_2.method_2() == PartyCode.Leader) { return; } GClass28.GClass29 gclass29_1 = Enumerable.FirstOrDefault <GClass28.GClass29>(GClass28.hashSet_0, new Func <GClass28.GClass29, bool>(method_7)); if (gclass29_1.method_2() != PartyCode.Follower) { gclass29_1.method_5(Conversions.ToString(vmethod_4().SelectedItem)); gclass29_1.method_3(PartyCode.Follower); } GClass28.GClass29 gclass29_3 = Enumerable.FirstOrDefault <GClass28.GClass29>(GClass28.hashSet_0, new Func <GClass28.GClass29, bool>(method_8)); if (gclass29_3.method_2() != PartyCode.Leader) { gclass29_3.method_3(PartyCode.Leader); } }
private void method_2(object sender, EventArgs e) { IEnumerator <GClass28.GClass29> ienumerator; IEnumerator <GClass28.GClass29> ienumerator1; if (vmethod_0().SelectedItems.Count > 0) { PartyForm.Class17 class17 = new PartyForm.Class17(); class17.gclass29_0 = Enumerable.FirstOrDefault <GClass28.GClass29>((PartyCode)GClass28.hashSet_0, new Func <GClass28.GClass29, bool>(method_9)); if (class17.gclass29_0 != null) { if (class17.gclass29_0.method_2() == PartyCode.Leader) { IEnumerable <GClass28.GClass29> ienumerable1 = Enumerable.Where <GClass28.GClass29>((PartyCode)GClass28.hashSet_0, new Func <GClass28.GClass29, bool>(class17, class17.method_0)); try { ienumerator1 = ienumerable1.GetEnumerator(); while (ienumerator1.MoveNext()) { GClass28.GClass29 gclass29_1 = ienumerator1.get_Current(); gclass29_1.method_3(PartyCode.None); gclass29_1.method_5(Conversions.ToString(2)); } } finally { if (ienumerator1 != null) { ienumerator1.Dispose(); } } class17.gclass29_0.method_3(PartyCode.None); class17.gclass29_0.method_5(Conversions.ToString(2)); } if (class17.gclass29_0.method_2() == PartyCode.Follower) { IEnumerable <GClass28.GClass29> ienumerable = Enumerable.Where <GClass28.GClass29>(GClass28.hashSet_0, new Func <GClass28.GClass29, bool>(class17, class17.method_1)); GClass28.GClass29 gclass29_2 = Enumerable.FirstOrDefault <GClass28.GClass29>(GClass28.hashSet_0, new Func <GClass28.GClass29, bool>(class17, class17.method_2)); gclass29_2.method_3(PartyCode.None); gclass29_2.method_5(Conversions.ToString(2)); try { ienumerator = ienumerable.GetEnumerator(); while (ienumerator.MoveNext()) { GClass28.GClass29 gclass29_3 = ienumerator.get_Current(); gclass29_3.method_3(PartyCode.None); gclass29_3.method_5(Conversions.ToString(2)); } } finally { if (ienumerator != null) { ienumerator.Dispose(); } } class17.gclass29_0.method_3(PartyCode.None); class17.gclass29_0.method_5(Conversions.ToString(2)); } } } }