Click or drag to resize

QsResources Class

Class QsResources. Manages the resources for the viewer menu.
Inheritance Hierarchy
SystemObject
  QsInformatica.UtilsQsResources

Namespace: QsInformatica.Utils
Assembly: QsInformatica.Utils (in QsInformatica.Utils.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
public class QsResources

The QsResources type exposes the following members.

Constructors
 NameDescription
Public methodQsResourcesInitializes a new instance of the QsResources class
Top
Methods
 NameDescription
Public methodAddIcon(String, Icon) 
Public methodAddIcon(String, String) 
Public methodAddImage(String, Image) Add an image resource
Public methodAddImage(String, String) Add an image resource
Public methodAddSvgImage Add the SvgImage object. Pass the "SvgImage.FromFile" as file reader
Public methodStatic memberDetectResourceType 
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetIcon Get a resource icon given the name (normally with the extension)
Public methodGetImage Get a resource image given the name (normally with the extension)
Public methodGetResource Get a resource given the name (normally with the extension)
Public methodGetResourcesNames Returns all the resource names
Public methodGetSvgImage Get a resource svgimage as object given the name (normally with the extension) pass the DevExpress "SvgImage.FromStream" method and cast to SvgImage
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodHasResource Check for resource existence
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodReadResourceFile Reads a resource file. The resource file is just a zip file. Normmaly we use .mnx and .rsx extensions.
Public methodRemoveResource Remove the entry form the resources
Public methodRenameResource Rename an entry.Do not change the extension!
Public methodStatic memberSample for testing only
Public methodSaveAs Save the archive
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also