Beispiel #1
0
        /// <summary>
        /// click event for meal plan
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void button1_Click(object sender, EventArgs e)
        {
            //call form's constructor and assign variable
            MyMealPlanForm mealPlan = new MyMealPlanForm();

            //display meal plan form
            mealPlan.ShowDialog();
        }
Beispiel #2
0
 /// <summary>
 /// click event for meal plan
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void button1_Click(object sender, EventArgs e)
 {
     //call form's constructor and assign variable
     MyMealPlanForm mealPlan = new MyMealPlanForm();
     //display meal plan form
     mealPlan.ShowDialog();
 }