C# Class GitUI.GitExtensionsForm

Base class for a Git Extensions Form. Includes support for font, hotkey, icon, translation, and position restore.
Inheritance: ResourceManager.GitExtensionsFormBase
Afficher le fichier Open project: bleis-tift/gitextensions Class Usage Examples

Méthodes publiques

Méthode Description
CancelButtonClick ( object sender, EventArgs e ) : void
GitExtensionsForm ( ) : System

Méthodes protégées

Méthode 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

Méthode 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 méthode

public CancelButtonClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

GitExtensionsForm() public méthode

public GitExtensionsForm ( ) : System
Résultat System

RestorePosition() protected méthode

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
Résultat void

SavePosition() protected méthode

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
Résultat void

Translate() protected méthode

protected Translate ( ) : void
Résultat void