mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-30 15:41:30 +00:00
24 lines
433 B
C#
24 lines
433 B
C#
|
using System.Windows.Forms;
|
|||
|
|
|||
|
namespace CodeImp.DoomBuilder.Controls
|
|||
|
{
|
|||
|
public class TransparentListView : ListView
|
|||
|
{
|
|||
|
protected override CreateParams CreateParams
|
|||
|
{
|
|||
|
get
|
|||
|
{
|
|||
|
CreateParams cp = base.CreateParams;
|
|||
|
cp.ExStyle |= 0x00000020; //WS_EX_TRANSPARENT
|
|||
|
|
|||
|
return cp;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
protected override void OnPaintBackground(PaintEventArgs pevent)
|
|||
|
{
|
|||
|
// Don't paint background
|
|||
|
}
|
|||
|
}
|
|||
|
}
|