コード例 #1
0
ファイル: PictureView.cs プロジェクト: selfwalker/dicom
 public PictureView()
 {
     InitializeComponent();
     this.zoomFactor = 1;
     this.mainForm = mainForm as MainForm;
     this.currentFrame = 0;
     this.annotationManager = new AnnotationManager();
     this.BorderStyle = BorderStyle.Fixed3D;
     this.imageSettings = new ImageSettings();
     this.columnHeader1.Width = -2;
     this.annotationManager.AnnotationAdded += new AnnotationManager.CollectionChanged(annotationManager_AnnotationAdded);
     this.annotationManager.AnnotationDeleted += new AnnotationManager.CollectionChanged(annotationManager_AnnotationDeleted);
     this.annotationManager.AnnotationCleared += new AnnotationManager.CollectionCleared(annotationManager_AnnotationCleared);
 }
コード例 #2
0
ファイル: Command.cs プロジェクト: liuqian62/dicom-1
 public DeleteAnnotationCommand(AnnotationManager annotationManager)
 {
     this.annotationManager = annotationManager;
     this.annotation        = annotationManager.GetLastAnnotation();
 }
コード例 #3
0
ファイル: Command.cs プロジェクト: selfwalker/dicom
 public AddAnnotationCommand(AnnotationManager annotationManager, Annotation annotation)
 {
     this.annotationManager = annotationManager;
     this.annotation = annotation;
 }
コード例 #4
0
ファイル: Command.cs プロジェクト: liuqian62/dicom-1
 public AddAnnotationCommand(AnnotationManager annotationManager, Annotation annotation)
 {
     this.annotationManager = annotationManager;
     this.annotation        = annotation;
 }
コード例 #5
0
ファイル: Command.cs プロジェクト: selfwalker/dicom
 public DeleteAnnotationCommand(AnnotationManager annotationManager)
 {
     this.annotationManager = annotationManager;
     this.annotation = annotationManager.GetLastAnnotation();
 }