private void modify_button_for_utility(DataGridViewRow startingBalanceRow) { if (current_show_index == (int)utility_picker.author) { model.Author item = this.author_Dao.get_item_from_row(startingBalanceRow); Add_author headphones_View = new Add_author(1, item); change_panel_content(headphones_View); } else if (current_show_index == (int)utility_picker.genre) { model.Genre item = this.genre_Dao.get_item_from_row(startingBalanceRow); Add_genre headphones_View = new Add_genre(1, item); change_panel_content(headphones_View); } else if (current_show_index == (int)utility_picker.publisher) { model.Publisher item = this.publisher_Dao.get_item_from_row(startingBalanceRow); Add_publisher headphones_View = new Add_publisher(1, item); change_panel_content(headphones_View); } }