HI there,
I have added a static event with the following code:
public class TypeChangedEventArgs : EventArgs
{
public Types TypeSelected { get; set; }
}
public delegate void TypeChangedHandler(TypeChangedEventArgs eventArgs);
public static event TypeChangedHandler TypeChanged;
And I do get an event handler for TypeChanged, then I typed some code like MessageBox.Show("Hello World") there and tried to compile, then I get the following error:
The property "TypeChanged" does not exists on the type "Selector" in the XML namespace 'clr-namespace:Test'
I am not sure what's missing, can someone help me?
Thanks