Example #1
0
        public void Init(string Caption, List <string> OldValues, List <string> RemapValues)
        {
            Text = Caption;

            this.panelLeft.Controls.Clear();
            this.panelRight.Controls.Clear();
            for (int i = 0; i < OldValues.Count; i++)
            {
                TKDropDown box = getCombo(OldValues, i, false);
                this.panelLeft.Controls.Add(box);
                refs.Add(box);
                box.Dock = DockStyle.Top;
                box.BringToFront();
            }

            for (int i = 0; i < RemapValues.Count; i++)
            {
                TKDropDown box = getCombo(RemapValues, 0, true);
                this.panelRight.Controls.Add(box);
                maps.Add(box);
                box.Dock = DockStyle.Top;
                box.BringToFront();
            }
        }