Beispiel #1
0
 static void ShowUpdateDialog()
 {
     Gtk.Application.Invoke(delegate {
         if (visibleDialog == null)
         {
             visibleDialog = new UpdateDialog();
             MessageService.ShowCustomDialog(visibleDialog);
             visibleDialog = null;
         }
         else
         {
             visibleDialog.GdkWindow.Focus(0);
         }
     });
 }
Beispiel #2
0
		static void ShowUpdateDialog ()
		{
			Gtk.Application.Invoke (delegate {
				if (visibleDialog == null) {
					visibleDialog = new UpdateDialog ();
					MessageService.ShowCustomDialog (visibleDialog);
					visibleDialog = null;
				} else {
					visibleDialog.GdkWindow.Focus (0);
				}
			});
		}