Opening and Saving Mdi child forms
I am looking to save the current child form and be able to open the child form. It is like a simple text editor like notepad. I also need to add controls to the child forms for saving. I also want to display the file name in the title bar of the opened document.
Sam HobbsPosted Mar 8, 2011, 6:05 PM
Perhaps you just need to know to set the Multiline property to true. Without that, a TextBox control uses only one line. Then the next trick is to go to the Dock property of the TextBox and set it to the big box in the middle. I know, you don't understand what I mean by big box in the middle but trust me; if you click on the Dock property you will understand. That is an easy way to make a control fill an entire form.
FroglegPosted Mar 8, 2011, 4:41 PM
Joel MackPosted Mar 8, 2011, 4:29 PM
FroglegPosted Mar 8, 2011, 3:25 PM
Joel MackPosted Mar 7, 2011, 4:43 PM
Suthish NairPosted Mar 7, 2011, 2:37 PM
Sam HobbsPosted Mar 6, 2011, 7:04 PM
I don't understand what is meant by saving and opening a form. The best I can think of is that forms are opened by showing the form as in Form.Show().
It is interesting to me that in C++ using MFC (it's a C++ thing but cannot be used without C++) projects were created with code that already did most of this (as in my Simple CEditView Application). I suspect that there is a way to generate a C# program that does most of this but I have not looked for it.
Are you sure you have looked at all the relevant articles in this web site?
Joel MackPosted Mar 6, 2011, 2:37 PM
Jaganathan BantheswaranPosted Mar 6, 2011, 12:30 PM
What is you problem?
At which line error is raising ?
Or do we develop your project ?