Click here to Skip to main content
15,915,513 members
Home / Discussions / C#
   

C#

 
GeneralRe: Get char from ASCII Pin
Alex Korchemniy25-Nov-04 18:39
Alex Korchemniy25-Nov-04 18:39 
GeneralRe: Get char from ASCII Pin
Richard Deeming26-Nov-04 7:41
mveRichard Deeming26-Nov-04 7:41 
GeneralSimple windows application. Pin
Anonymous25-Nov-04 13:05
Anonymous25-Nov-04 13:05 
GeneralRe: Simple windows application. Pin
Torsten Mauz25-Nov-04 13:15
Torsten Mauz25-Nov-04 13:15 
GeneralRe: Simple windows application. Pin
Robin Panther26-Nov-04 5:00
Robin Panther26-Nov-04 5:00 
GeneralRe: Simple windows application. Pin
Anonymous28-Nov-04 11:27
Anonymous28-Nov-04 11:27 
GeneralHandheld device image downloading and saving Pin
kenes25-Nov-04 12:18
kenes25-Nov-04 12:18 
GeneralImage resource management Pin
black02ep325-Nov-04 8:28
black02ep325-Nov-04 8:28 
Hello,

I am very new to C#, so please bear with me.

Currently we are creating an application which contains controls that are created and added dynamically to the application based on user profile.

We have created a separate DLL where a list of images are added to the resource (via imageList, through image stream) and the images are managed there. In the application, image-access is encapsulated by the DLL. In essense, we have code that looks like this in the main application:

myUserControl.Image = ImageManager.getInstance().getImage( IMAGE_TYPE_CONSTANT );

Is this common practice? How else would you abstract the image-access from the application? What are the pros and cons of this, and other, methods?

Thank you very much,

James
GeneralRe: Image resource management Pin
Alex Korchemniy25-Nov-04 10:32
Alex Korchemniy25-Nov-04 10:32 
GeneralRe: Image resource management Pin
black02ep325-Nov-04 11:11
black02ep325-Nov-04 11:11 
GeneralXmlDataDocument problem Pin
QzRz25-Nov-04 8:14
QzRz25-Nov-04 8:14 
GeneralRe: XmlDataDocument problem Pin
Alex Korchemniy25-Nov-04 10:11
Alex Korchemniy25-Nov-04 10:11 
GeneralRe: XmlDataDocument problem Pin
QzRz26-Nov-04 2:14
QzRz26-Nov-04 2:14 
GeneralRe: XmlDataDocument problem Pin
Alex Korchemniy26-Nov-04 8:13
Alex Korchemniy26-Nov-04 8:13 
GeneralRegistry Pin
picasso225-Nov-04 8:02
picasso225-Nov-04 8:02 
GeneralRe: Registry Pin
Alex Korchemniy25-Nov-04 10:22
Alex Korchemniy25-Nov-04 10:22 
GeneralRe: Registry Pin
Robin Panther26-Nov-04 4:46
Robin Panther26-Nov-04 4:46 
GeneralWeb Browser Document event handling Pin
eliea25-Nov-04 7:27
eliea25-Nov-04 7:27 
GeneralRe: Web Browser Document event handling Pin
Alex Korchemniy25-Nov-04 10:43
Alex Korchemniy25-Nov-04 10:43 
GeneralRe: Web Browser Document event handling Pin
eliea25-Nov-04 19:45
eliea25-Nov-04 19:45 
GeneralRe: Web Browser Document event handling Pin
eliea26-Nov-04 22:06
eliea26-Nov-04 22:06 
GeneralRe: Web Browser Document event handling Pin
Alex Korchemniy27-Nov-04 9:51
Alex Korchemniy27-Nov-04 9:51 
GeneralRe: Web Browser Document event handling Pin
eliea29-Nov-04 1:07
eliea29-Nov-04 1:07 
GeneralRe: Web Browser Document event handling Pin
eliea29-Nov-04 8:06
eliea29-Nov-04 8:06 
Generaldirectx sdk Pin
cmarmr25-Nov-04 7:27
cmarmr25-Nov-04 7:27 

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.