C# 클래스 LitDev.LDResources

파일 보기 프로젝트 열기: litdev1/LitDev

공개 메소드들

메소드 설명
AddFile ( Primitive fileName ) : Primitive

Add any file to the resources to be stored.

AddText ( Primitive text ) : void

Add text, or may be variable (including arrays) to the resources to be stored.

CleanTemp ( ) : void

Delete temporary sound files.

ExtractFile ( Primitive fileName ) : Primitive

Extract a saved file to the current directory (Program.Directory).

Load ( ) : Primitive

Load all previously saved resources from the sbres file. ImageList and sounds are all auto loaded ready for use. Sound files are re-created in your %temp% folder since they are required by Sound.Play.

Save ( ) : Primitive

Save all resource to the sbres file. This includes all ImageList images, pre-run sounds (Sound.Play) as well as any added files or text/variables.

메소드 상세

AddFile() 공개 정적인 메소드

Add any file to the resources to be stored.
public static AddFile ( Primitive fileName ) : Primitive
fileName Primitive The full path to the file.
리턴 Primitive

AddText() 공개 정적인 메소드

Add text, or may be variable (including arrays) to the resources to be stored.
public static AddText ( Primitive text ) : void
text Primitive The text or a Small Basic variable to add to the resources.
리턴 void

CleanTemp() 공개 정적인 메소드

Delete temporary sound files.
public static CleanTemp ( ) : void
리턴 void

ExtractFile() 공개 정적인 메소드

Extract a saved file to the current directory (Program.Directory).
public static ExtractFile ( Primitive fileName ) : Primitive
fileName Primitive The filename returned by Files method.
리턴 Primitive

Load() 공개 정적인 메소드

Load all previously saved resources from the sbres file. ImageList and sounds are all auto loaded ready for use. Sound files are re-created in your %temp% folder since they are required by Sound.Play.
public static Load ( ) : Primitive
리턴 Primitive

Save() 공개 정적인 메소드

Save all resource to the sbres file. This includes all ImageList images, pre-run sounds (Sound.Play) as well as any added files or text/variables.
public static Save ( ) : Primitive
리턴 Primitive