What are some best practices to instantiate objects between Simpl# and Simpl+.
Public string MyMessage;
public event EventHandler<MyEventArgs> MyEventToCall;
readonly RootButtons[] _buttons = new RootButtons[16];
? public class MyEventArgs : EventArgs //data that is sent to Simpl+
? ? {
? ? ? ? public ushort MyBUTTONINDEX { get; set; }
? ? ? ? public ushort MyBUTTON_FB { get; set; }
? ? ? ? public string ERRORMESSAGE { get; set; }
?
? ? }
? ? public class RootButtons
? ? {
? ? ? ? public ushort BUTTON_FB { get; set; }
? ? }