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

            frm.ShowDialog();

            await LoadAlbums();
        }
Beispiel #2
0
        private async void DgvAlbums_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            int id  = int.Parse(dgvAlbums.SelectedRows[0].Cells["Id"].Value.ToString());
            var frm = new frmAlbumDetails(id);

            frm.ShowDialog();

            await LoadAlbums();
        }