public void AddOpenItemStatus(string message, WSWD.WmallPos.POS.FX.Win.UserControls.OpenItemStatus status) { if (this.InvokeRequired) { this.Invoke((MethodInvoker) delegate() { AddStatus(message, status); }); } else { AddStatus(message, status); } }
/// <summary> /// Show status text list below /// 진행상태 업데이트 /// </summary> /// <param name="message"></param> /// <param name="status"></param> public void UpdateOpenItemStatus(string message, WSWD.WmallPos.POS.FX.Win.UserControls.OpenItemStatus status) { if (this.InvokeRequired) { this.Invoke((MethodInvoker) delegate() { OpenStatusItem osi = (OpenStatusItem)this.borderPanel1.Controls[Math.Min(rowCount - 1, this.borderPanel1.Controls.Count - 1)]; osi.MessageText = message; osi.ItemStatus = status; }); } else { OpenStatusItem osi = (OpenStatusItem)this.borderPanel1.Controls[Math.Min(rowCount - 1, this.borderPanel1.Controls.Count - 1)]; osi.MessageText = message; osi.ItemStatus = status; } }