private static void ComboSelector() { switch (Menus.Config.Item("combo.mode").GetValue <StringList>().SelectedIndex) { case 0: QRWE.Init(); break; case 1: WRQE.WRQECombo(); break; } }
private static void ComboSelector() { switch (Menus.comboMenu["combo.mode"].Cast <ComboBox>().CurrentValue) { case 0: QRWE.Init(); break; case 1: WRQE.WRQECombo(); break; } }