Exemplo n.º 1
0
        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();
        }
Exemplo n.º 2
0
        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();
        }