public void addTarget(reader target) { if (AddedTarget != null) { targetList.Clear(); targetList.AddRange(target.list); AddedTarget(this, target); } }
// Constructor public Context(reader strategy) { _strategy = strategy; }
private void manager_AddedTarget(object sender, reader target) { TargetList.DataSource = target.list; }