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