public ToolStripQueue() { QueueItem item = new QueueItem(); item.Text = Kernel.Instance.GetString("CurrentActionsMW"); this.DropDownItems.Add(item); }
public void AddItem(string message) { QueueItem item = new QueueItem(); item.Text = message; this.DropDownItems.Add(item); }
void SetImg(QueueItem item, Bitmap img) { if (Parent == null) return; if (Parent.InvokeRequired) { Parent.Invoke(new SetImgDelegate(SetImg), new object[] { item, img }); return; } item.Image = img; }