Esempio n. 1
0
		private Shape ProbeView(CircuitSymbol symbol) {
			if(symbol == this.circuitSymbol[0]) {
				return (Shape)this.circuitSymbol[0].ProbeView;
			} else {
				DisplayCanvas canvas = (DisplayCanvas)symbol.Glyph;
				return (Shape)canvas.DisplayOf(this.circuitSymbol);
			}
		}
 private Canvas ProbeView(CircuitSymbol symbol)
 {
     if (symbol == this.circuitSymbol[0])
     {
         return((Canvas)this.circuitSymbol[0].ProbeView);
     }
     else
     {
         DisplayCanvas canvas = (DisplayCanvas)symbol.Glyph;
         return((Canvas)canvas.DisplayOf(this.circuitSymbol));
     }
 }