Click here to Skip to main content
15,905,612 members
Home / Discussions / C#
   

C#

 
GeneralRe: hi everybody! Pin
Rob Manderson19-Jul-08 23:47
protectorRob Manderson19-Jul-08 23:47 
AnswerRe: hi everybody! Pin
Guffa20-Sep-06 21:50
Guffa20-Sep-06 21:50 
Questionc# mdi form application focus change problem Pin
orfur@orfur.com20-Sep-06 20:06
orfur@orfur.com20-Sep-06 20:06 
QuestionPrinter Is Print Slowly And Stoped....C# Pin
galigal1520-Sep-06 19:10
galigal1520-Sep-06 19:10 
AnswerRe: Printer Is Print Slowly And Stoped....C# Pin
Syed Mujtaba Hassan22-Sep-06 23:19
Syed Mujtaba Hassan22-Sep-06 23:19 
GeneralRe: Printer Is Print Slowly And Stoped....C# Pin
galigal1523-Sep-06 12:10
galigal1523-Sep-06 12:10 
GeneralRe: Printer Is Print Slowly And Stoped....C# Pin
Syed Mujtaba Hassan25-Sep-06 0:18
Syed Mujtaba Hassan25-Sep-06 0:18 
GeneralRe: Printer Is Print Slowly And Stoped....C# Pin
galigal1525-Sep-06 1:32
galigal1525-Sep-06 1:32 
But now how can I print a table in this file ? ? ?

Or - I need to save for another file ex ? ? ?

Do you have an idea what can I do ? ? ?


The code you write down:
<br />
// The PrintDialog will print the document<br />
// by handling the document's PrintPage event.<br />
private void document_PrintPage(object sender, <br />
System.Drawing.Printing.PrintPageEventArgs e)<br />
{<br />
<br />
// Insert code to render the page here.<br />
// This code will be called when the control is drawn.<br />
<br />
// The following code will render a simple<br />
// message on the printed document.<br />
string text = "In document_PrintPage method.";<br />
System.Drawing.Font printFont = new System.Drawing.Font<br />
("Arial", 35, System.Drawing.FontStyle.Regular);<br />
<br />
// Draw the content.<br />
e.Graphics.DrawString(text, printFont, <br />
System.Drawing.Brushes.Black, 10, 10);<br />
}<br />


*************************************************

This code I use with all my poject.
for text,line's,square....

That does not work so good.


WTF | :WTF: Confused | :confused: WTF | :WTF: D'Oh! | :doh:
GeneralRe: Printer Is Print Slowly And Stoped....C# Pin
Syed Mujtaba Hassan25-Sep-06 19:02
Syed Mujtaba Hassan25-Sep-06 19:02 
GeneralRe: Printer Is Print Slowly And Stoped....C# Pin
galigal1526-Sep-06 1:46
galigal1526-Sep-06 1:46 
GeneralRe: Printer Is Print Slowly And Stoped....C# Pin
Syed Mujtaba Hassan27-Sep-06 22:58
Syed Mujtaba Hassan27-Sep-06 22:58 
QuestionPrinter Is Print Slowly And Stoped...... Pin
galigal1520-Sep-06 19:07
galigal1520-Sep-06 19:07 
Questionhow to recognise thread Pin
Parshant Verma20-Sep-06 18:57
Parshant Verma20-Sep-06 18:57 
AnswerRe: how to recognise thread Pin
S. Senthil Kumar20-Sep-06 20:07
S. Senthil Kumar20-Sep-06 20:07 
QuestionFew qustions Pin
NaNg1524120-Sep-06 18:08
NaNg1524120-Sep-06 18:08 
AnswerRe: Few qustions Pin
yueue20-Sep-06 19:00
yueue20-Sep-06 19:00 
GeneralRe: Few qustions Pin
NaNg1524121-Sep-06 7:23
NaNg1524121-Sep-06 7:23 
QuestionWhich Control is Best To Draw Graphs? Pin
...---...20-Sep-06 16:17
...---...20-Sep-06 16:17 
AnswerRe: Which Control is Best To Draw Graphs? Pin
Christian Graus20-Sep-06 16:44
protectorChristian Graus20-Sep-06 16:44 
AnswerRe: Which Control is Best To Draw Graphs? Pin
Judah Gabriel Himango20-Sep-06 16:45
sponsorJudah Gabriel Himango20-Sep-06 16:45 
AnswerRe: Which Control is Best To Draw Graphs? Pin
yueue20-Sep-06 19:03
yueue20-Sep-06 19:03 
QuestionTrue/False DB Field display Yes/No instead Pin
Glen Harvy20-Sep-06 15:04
Glen Harvy20-Sep-06 15:04 
AnswerRe: True/False DB Field display Yes/No instead Pin
Christian Graus20-Sep-06 15:12
protectorChristian Graus20-Sep-06 15:12 
GeneralRe: True/False DB Field display Yes/No instead Pin
Glen Harvy20-Sep-06 15:20
Glen Harvy20-Sep-06 15:20 
GeneralRe: True/False DB Field display Yes/No instead Pin
Christian Graus20-Sep-06 15:38
protectorChristian Graus20-Sep-06 15:38 

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.