コード例 #1
0
        protected virtual void OnNewCall(NewCallEvent newCallEvent)
        {
            NewCallEventHandler handler = NewCall;

            if (handler != null)
            {
                handler(newCallEvent);
            }
        }
コード例 #2
0
        void pbxScreenPopup_ScreenPop(HiPathProCenterScreenPopAPILibrary.IScreenPopTelephoneEvent e)
        {
            LogError_Siemens.WriteLogError(" NewCall pbxScreenPopup_ScreenPop : " + e.Source, new Exception(""));
            NewCallEvent newCallEvent = new NewCallEvent()
            {
                PhoneNumber = e.Source
            };

            OnNewCall(newCallEvent);
        }