C# 클래스 LitDev.LDUtilities

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

공개 프로퍼티들

프로퍼티 타입 설명
showPreview bool

Private Properties

프로퍼티 타입 설명
ExitButtonMode void
GWCapture void
GWPrint void
PauseUpdates void
RegexMatch Primitive
RegexReplace Primitive
ResumeUpdates void
TWCapture void
TWPrint void
TopMostGW void
TransparentGW void
UnZip Primitive
Zip Primitive
ZipList Primitive

공개 메소드들

메소드 설명
CleanTemp ( ) : Primitive

Delete all Small Basic related files from the temp folder. These are files with extensions tmp, pdb and dll. Other applications may also use these, so best to use with no other apps running.

ColourList ( ) : Primitive

Get an array of available colour names.

FixFlickr ( ) : void

Fix the Flickr object (Version 1.0).

FontList ( ) : Primitive

Get an array of available font names.

GetCultureInvariantNumber ( Primitive input ) : Primitive

Get a number expressed in the culture invariant form. A number must be culture invariant in order to be treated as a number in calculations. A current culture number is how it is input or output. For example "3.14" is culture invariant, while "3,14" is French culture.

GetCurrentCultureNumber ( Primitive input ) : Primitive

Get a number expressed in the current culture. A number must be culture invariant in order to be treated as a number in calculations. A current culture number is how it is input or output. For example "3.14" is culture invariant, while "3,14" is French culture.

GetNextMapIndex ( Primitive listName ) : Primitive

Get the next integer for object names. For example Buttons are labeled "Button1", "Button2" etc. This method returns the integer index that would be used for the next object added.

IsNumber ( Primitive input ) : Primitive

Test if the input will be treated by SmallBasic as a number. This is a culture invariant number, e.g. "3.14", but not "3,14" or "24x".

KeyDown ( Primitive key ) : Primitive

Get if a key is down. Useful for simplified keyboard game control.

Version ( ) : Primitive

Gets the current version of the extension and displays a window with this information and a changelog.

비공개 메소드들

메소드 설명
ExitButtonMode ( Primitive window, Primitive mode ) : void
GWCapture ( Primitive fileName, Primitive border ) : void
GWPrint ( Primitive border ) : void
PauseUpdates ( ) : void
RegexMatch ( Primitive input, Primitive pattern, Primitive caseSensitive ) : Primitive
RegexReplace ( Primitive input, Primitive pattern, Primitive replacement, Primitive caseSensitive ) : Primitive
ResumeUpdates ( ) : void
TWCapture ( Primitive fileName, Primitive border ) : void
TWPrint ( Primitive border ) : void
TopMostGW ( Primitive top ) : void
TransparentGW ( ) : void
UnZip ( Primitive zipFile, Primitive directory ) : Primitive
Zip ( Primitive zipFile, Primitive files ) : Primitive
ZipList ( Primitive zipFile ) : Primitive

메소드 상세

CleanTemp() 공개 정적인 메소드

Delete all Small Basic related files from the temp folder. These are files with extensions tmp, pdb and dll. Other applications may also use these, so best to use with no other apps running.
public static CleanTemp ( ) : Primitive
리턴 Primitive

ColourList() 공개 정적인 메소드

Get an array of available colour names.
public static ColourList ( ) : Primitive
리턴 Primitive

FixFlickr() 공개 정적인 메소드

Fix the Flickr object (Version 1.0).
public static FixFlickr ( ) : void
리턴 void

FontList() 공개 정적인 메소드

Get an array of available font names.
public static FontList ( ) : Primitive
리턴 Primitive

GetCultureInvariantNumber() 공개 정적인 메소드

Get a number expressed in the culture invariant form. A number must be culture invariant in order to be treated as a number in calculations. A current culture number is how it is input or output. For example "3.14" is culture invariant, while "3,14" is French culture.
public static GetCultureInvariantNumber ( Primitive input ) : Primitive
input Primitive A number expressed in the current culture.
리턴 Primitive

GetCurrentCultureNumber() 공개 정적인 메소드

Get a number expressed in the current culture. A number must be culture invariant in order to be treated as a number in calculations. A current culture number is how it is input or output. For example "3.14" is culture invariant, while "3,14" is French culture.
public static GetCurrentCultureNumber ( Primitive input ) : Primitive
input Primitive A culture invariant number.
리턴 Primitive

GetNextMapIndex() 공개 정적인 메소드

Get the next integer for object names. For example Buttons are labeled "Button1", "Button2" etc. This method returns the integer index that would be used for the next object added.
public static GetNextMapIndex ( Primitive listName ) : Primitive
listName Primitive /// The map (list) type, valid listNames (Case sensitive) are: /// "Button" /// "TextBox" /// "ImageList" /// "Ellipse" /// "Image" /// "Line" /// "Rectangle" /// "Text" /// "Triangle" /// "Polygon" /// "Control" ///
리턴 Primitive

IsNumber() 공개 정적인 메소드

Test if the input will be treated by SmallBasic as a number. This is a culture invariant number, e.g. "3.14", but not "3,14" or "24x".
public static IsNumber ( Primitive input ) : Primitive
input Primitive The input to test.
리턴 Primitive

KeyDown() 공개 정적인 메소드

Get if a key is down. Useful for simplified keyboard game control.
public static KeyDown ( Primitive key ) : Primitive
key Primitive The key to get down state, eg "Space".
리턴 Primitive

Version() 공개 정적인 메소드

Gets the current version of the extension and displays a window with this information and a changelog.
public static Version ( ) : Primitive
리턴 Primitive

프로퍼티 상세

showPreview 공개적으로 정적으로 프로퍼티

public static bool showPreview
리턴 bool