private void AddButton_Click(object sender, EventArgs e)
 {
     try
     {
         ДобавитьИзменитьЖанр f = new ДобавитьИзменитьЖанр();
         f.ShowDialog();
         this.жанрыTableAdapter.Fill(this.bookWorldDataSet.Жанры);
     }
     catch (Exception ex)
     {
         StaticHelper.ErrorNotifier(ex);
     }
 }
 private void EditButton_Click(object sender, EventArgs e)
 {
     try
     {
         string title           = Convert.ToString(this.жанрыDataGridView.CurrentRow.Cells[1].Value);
         int    id              = Convert.ToInt32(this.жанрыDataGridView.CurrentRow.Cells[0].Value);
         ДобавитьИзменитьЖанр f = new ДобавитьИзменитьЖанр(title, id);
         f.ShowDialog();
         this.жанрыTableAdapter.Fill(this.bookWorldDataSet.Жанры);
     }
     catch (Exception ex)
     {
         StaticHelper.ErrorNotifier(ex);
     }
 }