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
Post a Comment