テキストボックスで描写の検知をしたかったため、テキストボックスを継承したコントロールを作っています。
サイトを参考に作成して概ね希望する動作はしたのですが、1点わからないことが出たので教えて下さい。
はじめてWndProc(ref Message m)を使ってるのですが、最後の「base.WndProc(ref m);」は何のために呼んでいるのでしょう?
検知を行ったら継承元にMessageを送らないといけない理由がわかりません

//描写等の取得
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)]
protected override void WndProc(ref Message m)
{
const int WM_PAINT = 0x000F;

switch (m.Msg)
{
case WM_PAINT:
New_Line_Check((TextBox)this);
break;
}

base.WndProc(ref m);
}