void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.wndMain = ((MVVM_PersonenDB_Bsp.View.DetailView)(target)); return; case 2: this.grdMain = ((System.Windows.Controls.Grid)(target)); return; case 3: this.tbxVorname = ((System.Windows.Controls.TextBox)(target)); return; case 4: this.tbxNachname = ((System.Windows.Controls.TextBox)(target)); return; case 5: this.rbtM = ((System.Windows.Controls.RadioButton)(target)); return; case 6: this.rbtW = ((System.Windows.Controls.RadioButton)(target)); return; case 7: this.rbtD = ((System.Windows.Controls.RadioButton)(target)); return; case 8: this.dtpGeburtsdatum = ((System.Windows.Controls.DatePicker)(target)); return; case 9: this.cbbLieblingsfarbe = ((System.Windows.Controls.ComboBox)(target)); return; case 10: this.chbVerheiratet = ((System.Windows.Controls.CheckBox)(target)); return; case 11: this.btnOK = ((System.Windows.Controls.Button)(target)); return; case 12: this.btnCancel = ((System.Windows.Controls.Button)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.WndDetailView = ((MVVM_PersonenDB_Bsp.View.DetailView)(target)); return; case 2: this.tbxVorname = ((System.Windows.Controls.TextBox)(target)); return; case 3: this.tbxNachname = ((System.Windows.Controls.TextBox)(target)); return; case 4: this.dprGeburtsdatum = ((System.Windows.Controls.DatePicker)(target)); return; case 5: this.chbVerheiratet = ((System.Windows.Controls.CheckBox)(target)); return; case 6: this.cbbLieblingsfarbe = ((System.Windows.Controls.ComboBox)(target)); return; case 7: this.btnOk = ((System.Windows.Controls.Button)(target)); return; case 8: this.btnAbbruch = ((System.Windows.Controls.Button)(target)); return; } this._contentLoaded = true; }