예제 #1
0
 private void BTN_FACTURATION_Click(object sender, EventArgs e)
 {
     try
     {
         CHM_FRM_NV_FACTURE fiche = new CHM_FRM_NV_FACTURE(CODE_B_LIV.Text, Convert.ToDecimal(CLIENT_APP_PARAM.CODE_MAG));
         fiche.MdiParent = CLIENT_APP_PARAM.Fenetre_principale;
         fiche.Show();
         Close();
     }
     catch (Exception er)
     {
         MessageBox.Show(er.Message, this.Text, MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }
예제 #2
0
        private void BTN_FACTURATION_Click(object sender, EventArgs e)
        {
            //CHM_FICHE_FACTURE fiche = new CHM_FICHE_FACTURE(CODE_B_LIV_.Text);
            //fiche.MdiParent = CLIENT_APP_PARAM.Fenetre_principale;
            //fiche.WindowState = FormWindowState.Maximized;
            //fiche.RightToLeft = RightToLeft.No;
            //fiche.Show();
            CHM_FRM_NV_FACTURE f = new CHM_FRM_NV_FACTURE(CODE_B_LIV, _CODE_MAG);

            f.MdiParent     = CLIENT_APP_PARAM.Fenetre_principale;
            f.StartPosition = FormStartPosition.CenterScreen;
            f.Show();
            Close();
        }