示例#1
0
 private void btnSubmit_Click(object sender, EventArgs e)
 {
     if (txbFeedback.Text != string.Empty)
     {
         Order.Feedback = txbFeedback.Text;
         orderService.AddFeedback(Order);
         HideFeedbackBox();
     }
     else
     {
         errorBox.Show("No feedback entered");
     }
 }