Hi folks,
In my c# epos app, i have a method which does two things:
It calls a method to update the Form with the change to be given to the customer.
It then calls a method to print the receipt to the serial printer.
Even though the update Form method is called first, it doesn't get enough time to update the label for the change (Other labels appear half-updated). THe Form just seems to not update until the printing it over.
I have tried adding Thread.Sleep(10) to the method which does the printing but all this does is just delay the receipt printing....
Any ideas?
Thanks