private void btn_tambah_Click(object sender, RoutedEventArgs e) { PopUpPasien poppasien = new PopUpPasien(); poppasien.AddItemCallback = new AddItemDelegatePasien(this.AddItemCallbackPopUpPasien); poppasien.ShowDialog(); }
private void btnEdit_Click(object sender, RoutedEventArgs e) { var button = (FrameworkElement)sender; var row = (DataGridRow)button.Tag; if (dgPasien.SelectedCells.Count > 0) { PopUpPasien popPasien = new PopUpPasien(GetIndexpasien(row)); popPasien.AddItemCallback = new AddItemDelegatePasien(this.AddItemCallbackPopUpPasien); popPasien.ShowDialog(); } }
private void btnEdit_Click(object sender, RoutedEventArgs e) { var button = (FrameworkElement)sender; var row = (DataGridRow)button.Tag; if (dgPasien.SelectedCells.Count > 0) { PopUpPasien popPasien = new PopUpPasien(GetIndexpasien(row)); popPasien.AddItemCallback = new AddItemDelegatePasien(this.AddItemCallbackPopUpPasien); popPasien.ShowDialog(); } }
private void btn_tambah_Click(object sender, RoutedEventArgs e) { PopUpPasien poppasien = new PopUpPasien(); poppasien.AddItemCallback = new AddItemDelegatePasien(this.AddItemCallbackPopUpPasien); poppasien.ShowDialog(); }