示例#1
0
        private void buttonAJOUTER_Click(object sender, EventArgs e)
        {
            CHM_COMMANDE_ARTICLE aj_art = new CHM_COMMANDE_ARTICLE("CMD_CL");

            aj_art.confirm_ajout += new CHM_COMMANDE_ARTICLE.ajout_article_deleg(aj_art_confirm_ajout);
            aj_art.ShowDialog();
        }
示例#2
0
 private void btn_AJOUTER_ARTICLE_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);
     }
 }