private void BtnOpenCuisines_Click(object sender, EventArgs e) { _cform = new CuisineForm(this); _cform.CuisineList.DataSource = null; _cform.CuisineList.DataSource = ((Dish_Type)(lbDishType.SelectedItem)).Cuisines; _cform.ShowDialog(); }
public DishForm(CuisineForm cform) { InitializeComponent(); this._cForm = cform; }