Example #1
0
 void ScreenRepositoryListener.NewScreen(Type screenType, string title)
 {
     workFlow.Track();
     ScreenIdentity requested = new ScreenIdentity(screenType, title);
     if (current == null)
     {
         current = requested;
         return;
     }
     workFlow.Move(current.Type,requested.Type);
     current = requested;
 }
Example #2
0
        void ScreenRepositoryListener.NewScreen(Type screenType, string title)
        {
            workFlow.Track();
            ScreenIdentity requested = new ScreenIdentity(screenType, title);

            if (current == null)
            {
                current = requested;
                return;
            }
            workFlow.Move(current.Type, requested.Type);
            current = requested;
        }