protected override void OnHandleMessageRecived(object sender, MessageArgs args) { if (args.Message == null || Services.ProjectsService == null || Services.ProjectsService.CurrentSolution == null || !args.Message.Data.Equals((string)Services.ProjectsService.CurrentSolution.FileName)) { return; } MutualCore.ShowCurrApplication(); }
protected override void OnHandleMessageRecived(object sender, MessageArgs args) { if (args.Message.Action != Action.Show || ApplicationCurrent.MainWindow == null) { return; } if (MonoDevelop.Core.Platform.IsMac) { GtkWorkarounds.GrabDesktopFocus(); } ApplicationCurrent.MainWindow.Present(); }
protected virtual void OnHandleMessageRecived(object sender, MessageArgs args) { }
private void HandleMessageRecived(object sender, MessageArgs args) { this.OnHandleMessageRecived(sender, args); }