C# Class DroidExplorer.Plugins.UI.ScreenShotForm

Mostra file Open project: camalot/droidexplorer Class Usage Examples

Private Properties

Property Type Description
FlipImage Image
GetHeight int
GetImageFromFile Image
GetImageFromRawImage Image
GetIsLandscapeModeChecked bool
GetPictureBoxImage Image
GetScreenShot Image
GetToolStripBottom int
GetToolStripButtonChecked bool
GetWidth int
InitializeComponent void
PLModeToolStripButton_CheckedChanged void
PLModeToolStripButton_Click void
RefreshImage void
ResizeFromImage void
ResizeImage Image
SetHeight void
SetPictureBoxImage void
SetToolStripItemEnabled void
SetWidth void
copyToolStripButton_Click void
openInDefault_Click void
pictureBox_MouseUp void
refreshToolStripButton_Click void
saveToolStripButton_Click void

Public Methods

Method Description
ScreenShotForm ( IPluginHost pluginHost ) : System

Initializes a new instance of the ScreenShotForm class.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
FlipImage ( Image img ) : Image

Flips the image.

GetHeight ( ) : int

Gets the height.

GetImageFromFile ( string fb0 ) : Image

Gets the image from file.

GetImageFromRawImage ( RawImage ri ) : Image

Gets the image from raw image.

GetIsLandscapeModeChecked ( ) : bool

Gets the is landscape mode checked.

GetPictureBoxImage ( PictureBox pb ) : Image

Gets the picture box image.

GetScreenShot ( ) : Image

Gets the screen shot.

GetToolStripBottom ( ) : int

Gets the tool strip bottom.

GetToolStripButtonChecked ( ToolStripButton tsi ) : bool

Gets the tool strip button checked.

GetWidth ( ) : int

Gets the width.

InitializeComponent ( ) : void

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

PLModeToolStripButton_CheckedChanged ( object sender, EventArgs e ) : void

Handles the CheckedChanged event of the PLModeToolStripButton control.

PLModeToolStripButton_Click ( object sender, EventArgs e ) : void

Handles the Click event of the PLModeToolStripButton control.

RefreshImage ( ) : void

Refreshes the image.

ResizeFromImage ( Image img ) : void

Resizes from image.

ResizeImage ( Image source, int canvasWidth, int canvasHeight ) : Image
SetHeight ( int value ) : void

Sets the height.

SetPictureBoxImage ( PictureBox pb, Image img ) : void

Sets the picture box image.

SetToolStripItemEnabled ( ToolStripItem tsi, bool enabled ) : void

Sets the tool strip item enabled.

SetWidth ( int value ) : void

Sets the width.

copyToolStripButton_Click ( object sender, EventArgs e ) : void

Handles the Click event of the copyToolStripButton control.

openInDefault_Click ( object sender, EventArgs e ) : void
pictureBox_MouseUp ( object sender, MouseEventArgs e ) : void

Handles the MouseUp event of the pictureBox control.

refreshToolStripButton_Click ( object sender, EventArgs e ) : void

Handles the Click event of the refreshToolStripButton control.

saveToolStripButton_Click ( object sender, EventArgs e ) : void

Handles the Click event of the saveToolStripButton control.

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

ScreenShotForm() public method

Initializes a new instance of the ScreenShotForm class.
public ScreenShotForm ( IPluginHost pluginHost ) : System
pluginHost IPluginHost
return System