예제 #1
0
 private void OnReceiverChangedEvent(object sender, ReceiverChangedEventArgs e)
 {
     if (ReceiverChangedEvent != null)
     {
         ReceiverChangedEvent(sender, e);
     }
 }
예제 #2
0
        private void frm_ReceiverChangedEvent(object sender, ReceiverChangedEventArgs e)
        {
            EMailNotifyConfig temp = _uc_EMailNotify_VM.NotifyConfig;

            if (e.DisplayType == DisplayType.Add)
            {
                temp.ReceiveInfoList.Add(new ReceiverInfo(e.Name, e.EmailAddr));
            }
            else
            {
                ReceiverInfo info = temp.ReceiveInfoList[_curSelectReceiverIndex];
                info.Name      = e.Name;
                info.EmailAddr = e.EmailAddr;
            }
            eMailNotifyConfigBS.ResetBindings(false);
        }
 private void OnReceiverChangedEvent(object sender, ReceiverChangedEventArgs e)
 {
     if (ReceiverChangedEvent != null)
     {
         ReceiverChangedEvent(sender, e);
     }
 }
예제 #4
0
 private void frm_ReceiverChangedEvent(object sender, ReceiverChangedEventArgs e)
 {
     EMailNotifyConfig temp = _uc_EMailNotify_VM.NotifyConfig;
     if (e.DisplayType == DisplayType.Add)
     {
         temp.ReceiveInfoList.Add(new ReceiverInfo(e.Name, e.EmailAddr));
     }
     else
     {
         ReceiverInfo info = temp.ReceiveInfoList[_curSelectReceiverIndex];
         info.Name = e.Name;
         info.EmailAddr = e.EmailAddr;
     }
     eMailNotifyConfigBS.ResetBindings(false);
 }