예제 #1
0
        private void _editSopOpenFileButton_Click(object sender, EventArgs e)
        {
            openFileDialogStorageScu.Multiselect = false;
            openFileDialogStorageScu.Filter      = "DICOM files|*.dcm|All files|*.*";
            if (DialogResult.OK == openFileDialogStorageScu.ShowDialog())
            {
                _editSopSourcePathTextBox.Text      = openFileDialogStorageScu.FileName;
                _editSopDestinationPathTextBox.Text = string.Empty;

                _editSop = new EditSop(openFileDialogStorageScu.FileName);
                _editSop.Load();

                _editSopTextBox.Text = _editSop.GetXmlRepresentation();

                string dump = _editSop.DicomFile.Dump();
                Platform.Log(LogLevel.Info, dump);
            }
        }
예제 #2
0
        private void _editSopOpenFileButton_Click(object sender, EventArgs e)
        {
            openFileDialogStorageScu.Multiselect = false;
            openFileDialogStorageScu.Filter = "DICOM files|*.dcm|All files|*.*";
            if (DialogResult.OK == openFileDialogStorageScu.ShowDialog())
            {
                _editSopSourcePathTextBox.Text = openFileDialogStorageScu.FileName;
                _editSopDestinationPathTextBox.Text = string.Empty;

                _editSop = new EditSop(openFileDialogStorageScu.FileName);
                _editSop.Load();

                _editSopTextBox.Text = _editSop.GetXmlRepresentation();

                string dump = _editSop.DicomFile.Dump();
                Platform.Log(LogLevel.Info, dump);
            }
        }