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; }
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()); } }
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; }
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; }
public NotifyForm(string[] msg) { notiObj = new TransferObj(msg); InitializeComponent(); }
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); }