Пример #1
0
        private void btn_Back_Click(object sender, EventArgs e)
        {
            AddDirectionsForm addDirectionsForm = new AddDirectionsForm(recipe, dataSet);

            this.Hide();
            addDirectionsForm.ShowDialog();
            this.Close();
        }
Пример #2
0
        private void btn_AddDirections_Click(object sender, EventArgs e)
        {
            recipe.ingredients = ingredients;
            updateTable(ingredients);
            AddDirectionsForm addDirectionsForm = new AddDirectionsForm(recipe, RecipeDataSet);

            this.Hide();
            addDirectionsForm.ShowDialog();
            this.Close();
        }