Search code examples
c#dialogopenfiledialog

c# dialog opened from dialog closes the entire chain


oi. i have a generic form that creates its own controls dependent on the class passed it. in the interim before conversion to wpf, i have this problem:

this generic record edit form opens as dialog for a child record listed on a master record form. it opens as dialog because i want the user to focus only on that. if a child record attribute requires access to OpenFileDialog, closing OpenFileDialog closes the child record dialog as well.

any advice on how to stop this?


Solution

  • This should help You - http://bytes.com/topic/net/answers/769433-c-showdialog-inside-showdialog-closing-both-return