コード例 #1
0
 //Добавление меню
 private void add_new_food_in_menu()
 {
     add_food_in_menu food_in_menu = new add_food_in_menu(Program.data_module, serve, id, AddDayID);
     food_in_menu.ShowDialog();
 }
コード例 #2
0
 /// <summary>
 /// Добавить блюдо на ужин
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void add_supper_Click(object sender, EventArgs e)
 {
     string serve_time = "ужин";
       add_food_in_menu food = new add_food_in_menu(Program.data_module, serve_time, menu_id, AddDayID);
       food.ShowDialog();
       this.load_data_table3(this._current_state);
 }