private void OnBrowseButtonClick(object sender, EventArgs e) { AddLibraryDialog dialog = new AddLibraryDialog(); dialog.Run(); libAddEntry.Text = dialog.Library; }
protected void btnBrowseDefaultLib_Clicked(object sender, System.EventArgs e) { Gtk.ResponseType response; AddLibraryDialog dialog = new AddLibraryDialog(AddLibraryDialog.FileFilterType.LibraryFiles); response = (Gtk.ResponseType)dialog.Run(); if (response == Gtk.ResponseType.Ok) { txtDefaultLib.Text = dialog.Library; } }
protected void btnBrowseDefaultLib_Clicked(object sender, System.EventArgs e) { Gtk.ResponseType response; AddLibraryDialog dialog = new AddLibraryDialog(AddLibraryDialog.FileFilterType.LibraryFiles); response = (Gtk.ResponseType) dialog.Run (); if (response == Gtk.ResponseType.Ok) txtDefaultLib.Text = dialog.Library; }
private void OnBrowseButtonClick(object sender, EventArgs e) { AddLibraryDialog dialog = new AddLibraryDialog (); dialog.Run (); libAddEntry.Text = dialog.Library; }