public VideoControl()
{
InitializeComponent();
//this.DoubleClick += new System.EventHandler(this.videoControl_DoubleClick);
//this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.videoControl_KeyDown);
//this.MouseWheel += new MouseEventHandler(videoControl_MouseWheel);
//this.Resize += new System.EventHandler(this.videoControl_Resize);
//this.osdForm = new OSDForm();
//this.osdForm.Location = new System.Drawing.Point(10, 10);
//this.osdForm.Size = new System.Drawing.Size(200, 300);
////this.osdForm.TopMost = false;
//this.osdForm.FormBorderStyle = FormBorderStyle.SizableToolWindow; // FormBorderStyle.None;
//this.osdForm.DesktopBounds = this.Bounds;
//this.osdForm.Show();
//this.osdControl = new OSDControl();
//this.osdControl.Location = new System.Drawing.Point(10, 10);
//this.osdControl.Size = new System.Drawing.Size(200, 300);
////this.osdControl.Dock = DockStyle.Fill;
//this.osdControl.BackColor = Color.Transparent;
//Controls.Add(this.osdControl);
this.Load += new EventHandler(VideoControl_Load);
}