C# Class Managed.D2DShart.ImageViewer.Direct2DSurface

显示文件 Open project: eugeniomiro/Terrarium

Private Properties

Property Type Description
InitializeComponent void
LoadBitmap Bitmap
OnImagePathChanged void

Public Methods

Method Description
Direct2DSurface ( ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnCleanUpDeviceIndependentResources ( ) : void
OnCleanUpDeviceResources ( ) : void
OnCreateDeviceResources ( WindowRenderTarget renderTarget ) : void
OnRender ( WindowRenderTarget renderTarget ) : void

Private Methods

Method Description
InitializeComponent ( ) : void

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

LoadBitmap ( string path ) : Bitmap
OnImagePathChanged ( EventArgs e ) : void

Method Details

Direct2DSurface() public method

public Direct2DSurface ( ) : System
return System

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

OnCleanUpDeviceIndependentResources() protected method

protected OnCleanUpDeviceIndependentResources ( ) : void
return void

OnCleanUpDeviceResources() protected method

protected OnCleanUpDeviceResources ( ) : void
return void

OnCreateDeviceResources() protected method

protected OnCreateDeviceResources ( WindowRenderTarget renderTarget ) : void
renderTarget WindowRenderTarget
return void

OnRender() protected method

protected OnRender ( WindowRenderTarget renderTarget ) : void
renderTarget WindowRenderTarget
return void