first commit

This commit is contained in:
2017-02-02 11:47:45 +09:00
commit 93e1b71a6e
22 changed files with 3452 additions and 0 deletions

27
ListViewNF.cs Normal file
View File

@@ -0,0 +1,27 @@
using System.Windows.Forms;
namespace MarketWatchNS
{
public partial class ListViewNF : ListView
{
public ListViewNF()
{
//Activate double buffering
this.SetStyle(ControlStyles.OptimizedDoubleBuffer | ControlStyles.AllPaintingInWmPaint, true);
//Enable the OnNotifyMessage event so we get a chance to filter out
// Windows messages before they get to the form's WndProc
this.SetStyle(ControlStyles.EnableNotifyMessage, true);
}
protected override void OnNotifyMessage(Message m)
{
//Filter out the WM_ERASEBKGND message
if (m.Msg != 0x14)
{
base.OnNotifyMessage(m);
}
}
}
}