async void Mediator_UserInterfaceShown(object sender, UserInterfaceShownEventArgument e)
        {
            if (Elements.Count == 0)
            {
                logger.Information("Did not show the UI because there are no clipboard elements in the list.");
                return;
            }

            UserInterfaceShown?.Invoke(this, e);
        }
        async void Mediator_UserInterfaceShown(object sender, UserInterfaceShownEventArgument e)
        {
            if (Elements.Count == 0)
            {
                return;
            }

            ActiveScreen = screenManager.GetPrimaryScreen();
            UserInterfaceShown?.Invoke(this, e);
        }
 void RaiseUserInterfaceShownEvent()
 {
     pasteHotkeyInterceptor.SkipNext();
     UserInterfaceShown?.Invoke(this, new UserInterfaceShownEventArgument());
 }
Example #4
0
 void RaiseUserInterfaceShownEvent()
 {
     UserInterfaceShown?.Invoke(this, new UserInterfaceShownEventArgument());
 }
        async void Mediator_UserInterfaceShown(object sender, UserInterfaceShownEventArgument e)
        {
            ActiveScreen = screenManager.GetPrimaryScreen();

            UserInterfaceShown?.Invoke(this, e);
        }
 async void Mediator_UserInterfaceShown(object sender, UserInterfaceShownEventArgument e)
 {
     UserInterfaceShown?.Invoke(this, e);
 }