Example #1
0
        private void btnUpdateGenre_Click(object sender, EventArgs e)
        {
            var          genre = (Genre)dgvGenres.CurrentRow.DataBoundItem;
            frmGenreInfo ia    = new frmGenreInfo(genre);

            ia.Show();
        }
Example #2
0
        private void btnCreateGenre_Click(object sender, EventArgs e)
        {
            frmGenreInfo fgi = new frmGenreInfo();

            fgi.Show();
        }