Jump to content

listBox and buttons

- - - - -

  • Please log in to reply
1 reply to this topic

#1
Microguy

Microguy

    Newbie

  • Members
  • PipPipPip
  • 30 posts
Hi

I have some codes that ive heard is right, but I dont know where to place them.
it is something like this

int lineNumber = 0;
lineNumber++;
lineNumber--;
string textField = lineNumber.ToString();

please tell me where to place them :D

they are (as I know) to get linenumbers infront of the sentence I write in a listbox using a button :)
like this:
1. this is the first line
2. this is the second line
3. this is the third line
4. do you know what I mean?
5. <-- is the lineNumber
6. I hope you understand it now
:)

Edited by Microguy, 30 December 2011 - 12:33 PM.


#2
Microguy

Microguy

    Newbie

  • Members
  • PipPipPip
  • 30 posts
just want to bump it :)
bump!




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users