Свойство | Тип | Описание | |
---|---|---|---|
SelectedReligion | string |
Метод | Описание | |
---|---|---|
AddAllMatchingFiles ( IList |
||
AddAllMatchingFiles ( IList |
||
CalculateGraphicsProportion ( |
Returns relation between current graphics resolution and default DpiY (96.0). Can be used when arranging controls and resizing forms.
|
|
CheckLabelWidthsOnForm ( |
||
CopyFileAndSetDestinationWritable ( string sourceFileName, string destFileName ) : void |
Copies the source to destination, and makes sure that the newly created destination file is not read-only.
|
|
CopyFont ( int fromSlot, int toSlot ) : void | ||
CopyMemory ( |
||
CopyTextToClipboard ( string text ) : void | ||
CreateCopyOfBitmapPreservingColourDepth ( |
||
CreateHardLink ( string destFileName, string sourceFileName ) : bool | ||
CreateHardLink ( string destFileName, string sourceFileName, bool overwrite ) : bool | ||
DeleteFileIfExists ( string fileName ) : void | ||
DoesFileNameContainOnlyValidCharacters ( string fileName ) : bool | ||
DoesFileNeedRecompile ( string sourceFile, string destinationFile ) : bool |
Returns whether the sourceFile is newer than the destinationFile or if the destinationFile doesn't exist.
|
|
EnsureStandardSubFoldersExist ( ) : void | ||
FindExistingFont ( string fontNames ) : |
Iterates given array of font family names and return the first FontFamily object that is installed in the system. If none was found, returns generic Sans-Serif system font.
|
|
GetBitmapForSpriteResizedKeepingAspectRatio ( Sprite sprite, int width, int height, bool centreInNewCanvas, bool drawOutline, Color backgroundColour ) : |
||
GetControlThatHasFocus ( ) : |
||
GetDirectoryFileList ( string directory, string fileMask ) : string[] |
Wraps Directory.GetFiles in a handler to deal with an exception erroneously being thrown on Linux network shares if no files match.
|
|
GetDirectoryFileList ( string directory, string fileMask, SearchOption searchOption ) : string[] |
Wraps Directory.GetFiles in a handler to deal with an exception erroneously being thrown on Linux network shares if no files match.
|
|
GetProcessForActiveApplication ( ) : |
||
GetRelativeToProjectPath ( string absolutePath ) : string | ||
GetSizeSpriteWillBeRenderedInGame ( int spriteSlot, int &width, int &height ) : void |
Gets the size at which the sprite will be rendered in the game. This will be the sprite size, but doubled if it is a 320-res sprite in a 640-res game.
|
|
ImageToIcon ( Image image ) : |
Converts an image to icon. Code taken from comments section in: http://ryanfarley.com/blog/archive/2004/04/06/507.aspx
|
|
IsControlPressed ( ) : bool | ||
IsMonoRunning ( ) : bool | ||
IsShiftPressed ( ) : bool | ||
IsThisApplicationCurrentlyActive ( ) : bool | ||
IsWindowsVistaOrHigher ( ) : bool | ||
IsWindowsXPOrHigher ( ) : bool | ||
OpenAGSRegistryKey ( ) : |
||
SetDirectoryFilesAccess ( string directory ) : void | ||
SetDirectoryFilesAccess ( string directory, System.Security.Principal.SecurityIdentifier sid ) : void | ||
SetDirectoryFilesAccess ( string directory, System.Security.Principal.SecurityIdentifier sid, FileSystemRights rights ) : void | ||
SetDirectoryFilesAccess ( string directory, System.Security.Principal.SecurityIdentifier sid, FileSystemRights rights, AccessControlType type ) : void |
Sets security permissions for all files in a directory.
|
|
SetFileAccess ( string fileName, System.Security.Principal.SecurityIdentifier sid, FileSystemRights rights, AccessControlType type ) : void |
Sets security permissions for a specific file.
|
Метод | Описание | |
---|---|---|
DestroyIcon ( |
||
GetFocus ( ) : |
||
GetForegroundWindow ( ) : |
||
GetWindowThreadProcessId ( |
public static AddAllMatchingFiles ( IList |
||
list | IList |
|
fileMask | string | |
Результат | void |
public static AddAllMatchingFiles ( IList |
||
list | IList |
|
fileMask | string | |
fullPaths | bool | |
Результат | void |
public static CalculateGraphicsProportion ( |
||
control | ||
Результат | float |
public static CheckLabelWidthsOnForm ( |
||
parentControl | ||
Результат | void |
public static CopyFileAndSetDestinationWritable ( string sourceFileName, string destFileName ) : void | ||
sourceFileName | string | |
destFileName | string | |
Результат | void |
public static CopyFont ( int fromSlot, int toSlot ) : void | ||
fromSlot | int | |
toSlot | int | |
Результат | void |
public static CopyMemory ( |
||
source | ||
destination | ||
numberOfBytes | int | |
Результат | void |
public static CopyTextToClipboard ( string text ) : void | ||
text | string | |
Результат | void |
public static CreateCopyOfBitmapPreservingColourDepth ( |
||
source | ||
Результат |
public static CreateHardLink ( string destFileName, string sourceFileName ) : bool | ||
destFileName | string | |
sourceFileName | string | |
Результат | bool |
public static CreateHardLink ( string destFileName, string sourceFileName, bool overwrite ) : bool | ||
destFileName | string | |
sourceFileName | string | |
overwrite | bool | |
Результат | bool |
public static DeleteFileIfExists ( string fileName ) : void | ||
fileName | string | |
Результат | void |
public static DoesFileNameContainOnlyValidCharacters ( string fileName ) : bool | ||
fileName | string | |
Результат | bool |
public static DoesFileNeedRecompile ( string sourceFile, string destinationFile ) : bool | ||
sourceFile | string | |
destinationFile | string | |
Результат | bool |
public static EnsureStandardSubFoldersExist ( ) : void | ||
Результат | void |
public static FindExistingFont ( string fontNames ) : |
||
fontNames | string | |
Результат |
public static GetBitmapForSpriteResizedKeepingAspectRatio ( Sprite sprite, int width, int height, bool centreInNewCanvas, bool drawOutline, Color backgroundColour ) : |
||
sprite | Sprite | |
width | int | |
height | int | |
centreInNewCanvas | bool | |
drawOutline | bool | |
backgroundColour | Color | |
Результат |
public static GetControlThatHasFocus ( ) : |
||
Результат |
public static GetDirectoryFileList ( string directory, string fileMask ) : string[] | ||
directory | string | |
fileMask | string | |
Результат | string[] |
public static GetDirectoryFileList ( string directory, string fileMask, SearchOption searchOption ) : string[] | ||
directory | string | |
fileMask | string | |
searchOption | SearchOption | |
Результат | string[] |
public static GetProcessForActiveApplication ( ) : |
||
Результат |
public static GetRelativeToProjectPath ( string absolutePath ) : string | ||
absolutePath | string | |
Результат | string |
public static GetSizeSpriteWillBeRenderedInGame ( int spriteSlot, int &width, int &height ) : void | ||
spriteSlot | int | |
width | int | |
height | int | |
Результат | void |
public static ImageToIcon ( Image image ) : |
||
image | Image | The image |
Результат |
public static IsControlPressed ( ) : bool | ||
Результат | bool |
public static IsThisApplicationCurrentlyActive ( ) : bool | ||
Результат | bool |
public static IsWindowsVistaOrHigher ( ) : bool | ||
Результат | bool |
public static IsWindowsXPOrHigher ( ) : bool | ||
Результат | bool |
public static OpenAGSRegistryKey ( ) : |
||
Результат |
public static SetDirectoryFilesAccess ( string directory ) : void | ||
directory | string | |
Результат | void |
public static SetDirectoryFilesAccess ( string directory, System.Security.Principal.SecurityIdentifier sid ) : void | ||
directory | string | |
sid | System.Security.Principal.SecurityIdentifier | |
Результат | void |
public static SetDirectoryFilesAccess ( string directory, System.Security.Principal.SecurityIdentifier sid, FileSystemRights rights ) : void | ||
directory | string | |
sid | System.Security.Principal.SecurityIdentifier | |
rights | FileSystemRights | |
Результат | void |
public static SetDirectoryFilesAccess ( string directory, System.Security.Principal.SecurityIdentifier sid, FileSystemRights rights, AccessControlType type ) : void | ||
directory | string | |
sid | System.Security.Principal.SecurityIdentifier | |
rights | FileSystemRights | |
type | AccessControlType | |
Результат | void |
public static SetFileAccess ( string fileName, System.Security.Principal.SecurityIdentifier sid, FileSystemRights rights, AccessControlType type ) : void | ||
fileName | string | |
sid | System.Security.Principal.SecurityIdentifier | |
rights | FileSystemRights | |
type | AccessControlType | |
Результат | void |