// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - private void profileSelectionChangeHandler(object sender, System.EventArgs e) { ui.log("ProfileHandler.profileSelectionChangeHandler()"); //cbProfiles.Select(0, 0); // Doesn't work //cbProfiles.SelectionLength = 0; // Doesn't work ui.getListViewCommands().Focus(); //Console.WriteLine(cbProfiles.SelectedIndex); ProfileVO vo = (ProfileVO)cbProfiles.Items[cbProfiles.SelectedIndex]; Console.WriteLine(vo.displayName); load(vo.displayName); }
public void init() { ui.log("GrammarHandler.init()"); //recognizer = ui.recognizer; lvCommands = ui.getListViewCommands(); }