public LayoutManager(Control container, CreateLayoutControl createLayoutControl, ImageViewerManager imageViewerManager) { this.ImageViewerManager = imageViewerManager; this.layoutControls = new List <LayoutControl>(); this.container = container; this.createLayoutControl = createLayoutControl; }
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(); }