public AssemblyReferencePanel (SelectReferenceDialog selectDialog)
		{
			this.selectDialog = selectDialog;
			
			chooser = new FileChooserWidget (FileChooserAction.Open, "");
			chooser.SetCurrentFolder (Environment.GetFolderPath (Environment.SpecialFolder.Personal));
			chooser.SelectMultiple = true;

			// this should only allow dll's and exe's
			FileFilter filter = new FileFilter ();
			filter.Name = GettextCatalog.GetString ("Assemblies");
			filter.AddPattern ("*.[Dd][Ll][Ll]");
			filter.AddPattern ("*.[Ee][Xx][Ee]");
			chooser.AddFilter (filter);
			chooser.FileActivated += new EventHandler (SelectReferenceDialog);

			PackStart (chooser, true, true, 0);
			
			PackStart (new Gtk.VSeparator(), false, false, 0);
			
			VBox box = new VBox ();
			Gtk.Button addButton = new Gtk.Button (Gtk.Stock.Add);
			addButton.Clicked += new EventHandler(SelectReferenceDialog);
			box.PackStart (addButton, false, false, 0);
			PackStart (box, false, false, 0);
			
			BorderWidth = 6;
			Spacing = 6;
			ShowAll();
		}
        public AssemblyReferencePanel(SelectReferenceDialog selectDialog)
        {
            this.selectDialog = selectDialog;

            chooser = new FileChooserWidget (FileChooserAction.Open, "");
            chooser.SetCurrentFolder (Environment.GetFolderPath (Environment.SpecialFolder.Personal));
            chooser.SelectMultiple = true;

            // this should only allow dll's and exe's
            FileFilter filter = new FileFilter ();
            filter.Name = GettextCatalog.GetString ("Assemblies");
            filter.AddPattern ("*.[Dd][Ll][Ll]");
            filter.AddPattern ("*.[Ee][Xx][Ee]");
            chooser.AddFilter (filter);
            chooser.FileActivated += new EventHandler (SelectReferenceDialog);
            chooser.SelectionChanged += HandleChooserSelectionChanged;
            chooser.BorderWidth = 6;

            PackStart (chooser, true, true, 0);

            HeaderBox hbox = new HeaderBox (1, 0, 0, 0);
            hbox.GradientBackground = true;
            hbox.SetPadding (6,6,6,6);

            HBox box = new HBox ();
            detailsLabel = new Label ();
            detailsLabel.Xalign = 0;
            detailsLabel.Ellipsize = Pango.EllipsizeMode.End;
            box.PackStart (detailsLabel, true, true, 0);
            addButton = new Gtk.Button (Gtk.Stock.Add);
            box.PackEnd (addButton, false, false, 0);
            hbox.Add (box);
            PackStart (hbox, false, false, 0);

            addButton.Clicked += SelectReferenceDialog;

            Spacing = 6;
            ShowAll();
        }