Tech
Forums
Jobs
Books
Events
Live
Interviews Prep
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
0
Reply
Close the current form when new form opened in MDI?
Deepak Rai
Jan 7 2014 4:35 AM
734
Reply
private void
Form1(
object
sender,
EventArgs
e)
{
if (ActiveMdiChild !=
null
)
ActiveMdiChild.Close()
Form2
frm2 = new
Form2
();
frm2.MdiParent =
this
;
frm2.Show();
}
where the Teacher_Entry is a form
This code works on MS Visual Studio 2008 but not in MS Visual Studio2005 please send me the answer for this...
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
0
)
Next Recommended Forum
How to add scale bar on image in C#
Autocomplete from db to textbox in MVC