Click here to Skip to main content
15,920,383 members
Home / Discussions / C#
   

C#

 
Question"Main" method Pin
SPRC3-Jun-07 8:35
SPRC3-Jun-07 8:35 
AnswerRe: "Main" method Pin
Christian Graus3-Jun-07 11:23
protectorChristian Graus3-Jun-07 11:23 
QuestionLoged in user Information? Pin
Gul_#3-Jun-07 8:09
Gul_#3-Jun-07 8:09 
AnswerRe: Loged in user Information? Pin
andre_swnpl3-Jun-07 20:08
andre_swnpl3-Jun-07 20:08 
QuestionWeb application Pin
mushy3-Jun-07 7:27
mushy3-Jun-07 7:27 
AnswerRe: Web application Pin
Christian Graus3-Jun-07 11:25
protectorChristian Graus3-Jun-07 11:25 
Questionstring class handling.... aligment etc... Pin
Arish rivlin3-Jun-07 5:48
Arish rivlin3-Jun-07 5:48 
AnswerRe: string class handling.... aligment etc... Pin
Luc Pattyn3-Jun-07 5:59
sitebuilderLuc Pattyn3-Jun-07 5:59 
Confused | :confused:

strings are aligned to the left (at least if you write from left to right).

if you are painting to the screen, it may help to choose a "non-proportional" font,
such as "Courier New" so all characters have the same width;
maybe you want a DateTime format that applies leading zeroes,
and you might show your message number using a fixed number of digits:
num.ToString("000000") will generate at least 6 characters, using leading zeroes.

If you are painting on a Graphics, you can use MeasureString() to get the string
width in pixels, and adjust coordinates accordingly (but that would be useful only
if you do NOT want to align to the left).

Hope this helps.

Smile | :)


Questionc# - protected and protected internal Pin
jon-803-Jun-07 5:18
professionaljon-803-Jun-07 5:18 
AnswerRe: c# - protected and protected internal Pin
WillemM3-Jun-07 6:02
WillemM3-Jun-07 6:02 
GeneralRe: c# - protected and protected internal Pin
Dave Doknjas3-Jun-07 12:48
Dave Doknjas3-Jun-07 12:48 
AnswerRe: c# - protected and protected internal Pin
Expert Coming3-Jun-07 6:02
Expert Coming3-Jun-07 6:02 
GeneralRe: c# - protected and protected internal Pin
originSH3-Jun-07 21:59
originSH3-Jun-07 21:59 
QuestionLoading a bitmap into an ImageList Pin
Mark F.3-Jun-07 3:35
Mark F.3-Jun-07 3:35 
AnswerRe: Loading a bitmap into an ImageList Pin
Luc Pattyn3-Jun-07 3:46
sitebuilderLuc Pattyn3-Jun-07 3:46 
GeneralRe: Loading a bitmap into an ImageList Pin
Mark F.3-Jun-07 4:45
Mark F.3-Jun-07 4:45 
GeneralRe: Loading a bitmap into an ImageList Pin
Luc Pattyn3-Jun-07 5:10
sitebuilderLuc Pattyn3-Jun-07 5:10 
AnswerRe: Loading a bitmap into an ImageList Pin
Thomas Stockwell3-Jun-07 8:04
professionalThomas Stockwell3-Jun-07 8:04 
Questionuser control with a datagridview Pin
zwan133-Jun-07 3:27
zwan133-Jun-07 3:27 
AnswerRe: user control with a datagridview Pin
xibeifeijian3-Jun-07 4:05
xibeifeijian3-Jun-07 4:05 
GeneralRe: user control with a datagridview [modified] Pin
zwan133-Jun-07 4:35
zwan133-Jun-07 4:35 
QuestionService that continously reads keyboard and make a log file? Pin
Gul_#3-Jun-07 2:51
Gul_#3-Jun-07 2:51 
AnswerRe: Service that continously reads keyboard and make a log file? Pin
WillemM3-Jun-07 4:30
WillemM3-Jun-07 4:30 
AnswerRe: Service that continously reads keyboard and make a log file? Pin
Dave Kreskowiak3-Jun-07 5:08
mveDave Kreskowiak3-Jun-07 5:08 
GeneralRe: Service that continously reads keyboard and make a log file? Pin
Paul Conrad3-Jun-07 5:16
professionalPaul Conrad3-Jun-07 5:16 

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.