private void Button_Click_BeraterErstellen(object sender, RoutedEventArgs e) { Window Win_KBeraterErstellen = new Berater_Erstellen(false, Sparbank); Win_KBeraterErstellen.ShowDialog(); List_Berater.Items.Refresh(); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Win_BeraterErstellen = ((Bank_WPF.Berater_Erstellen)(target)); return; case 2: this.txtb_Vorname = ((System.Windows.Controls.TextBox)(target)); return; case 3: this.txtb_Nachname = ((System.Windows.Controls.TextBox)(target)); return; case 4: this.btn_Erstellen = ((System.Windows.Controls.Button)(target)); #line 12 "..\..\Berater_Erstellen.xaml" this.btn_Erstellen.Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 5: this.lbl_Vorname = ((System.Windows.Controls.Label)(target)); return; case 6: this.lbl_Nachname = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }