예제 #1
0
파일: Form1.cs 프로젝트: firaszouari/TP2
        private void toolStripButton1_Click(object sender, EventArgs e)
        {
            FCompte fc = new FCompte();

            fc.Show();
            lc.ajouter(fc.cp);
            Dg_Client.Rows.Add(fc.cp.numero_compte, fc.cp.titulaire_compte, fc.cp.solde_compte);
        }
예제 #2
0
        private void Btn_Ajout_Click(object sender, EventArgs e)
        {
            FCompte Form2 = new FCompte();

            Form2.ShowDialog();

            lc.Ajouter(Form2.cp);
            DataTable dt = new DataTable();

            Dg_Client.Rows.Add(Form2.cp.numcompte, Form2.cp.titulaire, Form2.cp.solde);
        }