示例#1
0
 static CircuitCell()
 {
     DefaultStyleKeyProperty.OverrideMetadata(typeof(CircuitCell), new FrameworkPropertyMetadata(typeof(Canvas)));
     None        = new CircuitCell();
     CellSize    = 60;
     MarginValue = CellSize / 10;
 }
示例#2
0
 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)
 {
 }