Click here to Skip to main content
15,887,083 members
Home / Discussions / C#
   

C#

 
GeneralRe: Multi-threading in a web service Pin
mjmcinto30-Apr-04 2:45
mjmcinto30-Apr-04 2:45 
GeneralRe: Multi-threading in a web service Pin
Heath Stewart30-Apr-04 3:14
protectorHeath Stewart30-Apr-04 3:14 
Generalprinting multiple pages Pin
nmah29-Apr-04 5:07
nmah29-Apr-04 5:07 
GeneralRe: printing multiple pages Pin
Heath Stewart29-Apr-04 5:37
protectorHeath Stewart29-Apr-04 5:37 
GeneralRe: printing multiple pages Pin
nmah29-Apr-04 7:26
nmah29-Apr-04 7:26 
GeneralRe: printing multiple pages Pin
Heath Stewart29-Apr-04 8:28
protectorHeath Stewart29-Apr-04 8:28 
GeneralRe: printing multiple pages Pin
nmah29-Apr-04 8:32
nmah29-Apr-04 8:32 
GeneralRe: printing multiple pages Pin
..Hubert..29-Apr-04 5:42
..Hubert..29-Apr-04 5:42 
My quick and dirty solution (there was no time to develop something more efficient):
1. Find maximum area of whole print
2. split it into printable pages (tiles)
for every page you print:
1. set offset of graphics object into current page
e.Graphics.TranslateTransform(-PrintRectangle.X+e.MarginBounds.Left, -PrintRectangle.Y+e.MarginBounds.Top+this.titleHeight);
2. create "window" for graphics:
e.Graphics.SetClip(PrintRectangle);
3. print EVERYTHING - all the controls you want in any order you want. That's the trick. Clip makes the rest for you


GeneralScrewed up a service. Pin
Xian29-Apr-04 4:58
Xian29-Apr-04 4:58 
GeneralRe: Screwed up a service. Pin
Heath Stewart29-Apr-04 5:24
protectorHeath Stewart29-Apr-04 5:24 
GeneralRe: Screwed up a service. Pin
Xian29-Apr-04 5:47
Xian29-Apr-04 5:47 
QuestionHow to Make a MDI form itself XP theme aware Pin
TaoLi29-Apr-04 3:54
TaoLi29-Apr-04 3:54 
AnswerRe: How to Make a MDI form itself XP theme aware Pin
Heath Stewart29-Apr-04 4:25
protectorHeath Stewart29-Apr-04 4:25 
AnswerRe: How to Make a MDI form itself XP theme aware Pin
Heath Stewart29-Apr-04 4:27
protectorHeath Stewart29-Apr-04 4:27 
GeneralRe: How to Make a MDI form itself XP theme aware Pin
TaoLi29-Apr-04 4:37
TaoLi29-Apr-04 4:37 
GeneralRe: How to Make a MDI form itself XP theme aware Pin
Jon G29-Apr-04 5:24
Jon G29-Apr-04 5:24 
GeneralRe: Calling an exported Function - Issue with different calling convention in C# Pin
Heath Stewart29-Apr-04 3:09
protectorHeath Stewart29-Apr-04 3:09 
QuestionRichTextBox-Coul you help me out? Pin
kumaru_san29-Apr-04 2:31
kumaru_san29-Apr-04 2:31 
GeneralNewbie: login screen Pin
ziwez029-Apr-04 2:15
ziwez029-Apr-04 2:15 
GeneralRe: Newbie: login screen Pin
Heath Stewart29-Apr-04 4:14
protectorHeath Stewart29-Apr-04 4:14 
Generalnetzwerk / network Pin
Anonymous29-Apr-04 1:56
Anonymous29-Apr-04 1:56 
GeneralRe: netzwerk / network Pin
Anonymous29-Apr-04 2:08
Anonymous29-Apr-04 2:08 
GeneralRe: netzwerk / network Pin
Daniel Turini29-Apr-04 2:28
Daniel Turini29-Apr-04 2:28 
Generaldetermine mouse button from System.EventArgs Pin
mookeroo29-Apr-04 1:16
mookeroo29-Apr-04 1:16 
GeneralRe: determine mouse button from System.EventArgs Pin
Stefan Troschuetz29-Apr-04 1:49
Stefan Troschuetz29-Apr-04 1:49 

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.