hello,
in my template i want to print the template i use this.Print(true) method it pops ups the print preview. My project specifications are so tht after the user has printed out i need to ask if he wants to print another copy and then close the form.Now the problem is i dont know how to know that user has close the print preview so that i could fire up the message to have second printed copy.Second problem is that after showing message box if user click yes i want to print the template and close the form so i do this DialogResult result = MessageBox.Show("Wollen Sie das Formular erneut drucken?", "Drucken", MessageBoxButtons.YesNo);
if (result == DialogResult.Yes)
{
this.Print();
//Application.ActiveWindow.Close(true);
//Thread.Sleep(3000);
//Application.Quit(true);
//this.Close();
}
this works only if i dont close the form if i close the form then the print didnt work?
any ideas?