Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.

marcbaye

Member Since 06 Feb 2015
Offline Last Active Jul 29 2015 06:07 AM
-----

Posts I've Made

In Topic: Can't create custom events

29 July 2015 - 06:09 AM

I'm sorry, I'm out of the business for a while... but, in fact, in my case, the solution was to move to VS2013.


In Topic: Can't create custom events

10 February 2015 - 07:54 AM

Uhm... I remember.... this cause exactly the same error:

 
public class Test
{
public int TestProperty { get; set; }
}
 
But I learned to change to:
 
public class Test
{
int _TestProperty;
public int TestProperty
{
get { return _TestProperty; }
set { _TestProperty = value; }
}
}
 
And then runs without problem.

In Topic: Can't create custom events

10 February 2015 - 07:46 AM

The full code is huge! But it doesn't matter: it works if I comment the events. Just add this to compile (even without using it)

 
public class Test
{
public delegate void MyEventHandler();
public event MyEventHandler TestEvent;
}
 
And the error appears.

In Topic: Can't create custom events

10 February 2015 - 01:20 AM

No no... I started with my own handler... tried EventHandler... whatever I use, the error occurs...


home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.