private void btnFoodCalories_Click(object sender, EventArgs e) { var kindOfFood = new KindOfFood(); this.Hide(); kindOfFood.ShowDialog(); this.Show(); }
private void btnFoodCalories_Click(object sender, EventArgs e) { KindOfFood dl = new KindOfFood(); dl.Show(); }