Exemple #1
0
        private void btn_AddRecipe_Click(object sender, EventArgs e)
        {
            AddRecipeForm addRecipe = new AddRecipeForm(null);

            this.Hide();
            addRecipe.ShowDialog();
            this.Close();
        }
        private void btn_Back_Click(object sender, EventArgs e)
        {
            AddRecipeForm addRecipe = new AddRecipeForm(recipe);

            this.Hide();
            addRecipe.ShowDialog();
            this.Close();
            this.Hide();
            //frm.Show();
        }