C# Class ScreenToGif.Pages.Resize

Show file Open project: dbremner/ScreenToGif Class Usage Examples

Public Methods

Method Description
GetSize ( ) : Size

Gets the new size of the frames resized by the user.

Resize ( Bitmap bitmap ) : System

Constructor of the form Resize.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

WndProc ( Message &m ) : void

Private Methods

Method Description
Gcd ( int a, int b ) : double

The Greater Common Divisor.

InitializeComponent ( ) : void

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

Resize_Resize ( object sender, EventArgs e ) : void
cancelToolStripMenuItem_Click ( object sender, EventArgs e ) : void
doneToolStripMenuItem_Click ( object sender, EventArgs e ) : void
freeAspectRatioToolStripMenuItem_CheckedChanged ( object sender, EventArgs e ) : void
pbImage_Click ( object sender, EventArgs e ) : void
resetSizeToolStripMenuItem_Click ( object sender, EventArgs e ) : void

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

GetSize() public method

Gets the new size of the frames resized by the user.
public GetSize ( ) : Size
return Size

Resize() public method

Constructor of the form Resize.
public Resize ( Bitmap bitmap ) : System
bitmap Bitmap The example bitmap.
return System

WndProc() protected method

protected WndProc ( Message &m ) : void
m Message
return void