Beispiel #1
0
        private void BtnAddCheque_Click(object sender, EventArgs e)
        {
            if (TotalCheque() == _montant)
            {
                return;
            }
            if (_reste <= 0)
            {
                return;
            }
            var cheque = new NewchequeForm(this, _reste);

            cheque.Closing += (sndr, args) => LoadCheque();
            cheque.ShowDialog();
        }
Beispiel #2
0
        private void pictureBoxAdd_Click(object sender, EventArgs e)
        {
            if (TotalCheque() == _montant)
            {
                return;
            }
            if (_reste <= 0)
            {
                return;
            }
            var cheque = new NewchequeForm(this, _reste, AvoirFinancier.numAvoir);

            cheque.Closing += (sndr, args) => LoadCheque();
            cheque.ShowDialog();
        }