ME3Explorer.Texplorer2.DrawPCCList C# (CSharp) Method

DrawPCCList() private method

private DrawPCCList ( int index ) : void
index int
return void
        private void DrawPCCList(int index)
        {
            TreeTexInfo tex = Tree.GetTex(index);
            PCCsCheckedListBox.Items.Clear();
            PCCsCheckedListBox.Items.Add("Select All", (tex.Files.Count == tex.OriginalFiles.Count ? true : false));
            for (int i = 0; i < tex.OriginalFiles.Count; i++)
            {
                bool isChecked = false;
                for (int j = 0; j < tex.Files.Count; j++)
                {
                    if (tex.OriginalFiles[i] == tex.Files[j])
                    {
                        isChecked = true;
                        break;
                    }
                }
                PCCsCheckedListBox.Items.Add(tex.OriginalFiles[i] + "      @" + tex.OriginalExpIDs[i], isChecked);
            }
        }
Texplorer2