C# Class Nexus.Client.ModManagement.UI.OverwriteForm

Show file Open project: NexusMods/NexusModManager-4.5 Class Usage Examples

Public Methods

Method Description
ShowDialog ( IWin32Window p_winOwner, string p_strMessage, bool p_booAllowGroup, bool p_booAllowMod ) : OverwriteResult

Displays the overwrite form.

ShowDialog ( string p_strMessage, bool p_booAllowGroup, bool p_booAllowMod ) : OverwriteResult

Displays the overwrite form.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
Button_Click ( object sender, EventArgs e ) : void

Handles the Control.Click events of the buttons.

InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

OverwriteForm ( string p_strMessage, bool p_booAllowGroup, bool p_booAllowMod ) : System

The default constructor.

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

ShowDialog() public static method

Displays the overwrite form.
public static ShowDialog ( IWin32Window p_winOwner, string p_strMessage, bool p_booAllowGroup, bool p_booAllowMod ) : OverwriteResult
p_winOwner IWin32Window The window to use as the owner of the form.
p_strMessage string The message to display.
p_booAllowGroup bool Whether to display the /// "Yes to all in Group" and "No to all in Group" buttons.
p_booAllowMod bool Whether to display the /// "Yes to all in Mod" and "No to all in Mod" buttons.
return OverwriteResult

ShowDialog() public static method

Displays the overwrite form.
public static ShowDialog ( string p_strMessage, bool p_booAllowGroup, bool p_booAllowMod ) : OverwriteResult
p_strMessage string The message to display.
p_booAllowGroup bool Whether to display the /// "Yes to all in Group" and "No to all in Group" buttons.
p_booAllowMod bool Whether to display the /// "Yes to all in Mod" and "No to all in Mod" buttons.
return OverwriteResult