fork download
  1. using System;
  2. using System.Windows;
  3.  
  4. //...
  5.  
  6. private string directoriodelarchivo;
  7.  
  8. //...
  9.  
  10. private void opendicomdir_Click(object sender, EventArgs e)
  11. {
  12. LogValue("Before GetDirectoryName");
  13. directoriodelarchivo = System.IO.Path.GetDirectoryName(ofd.FileName);
  14. LogValue("After GetDirectoryName");
  15.  
  16. var form = new dicomdirselectionform(_reader);
  17. form.ShowDialog();
  18. LogValue("After ShowDialog");
  19. }
  20.  
  21. private void LogValue(string note)
  22. {
  23. MessageBox.Show(string.Format("{0}: {1}", note, directoriodelarchivo ?? "(null)"));
  24. }
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout
Standard output is empty