Example #1
0
 /// <summary>
 /// добавление диеты в блюдо
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void b_add_Click(object sender, EventArgs e)
 {
     add_diet_in_food diet_in_food = new add_diet_in_food(Program.data_module);
     diet_in_food.ShowDialog();
     this.load_data_table(this._current_state);//обновляем дата грид
 }
 /// <summary>
 /// Добавление диеты
 /// </summary>
 private void add_new_diet_in_food()
 {
     add_diet_in_food add_diet = new add_diet_in_food(Program.data_module);
     add_diet.ShowDialog();
 }