C# Class TpTrayUtility.Magnify

Inheritance: TpTrayUtility.Components.TpForm
显示文件 Open project: TargetProcess/Tp.TrayUtility

Public Methods

Method Description
Magnify ( ) : System
UpdatePicture ( Bitmap bmp, int x, int y, int w, int h ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnActivated ( EventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void

Private Methods

Method Description
GetWindowLong ( IntPtr hWnd, int nIndex ) : int
InitializeComponent ( ) : void

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

Magnify_Closing ( object sender, CancelEventArgs e ) : void
Magnify_KeyDown ( object sender, KeyEventArgs e ) : void
SetWindowLong ( IntPtr hWnd, int nIndex, int dwNewLong ) : int
combine_Click ( object sender, EventArgs e ) : void
snap_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

Magnify() public method

public Magnify ( ) : System
return System

OnActivated() protected method

protected OnActivated ( EventArgs e ) : void
e System.EventArgs
return void

OnPaint() protected method

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
return void

UpdatePicture() public method

public UpdatePicture ( Bitmap bmp, int x, int y, int w, int h ) : void
bmp System.Drawing.Bitmap
x int
y int
w int
h int
return void