internal static Resistor CombineInSeries(Resistor r1, Resistor r2) { r1.RemoveFromGrid(); r2.RemoveFromGrid(); Resistor r = new Resistor(r1, r2, false); r.AddToGrid(); return r; }
internal static Resistor CombineInParallel(Resistor r1, Resistor r2) { r1.RemoveFromGrid(); r2.RemoveFromGrid(); Resistor r = new Resistor(r1, r2, true); r.AddToGrid(); return r; }