C# Class GitUI.GitExtensionsForm

Base class for a Git Extensions Form. Includes support for font, hotkey, icon, translation, and position restore.
Inheritance: ResourceManager.GitExtensionsFormBase
ファイルを表示 Open project: bleis-tift/gitextensions Class Usage Examples

Public Methods

Method Description
CancelButtonClick ( object sender, EventArgs e ) : void
GitExtensionsForm ( ) : System

Protected Methods

Method Description
RestorePosition ( String name ) : void

Restores the position of a form from the user settings. Does nothing if there is no entry for the form in the settings, or the setting would be invisible on the current display configuration.

SavePosition ( String name ) : void

Save the position of a form to the user settings. Hides the window as a side-effect.

Translate ( ) : void

Private Methods

Method Description
CheckComponent ( object value ) : bool
GetApplicationIcon ( ) : Icon
GitExtensionsFormLoad ( object sender, EventArgs e ) : void
LookupWindowPosition ( String name ) : GitUI.WindowPosition

Looks up a window in the user settings and returns its saved position.

SetFont ( ) : void

Method Details

CancelButtonClick() public method

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

GitExtensionsForm() public method

public GitExtensionsForm ( ) : System
return System

RestorePosition() protected method

Restores the position of a form from the user settings. Does nothing if there is no entry for the form in the settings, or the setting would be invisible on the current display configuration.
protected RestorePosition ( String name ) : void
name String The name to use when looking up the position in /// the settings
return void

SavePosition() protected method

Save the position of a form to the user settings. Hides the window as a side-effect.
protected SavePosition ( String name ) : void
name String The name to use when writing the position to the /// settings
return void

Translate() protected method

protected Translate ( ) : void
return void