C# Class Nexus.Client.Games.Gamebryo.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
显示文件 Open project: NexusMods/NexusModManager-4.5

Public Methods

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

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

Protected Methods

Method Description
ConfirmAiDisabling ( ) : bool

Confirms that the user wishes to disable AI.

ConfirmAiEnabling ( ) : bool

Confirms that the user wishes to enable 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 ( ArchiveInvalidationBase p_aitArchiveInvalidation ) : System.Windows.Forms
p_aitArchiveInvalidation ArchiveInvalidationBase The tool /// for which we are presenting a UI.
return System.Windows.Forms

ConfirmAiDisabling() protected method

Confirms that the user wishes to disable AI.
protected ConfirmAiDisabling ( ) : bool
return bool

ConfirmAiEnabling() protected method

Confirms that the user wishes to enable AI.
protected ConfirmAiEnabling ( ) : 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