public bool DisplayNote(string uri) { bool result = false; Gtk.Application.Invoke(delegate { result = remote.DisplayNote(uri); }); return(result); }