void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.MainWindow1 = ((Demo.Views.MainWindow)(target)); return; case 2: this.MyCheckBox_PortSwitch = ((ZMCL.MyControl.WhiteStyle.MyCheckBox)(target)); return; case 3: this.cbx1 = ((ZMCL.MyControl.UcComboBox)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.MainWindow1 = ((Demo.MainWindow)(target)); return; case 2: this._paidTextbox = ((ZMCL.MyControl.UcGlassButton)(target)); return; case 3: this.cbx1 = ((ZMCL.MyControl.UcComboBox)(target)); return; } this._contentLoaded = true; }