Пример #1
0
        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);
            }
        }
Пример #2
0
 public bool method_2(GClass28.GClass29 gclass29_1)
 {
     return(Operators.CompareString(gclass29_1.method_0(), gclass29_0.method_4(), false) == 0);
 }
Пример #3
0
 public bool method_5(GClass28.GClass29 gclass29_0)
 {
     return((Operators.CompareString(gclass29_0.method_0(), listViewItem_1.Text, false) == 0) & (gclass29_0.method_2() == PartyCode.Leader));
 }
Пример #4
0
 public bool method_4(GClass28.GClass29 gclass29_0)
 {
     return((Operators.CompareString(gclass29_0.method_0(), listViewItem_1.Text, false) == 0) & (gclass29_0.method_4() != null));
 }
Пример #5
0
 private bool method_9(GClass28.GClass29 gclass29_0)
 {
     return(Operators.CompareString(gclass29_0.method_0(), vmethod_0().SelectedItems[0].Text, false) == 0);
 }
Пример #6
0
 private bool method_8(GClass28.GClass29 gclass29_0)
 {
     return(Operators.CompareString(gclass29_0.method_0(), vmethod_4().SelectedItem.ToString(), false) == 0);
 }
Пример #7
0
 public bool method_1(GClass28.GClass29 gclass29_0)
 {
     return(Operators.CompareString(gclass29_0.method_4(), listViewItem_0.Text, false) == 0);
 }
Пример #8
0
        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));
                    }
                }
            }
        }