/// <summary>
 ///   //when showing the search panel, ensure the working panel is in the home position?
 /// </summary>
 public static void Show(LucidState state, IStateMachine<LucidState> stateMachine, dynamic args)
 {
     //       search panel search tab         home panel         root
     stateMachine.Parent.Parent.Parent.Children["WorkingPanel"].TriggerTransition(
         new WorkingPanelState.SearchMode());
     stateMachine.Parent.Parent.Parent.Children["DetailsPanels"].TriggerTransition(
         new DetailsPanelsState.SearchMode());
 }
 public static void Hide(LucidState state, IStateMachine<LucidState> stateMachine, dynamic args)
 {
     stateMachine.Parent.Children["SearchTab"].CurrentState = new SearchTabState.Visible();
 }
예제 #3
0
 public static void SelectAccountMode(LucidState state, IStateMachine <LucidState> stateMachine, dynamic args)
 {
     //reset horiz position
 }
 public static void Show(LucidState state, IStateMachine <LucidState> stateMachine, dynamic args)
 {
     stateMachine.Parent.Children["AccountTab"].CurrentState = new AccountTabState.Hidden();
 }
 public static void Show(LucidState state, IStateMachine<LucidState> stateMachine, dynamic args)
 {
     stateMachine.Parent.Children["AccountTab"].CurrentState = new AccountTabState.Hidden();
 }
 public static void SelectAccountMode(LucidState state, IStateMachine<LucidState> stateMachine, dynamic args)
 {
     //reset horiz position
 }