private void add_newRecipeButton_Click(object sender, EventArgs e)
 {
     Add_ModifyForm addWeightForm = new Add_ModifyForm();
     addWeightForm.pushForm(this);
     addWeightForm.changControl("add_weight");
     addWeightForm.currentIndex(chooseRecipeDateGridView.CurrentCell.RowIndex);
     addWeightForm.pushLabel(
     dataTableAddRecipe.Rows[chooseRecipeDateGridView.CurrentCell.RowIndex][2].ToString()
     , dataTableAddRecipe.Rows[chooseRecipeDateGridView.CurrentCell.RowIndex][0].ToString()
     , dataTableAddRecipe.Rows[chooseRecipeDateGridView.CurrentCell.RowIndex][3].ToString()
     );
     addWeightForm.StartPosition = FormStartPosition.CenterScreen;
     addWeightForm.Show();
 }
        private void modify_newRecipeButton_Click(object sender, EventArgs e)
        {
            if (dataTableRecipe.Rows.Count == 0)
            {
                DialogResult mDialogResult = MessageBox.Show("未存在香料可以修改", "警告", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                if (mDialogResult == DialogResult.OK)
                    return;
            }

            Add_ModifyForm add_modifyForm = new Add_ModifyForm();
            add_modifyForm.pushForm(this);
            add_modifyForm.changControl("add_modify");
            add_modifyForm.pushLabel(dataTableRecipe.Rows[add_RecipeDatagridview.CurrentRow.Index][2].ToString()
                                     ,dataTableRecipe.Rows[add_RecipeDatagridview.CurrentRow.Index][0].ToString()
                                     ,dataTableRecipe.Rows[add_RecipeDatagridview.CurrentRow.Index][4].ToString());
            add_modifyForm.StartPosition = FormStartPosition.CenterScreen;
            add_modifyForm.Show();
        }