public TodoMapNode() { InitializeComponent(); this.ucMappingManager = new TodoMappingManager(); this.ucMappingManager.Dock = DockStyle.Fill; this.tabMapper.Controls.Add(this.ucMappingManager); this.ucDeviceManager = new TodoDeviceManagerCtrl(); this.ucDeviceManager.Dock = DockStyle.Fill; this.tabMidi.Controls.Add(this.ucDeviceManager); this.ucOscManager = new TodoOscManager(); this.ucOscManager.Dock = DockStyle.Fill; this.tabOsc.Controls.Add(this.ucOscManager); this.ucLogger = new TodoLoggerCtrl(); this.ucLogger.Dock = DockStyle.Fill; this.tabLog.Controls.Add(this.ucLogger); this.FEngine = new TodoEngine(); //this.FEngine.Osc.SetEnabled(true); this.ucDeviceManager.Engine = this.FEngine; this.ucMappingManager.Engine = this.FEngine; this.ucOscManager.Engine = this.FEngine; }
//private TodoTreeView ctrlTree; public TodoMapNode() { InitializeComponent(); this.ucMappingManager = new TodoMappingManager(); this.ucMappingManager.Dock = DockStyle.Fill; this.tabMapper.Controls.Add(this.ucMappingManager); this.ucDeviceManager = new TodoDeviceManagerCtrl(); this.ucDeviceManager.Dock = DockStyle.Fill; this.tabMidi.Controls.Add(this.ucDeviceManager); this.ucOscManager = new TodoOscManager(); this.ucOscManager.Dock = DockStyle.Fill; this.tabOsc.Controls.Add(this.ucOscManager); this.ucLogger = new TodoLoggerCtrl(); this.ucLogger.Dock = DockStyle.Fill; this.tabLog.Controls.Add(this.ucLogger); /* this.ctrlTree = new TodoTreeView(); * this.ctrlTree.Dock = DockStyle.Fill; * this.grpTree.Controls.Add(ctrlTree);*/ //this.tabTreeVar.Controls.Add(ctrlTree); this.FEngine = new TodoEngine(); //this.FEngine.Osc.SetEnabled(true); this.ucDeviceManager.Engine = this.FEngine; this.ucMappingManager.Engine = this.FEngine; this.ucOscManager.Engine = this.FEngine; //this.ctrlTree.Initialize(this.FEngine,this.treelist); //this.ctrlTree.OscNodeSelected += new EventHandler(ctrlTree_OscNodeSelected); // this.ctrlTree.MidiNodeSelected += new EventHandler(ctrlTree_MidiNodeSelected); }