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

C#

 
GeneralRe: Two Forms Pin
peshkunta30-Dec-05 11:10
peshkunta30-Dec-05 11:10 
QuestionRTF Formatting in C# Pin
allenmpcx30-Dec-05 9:06
allenmpcx30-Dec-05 9:06 
QuestionMail under Visual Studio 2005 Pin
Tyler4530-Dec-05 8:32
Tyler4530-Dec-05 8:32 
AnswerRe: Mail under Visual Studio 2005 Pin
Tyler4531-Dec-05 7:24
Tyler4531-Dec-05 7:24 
QuestionThreading, Suspend() Pin
tray_gator30-Dec-05 7:40
tray_gator30-Dec-05 7:40 
AnswerRe: Threading, Suspend() Pin
Judah Gabriel Himango30-Dec-05 8:08
sponsorJudah Gabriel Himango30-Dec-05 8:08 
GeneralRe: Threading, Suspend() Pin
Jared Parsons30-Dec-05 9:33
Jared Parsons30-Dec-05 9:33 
GeneralRe: Threading, Suspend() Pin
Judah Gabriel Himango30-Dec-05 9:44
sponsorJudah Gabriel Himango30-Dec-05 9:44 
GeneralRe: Threading, Suspend() Pin
tray_gator30-Dec-05 10:07
tray_gator30-Dec-05 10:07 
GeneralRe: Threading, Suspend() Pin
Jared Parsons30-Dec-05 10:30
Jared Parsons30-Dec-05 10:30 
GeneralRe: Threading, Suspend() Pin
tray_gator30-Dec-05 10:44
tray_gator30-Dec-05 10:44 
QuestionI know this noob but.. Pin
wednesday™ -LJX-30-Dec-05 7:29
wednesday™ -LJX-30-Dec-05 7:29 
AnswerRe: I know this noob but.. Pin
Drew McGhie30-Dec-05 8:14
Drew McGhie30-Dec-05 8:14 
AnswerRe: I know this noob but.. Pin
Xodiak30-Dec-05 8:16
Xodiak30-Dec-05 8:16 
QuestionStructure/Memory Question Pin
bpreston30-Dec-05 7:11
bpreston30-Dec-05 7:11 
AnswerRe: Structure/Memory Question Pin
Judah Gabriel Himango30-Dec-05 8:14
sponsorJudah Gabriel Himango30-Dec-05 8:14 
GeneralRe: Structure/Memory Question Pin
Jared Parsons30-Dec-05 9:43
Jared Parsons30-Dec-05 9:43 
GeneralRe: Structure/Memory Question Pin
Judah Gabriel Himango30-Dec-05 9:50
sponsorJudah Gabriel Himango30-Dec-05 9:50 
GeneralRe: Structure/Memory Question Pin
Jared Parsons30-Dec-05 10:15
Jared Parsons30-Dec-05 10:15 
GeneralRe: Structure/Memory Question Pin
bpreston30-Dec-05 11:15
bpreston30-Dec-05 11:15 
QuestionCan´t print multiple pages in C# Pin
naglbitur30-Dec-05 6:48
naglbitur30-Dec-05 6:48 
Hi there.
I made a form with some Label controls on and lines and stuff. I have managed to make the computer print it. However, I would now like to add some code that will allow me to print out a second page with stuff. There is where my problem lies Frown | :-( The following code I added right after coding the very last thing that gets printed on the first page so the following is supposed to be printed on the second page:

e.HasMorePages = true;
Label svar1 = new Label();
svar1.Font = new Font("Times Roman", 12);
double result = double.NaN;
result = double.Parse(tnr1.Text) + double.Parse(tnr2.Text);
svar1.Text = result.ToString();
f.DrawString(svar1.Text, svar1.Font, new SolidBrush(svar1.ForeColor),
65, 1650);
e.HasMorePages = false;

This however yields nothing, only the first page gets printed. Can someone please help me? What am I missing?
Best regards,


FJ
AnswerRe: Can´t print multiple pages in C# Pin
Brian Van Beek30-Dec-05 6:52
Brian Van Beek30-Dec-05 6:52 
QuestionCna't Write To Hard Disk .Net 1.1 Sercurity Problem Pin
half_ex30-Dec-05 6:14
half_ex30-Dec-05 6:14 
AnswerRe: Cna't Write To Hard Disk .Net 1.1 Sercurity Problem Pin
Jared Parsons30-Dec-05 10:09
Jared Parsons30-Dec-05 10:09 
GeneralRe: Cna't Write To Hard Disk .Net 1.1 Sercurity Problem Pin
half_ex31-Dec-05 6:56
half_ex31-Dec-05 6:56 

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.