0
0
Fork 0
mirror of https://git.do.srb2.org/STJr/UltimateZoneBuilder.git synced 2024-12-25 19:40:46 +00:00
UltimateZoneBuilder/Source/Core/Controls/TransparentListView.cs
2017-01-15 00:35:40 +02:00

23 lines
433 B
C#
Executable file

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
}
}
}