Example #1
0
        private void OnBrowseButtonClick(object sender, EventArgs e)
        {
            AddLibraryDialog dialog = new AddLibraryDialog();

            dialog.Run();
            libAddEntry.Text = dialog.Library;
        }
Example #2
0
        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;
            }
        }
Example #3
0
 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;
 }
Example #4
0
 private void OnBrowseButtonClick(object sender, EventArgs e)
 {
     AddLibraryDialog dialog = new AddLibraryDialog ();
     dialog.Run ();
     libAddEntry.Text = dialog.Library;
 }