Click here to Skip to main content
15,917,060 members
Home / Discussions / C#
   

C#

 
GeneralRe: Lock question Pin
Steve Messer20-Aug-05 4:58
Steve Messer20-Aug-05 4:58 
GeneralRe: Lock question Pin
Guffa20-Aug-05 13:31
Guffa20-Aug-05 13:31 
GeneralRe: Lock question Pin
Steve Messer20-Aug-05 13:48
Steve Messer20-Aug-05 13:48 
GeneralRe: Lock question Pin
Guffa21-Aug-05 1:23
Guffa21-Aug-05 1:23 
GeneralRe: Lock question Pin
Steve Messer21-Aug-05 2:43
Steve Messer21-Aug-05 2:43 
GeneralGDI+ Paths and Regions Pin
mpastchenko19-Aug-05 8:39
mpastchenko19-Aug-05 8:39 
GeneralRe: GDI+ Paths and Regions Pin
mpastchenko19-Aug-05 11:37
mpastchenko19-Aug-05 11:37 
GeneralLabel Graph Tick Mark Axis, Mistake Pin
...---...19-Aug-05 7:09
...---...19-Aug-05 7:09 
I have a for loop that labels tick marks on a graph axis. I can't make it do what I want.

I want this:
| | | C | | |
-3.0 -2.0 -1.0 +1.0 +2.0 +3.0 etc..

I keep getting this:

| | | C | | |
-3.0 -2.0 -1.0 +0.0 +1.0 +2.0

My loop uses a DrawLine(x1, y1,...) to draw the ticks
It also uses a DrawString(f.ToString("f1"), ....) to draw the numbers
I then increment the float for the next iteration.
I've tried a few control structures "if else..." but keep ketting similar results...
Any ideas? Thanks in advance


GeneralRe: Label Graph Tick Mark Axis, Mistake Pin
...---...19-Aug-05 7:13
...---...19-Aug-05 7:13 
GeneralRe: Label Graph Tick Mark Axis, Mistake Pin
Guffa19-Aug-05 7:17
Guffa19-Aug-05 7:17 
QuestionHow2 assign specific class type to generic object type? Pin
Dennis McMahon19-Aug-05 7:08
Dennis McMahon19-Aug-05 7:08 
AnswerRe: How2 assign specific class type to generic object type? Pin
AndrewJMarshall19-Aug-05 7:36
AndrewJMarshall19-Aug-05 7:36 
GeneralRe: How2 assign specific class type to generic object type? Pin
Dennis McMahon19-Aug-05 8:01
Dennis McMahon19-Aug-05 8:01 
GeneralDataGrid bounded to a DataTable with composite key. Pin
miah alom19-Aug-05 6:55
miah alom19-Aug-05 6:55 
GeneralRe: DataGrid bounded to a DataTable with composite key. Pin
rudy.net19-Aug-05 13:35
rudy.net19-Aug-05 13:35 
GeneralRe: DataGrid bounded to a DataTable with composite key. Pin
miah alom21-Aug-05 6:01
miah alom21-Aug-05 6:01 
QuestionAUTO UPDATE?? Pin
cyrus_thevirus19-Aug-05 5:27
cyrus_thevirus19-Aug-05 5:27 
AnswerRe: AUTO UPDATE?? Pin
Mohamad Al Husseiny19-Aug-05 6:19
Mohamad Al Husseiny19-Aug-05 6:19 
GeneralRe: AUTO UPDATE?? Pin
cyrus_thevirus19-Aug-05 6:41
cyrus_thevirus19-Aug-05 6:41 
GeneralRe: AUTO UPDATE?? Pin
ekynox19-Aug-05 17:01
ekynox19-Aug-05 17:01 
GeneralFile Copy from remote server Pin
NitinR19-Aug-05 5:19
NitinR19-Aug-05 5:19 
GeneralRe: File Copy from remote server Pin
| Muhammad Waqas Butt |19-Aug-05 5:40
professional| Muhammad Waqas Butt |19-Aug-05 5:40 
GeneralGarbage Collection Issue Pin
MarkMokris19-Aug-05 4:43
MarkMokris19-Aug-05 4:43 
GeneralRe: Garbage Collection Issue Pin
Dan Neely19-Aug-05 4:56
Dan Neely19-Aug-05 4:56 
GeneralRe: Garbage Collection Issue Pin
MarkMokris19-Aug-05 6:00
MarkMokris19-Aug-05 6:00 

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.