C# Class CodeTV.VideoControl

Inheritance: System.Windows.Forms.UserControl
Afficher le fichier Open project: dgis/CodeTV Class Usage Examples

Méthodes publiques

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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

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

Private Methods

Méthode 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 méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Résultat void

ModifyBlackBands() public méthode

public ModifyBlackBands ( Rectangle borders, Color videoBackgroundColor ) : void
borders System.Drawing.Rectangle
videoBackgroundColor Color
Résultat void

OnPaintBackground() protected méthode

protected OnPaintBackground ( System pevent ) : void
pevent System
Résultat void

SubscribeEvents() public méthode

public SubscribeEvents ( IVideoEventHandler videoEventHandler, IMediaEventEx mediaEvent ) : int
videoEventHandler IVideoEventHandler
mediaEvent IMediaEventEx
Résultat int

VideoControl() public méthode

public VideoControl ( ) : System
Résultat System

WndProc() protected méthode

protected WndProc ( System &m ) : void
m System
Résultat void