Exemple #1
0
        public void Rename(string workerName, string newName)
        {
            IndividualWorkerSummary i = displays[workerName];

            displays.Remove(workerName);
            displays[newName] = i;
        }
 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();
 }
Exemple #3
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();
        }
Exemple #4
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();
        }