Click here to Skip to main content
12,505,902 members (52,009 online)
Click here to Skip to main content

Tagged as

Stats

17.2K views
2K downloads
11 bookmarked
Posted

Developing DICOM Viewers for Real World Applications

, 7 Jan 2013 CPOL
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
Since 1990, LEAD has established itself as the world's leading provider of software development toolkits for document, medical, multimedia, raster and vector imaging. LEAD's flagship product, LEADTOOLS, holds the top position in every major country throughout the world and boasts a healthy, diverse customer base and strong list of corporate partners including some of the largest and most influential organizations from around the globe. For more information, contact sales@leadtools.com or support@leadtools.com.
Group type: Organisation (No members)



You may also be interested in...

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