Hello Experts , Good Morning
I have created a feestru form in c # . From the same form I have Report button on the form . From there I am running the report preview form . The code for the Report Button is
this.Hide();
rppreview rppreview = new rppreview();
rppreview.Show();
1] this code loads rppreview form finely . But it run the form as MDI form .
2] When I close the rppreview from I want to again load my feestru form . The code for loading again the feestru from is
this.Close();
feestru newMDIChild = new feestru();
// Set the Parent Form of the Child window.
newMDIChild.MdiParent = this;
// Display the new form.
newMDIChild.Show();
Please Help , Thanks in Advance
regards
anand kulkarni
Loading

VulpesPosted Jun 28, 2014, 11:52 AM
newMDIChild.MdiParent = this;
VulpesPosted Jun 29, 2014, 8:09 PM
When you created the feestru form, did you set its IsMdiContainer property to true?
If you did, then I'd set it to false.
anand kulkarniPosted Jun 28, 2014, 10:10 PM
Form is opening but as Mdi not in Mdi
Regards
anand kulkarni
anand kulkarniPosted Jun 28, 2014, 9:36 PM
regards
anand kulkarni