Esempio n. 1
0
        void _IUccCategoryContextEvents.OnCategoryInstanceAdded(
            IUccCategoryContext categoryContext,
            UccCategoryInstanceEvent categoryEvent)
        {
            IUccCategoryInstance categoryInstance = categoryEvent.CategoryInstance;

            ComEvents.Advise <_IUccCategoryInstanceEvents>(categoryInstance, this);

            ProcessCategoryInstance(categoryInstance);
        }
Esempio n. 2
0
 void _IUccCategoryContextEvents.OnCategoryInstanceRemoved(
     IUccCategoryContext categoryContext,
     UccCategoryInstanceEvent categoryEvent)
 {
     ComEvents.Unadvise <_IUccCategoryInstanceEvents>(categoryEvent.CategoryInstance, this);
 }