private void context_OnBusNoLongerAttachedToPort(object sender, BusPortIndexEventArgs e) { if (_system.ContainsBus(e.Bus) && _system.ContainsPort(e.Port)) { OnBusAttachedToPortNoLonger(e.Bus, e.Port, e.Index); } }
void context_OnBusAttachedToPort(object sender, BusPortIndexEventArgs e) { _currentSystem.AddBus(e.Bus); _currentSystem.AddPortTree(e.Port, false, true); }
void context_OnBusNoLongerAttachedToPort(object sender, BusPortIndexEventArgs e) { }