private void B_SupprimerLivresLocal_Click(object sender, EventArgs e) { P_Supprimer.Hide(); if (LV_Livre.SelectedItems.Count == 0) { FRM_SelecSVP se = new FRM_SelecSVP(); se.ShowDialog(); } else { i = 1; ConfirmationContinuation continu = new ConfirmationContinuation(this); continu.ShowDialog(); } }
private void BT_Supprimer_Click(object sender, EventArgs e) { if (LV_Livre.SelectedItems.Count == 0) { FRM_SelecSVP se = new FRM_SelecSVP(); se.ShowDialog(); } else { if (i != 0) { ConfirmationContinuation continu = new ConfirmationContinuation(); continu.ShowDialog(); } } }