Exemple #1
0
        private async void btnAdd_Click(object sender, EventArgs e)
        {
            var frm = new frmNotationDetails();

            frm.ShowDialog();

            await loadNotations();
        }
Exemple #2
0
        private async void DgvNotations_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            int id  = int.Parse(dgvNotations.SelectedRows[0].Cells["Id"].Value.ToString());
            var frm = new frmNotationDetails(id);

            frm.ShowDialog();

            await loadNotations();
        }