private async void SelectButton_Click(object sender, RoutedEventArgs e) { var clientListWindow = new ListWindow(_accountModel); clientListWindow.Show(); await Task.Run(() => GenerateAccountNumber(clientListWindow)); }
private void ListButton_Click(object sender, RoutedEventArgs e) { ListWindow listWindow = new ListWindow(Client); listWindow.Show(); }