protected override GUIFSM <ComboBox <T> > CreateFSM() { var idle = new Idle(); idle.AddTransition(GUIEventID.FocusGained, 1); var focused = new Focus(); focused.AddTransition(GUIEventID.FocusLost, 0); return(new GUIFSM <ComboBox <T> >(this, new GUIState <ComboBox <T> >[] { idle, focused })); }