private void schematic_SelectionChanged(object Sender, SelectionEventArgs Args) { Properties.SelectedObjects = Args.Selected.ToArray <object>(); Properties.Tag = ((SchematicEditor)Sender).Edits; }
public void RaiseSelectionChanged() { SelectionEventArgs e = new SelectionEventArgs(Selected.OfType<Circuit.Symbol>().Select(i => i.Component).DefaultIfEmpty(Schematic.Circuit)); foreach (SelectionEventHandler i in selectionChanged) i(this, e); }
private void schematic_SelectionChanged(object Sender, SelectionEventArgs Args) { Properties.SelectedObjects = Args.Selected.ToArray<object>(); Properties.Tag = ((SchematicEditor)Sender).Edits; }