Ejemplo n.º 1
0
        private void buttonAJOUTER_Click(object sender, EventArgs e)
        {
            CHM_COMMANDE_ARTICLE f = new CHM_COMMANDE_ARTICLE("BR_FR");

            f.confirm_ajout += new CHM_COMMANDE_ARTICLE.ajout_article_deleg(f_confirm_ajout);
            f.ShowDialog();
        }
Ejemplo n.º 2
0
 private void btnAjouter_Click(object sender, EventArgs e)
 {
     try
     {
         CHM_COMMANDE_ARTICLE fArt = new CHM_COMMANDE_ARTICLE("CMD_CL");
         fArt.confirm_ajout += new CHM_COMMANDE_ARTICLE.ajout_article_deleg(fArt_confirm_ajout);
         fArt.StartPosition  = FormStartPosition.CenterScreen;
         fArt.ShowDialog();
         //CHM_FRM_SELECTION_ARTICLE f = new CHM_FRM_SELECTION_ARTICLE(Convert.ToDecimal(CLIENT_APP_PARAM.CODE_MAG), "");
         //f.on_select += new CHM_FRM_SELECTION_ARTICLE.selection_article(f_on_select);
         //f.ShowDialog();
     }
     catch (Exception er)
     {
         MessageBox.Show(er.Message);
     }
 }