C# Class CodeTV.VideoControl

Inheritance: System.Windows.Forms.UserControl
ファイルを表示 Open project: dgis/CodeTV Class Usage Examples

Public Methods

Method Description
ModifyBlackBands ( Rectangle borders, Color videoBackgroundColor ) : void
SubscribeEvents ( IVideoEventHandler videoEventHandler, IMediaEventEx mediaEvent ) : int
VideoControl ( ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnPaintBackground ( System pevent ) : void
WndProc ( System &m ) : void

Private Methods

Method Description
AddSpecialBorder ( ) : void
AddWPFControl ( ) : void
InitializeComponent ( ) : void

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

RemoveSpecialBorder ( ) : void
VideoControl_Load ( object sender, EventArgs e ) : void
wpfElementhost_DoubleClick ( object sender, EventArgs e ) : void
wpfVideo_KeyDown ( object sender, System e ) : void
wpfVideo_MouseDown ( object sender, System 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

ModifyBlackBands() public method

public ModifyBlackBands ( Rectangle borders, Color videoBackgroundColor ) : void
borders System.Drawing.Rectangle
videoBackgroundColor Color
return void

OnPaintBackground() protected method

protected OnPaintBackground ( System pevent ) : void
pevent System
return void

SubscribeEvents() public method

public SubscribeEvents ( IVideoEventHandler videoEventHandler, IMediaEventEx mediaEvent ) : int
videoEventHandler IVideoEventHandler
mediaEvent IMediaEventEx
return int

VideoControl() public method

public VideoControl ( ) : System
return System

WndProc() protected method

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