Click here to Skip to main content
15,885,782 members
Home / Discussions / C#
   

C#

 
GeneralRe: DataSets... Pin
Christian Graus3-Mar-09 16:04
protectorChristian Graus3-Mar-09 16:04 
GeneralRe: DataSets... Pin
Yusuf3-Mar-09 16:07
Yusuf3-Mar-09 16:07 
AnswerRe: DataSets... Pin
Ennis Ray Lynch, Jr.3-Mar-09 15:59
Ennis Ray Lynch, Jr.3-Mar-09 15:59 
AnswerRe: DataSets... Pin
faizicrazy3-Mar-09 22:00
faizicrazy3-Mar-09 22:00 
Questionwhat is image index ....???? Pin
S K Y3-Mar-09 14:26
S K Y3-Mar-09 14:26 
AnswerRe: what is image index ....???? Pin
Yusuf3-Mar-09 14:37
Yusuf3-Mar-09 14:37 
Question[Message Deleted] Pin
S K Y3-Mar-09 14:06
S K Y3-Mar-09 14:06 
AnswerRe: How to add image into imagelist using imageIndex ???? Pin
Yusuf3-Mar-09 14:35
Yusuf3-Mar-09 14:35 
Sit back and think as to what you want to do.

imagelist
A S E L A wrote:
imagelist1.Images.Add(???????????????????)



what do you think 'Add' takes as parameter? It got to be an Image Object. Don't you think?


Now look at your

A S E L A wrote:
foreach(listViewItem each in listView1.SelectedItems)


ListView is just a collection of, well, items. You got your selected index, kewl, now go get your Item. What kind of object is your item? Is it am image? if not not what do you need to do to convert it to Image? Now take that Image object and give it Add().

I'm not working on windows forms, but it does not take much to figure it out. What I said may not be entirely correct, but should give you general idea.

Yusuf

GeneralRe: How to add image into imagelist using imageIndex ???? Pin
S K Y3-Mar-09 15:07
S K Y3-Mar-09 15:07 
GeneralRe: How to add image into imagelist using imageIndex ???? Pin
Christian Graus3-Mar-09 15:17
protectorChristian Graus3-Mar-09 15:17 
GeneralRe: How to add image into imagelist using imageIndex ???? [modified] Pin
S K Y3-Mar-09 15:26
S K Y3-Mar-09 15:26 
GeneralRe: How to add image into imagelist using imageIndex ???? Pin
Yusuf3-Mar-09 15:51
Yusuf3-Mar-09 15:51 
GeneralRe: How to add image into imagelist using imageIndex ???? Pin
S K Y3-Mar-09 16:02
S K Y3-Mar-09 16:02 
GeneralRe: How to add image into imagelist using imageIndex ???? Pin
Yusuf3-Mar-09 16:10
Yusuf3-Mar-09 16:10 
GeneralRe: How to add image into imagelist using imageIndex ???? Pin
S K Y3-Mar-09 16:35
S K Y3-Mar-09 16:35 
GeneralRe: How to add image into imagelist using imageIndex ???? Pin
Christian Graus3-Mar-09 17:17
protectorChristian Graus3-Mar-09 17:17 
GeneralRe: How to add image into imagelist using imageIndex ???? Pin
S K Y3-Mar-09 18:39
S K Y3-Mar-09 18:39 
GeneralRe: How to add image into imagelist using imageIndex ???? Pin
S K Y4-Mar-09 14:29
S K Y4-Mar-09 14:29 
AnswerRe: How to add image into imagelist using imageIndex ???? Pin
S K Y4-Mar-09 17:56
S K Y4-Mar-09 17:56 
QuestionFiltering in c# Pin
saunders19893-Mar-09 12:24
saunders19893-Mar-09 12:24 
AnswerRe: Filtering in c# Pin
Yusuf3-Mar-09 14:41
Yusuf3-Mar-09 14:41 
GeneralRe: Filtering in c# Pin
saunders19893-Mar-09 23:53
saunders19893-Mar-09 23:53 
QuestionPopulating textbox and listbox values from MS Access tables Pin
haroon19803-Mar-09 11:38
haroon19803-Mar-09 11:38 
AnswerRe: Populating textbox and listbox values from MS Access tables Pin
haroon19803-Mar-09 22:12
haroon19803-Mar-09 22:12 
QuestionInstance Failure Pin
CodingYoshi3-Mar-09 11:08
CodingYoshi3-Mar-09 11:08 

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.