コード例 #1
0
        private void ElkPanel_SimplEvent(object sender, SimplEventArgs e)
        {
            switch (e.ID)
            {
            case eElkSimplEventIds.IsRegistered:
                if (onIsRegistered != null)
                {
                    onIsRegistered(e.IntData);
                }
                break;

            case eElkSimplEventIds.IsConnected:
                if (onIsConnected != null)
                {
                    onIsConnected(e.IntData);
                }
                break;

            default:
                break;
            }
        }
コード例 #2
0
 internal void Fire(SimplEventArgs e)
 {
     onNewEvent(null, e);
 }