void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.pieMenu = ((LogicPad2.PieMenu)(target));
     return;
     case 2:
     this.tbNot = ((LogicPad2.UIGates.Not)(target));
     return;
     case 3:
     this.tbAnd = ((LogicPad2.UIGates.And)(target));
     return;
     case 4:
     this.tbOr = ((LogicPad2.UIGates.Or)(target));
     return;
     case 5:
     this.tbXor = ((LogicPad2.UIGates.Xor)(target));
     return;
     case 6:
     this.tbUserInput = ((LogicPad2.UIGates.UserInput)(target));
     return;
     case 7:
     this.tbUserOutput = ((LogicPad2.UIGates.UserOutput)(target));
     return;
     }
     this._contentLoaded = true;
 }
Beispiel #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.svGates = ((System.Windows.Controls.ScrollViewer)(target));
     return;
     case 2:
     this.tbNot = ((LogicPad2.UIGates.Not)(target));
     return;
     case 3:
     this.tbAnd = ((LogicPad2.UIGates.And)(target));
     return;
     case 4:
     this.tbOr = ((LogicPad2.UIGates.Or)(target));
     return;
     case 5:
     this.tbBuffer = ((LogicPad2.UIGates.Buffer)(target));
     return;
     case 6:
     this.tbNand = ((LogicPad2.UIGates.Nand)(target));
     return;
     case 7:
     this.tbNor = ((LogicPad2.UIGates.Nor)(target));
     return;
     case 8:
     this.tbXor = ((LogicPad2.UIGates.Xor)(target));
     return;
     case 9:
     this.tbXnor = ((LogicPad2.UIGates.Xnor)(target));
     return;
     case 10:
     this.tbUserInput = ((LogicPad2.UIGates.UserInput)(target));
     return;
     case 11:
     this.tbUserOutput = ((LogicPad2.UIGates.UserOutput)(target));
     return;
     case 12:
     this.tbNumericOutput = ((LogicPad2.UIGates.DefaultNumericOutput)(target));
     return;
     case 13:
     this.tbNumericInput = ((LogicPad2.UIGates.DefaultNumericInput)(target));
     return;
     case 14:
     this.tbClock = ((LogicPad2.UIGates.Clock)(target));
     return;
     case 15:
     this.tbComment = ((LogicPad2.UIGates.Comment)(target));
     return;
     case 16:
     this.expUserGates = ((System.Windows.Controls.Expander)(target));
     return;
     case 17:
     this.spGates = ((System.Windows.Controls.StackPanel)(target));
     return;
     }
     this._contentLoaded = true;
 }