示例#1
0
        public void Add(JobWorker w)
        {
            IndividualWorkerSummary i = new IndividualWorkerSummary();

            i.Worker = w;
            i.Dock   = DockStyle.Bottom;
            panel1.Controls.Add(i);
            displays[w.Name] = i;
            RefreshInfo();
        }
示例#2
0
        public void Add(JobWorker w)
        {
            IndividualWorkerSummary i = new IndividualWorkerSummary();

            i.Worker = w;
            i.Dock   = DockStyle.Bottom;
            Util.ThreadSafeRun(panel1, delegate { panel1.Controls.Add(i); });
            displays[w.Name] = i;
            RefreshInfo();
        }