Ejemplo n.º 1
0
        public ChainInfo(Chain chain)
        {
            InitializeComponent();

            _chain = chain;

            Deselect();

            Rename = new RenameManager(this);

            Rename.UpdateText();
            _chain.ParentIndexChanged += Rename.UpdateText;

            DragDrop = new DragDropManager(this);

            SetEnabled();
        }
Ejemplo n.º 2
0
        public TrackInfo(Track track)
        {
            InitializeComponent();

            _track = track;

            Deselect();

            Rename = new RenameManager(this);

            Rename.UpdateText();
            _track.ParentIndexChanged += UpdateText;

            PortSelector.Update(_track.Launchpad);

            DragDrop = new DragDropManager(this);

            SetEnabled();
        }