private void btnEditBranch_Click(object sender, RoutedEventArgs e) { var editBranch = new EditBranch(); editBranch.ShowDialog(); }