Main Site Documentation

Namespace vs. Resources


#1

Is it possible to load e.g. a bitmap from the Resources when standing in a different namespace?

E.g. in namespace FEZ_Cobra_Window_Application_1 one can call Resources. But if one makes a new class within a namespace that is not FEZ_Cobra_Window_Application_1 then Resouces can not be seen.

I it a silly question but…


#2

add

using FEZ_Cobra_Window_Application_1 

:slight_smile:


#3

:wink:

The idea is to make a “component”, where no code has to be changed or added later on.

Like adding a parameter to the constructor or a separate resource file… 8)