Click here to Skip to main content
15,889,462 members

Comments by hemantkulshrestha (Top 4 by date)

hemantkulshrestha 4-Jan-13 3:47am View    
In for loop you are validating that OctroiCode should have a value otherwise you are prompting a message and returns from the function, correct me if I am wrong.
So it seems that your ExportPDF function must have some problem so you should provide the code of that.
hemantkulshrestha 3-Jan-13 6:56am View    
No! You need to add this code where you are creating new child form for showing. Like on any menu click.
hemantkulshrestha 3-Jan-13 4:41am View    
If you want to make a form MDI Parent you need to set IsMDIContaier property true. Now if you want another form to be open as MDI child then you need to set its MdiParent property with above form object. like

Form2 f = new Form2();
f.MdiParent = this; ;// here "this" is a MDI container means MDI Parent
f.Show();
hemantkulshrestha 3-Jan-13 3:58am View    
Make sure MDIParent property should not be null. Here "this" should be mdi child and its MDIParent property should have reference of MDI form.
Let me know if you need any help.