Exemple #1
0
        void AddInstList(int indexIGEN, int indent, Color?background)
        {
            ListViewItem l = lv.Items.Add(
                new ListViewItem(
                    new string[] { AudioModule.hyde.igen[indexIGEN].Generator.ToString(), GetInstString(indexIGEN), AudioModule.GetGenValueType(indexIGEN).ToString() },
                    GetInstImageKey(indexIGEN)
                    ));

            l.IndentCount = indent;
            if (background != null)
            {
                l.BackColor = background.Value;
            }
        }