public static void LookupResources(ResourceType type, ScriptRegister script, StyleRegister style)
 {
     if (ResourcesLookup != null)
     {
         ResourcesLookup(null, new ResourcesLookupEventArgs(type, script, style));
     }
     else
     {
         throw new NotSupportedException("The application does not support lookup resources.");
     }
 }
Esempio n. 2
0
 internal ResourcesLookupEventArgs(ResourceType resourceType, ScriptRegister script, StyleRegister style)
 {
     ResourceType = resourceType;
     Script       = script;
     Style        = style;
 }