Wednesday, September 19, 2012

20/9


When in pick-up mode; click confirm details button without inputting anything
Invalid input
Same error as other order type.
I just realizes the possibility that the dialog box pop-up if statement may not work at the start if it doesn’t work for the confirming of the order. I put in an additional pop to check if code was running, but it didn’t run when it was meant to. The conditional statement is the following;
 “DialogResult == System.Windows.Forms.DialogResult.Yes”
I then started playing around changing it to
(DialogResult != System.Windows.Forms.DialogResult.No)
And that ran the code?
 I did set the right message box to dialog result; this fixed the problem

After going through the program, I realised that the final order message wasn’t running because, you need to be entering your final pizza code when you click it. To make this more user friendly; I will add a check to see it the textbox is empty first.

3 comments:

  1. Well done on debugging your DialogResult. It would be an interesting investigation to see why the double negaive worked over the positve case. Perhaps there are other states to .yes and .no?

    Ms McCormack

    ReplyDelete
  2. I wanted to thank you for this excellent read!! I definitely loved every little bit of it. I have you bookmarked your site to check out the new stuff you post. aktieanalys

    ReplyDelete
  3. Nice to read your article! I am looking forward to sharing your adventures and experiences. teknisk analys aktier

    ReplyDelete