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();
         }
     }
 }
Example #2
0
 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();
     }
   }
 }