void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.ControlGP = ((BD_Terminal.View.Mbutton)(target)); return; case 2: this.ControlGB = ((BD_Terminal.View.Mbutton)(target)); return; case 3: this.ControlDebug = ((BD_Terminal.View.Mbutton)(target)); return; case 4: this.ControlGGA = ((BD_Terminal.View.Mbutton)(target)); return; case 5: this.ControlRMC = ((BD_Terminal.View.Mbutton)(target)); return; case 6: this.ControlGAS = ((BD_Terminal.View.Mbutton)(target)); return; case 7: this.ControlGSV = ((BD_Terminal.View.Mbutton)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.btn_clear = ((BD_Terminal.View.Mbutton)(target)); return; case 2: this.btn_stopRoll = ((BD_Terminal.View.Mbutton)(target)); return; case 3: this.ControlSaveFile = ((BD_Terminal.View.Mbutton)(target)); return; case 4: this.textBox = ((System.Windows.Controls.TextBox)(target)); return; } this._contentLoaded = true; }