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
Loading
Bechir BejaouiPosted Jun 14, 2008, 8:35 AM
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
}