C# Class Nexus.Client.ModAuthoring.UI.Controls.ReadmeEditor

An editor for Readme files.
Inheritance: System.Windows.Forms.UserControl
Exibir arquivo Open project: NexusMods/NexusModManager-4.5

Private Properties

Property Type Description
InitializeComponent void
tbxReadme_KeyPress void
tsbPreview_Click void

Public Methods

Method Description
ReadmeEditor ( ) : System

The default constructor.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

ShowHTMLPreview ( ) : void

Shows a preview of the HTML readme.

Private Methods

Method Description
InitializeComponent ( ) : void

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

tbxReadme_KeyPress ( object sender, KeyPressEventArgs e ) : void

Handles the Control.KeyPress event of the plain text readme textbox.

This selects all text when Ctrl-A is pressed.

tsbPreview_Click ( object sender, EventArgs e ) : void

Hanldes the Control.Click event of the PReview menu item.

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

ReadmeEditor() public method

The default constructor.
public ReadmeEditor ( ) : System
return System

ShowHTMLPreview() protected method

Shows a preview of the HTML readme.
protected ShowHTMLPreview ( ) : void
return void