How to our appliction MDI

You'll need to rephrase your question. If you want to know how to do MDI, you'll find examples at msdn.microsoft.com. The best way to search MSDN is to use google, and add the word, "MSDN" to your search.