コード例 #1
0
        public LayoutManager(Control container, CreateLayoutControl createLayoutControl, ImageViewerManager imageViewerManager)
        {
            this.ImageViewerManager = imageViewerManager;

            this.layoutControls = new List <LayoutControl>();

            this.container = container;

            this.createLayoutControl = createLayoutControl;
        }
コード例 #2
0
ファイル: FTest.cs プロジェクト: top501/DicomImageViewer
        private void FTest_Load(object sender, EventArgs e)
        {
            annotateTextForm = new FAnnotateText();

            //Инициализация ImageViewerManager
            ImageViewerManager = new DicomImageViewer.Dicom.ImageViewerManager(this, this.layoutPanel);
            ImageViewerManager.onProcessDescriptionChanged += imageViewerManager_ProcessDescriptionChanged;
            ImageViewerManager.onSeriesLoaded += ImageViewerManager_onSeriesLoaded;
            ImageViewerManager.onStudyLoaded  += ImageViewerManager_onStudyLoaded;
            //Конец инициализации

            toolStripPenWidth.Text = ImageViewerManager.CurrentBrushSize.ToString();
        }