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

C#

 
GeneralRe: Off-line Documentation Download? Pin
EliottA29-Oct-09 3:19
EliottA29-Oct-09 3:19 
GeneralRe: Off-line Documentation Download? Pin
Eddy Vluggen29-Oct-09 11:12
professionalEddy Vluggen29-Oct-09 11:12 
Questiontree view Pin
Member 59031028-Oct-09 17:38
Member 59031028-Oct-09 17:38 
AnswerRe: tree view Pin
miss YY28-Oct-09 18:56
miss YY28-Oct-09 18:56 
QuestionClient/Server and browser/Server Pin
wangzhenguo28-Oct-09 16:54
wangzhenguo28-Oct-09 16:54 
AnswerRe: Client/Server and browser/Server Pin
Christian Graus28-Oct-09 17:00
protectorChristian Graus28-Oct-09 17:00 
Questionerror simulation Pin
darthluke28-Oct-09 13:05
darthluke28-Oct-09 13:05 
Questiontranslating on-screen width to printed width Pin
TimWallace28-Oct-09 10:00
TimWallace28-Oct-09 10:00 
I have created an object that, given a reference to a DataGridView will print it. I have one problem with my code, however. When I double-click the column separators to get the minimum size that will display all the contents of the columns and then print, not all of the content displays in the print. I need to figure out how to translate the on-screen column width to a printed width. Now, I know some of you are thinking "use MeasureString()". That would require two passes of my data to find the longest contents of the column. That is inefficient. There has to be (read as "please let there be") a way to simply convert the column width for printing purposes.

Any ideas?
AnswerRe: translating on-screen width to printed width Pin
Henry Minute28-Oct-09 10:12
Henry Minute28-Oct-09 10:12 
GeneralRe: translating on-screen width to printed width Pin
TimWallace28-Oct-09 11:07
TimWallace28-Oct-09 11:07 
QuestionGeneric Collection vs ArrayList Pin
Kevin Marois28-Oct-09 9:23
professionalKevin Marois28-Oct-09 9:23 
AnswerRe: Generic Collection vs ArrayList Pin
Henry Minute28-Oct-09 9:45
Henry Minute28-Oct-09 9:45 
AnswerRe: Generic Collection vs ArrayList Pin
Paulo Zemek28-Oct-09 10:41
mvaPaulo Zemek28-Oct-09 10:41 
AnswerRe: Generic Collection vs ArrayList Pin
PIEBALDconsult28-Oct-09 11:37
mvePIEBALDconsult28-Oct-09 11:37 
JokeRe: Generic Collection vs ArrayList Pin
Mycroft Holmes28-Oct-09 15:07
professionalMycroft Holmes28-Oct-09 15:07 
Questionthreading Pin
sajjy28-Oct-09 8:18
sajjy28-Oct-09 8:18 
AnswerRe: threading Pin
Paulo Zemek28-Oct-09 10:45
mvaPaulo Zemek28-Oct-09 10:45 
QuestionThe specified network name is no longer available. Pin
DanielWehrle28-Oct-09 8:15
DanielWehrle28-Oct-09 8:15 
AnswerRe: The specified network name is no longer available. Pin
Paulo Zemek28-Oct-09 10:49
mvaPaulo Zemek28-Oct-09 10:49 
QuestionNamed Pipe reading very slowly Pin
akhanal28-Oct-09 6:08
akhanal28-Oct-09 6:08 
AnswerRe: Named Pipe reading very slowly [modified] Pin
akhanal28-Oct-09 7:20
akhanal28-Oct-09 7:20 
GeneralRe: Named Pipe reading very slowly Pin
Paulo Zemek28-Oct-09 10:54
mvaPaulo Zemek28-Oct-09 10:54 
GeneralRe: Named Pipe reading very slowly Pin
akhanal28-Oct-09 11:21
akhanal28-Oct-09 11:21 
GeneralRe: Named Pipe reading very slowly Pin
Paulo Zemek29-Oct-09 1:11
mvaPaulo Zemek29-Oct-09 1:11 
Question"View Only" mode for WebBrowser class? Pin
Matthew Klein28-Oct-09 6:03
Matthew Klein28-Oct-09 6:03 

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.