public BrowseRecentFilesController()
            : base(NSObject.AllocAndInitInstance("BrowseRecentFilesController"))
        {
            Unused.Value = NSBundle.loadNibNamed_owner(NSString.Create("BrowseRecentFiles"), this);

            m_table = new IBOutlet<NSTableView>(this, "table").Value;
            m_table.setDoubleAction("doubleClicked:");
            m_table.setTarget(this);

            Broadcaster.Register("opening document window", this);
            Broadcaster.Register("saved new document window", this);
            Broadcaster.Register("opened directory", this);

            DoLoadPrefs();
        }
        public BrowseLocalFilesController()
            : base(NSObject.AllocAndInitInstance("BrowseLocalFilesController"))
        {
            Unused.Value = NSBundle.loadNibNamed_owner(NSString.Create("BrowseLocalFiles"), this);

            m_table = new IBOutlet<NSTableView>(this, "table").Value;
            m_table.setDoubleAction("doubleClicked:");
            m_table.setTarget(this);

            m_searchField =  new IBOutlet<NSSearchField>(this, "searchField").Value;
            m_search =  new IBOutlet<NSSearchFieldCell>(this, "search").Value;
            m_spinner =  new IBOutlet<NSProgressIndicator>(this, "progress").Value;

            Broadcaster.Register("opened directory", this);
            Broadcaster.Register("closed directory", this);
            Broadcaster.Register("directory changed", this);
        }