public void Open(string What) { switch (What) { case "Help": Engine.OpenHelp(); break; case "Options": Engine.OpenOptions(); break; case "Journal": Engine.OpenJournal(); break; case "Skills": Engine.OpenSkills(); break; case "Status": Engine.OpenStatus(); break; case "Spellbook": Engine.OpenSpellbook(1); break; case "NecroSpellbook": Engine.OpenSpellbook(2); break; case "PaladinSpellbook": Engine.OpenSpellbook(3); break; case "Paperdoll": Engine.OpenPaperdoll(); break; case "Backpack": Engine.OpenBackpack(); break; case "Radar": GRadar.Open(); break; case "NetStats": GNetwork.Open(); break; case "Abilities": GCombatGump.Open(); break; case "Macros": GMacroEditorForm.Open(); break; case "InfoBrowser": GInfoForm.Open(); break; } }