Click here to Skip to main content
15,913,685 members
Home / Discussions / C#
   

C#

 
QuestionTrying to create a form ( on main thread) from a background thread ( using Invoke()) Pin
franco nero20-May-09 18:50
franco nero20-May-09 18:50 
AnswerRe: Trying to create a form ( on main thread) from a background thread ( using Invoke()) Pin
Nicholas Butler21-May-09 2:02
sitebuilderNicholas Butler21-May-09 2:02 
QuestionMulti thread Pin
yesu prakash20-May-09 18:16
yesu prakash20-May-09 18:16 
AnswerRe: Multi thread Pin
Luc Pattyn20-May-09 19:26
sitebuilderLuc Pattyn20-May-09 19:26 
GeneralRe: Multi thread Pin
yesu prakash20-May-09 20:55
yesu prakash20-May-09 20:55 
GeneralRe: Multi thread Pin
Luc Pattyn21-May-09 3:07
sitebuilderLuc Pattyn21-May-09 3:07 
QuestionPrint Datagridview Pin
yueru20-May-09 17:58
yueru20-May-09 17:58 
AnswerRe: Print Datagridview Pin
Luc Pattyn20-May-09 19:34
sitebuilderLuc Pattyn20-May-09 19:34 
Hi,

printing is a rather complex issue. The overall picture is your app has to do the pagination, it has to decide how much data fits on a page (PrintPage event will fire once for every page), and you should set PrintEventArgs.HasMorePages true for all but the last page. Furthermore, you have to keep track of the printing progress and implement the PrintPage handler such that it delivers the data belonging on the page currently being printed.

I don't have a simple example available, but there are lots of them on google. Maybe this one[^] can help you.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.

GeneralRe: Print Datagridview [modified] Pin
yueru21-May-09 18:49
yueru21-May-09 18:49 
QuestionC1FlexGrid column ordering Pin
gvanto20-May-09 17:56
gvanto20-May-09 17:56 
AnswerRe: C1FlexGrid column ordering Pin
Jimmanuel21-May-09 0:30
Jimmanuel21-May-09 0:30 
GeneralRe: C1FlexGrid column ordering Pin
gvanto21-May-09 14:17
gvanto21-May-09 14:17 
QuestionPosting messages Pin
BidSki20-May-09 17:34
BidSki20-May-09 17:34 
AnswerRe: Posting messages Pin
Henry Minute21-May-09 0:13
Henry Minute21-May-09 0:13 
QuestionAccess To Path Denied Pin
BlitzPackage20-May-09 16:40
BlitzPackage20-May-09 16:40 
AnswerRe: Access To Path Denied Pin
Luc Pattyn20-May-09 17:16
sitebuilderLuc Pattyn20-May-09 17:16 
GeneralRe: Access To Path Denied Pin
BlitzPackage21-May-09 16:26
BlitzPackage21-May-09 16:26 
GeneralRe: Access To Path Denied Pin
Luc Pattyn21-May-09 16:55
sitebuilderLuc Pattyn21-May-09 16:55 
QuestionAccess to the VGA/DVI port Pin
Bobby Hang20-May-09 14:59
Bobby Hang20-May-09 14:59 
AnswerRe: Access to the VGA/DVI port Pin
Luc Pattyn20-May-09 15:15
sitebuilderLuc Pattyn20-May-09 15:15 
GeneralRe: Access to the VGA/DVI port Pin
Bobby Hang20-May-09 15:25
Bobby Hang20-May-09 15:25 
GeneralRe: Access to the VGA/DVI port Pin
Bobby Hang29-May-09 11:26
Bobby Hang29-May-09 11:26 
GeneralRe: Access to the VGA/DVI port Pin
Luc Pattyn29-May-09 11:33
sitebuilderLuc Pattyn29-May-09 11:33 
GeneralRe: Access to the VGA/DVI port Pin
Bobby Hang2-Jun-09 3:44
Bobby Hang2-Jun-09 3:44 
GeneralRe: Access to the VGA/DVI port Pin
Luc Pattyn2-Jun-09 3:53
sitebuilderLuc Pattyn2-Jun-09 3:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.