Example #1
0
 private void btnAddCommentToOrder_Click(object sender, EventArgs e)
 {
     //add comment/alter comment
     if (!string.IsNullOrWhiteSpace(txtComment.Text))
     {
         order.comment = txtComment.Text;
         orderLogic.Edit_Order_Comment(order);
         InitComments();
     }
     else
     {
         MessageBox.Show("Vul eerst een opmerking in!");
     }
 }