Click here to Skip to main content
15,891,033 members
Home / Discussions / C#
   

C#

 
GeneralRe: print Pin
farokhian16-Nov-09 9:54
farokhian16-Nov-09 9:54 
GeneralRe: print Pin
Saksida Bojan16-Nov-09 10:05
Saksida Bojan16-Nov-09 10:05 
QuestionHow to get object from array with selectedindex of listview Pin
Aljaz11116-Nov-09 7:06
Aljaz11116-Nov-09 7:06 
AnswerRe: How to get object from array with selectedindex of listview Pin
Saksida Bojan16-Nov-09 7:16
Saksida Bojan16-Nov-09 7:16 
AnswerRe: How to get object from array with selectedindex of listview Pin
Shameel16-Nov-09 7:24
professionalShameel16-Nov-09 7:24 
GeneralRe: How to get object from array with selectedindex of listview Pin
Aljaz11116-Nov-09 7:28
Aljaz11116-Nov-09 7:28 
GeneralRe: How to get object from array with selectedindex of listview Pin
Saksida Bojan16-Nov-09 7:37
Saksida Bojan16-Nov-09 7:37 
GeneralRe: How to get object from array with selectedindex of listview Pin
Luc Pattyn16-Nov-09 7:40
sitebuilderLuc Pattyn16-Nov-09 7:40 
a generic list (e.g. List<int>) is like a stretchable array, it will grow and shrink as you add/remove items. And you can access its elements using an index, and you can iterate its elements with foreach.

it is all in the documentation!

BTW: if all your objects are in a ListView, then listView.Items is holding them all; so you can index and iterate that directly. (Not a good idea if you need a layered approach, where the ListView is just part of the view, not of the business logic).

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages


GeneralRe: How to get object from array with selectedindex of listview Pin
Aljaz11116-Nov-09 11:11
Aljaz11116-Nov-09 11:11 
GeneralRe: How to get object from array with selectedindex of listview Pin
Luc Pattyn16-Nov-09 11:28
sitebuilderLuc Pattyn16-Nov-09 11:28 
GeneralRe: How to get object from array with selectedindex of listview Pin
Shameel16-Nov-09 23:09
professionalShameel16-Nov-09 23:09 
QuestionImages are shrunken =&gt; i want to get them shrink-proof Pin
tronix0116-Nov-09 4:22
tronix0116-Nov-09 4:22 
QuestionWord Interop: Unable to save text in a document Pin
mailtogj16-Nov-09 4:21
mailtogj16-Nov-09 4:21 
AnswerRe: Word Interop: Unable to save text in a document Pin
EliottA16-Nov-09 4:33
EliottA16-Nov-09 4:33 
GeneralRe: Word Interop: Unable to save text in a document Pin
mailtogj17-Nov-09 4:48
mailtogj17-Nov-09 4:48 
QuestionOutlook VSTO Appointment Item Delete Event Pin
Programm3r16-Nov-09 3:52
Programm3r16-Nov-09 3:52 
QuestionHelp with BackgroundWoker Pin
Etienne_12316-Nov-09 3:48
Etienne_12316-Nov-09 3:48 
AnswerRe: Help with BackgroundWoker Pin
Not Active16-Nov-09 4:05
mentorNot Active16-Nov-09 4:05 
AnswerRe: Help with BackgroundWoker Pin
The Man from U.N.C.L.E.16-Nov-09 4:14
The Man from U.N.C.L.E.16-Nov-09 4:14 
GeneralRe: Help with BackgroundWoker Pin
Not Active16-Nov-09 6:23
mentorNot Active16-Nov-09 6:23 
AnswerRe: Help with BackgroundWoker Pin
Luc Pattyn16-Nov-09 7:20
sitebuilderLuc Pattyn16-Nov-09 7:20 
QuestionNullable Rectangle Pin
gwithey16-Nov-09 3:00
gwithey16-Nov-09 3:00 
AnswerRe: Nullable Rectangle Pin
The Man from U.N.C.L.E.16-Nov-09 4:11
The Man from U.N.C.L.E.16-Nov-09 4:11 
QuestionDrawing time instead of numbers in opengl Pin
Paul Harsent16-Nov-09 2:56
Paul Harsent16-Nov-09 2:56 
QuestionHow to selected drowndown list options in web browser Pin
fatix16-Nov-09 2:51
fatix16-Nov-09 2:51 

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.