private void buttonAddDishWish_Click(object sender, EventArgs e) { if (CurrentClient != null) { FormNewDishWish form = new FormNewDishWish(); form.CurrentClient = CurrentClient; DialogResult result = form.ShowDialog(); if (result == DialogResult.OK) { PopulateDishWishes(); } } }
private void buttonAddDishWish_Click(object sender, EventArgs e) { if(CurrentClient != null) { FormNewDishWish form = new FormNewDishWish(); form.CurrentClient = CurrentClient; DialogResult result = form.ShowDialog(); if(result == DialogResult.OK) { PopulateDishWishes(); } } }