private void bnTags_Click(object sender, EventArgs e) { if (imageOpened == true) { DicomTagsForm dtg = new DicomTagsForm(); dtg.SetString(ref fileTags); dtg.ShowDialog(); } else { MessageBox.Show("Vui lòng mở file DICOM trước khi xem Tags!", "Chú Ý !!!", MessageBoxButtons.OK, MessageBoxIcon.Information); } }
private void bnTags_Click(object sender, EventArgs e) { if (imageOpened == true) { List<string> str = dd.dicomInfo; DicomTagsForm dtg = new DicomTagsForm(); dtg.SetString(ref str); dtg.ShowDialog(); imagePanelControl.Invalidate(); } else MessageBox.Show("Load a DICOM file before viewing tags!"); }