2
Answers

Print Receipt in ASP.Net With C#

Manath Pathana

Manath Pathana

13y
5.1k
1
Hi all,

I want to build form for print receipt that bind data from database.
please tell me about the way to build it. I try a lot code but cannot do it properly.
if you know about the easy way to do it please tell me.

Thank advance.


Answers (2)
0
Sam Hobbs

Sam Hobbs

NA 28.7k 1.3m 14y

Yes, your assumption that there is no message loop is incorrect. Is my assumption valid that you did not look at the Application.Run Method (Form) documentation? It says right at the top "Begins running a standard application message loop on the current thread". Note also that by definition of what a dialog is, there is a message loop for the dialog; that is how dialogs work.
 
Now since you assumed that there is not a message loop, you did not say anything about the real problem. If you need help with the real problem, then you need to be more specific about that.
0
Jaish Mathews

Jaish Mathews

NA 7.3k 1.2m 14y

Hi,
How about,
if (registration needed) {
<<SHOW DIALOG>>
<<IN DIALOG OK BUTTON SHOW SPLASH>>
<<IN SLASH OK BUTTON SHOW MAIN FORM>>
}
else
{
<<   SHOW SPLASH>>

<<IN SLASH OK BUTTON SHOW MAIN FORM>>
}