Ejemplo n.º 1
0
        public void SaveSetting(DPath path, DPath sqPath)
        {
            if (path == null)
            {
                return;
            }

            string strPath = (sqPath == null) ? "" : sqPath.Path;
            int    index   = (sqPath == null) ? -1 : 0;

            string   description = this._comboxBoxTag.Text;
            int      tag         = GetTag();
            DicomTag dicomTag    = DHelper.Int2DicomTag(tag);
            DPath    p           = DPath.GetDPath(dicomTag, GetVR(), description, strPath, index);

            path.Description = p.Description;
            path.Path        = p.Path;
            path.VR          = p.VR;
        }