Hi
Can anyone explain to me why the following code compiles ok in a PocketPC 2003 project but not in a Windows smartphone 2003 project fails with the error
error CS0654: Method 'VerifyUI.PageAreaItemButton.DoRequestRepaint()' referenced without parentheses
I am using VS 2005
public delegate void RequestRepaint();
private RequestRepaint requestRepaintDelegate = DoRequestRepaint;
private void DoRequestRepaint() {}

wierd c# compilation error
eldiener
Tigers21
Hooper
I would guess you see that because you're using different compilers for SP 2003/NETCF V1, C# 1.1 compiler; and PPC 03/NETCF V2 C# V2 compiler. Fix has been suggested already.
Mohsen Kokabi
public delegate void RequestRepaint();
private RequestRepaint requestRepaintDelegate += new RequestRepaint(DoRequestRepaint);
Tibia Rules
Could you please point me to the fix so I can resolve:
CS0654 method referenced without parnteses