C# Class Nexus.UI.Controls.ImageViewer

Displays an image.
Inheritance: System.Windows.Forms.Form
Show file Open project: NexusMods/NexusModManager-4.5 Class Usage Examples

Public Methods

Method Description
ImageViewer ( ) : System

The default constructor.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
InitializeComponent ( ) : void

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

Zoom_Click ( object sender, EventArgs e ) : void

Handles the ToolStripItem.Click event of the zoom buttons.

This changes the size mode of the picture box to match the selected zoom mode.

pbxImage_Click ( object sender, EventArgs e ) : void

Handles the Control.Click event of the picture box.

This passes focus to the scroll panel so that it can recieve mouse wheel events (and other events that indicated a scrolling action).

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

ImageViewer() public method

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