/// <summary>
 /// Добавление нового справочника
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void bAddBook_Click(object sender, EventArgs e)
 {
     add_book book = new add_book(Program.data_module);
     book.ShowDialog();
     this.load_data_table(this._current_state);//обновление дата грид
 }
 /// <summary>
 /// редактирование по двойному клику
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void gw_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     add_book book = null;
      try
      {
          book = new add_book(Program.data_module, Convert.ToInt32(gw.Rows[gw.CurrentRow.Index].Cells[0].Value.ToString()));
          book.ShowDialog();
      }
      catch (Exception)
      {
          MessageBox.Show("Выберите справочник!");
      }
     this.load_data_table(this._current_state);//обновляем дата грид
 }