on 07-11-2010 6:35 PM
Hi all,
Help me, Why printdilog hide behind.
Code:
this.printDialog.Document = this.printDocument;
if (this.printDialog.ShowDialog() == DialogResult.OK)
{
int nCopy = this.printDocument.PrinterSettings.Copies;
int sPage = this.printDocument.PrinterSettings.FromPage;
int ePage = this.printDocument.PrinterSettings.ToPage;
string printerName = this.printDocument.PrinterSettings.PrinterName;
// Call Crystal Report to print
rpt.PrintOptions.PrinterName = printerName;
rpt.PrintToPrinter(nCopy, false, sPage, ePage);
}
I Want to appear. Without pressing Alt + Tab.
Thank you for answer.
Hello
When you debug, itt will be started in the background. When you compile and run it will be started in the foreground, so you do not have to press the ALT+TAB.
regards
J
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
102 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.