Esempio n. 1
0
        public MainForm()
        {
            InitializeComponent();

            _dataService = new CacheDataService(new TcpDataService(new TcpClient("localhost")));

            tree.Model = _model = new SDBTreeModel(_dataService);

            tree.SelectionChanged += tree_SelectionChanged;
            tree.Expanding += tree_Expanding;
        }
Esempio n. 2
0
        public MainForm()
        {
            InitializeComponent();

            _dataService = new CacheDataService(new TcpDataService(new TcpClient("localhost")));

            tree.Model = _model = new SDBTreeModel(_dataService);

            tree.SelectionChanged += tree_SelectionChanged;
            tree.Expanding        += tree_Expanding;
        }