public DisplayBase () { _Name = "CX-Mobile G3 Detectors"; _Version = "1.0.0"; _WidgetStatusHost = new WidgetStatusHost(); _AssemblyDisplays = new AssemblyDisplays(_Name); }
public void Add(AssemblyDisplays displays) { try { BackgroundWorker backgroundWorker = new BackgroundWorker(); backgroundWorker.DoWork += new DoWorkEventHandler(AddingAssemblyDisplay); backgroundWorker.RunWorkerAsync(displays); } catch (Exception ex) { _Logger.LogError(ex); } }