private void btnReset_Click(object sender, EventArgs e) { Vider(); if (LabelTitle.Text == "ENREGISTREMENT VERSEMENT") { txtNumero.Text = VersementDao.generateKey(); } }
private void AddPayForm_Load(object sender, EventArgs e) { Dataload1(); if (LabelTitle.Text == "ENREGISTREMENT VERSEMENT") { txtNumero.Text = VersementDao.generateKey(); } }
private void btnSave_Click(object sender, EventArgs e) { Form2Model(); VersementDao.save(versement); Vider(); if (LabelTitle.Text == "ENREGISTREMENT VERSEMENT") { txtNumero.Text = VersementDao.generateKey(); } }