public static void Show(string idPerson, AccountType accountType) { KChangePasswordBox changePasswordBox = new KChangePasswordBox(idPerson, accountType); changePasswordBox.Show(); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.kChangePasswordBox = ((LibraryManager.KBox.KChangePasswordBox)(target)); return; case 2: #line 59 "..\..\..\KBox\KChangePasswordBox.xaml" ((System.Windows.Controls.Grid)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Grid_MouseDown); #line default #line hidden return; case 3: this.tblTitle = ((System.Windows.Controls.TextBlock)(target)); return; case 4: #line 63 "..\..\..\KBox\KChangePasswordBox.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click); #line default #line hidden return; case 5: this.pwxPassword = ((System.Windows.Controls.PasswordBox)(target)); return; case 6: this.tblPasswordWarning = ((System.Windows.Controls.TextBlock)(target)); return; case 7: this.pwxPasswordNew = ((System.Windows.Controls.PasswordBox)(target)); return; case 8: this.tblPasswordNewWarning = ((System.Windows.Controls.TextBlock)(target)); return; case 9: this.pwxRetypePasswordNew = ((System.Windows.Controls.PasswordBox)(target)); return; case 10: this.tblRetypePasswordNewWarning = ((System.Windows.Controls.TextBlock)(target)); return; case 11: this.btnOK = ((System.Windows.Controls.Button)(target)); #line 118 "..\..\..\KBox\KChangePasswordBox.xaml" this.btnOK.Click += new System.Windows.RoutedEventHandler(this.btnOK_Click); #line default #line hidden return; case 12: this.tblButton1 = ((System.Windows.Controls.TextBlock)(target)); return; case 13: this.btnCancel = ((System.Windows.Controls.Button)(target)); #line 124 "..\..\..\KBox\KChangePasswordBox.xaml" this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click); #line default #line hidden return; case 14: this.tblButton2 = ((System.Windows.Controls.TextBlock)(target)); return; } this._contentLoaded = true; }