public ObjectBrowserForm(object o)
 {
     //
     // Required for Windows Form Designer support
     //
     InitializeComponent();
     model = new Model(new object[] { o });
     HV    = new HistoryView(model);
     new ObjectTreeView(model, this.treeView1);
     this.Text = String.Format("{0}#{1}", o.GetType().Name, o.GetHashCode());
     model.ChangeObject(o);
 }
        public BrowserForm(IEnumerable roots)
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            model = new Model(roots);
            HV    = new HistoryView(model);
            PV    = new ParentView(model);
            new SourceTabView(model, sourceTabControl, new NewControl(SourceTextView.NewControl));
        }