private void LBA2Slate_populateCBO(ComboBox cb) { NameValue[] sv = new NameValue[6]; sv[0] = new NameValue(255, "None"); sv[1] = new NameValue(5, "Citadel Sewers"); sv[2] = new NameValue(7, "Dome of the Slate"); sv[3] = new NameValue(9, "Emerald Moon"); sv[4] = new NameValue(21, "Zeelich cross section"); sv[5] = new NameValue(33, "Island CX Base"); cb.Items.AddRange(sv); cb.Tag = sv; }
private void LBA2Othr_populateWeapons() { LBA2Othr_cboWeapon.Items.Clear(); NameValue[] nv = new NameValue[8]; nv[0] = new NameValue(0, "No Weapon"); nv[1] = new NameValue(1, "Magic Ball"); nv[2] = new NameValue(2, "Darts"); nv[3] = new NameValue(9, "Lazer Pistol"); nv[4] = new NameValue(10, "Emporers Sword"); nv[5] = new NameValue(11, "Wannies Glove"); nv[6] = new NameValue(22, "Horn of triton"); nv[7] = new NameValue(23, "Blowgun/Blowtron"); LBA2Othr_cboWeapon.Items.AddRange(nv); LBA2Othr_cboWeapon.Tag = nv; }