I am working on a C# program, and I need to print the text displayed on multiple messageboxes whenever the boxes are displayed.
I would prefer the code to be in a seperate section than that of the messagebox's code, but any printing help would get me in the right direction.
Thanks
Printing MessageBox Text
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Bechir BejaouiRank #144 · 15.9K pointsPosted Jun 14, 2008, 4:35 AM EDT
static void Main()
{
Thread th = new Thread(new ThreadStart(Print));
}
public void Print()
{
//TO DO: Perform the code that print messages here
//The mesage box will be displayed by the main thread
//at the same time the print action will be performed
}