예제 #1
0
 public DisplayBase ()
 {
     _Name = "CX-Mobile G3 Detectors";
     _Version = "1.0.0";
     _WidgetStatusHost = new WidgetStatusHost();
     _AssemblyDisplays = new AssemblyDisplays(_Name);
 }
예제 #2
0
파일: UIManager.cs 프로젝트: BdGL3/CXPortal
        public void Add(AssemblyDisplays displays)
        {
            try
            {
                BackgroundWorker backgroundWorker = new BackgroundWorker();
                backgroundWorker.DoWork += new DoWorkEventHandler(AddingAssemblyDisplay);

                backgroundWorker.RunWorkerAsync(displays);
            }
            catch (Exception ex)
            {
                _Logger.LogError(ex);
            }
        }