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

C#

 
GeneralRe: Threading using the ref statement? Wha Happen? Pin
jremignanti27-Oct-03 10:54
jremignanti27-Oct-03 10:54 
GeneralRe: Threading using the ref statement? Wha Happen? Pin
Heath Stewart27-Oct-03 10:55
protectorHeath Stewart27-Oct-03 10:55 
GeneralRe: Threading using the ref statement? Wha Happen? Pin
jremignanti27-Oct-03 11:17
jremignanti27-Oct-03 11:17 
GeneralAllowDrop Property Problem Pin
Volker Jacobsen27-Oct-03 3:14
Volker Jacobsen27-Oct-03 3:14 
GeneralRe: AllowDrop Property Problem Pin
Heath Stewart27-Oct-03 8:44
protectorHeath Stewart27-Oct-03 8:44 
GeneralRe: AllowDrop Property Problem Pin
Volker Jacobsen27-Oct-03 20:46
Volker Jacobsen27-Oct-03 20:46 
GeneralTwo ImageList and two ImageIndex (and maybe... useful source code for you) Pin
god4k27-Oct-03 1:36
god4k27-Oct-03 1:36 
GeneralRe: Two ImageList and two ImageIndex (and maybe... useful source code for you) Pin
Heath Stewart27-Oct-03 2:37
protectorHeath Stewart27-Oct-03 2:37 
If you mean in code, simple:
Image imgA = imageListA.Images[indexA];
Image imgB = imageListB.Images[indexB];
If you mean through the designer, you'll have to create your own TypeConverter (or derive from ImageIndexConverter) and return the image indeces from the currect ImageList, meaning that you'll have to use two separate TypeConverters.

See the docs about the TypeConverter.GetStandardValues method for clues on how to do this, or take a look at System.Windows.Forms.ImageIndexConverter through some disassembler (like ildasm.exe that comes with the .NET Framework SDK) or decompiler (like .NET Reflector).

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
QuestionHow do I catch Windows messages in c#?? Pin
IrishSonic27-Oct-03 0:03
IrishSonic27-Oct-03 0:03 
AnswerRe: How do I catch Windows messages in c#?? Pin
Heath Stewart27-Oct-03 2:13
protectorHeath Stewart27-Oct-03 2:13 
AnswerRe: How do I catch Windows messages in c#?? Pin
oOomen27-Oct-03 4:58
oOomen27-Oct-03 4:58 
GeneralFOCUS Pin
oOomen26-Oct-03 20:27
oOomen26-Oct-03 20:27 
GeneralRe: FOCUS Pin
Heath Stewart27-Oct-03 2:25
protectorHeath Stewart27-Oct-03 2:25 
GeneralRe: FOCUS Pin
oOomen27-Oct-03 5:01
oOomen27-Oct-03 5:01 
GeneralRe: FOCUS Pin
allancto27-Oct-03 18:32
allancto27-Oct-03 18:32 
GeneralRe: FOCUS Pin
oOomen28-Oct-03 2:38
oOomen28-Oct-03 2:38 
GeneralRe: FOCUS Pin
oOomen28-Oct-03 2:52
oOomen28-Oct-03 2:52 
GeneralRe: FOCUS Pin
Heath Stewart28-Oct-03 2:54
protectorHeath Stewart28-Oct-03 2:54 
GeneralRe: FOCUS Pin
oOomen28-Oct-03 2:58
oOomen28-Oct-03 2:58 
QuestionHow to display store procedure list in Ms Access? Pin
god4k26-Oct-03 14:17
god4k26-Oct-03 14:17 
AnswerRe: How to display store procedure list in Ms Access? Pin
Heath Stewart26-Oct-03 17:17
protectorHeath Stewart26-Oct-03 17:17 
GeneralRe: There is stored procedure in MS Access Pin
Edbert P27-Oct-03 12:08
Edbert P27-Oct-03 12:08 
QuestionI have two Button, How to alter them? Pin
god4k26-Oct-03 14:16
god4k26-Oct-03 14:16 
AnswerRe: I have two Button, How to alter them? Pin
Christian Graus26-Oct-03 15:08
protectorChristian Graus26-Oct-03 15:08 
AnswerRe: I have two Button, How to alter them? Pin
Heath Stewart26-Oct-03 17:25
protectorHeath Stewart26-Oct-03 17:25 

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.