private async void btnAdd_Click(object sender, EventArgs e) { var frm = new frmSongDetails(); frm.ShowDialog(); await loadSongs(); }
private async void DgvSongs_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { int id = int.Parse(dgvSongs.SelectedRows[0].Cells["Id"].Value.ToString()); var frm = new frmSongDetails(id); frm.ShowDialog(); await loadSongs(); }