private void btnUpdate_Click(object sender, RoutedEventArgs e) { ChangeBank cb_update = new ChangeBank(); cb_update.ShowUpdateWindow((sender as Button).Tag as CarrierBankInfo); cb_update.Closed += (s, er) => { LoadGrid(); }; }
private void btnAdd_Click(object sender, RoutedEventArgs e) { ChangeBank cb_add = new ChangeBank(); cb_add.ShowAddWindow(); cb_add.Closed += (s, er) => { LoadGrid(); }; }