Exemple #1
0
        private void btnTransection_Click(object sender, EventArgs e)
        {
            FormTransection frmtransection = new FormTransection();

            frmtransection.ShowDialog();
            Report();
        }
Exemple #2
0
        private void btnEdite_Click(object sender, EventArgs e)
        {
            if (dgvReport.CurrentRow != null)
            {
                int             Id = int.Parse(dgvReport.CurrentRow.Cells[0].Value.ToString());
                FormTransection formTransection = new FormTransection();
                formTransection.AccontID = Id;

                if (formTransection.ShowDialog() == DialogResult.OK)
                {
                    Filter();
                }
            }
        }