C# Class Nexus.Client.Games.Skyrim.Tools.AI.UI.ArchiveInvalidationView

The view used to display ArchiveInvalidation UI.
This form is always invisible. It is used to show update and confirmations.
Inheritance: System.Windows.Forms.Form, IToolView
Datei anzeigen Open project: NexusMods/NexusModManager-4.5

Public Methods

Method Description
ArchiveInvalidationView ( ArchiveInvalidation p_aitArchiveInvalidation ) : System.Windows.Forms

A simple constructor that initializes the object with the given values.

Protected Methods

Method Description
ConfirmAiReset ( ) : bool

Confirms that the user wishes to reset AI.

OnClosing ( CancelEventArgs e ) : void

Raises the Form.Closing event.

This cancels the closing event, and hides the form instead. This is done as this form should always be reused.

SetVisibleCore ( bool value ) : void

Sets the visibility of the form.

This ensures the form is never visible.

Method Details

ArchiveInvalidationView() public method

A simple constructor that initializes the object with the given values.
public ArchiveInvalidationView ( ArchiveInvalidation p_aitArchiveInvalidation ) : System.Windows.Forms
p_aitArchiveInvalidation ArchiveInvalidation The tool /// for which we are presenting a UI.
return System.Windows.Forms

ConfirmAiReset() protected method

Confirms that the user wishes to reset AI.
protected ConfirmAiReset ( ) : bool
return bool

OnClosing() protected method

Raises the Form.Closing event.
This cancels the closing event, and hides the form instead. This is done as this form should always be reused.
protected OnClosing ( CancelEventArgs e ) : void
e System.ComponentModel.CancelEventArgs A describing the event arguments.
return void

SetVisibleCore() protected method

Sets the visibility of the form.
This ensures the form is never visible.
protected SetVisibleCore ( bool value ) : void
value bool Whether the form should be visible. Always ignored.
return void