c# - WndProc no suitable method found to override -


i creating custom user control , trying call wndproc in control. but, gives me error wndproc: no suitable method found override.

public partial class mycontrol : usercontrol, icloneable, icomparable<mycontrol> {     [system.security.permissions.permissionset(system.security.permissions.securityaction.demand, name = "fulltrust")]     protected override intptr wndproc(system.windows.forms.message m)     {         codes     } } 

how override method in usercontrol? related partial modifier?

the signature is:

protected virtual void wndproc(ref message m) 

Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -