MDI application having to double click to open saved file

Aug 24 2013 6:45 PM

I've created a MDI application with a parent and child form. I'm trying to open the text document I've saved using Visual C# and every time I select the file I have to double click OPEN before it opens the document. The file opens perfectly after double clicking but, I should only have to click OPEN once.  It's has to be something simple but I can't find it. What could be causing this?   HELP PLEASE.!

Thank you.




Answers (3)

0
Nitesh Kejriwal

Nitesh Kejriwal

  • 118
  • 15.6k
  • 4.7m
Aug 25 2013 7:44 PM
Great!
0
Brenda Jackson

Brenda Jackson

  • 0
  • 3
  • 2k
Aug 25 2013 10:54 AM
I found the problem.  I had typed 2 open file dialog statements in the code. I will delete this question. Thanks anyway for replying.
0
Nitesh Kejriwal

Nitesh Kejriwal

  • 118
  • 15.6k
  • 4.7m
Aug 24 2013 11:51 PM
Please clarify further what you mean by opening text document with double click.