Ejemplo n.º 1
0
    public void Handle (TNavigateResponseMessage message)
    {
      if (message.NotNull ()) {
        if (message.IsActionNavigateTo) {
          if (message.IsSender (TNavigateMessage.TSender.Shell)) {
            if (message.IsWhere (TNavigateMessage.TWhere.Factory)) {
              ShowViewAnimation ();
            }

            else {
              HideViewAnimation ();
            }
          }
        }
      }
    }
Ejemplo n.º 2
0
    public void Handle (TNavigateResponseMessage message)
    {
      if (message.NotNull ()) {
        if (message.IsActionNavigateTo) {
          if (message.IsSender (TNavigateMessage.TSender.Shell)) {
            if (message.IsWhere (TNavigateMessage.TWhere.Report)) {
              ShowViewAnimation ();

              TDispatcher.Invoke (RefreshDispatcher);
            }

            else {
              HideViewAnimation ();
            }
          }
        }
      }
    }