C# Class mRemoteNG.Tools.MiscTools

Exibir arquivo Open project: mRemoteNG/mRemoteNG

Public Methods

Method Description
CreateConstantID ( ) : string
DBDate ( System.DateTime Dt ) : string
GetExceptionMessageRecursive ( Exception ex ) : string
GetIconFromFile ( string FileName ) : Icon
LeadingZero ( string Number ) : string
PasswordDialog ( string passwordName = null, bool verify = true ) : SecureString
PrepareValueForDB ( string Text ) : string
StringToEnum ( Type t, string value ) : object
TakeScreenshot ( ConnectionWindow sender ) : Image

Private Methods

Method Description
GetExceptionMessageRecursive ( Exception ex, string separator ) : string

Method Details

CreateConstantID() public static method

public static CreateConstantID ( ) : string
return string

DBDate() public static method

public static DBDate ( System.DateTime Dt ) : string
Dt System.DateTime
return string

GetExceptionMessageRecursive() public static method

public static GetExceptionMessageRecursive ( Exception ex ) : string
ex System.Exception
return string

GetIconFromFile() public static method

public static GetIconFromFile ( string FileName ) : Icon
FileName string
return System.Drawing.Icon

LeadingZero() public static method

public static LeadingZero ( string Number ) : string
Number string
return string

PasswordDialog() public static method

public static PasswordDialog ( string passwordName = null, bool verify = true ) : SecureString
passwordName string
verify bool
return System.Security.SecureString

PrepareValueForDB() public static method

public static PrepareValueForDB ( string Text ) : string
Text string
return string

StringToEnum() public static method

public static StringToEnum ( Type t, string value ) : object
t System.Type
value string
return object

TakeScreenshot() public static method

public static TakeScreenshot ( ConnectionWindow sender ) : Image
sender mRemoteNG.UI.Window.ConnectionWindow
return Image