よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
private void addBranchButton_Click(object sender, RoutedEventArgs e) { try { bl.addBranch(branch); MessageBox.Show("the branch \"" + branch.branchName + "\" added to the list", ""); branch = new BE.Branch(); this.gridAddBranch.DataContext = branch; } catch (Exception ex) { MessageBox.Show(ex.Message); } }