|
|
using System;
|
|
|
using System.Collections.Generic;
|
|
|
using System.Text;
|
|
|
using System.Windows.Forms;
|
|
|
|
|
|
namespace BlueTube.Viewer
|
|
|
{
|
|
|
public class TransparentPanel : Panel
|
|
|
{
|
|
|
public TransparentPanel()
|
|
|
{
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
protected override CreateParams CreateParams
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
CreateParams createparams = base.CreateParams;
|
|
|
createparams.ExStyle |= 0x00000020;
|
|
|
return createparams;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
protected override void OnPaintBackground(PaintEventArgs e)
|
|
|
{
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
|
|
|
{
|
|
|
|
|
|
|
|
|
return base.ProcessCmdKey(ref msg, keyData);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|