private void btn_Details_Click(object sender, EventArgs e)
        {
            if (dataGridView_Products.SelectedRows.Count == 1)
            {
                Product product = new Product();
                product = (Product)dataGridView_Products.CurrentRow.DataBoundItem;

                DetailForm detailForm = new DetailForm(product);
                detailForm.ShowDialog();
            }
        }
        private void btn_DetailView_Click(object sender, EventArgs e)
        {
            if (dataGridView_Characters.SelectedRows.Count == 1)
            {
                Character character = new Character();
                character = (Character)dataGridView_Characters.CurrentRow.DataBoundItem;

                DetailForm detailForm = new DetailForm(character);
                detailForm.ShowDialog();
            }
        }
        private void butt_View_Click(object sender, EventArgs e)
        {
            if (dgv_CharacterTable.SelectedRows.Count == 1)
            {
                Character character = new Character();
                character = (Character)dgv_CharacterTable.CurrentRow.DataBoundItem;

                DetailForm detailForm = new DetailForm(character);
                detailForm.Show();
            }
        }