private void UserEdit_Click(object sender, RoutedEventArgs e) { EditAccount ed_Account = new EditAccount(currentUser); this.Close(); ed_Account.Show(); }
private void Listbox_Accounts_Edit(object sender, RoutedEventArgs e) { EditAccount EditWin = new EditAccount(); EditWin.Owner = this; EditWin.Show(); }