Example #1
0
 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();
 }
Example #2
0
 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();
 }
Example #3
0
 protected virtual void OnHandleMessageRecived(object sender, MessageArgs args)
 {
 }
Example #4
0
 private void HandleMessageRecived(object sender, MessageArgs args)
 {
     this.OnHandleMessageRecived(sender, args);
 }