C# Class XRefresh.Context

Inheritance: System.Windows.Forms.ApplicationContext
显示文件 Open project: binaryage/xrefresh Class Usage Examples

Public Properties

Property Type Description
Current Context

Public Methods

Method Description
About ( object sender, EventArgs e ) : void
Context ( ) : System
Exit ( object sender, EventArgs e ) : void
FlashIcon ( bool active ) : void
GetClientTypeIcon ( string type ) : Bitmap
GetClientTypeIndex ( string type ) : int
GetClientTypeString ( string type ) : string
Help ( object sender, EventArgs e ) : void
LoadSettings ( ) : void
SaveSettings ( ) : void
SetIcon ( Icon icon ) : void
ShowActivityLog ( object sender, EventArgs e ) : void
ShowConfiguration ( object sender, EventArgs e ) : void
UpdateTrayIcon ( ) : void

Private Methods

Method Description
Activate ( Form window ) : void
OnThreadExit ( object sender, EventArgs e ) : void
UpdateStartupSettings ( ) : void
memTimer_Elapsed ( object sender, System e ) : void
notifyIcon_DoubleClick ( object sender, EventArgs e ) : void

Method Details

About() public method

public About ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

Context() public method

public Context ( ) : System
return System

Exit() public method

public Exit ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

FlashIcon() public method

public FlashIcon ( bool active ) : void
active bool
return void

GetClientTypeIcon() public static method

public static GetClientTypeIcon ( string type ) : Bitmap
type string
return System.Drawing.Bitmap

GetClientTypeIndex() public static method

public static GetClientTypeIndex ( string type ) : int
type string
return int

GetClientTypeString() public static method

public static GetClientTypeString ( string type ) : string
type string
return string

Help() public method

public Help ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

LoadSettings() public method

public LoadSettings ( ) : void
return void

SaveSettings() public method

public SaveSettings ( ) : void
return void

SetIcon() public method

public SetIcon ( Icon icon ) : void
icon System.Drawing.Icon
return void

ShowActivityLog() public method

public ShowActivityLog ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

ShowConfiguration() public method

public ShowConfiguration ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

UpdateTrayIcon() public method

public UpdateTrayIcon ( ) : void
return void

Property Details

Current public_oe static_oe property

public static Context,XRefresh Current
return Context