static CircuitCell() { DefaultStyleKeyProperty.OverrideMetadata(typeof(CircuitCell), new FrameworkPropertyMetadata(typeof(Canvas))); None = new CircuitCell(); CellSize = 60; MarginValue = CellSize / 10; }
public UnitaryGate(CircuitCell topCell, CircuitCell bottomCell, QuantumGateModel model) : base(topCell, bottomCell, model) { Controls = new List <ControlGate>(); }
public MeasurementGate(CircuitCell topCell, CircuitCell bottomCell, QuantumGateModel model) : base(topCell, bottomCell, model) { }