private void FormTreeView_Load(object sender, EventArgs e) { treeView.InitializeTree(); treeView.SelectionChanged += OnSelectionChanged; branchView.SelectionChanged += OnSelectionChanged; // cardboard format loader CardboardFormatLoader formatLoader = new CarboardFormatLoaderImpl(); pluginViewCtrl.CardboardFormatLoader = formatLoader; factoryViewCtrl.CardBoardFormatLoader = formatLoader; // profile loader pluginViewCtrl.ProfileLoader = new ProfileLoaderImpl(); // initialize plugin viewer pluginViewCtrl.SearchMethod = new ComponentSearchMethodDB(); }