Click here to Skip to main content
13,095,218 members (73,649 online)
Click here to Skip to main content

Tagged as

Stats

19.3K views
2.1K downloads
11 bookmarked
Posted 10 Sep 2012

Developing DICOM Viewers for Real World Applications

, 7 Jan 2013
LEADTOOLS Medical Imaging SDKs alleviate this issue by leveraging more than 20 years of imaging development experience and offer a high-level, programmer friendly and feature packed DICOM Viewer Control.

Editorial Note

This article is in the Product Showcase section for our sponsors at CodeProject. These articles are intended to provide you with information on products and services that we consider useful and of value to developers.

namespace MedicalViewerExample
{
   partial class Form1
   {
      /// <summary>
      /// Required designer variable.
      /// </summary>
      private System.ComponentModel.IContainer components = null;

      /// <summary>
      /// Clean up any resources being used.
      /// </summary>
      /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
      protected override void Dispose(bool disposing)
      {
         if (disposing && (components != null))
         {
            components.Dispose();
         }
         base.Dispose(disposing);
      }

      #region Windows Form Designer generated code

      /// <summary>
      /// Required method for Designer support - do not modify
      /// the contents of this method with the code editor.
      /// </summary>
      private void InitializeComponent()
      {
         this._medicalViewer = new Leadtools.MedicalViewer.MedicalViewer();
         this.btnCellsImages = new System.Windows.Forms.Button();
         this.label1 = new System.Windows.Forms.Label();
         this.cboAnnotations = new System.Windows.Forms.ComboBox();
         this.btnFusion = new System.Windows.Forms.Button();
         this.SuspendLayout();
         // 
         // _medicalViewer
         // 
         this._medicalViewer.AllowMultipleSelection = false;
         this._medicalViewer.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                     | System.Windows.Forms.AnchorStyles.Left)
                     | System.Windows.Forms.AnchorStyles.Right)));
         this._medicalViewer.AutoScroll = true;
         this._medicalViewer.CellMaintenance = false;
         this._medicalViewer.Columns = 1;
         this._medicalViewer.CustomSplitterColor = false;
         this._medicalViewer.Exploded = false;
         this._medicalViewer.Location = new System.Drawing.Point(12, 41);
         this._medicalViewer.Name = "_medicalViewer";
         this._medicalViewer.ResizeBoth = System.Windows.Forms.Cursors.SizeAll;
         this._medicalViewer.ResizeHorizontalCursor = System.Windows.Forms.Cursors.SizeWE;
         this._medicalViewer.ResizeVerticalCursor = System.Windows.Forms.Cursors.SizeNS;
         this._medicalViewer.Rows = 1;
         this._medicalViewer.ShowSelectedReferenceLine = false;
         this._medicalViewer.Size = new System.Drawing.Size(560, 409);
         this._medicalViewer.SplitterColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
         this._medicalViewer.SplitterStyle = Leadtools.MedicalViewer.MedicalViewerSplitterStyle.Thick;
         this._medicalViewer.SynchronizationType = Leadtools.MedicalViewer.MedicalViewerSynchronizationType.None;
         this._medicalViewer.TabIndex = 0;
         this._medicalViewer.Text = "medicalViewer1";
         this._medicalViewer.UseExtraSplitters = true;
         this._medicalViewer.VisibleRow = 0;
         // 
         // btnCellsImages
         // 
         this.btnCellsImages.Location = new System.Drawing.Point(12, 12);
         this.btnCellsImages.Name = "btnCellsImages";
         this.btnCellsImages.Size = new System.Drawing.Size(151, 23);
         this.btnCellsImages.TabIndex = 3;
         this.btnCellsImages.Text = "Multiple Cells and Images";
         this.btnCellsImages.UseVisualStyleBackColor = true;
         this.btnCellsImages.Click += new System.EventHandler(this.btnCellsImages_Click);
         // 
         // label1
         // 
         this.label1.AutoSize = true;
         this.label1.Location = new System.Drawing.Point(169, 17);
         this.label1.Name = "label1";
         this.label1.Size = new System.Drawing.Size(66, 13);
         this.label1.TabIndex = 4;
         this.label1.Text = "Annotations:";
         // 
         // cboAnnotations
         // 
         this.cboAnnotations.FormattingEnabled = true;
         this.cboAnnotations.Location = new System.Drawing.Point(241, 14);
         this.cboAnnotations.Name = "cboAnnotations";
         this.cboAnnotations.Size = new System.Drawing.Size(151, 21);
         this.cboAnnotations.TabIndex = 5;
         this.cboAnnotations.SelectedIndexChanged += new System.EventHandler(this.cboAnnotations_SelectedIndexChanged);
         // 
         // btnFusion
         // 
         this.btnFusion.Location = new System.Drawing.Point(398, 12);
         this.btnFusion.Name = "btnFusion";
         this.btnFusion.Size = new System.Drawing.Size(151, 23);
         this.btnFusion.TabIndex = 6;
         this.btnFusion.Text = "Fusion";
         this.btnFusion.UseVisualStyleBackColor = true;
         this.btnFusion.Click += new System.EventHandler(this.btnFusion_Click);
         // 
         // Form1
         // 
         this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
         this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
         this.ClientSize = new System.Drawing.Size(584, 462);
         this.Controls.Add(this.btnFusion);
         this.Controls.Add(this.cboAnnotations);
         this.Controls.Add(this.label1);
         this.Controls.Add(this.btnCellsImages);
         this.Controls.Add(this._medicalViewer);
         this.Name = "Form1";
         this.Text = "LEADTOOLS MedicalViewer Example";
         this.ResumeLayout(false);
         this.PerformLayout();

      }

      #endregion

      private Leadtools.MedicalViewer.MedicalViewer _medicalViewer;
      private System.Windows.Forms.Button btnCellsImages;
      private System.Windows.Forms.Label label1;
      private System.Windows.Forms.ComboBox cboAnnotations;
      private System.Windows.Forms.Button btnFusion;
   }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

LEADTOOLS Support
Help desk / Support LEAD Technologies, Inc.
United States United States
This member doesn't quite have enough reputation to be able to display their biography and homepage.
Group type: Organisation (No members)



You may also be interested in...

Pro
Pro
Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.170813.1 | Last Updated 7 Jan 2013
Article Copyright 2012 by LEADTOOLS Support
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid