Exemple #1
0
 private void BTN_REGELEMENT_Click(object sender, EventArgs e)
 {
     try
     {
         CHM_REGLEMENT_CLIENT f = new CHM_REGLEMENT_CLIENT(CODE_Facture.Text);
         f.ShowDialog();
     }
     catch (Exception er)
     {
         MessageBox.Show(er.Message, CLIENT_APP_PARAM.Fenetre_principale.Text, MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }
Exemple #2
0
 private void BTN_REGELEMENT_Click(object sender, EventArgs e)
 {
     if (bs_facture.Current != null)
     {
         if ((decimal)(bs_facture.Current as DataRowView)["CREDIT"] >= 0)
         {
             CHM_REGLEMENT_CLIENT f = new CHM_REGLEMENT_CLIENT((((DataRowView)bs_facture.Current)["CODE_FACTURE"]).ToString());
             f.ShowDialog();
             CHM_LISTE_FACTURES_Shown(null, null);
         }
         else
         {
             MessageBox.Show("Cette facture est déja payée.", "Reglement de facture", MessageBoxButtons.OK, MessageBoxIcon.Information);
         }
     }
 }
Exemple #3
0
        private void BTN_FACTURATION_Click(object sender, EventArgs e)
        {
            CHM_REGLEMENT_CLIENT f = new CHM_REGLEMENT_CLIENT(CODE_FACTURE.Text);

            f.ShowDialog();
        }