async void Service_UserInterfaceShown(object sender, UserInterfaceShownEventArgument e) { if (UserInterfaceShown != null) { UserInterfaceShown(this, e); } }
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 ViewModel_UserInterfaceShown( object sender, UserInterfaceShownEventArgument e) { Left = viewModel.ActiveScreen.WorkingArea.X; Top = viewModel.ActiveScreen.WorkingArea.Y; Width = viewModel.ActiveScreen.WorkingArea.Width; Height = viewModel.ActiveScreen.WorkingArea.Height; Show(); }
void ViewModel_UserInterfaceShown( object sender, UserInterfaceShownEventArgument e) { logger.Information("Showing user interface."); Left = viewModel.ActiveScreen.WorkingArea.X; Top = viewModel.ActiveScreen.WorkingArea.Y; Width = viewModel.ActiveScreen.WorkingArea.Width; Height = viewModel.ActiveScreen.WorkingArea.Height; Show(); }
void ViewModel_UserInterfaceShown( object sender, UserInterfaceShownEventArgument e) { Show(); }
async void Mediator_UserInterfaceShown(object sender, UserInterfaceShownEventArgument e) { ActiveScreen = screenManager.GetPrimaryScreen(); UserInterfaceShown?.Invoke(this, e); }
void ViewModel_UserInterfaceShown( object sender, UserInterfaceShownEventArgument e) { Show(); }
async void Mediator_UserInterfaceShown(object sender, UserInterfaceShownEventArgument e) { UserInterfaceShown?.Invoke(this, e); }