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