//mới thêm private void BtnDelete_Click(object sender, RoutedEventArgs e) { Dialog a = new Dialog() { Message = "Are you sure to delete this product?" }; a.Owner = Window.GetWindow(this); if (a.ShowDialog() == false) { return; } manage.DeleteProduct(this.product); Dialog b = new Dialog() { Message = "Delete completely" }; b.Owner = Window.GetWindow(this); ProductPage page = new ProductPage(); page.Refresh(true); NavigationService.Navigate(page); }