예제 #1
0
        public ImageModel()
        {
            try
            {
                Logger.LogFuncUp();

                //DataManagement for separation UI with data
                var studyTree = new StudyTree();
                _dataLoader = DataLoaderFactory.Instance().CreateLoader(studyTree, DBWrapperHelper.DBWrapper);
                _dataLoader.SopLoadedHandler += OnImageDataLoaded;

                Logger.LogFuncDown();
            }
            catch (Exception ex)
            {
                Logger.LogFuncException(ex.Message + ex.StackTrace);
                throw;
            }
        }
예제 #2
0
파일: CellModel.cs 프로젝트: whhub/Filming
 static CellModel()
 {
     DataLoader = DataLoaderFactory.Instance().CreateSyncSopLoader(DBWrapperHelper.DBWrapper);
 }
예제 #3
0
파일: ImageCell.cs 프로젝트: whhub/Filming
 static ImageCell()
 {
     StudyTree  = new StudyTree();
     DataLoader = DataLoaderFactory.Instance().CreateLoader(StudyTree, DBWrapperHelper.DBWrapper);
 }