예제 #1
0
 /// <summary>
 /// Adds a JobPanel for each job created.
 /// </summary>
 private void onJobCreated(Guid pJobID)
 {
     FireEvents.Invoke(this, ()=>
                             {
                                 PanelJob panelJob = new PanelJob(pJobID);
                                 Add(panelJob);
                             });
 }
예제 #2
0
 /// <summary>
 /// Adds a logger to the UI. Giving that log it's own tab.
 /// </summary>
 private void Add(PanelJob pPanel)
 {
     string id = pPanel.getJobID().ToString();
     tabs.TabPages.Add(id, pPanel.getTitle());
     tabs.TabPages[id].Controls.Add(pPanel);
 }