Click here to Skip to main content
15,922,155 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to check if a string is a letter or a number Pin
Guffa21-Sep-06 6:22
Guffa21-Sep-06 6:22 
QuestionStopping "Closing Form" in MDI Child when background worker is busy Pin
Nadia Monalisa20-Sep-06 21:25
Nadia Monalisa20-Sep-06 21:25 
QuestionListView Binding Pin
aruna_koride20-Sep-06 21:18
aruna_koride20-Sep-06 21:18 
Questionhow to display checkbox in listbox Pin
Parshant Verma20-Sep-06 21:15
Parshant Verma20-Sep-06 21:15 
AnswerRe: how to display checkbox in listbox Pin
freshonlineMax20-Sep-06 23:05
freshonlineMax20-Sep-06 23:05 
GeneralRe: how to display checkbox in listbox Pin
CM Makwana18-Feb-09 4:56
CM Makwana18-Feb-09 4:56 
QuestionOracleClient Connection String Pin
M Riaz Bashir20-Sep-06 21:01
M Riaz Bashir20-Sep-06 21:01 
AnswerRe: OracleClient Connection String Pin
Robert Rohde20-Sep-06 21:02
Robert Rohde20-Sep-06 21:02 
Questionhi everybody! Pin
e-laj20-Sep-06 20:52
e-laj20-Sep-06 20:52 
AnswerRe: hi everybody! Pin
Christian Graus20-Sep-06 21:34
protectorChristian Graus20-Sep-06 21:34 
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 

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.