Пример #1
0
        private void UpdateForm_Load(object sender, EventArgs e)
        {
            DicomInfo targetFileElements = new DicomInfo();
            List<Dictionary<string, string>> lookupElement = new List<Dictionary<string, string>>();

            this.lblDicomTagName.Text = _dicomElementName;
            lookupElement = targetFileElements.getDicomElementInfo(_updateTargetFile);
            foreach (Dictionary<string, string> individualElements in lookupElement)
            {
                if (individualElements["Name"].Equals(_dicomElementName))
                {
                    this.lblDicomTag.Text = individualElements["Tag"];
                    this.lblDicomValueOriginal.Text = individualElements["Value"];
                    _dicomTag = individualElements["Tag"];
                }
            }
        }
Пример #2
0
        private void UpdateForm_Load(object sender, EventArgs e)
        {
            DicomInfo targetFileElements = new DicomInfo();
            List <Dictionary <string, string> > lookupElement = new List <Dictionary <string, string> >();

            this.lblDicomTagName.Text = _dicomElementName;
            lookupElement             = targetFileElements.getDicomElementInfo(_updateTargetFile);
            foreach (Dictionary <string, string> individualElements in lookupElement)
            {
                if (individualElements["Name"].Equals(_dicomElementName))
                {
                    this.lblDicomTag.Text           = individualElements["Tag"];
                    this.lblDicomValueOriginal.Text = individualElements["Value"];
                    _dicomTag = individualElements["Tag"];
                }
            }
        }