public void OnChainChanged(object sender, IRunAsChain chain) { if (ChainChanged != null) { ChainChanged(sender, new ChainChangedEventArgs { Chain = chain }); } }
public void ObjectFilter(IRunAsChain SelChain) { MapList.Clear(); foreach (var ch in SelChain.Chain) { MapList.Add(ch); } ObjectFilter(MapList[0]); }