void FillLists()
        {
            llLeft.SuspendRedraw  = true;
            llRight.SuspendRedraw = true;
            llLeft.ClearItems();
            llRight.ClearItems();
            int num = _myPetPowers.Count - 1;

            for (int index = 0; index <= num; ++index)
            {
                ListLabelV2.LLItemState     iState = !MidsContext.Character.CurrentBuild.PowerUsed(_myPetPowers[index]) ? (!(_myPetPowers[index].PowerType != Enums.ePowerType.Click | _myPetPowers[index].ClickBuff) ? (!_myPetPowers[index].SubIsAltColour ? ListLabelV2.LLItemState.Disabled : ListLabelV2.LLItemState.Invalid) : ListLabelV2.LLItemState.Enabled) : ListLabelV2.LLItemState.Selected;
                ListLabelV2.ListLabelItemV2 iItem  = !MidsContext.Config.RtFont.PairedBold ? new ListLabelV2.ListLabelItemV2(_myPetPowers[index].DisplayName, iState) : new ListLabelV2.ListLabelItemV2(_myPetPowers[index].DisplayName, iState, -1, -1, -1, "", ListLabelV2.LLFontFlags.Bold);
                if (index >= _myPetPowers.Count / 2.0)
                {
                    llRight.AddItem(iItem);
                }
                else
                {
                    llLeft.AddItem(iItem);
                }
            }
            llLeft.SuspendRedraw  = false;
            llRight.SuspendRedraw = false;
            llLeft.Refresh();
            llRight.Refresh();
        }
        public void FillLists()
        {
            LLLeft.SuspendRedraw  = true;
            LLRight.SuspendRedraw = true;
            LLLeft.ClearItems();
            LLRight.ClearItems();
            int[] keys = new int[myPowers.Length - 1 + 1];
            if (myPowers.Length < 2)
            {
                int num = myPowers.Length - 1;
                for (int index = 0; index <= num; ++index)
                {
                    keys[index] = myPowers[index].StaticIndex;
                }
            }
            else if (myPowers[0].DisplayLocation != myPowers[1].DisplayLocation)
            {
                int num = myPowers.Length - 1;
                for (int index = 0; index <= num; ++index)
                {
                    keys[index] = myPowers[index].DisplayLocation;
                }
            }
            else
            {
                int num = myPowers.Length - 1;
                for (int index = 0; index <= num; ++index)
                {
                    keys[index] = myPowers[index].StaticIndex;
                }
            }
            Array.Sort(keys, myPowers);
            int num1 = myPowers.Length - 1;

            for (int index = 0; index <= num1; ++index)
            {
                ListLabelV2.LLItemState     iState = !MidsContext.Character.CurrentBuild.PowerUsed(myPowers[index]) ? myPowers[index].DisplayName != "Nothing" ? ListLabelV2.LLItemState.Enabled : ListLabelV2.LLItemState.Disabled : ListLabelV2.LLItemState.Selected;
                ListLabelV2.ListLabelItemV2 iItem  = !MidsContext.Config.RtFont.PairedBold ? new ListLabelV2.ListLabelItemV2(myPowers[index].DisplayName, iState) : new ListLabelV2.ListLabelItemV2(myPowers[index].DisplayName, iState, -1, -1, -1, "", ListLabelV2.LLFontFlags.Bold);
                if (index >= myPowers.Length / 2.0)
                {
                    LLRight.AddItem(iItem);
                }
                else
                {
                    LLLeft.AddItem(iItem);
                }
            }
            LLLeft.SuspendRedraw  = false;
            LLRight.SuspendRedraw = false;
            LLLeft.Refresh();
            LLRight.Refresh();
        }