示例#1
0
 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);
 }
示例#3
0
 private void schematic_SelectionChanged(object Sender, SelectionEventArgs Args)
 {
     Properties.SelectedObjects = Args.Selected.ToArray<object>();
     Properties.Tag = ((SchematicEditor)Sender).Edits;
 }