コード例 #1
0
 public TransferObj Clone()
 {
     TransferObj obj = new TransferObj();
     obj.ani = this.ani;
     obj.senderId = this.senderId;
     obj.senderName = this.senderName;
     obj.receiverId = this.receiverId;
     obj.tongDate = this.tongDate;
     obj.tongTime = this.tongTime;
     obj.customerName = this.customerName;
     return obj;
 }
コード例 #2
0
ファイル: CrmHelper.cs プロジェクト: WeDoCrm/WeDoMessenger2.0
 public static void ShowTransferInfo(TransferObj obj)
 {
     Logger.info("showTransferInfo: " + obj.ToString());
     try
     {
         InitializeCRMmanager();
         InitializeCrmMain();
         crmFrmMain.OpenCustomerPopupTransfer(obj.Ani, obj.SenderId, obj.TongDate, obj.TongTime, Convert.ToString(CallType.INTERNAL_TRANSFER));
         DisplayCrmPopUp();
     }
     catch (Exception ex)
     {
         Logger.error(ex.ToString());
     }
 }
コード例 #3
0
        public TransferNotiForm(TransferObj obj)
        {
            InitializeComponent();
            label_customer_color = label_Customer.ForeColor;
            label_from_color     = label_from.ForeColor;
            backcolor            = this.BackColor;

            pbx_icon.Image = global::Client.Properties.Resources.img_customer;

            this.MouseClick                += new MouseEventHandler(OnMouseClickToShowTransferInfo);
            this.pbx_icon.MouseClick       += new MouseEventHandler(OnMouseClickToShowTransferInfo);
            this.label_Customer.MouseClick += new MouseEventHandler(OnMouseClickToShowTransferInfo);
            this.label_from.MouseClick     += new MouseEventHandler(OnMouseClickToShowTransferInfo);

            transferObj         = obj;
            label_Customer.Text = obj.CustomerName; //notifyform.label_Customer.Text;
            label_from.Text     = obj.SenderName;   //notifyform.label_sender.Text;
            label_ani.Text      = obj.Ani;          //notifyform.label_ani.Text;
            label_date.Text     = obj.TongDate;     //notifyform.label_TONGDATE.Text;
            label_time.Text     = obj.TongTime;     // notifyform.label_TONGTIME.Text;
            label_senderid.Text = obj.SenderId;     //notifyform.label_senderid.Text;
        }
コード例 #4
0
        public TransferNotiForm(TransferObj obj)
        {
            InitializeComponent();
            label_customer_color = label_Customer.ForeColor;
            label_from_color = label_from.ForeColor;
            backcolor = this.BackColor;

            pbx_icon.Image = global::Client.Properties.Resources.img_customer;

            this.MouseClick += new MouseEventHandler(OnMouseClickToShowTransferInfo);
            this.pbx_icon.MouseClick += new MouseEventHandler(OnMouseClickToShowTransferInfo);
            this.label_Customer.MouseClick += new MouseEventHandler(OnMouseClickToShowTransferInfo);
            this.label_from.MouseClick += new MouseEventHandler(OnMouseClickToShowTransferInfo);

            transferObj = obj;
            label_Customer.Text = obj.CustomerName;//notifyform.label_Customer.Text;
            label_from.Text = obj.SenderName;//notifyform.label_sender.Text;
            label_ani.Text = obj.Ani; //notifyform.label_ani.Text;
            label_date.Text = obj.TongDate; //notifyform.label_TONGDATE.Text;
            label_time.Text = obj.TongTime;// notifyform.label_TONGTIME.Text;
            label_senderid.Text = obj.SenderId;//notifyform.label_senderid.Text;

        }
コード例 #5
0
 public NotifyForm(string[] msg)
 {
     notiObj = new TransferObj(msg);
     InitializeComponent();
 }
コード例 #6
0
 public NotifyForm(string[] msg)
 {
     notiObj = new TransferObj(msg);
     InitializeComponent();
 }
コード例 #7
0
 internal const string SEND_MSG_TRANSFER_CUSTOMER_INFO = "22|{0}|{1}|{2}|{3}|{4}|{5}";//msg 구성 : 22&ani&senderID&receiverID&일자&시간&CustomerName
 public bool SendMsgTransferCustomerInfo(TransferObj obj) {
     string msg = string.Format(SEND_MSG_TRANSFER_CUSTOMER_INFO, obj.Ani, obj.SenderId, 
                                     obj.ReceiverId, obj.TongDate, obj.TongTime, obj.CustomerName);
     return SendMsgToServer(msg);
 }