Example #1
0
 private void RegisterTableGroupsOrDetailReceiver(InitializationContext context)
 {
     if (m_tableGroups != null)
     {
         m_tableGroups.RegisterReceiver(context, m_tableDetail);
     }
     else if (m_tableDetail != null)
     {
         m_tableDetail.RegisterReceiver(context);
     }
 }
Example #2
0
 private void RegisterSubGroupsOrDetailReceiver(InitializationContext context, TableDetail tableDetail)
 {
     if (SubGroup != null)
     {
         SubGroup.RegisterReceiver(context, tableDetail);
     }
     else
     {
         tableDetail?.RegisterReceiver(context);
     }
 }