Beispiel #1
0
        private void PropertyEvent(string key)
        {
            ManagerProfile mgrPro = Wkl.MainCtrl.ManagerCtrl.GetProfile(key);

            switch (mgrPro.EventType)
            {
            case EventType.GetInternalBookmark:
                proMgr.GetInternalBookmark(key);
                break;

            case EventType.SaveInternalBookmark:
                proMgr.SaveInternalBookmark();
                break;

            case EventType.UpdateInternalBookmark:
                proMgr.UpdateInternalBookmarkCollection(key);
                break;

            case EventType.AddInternalBookmarkItem:
                proMgr.AddInternalBookmarkItem(key);
                break;

            case EventType.UpdateUscItems:
                proMgr.UpdateUscItems(key);
                break;

            case EventType.SavePdwInfo:
                proMgr.SavePdwInfo(key);
                break;

            case EventType.GetPdwInformation:
                proMgr.GetPdwInformation(key);
                break;

            case EventType.GetPdwrInformation:
                proMgr.GetPdwrInformation(key);
                break;

            case EventType.RemoveInternalBookmarkItem:
                proMgr.RemoveInternalBookmarkItem(key);
                break;

            default:
                break;
            }
        }