Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
5
Answers
Error in C# winform while show a new form
Prem Anandh Natchatran
9y
336
1
Reply
Hi all,
am developing a
C# Winform Application
.Am using the
MDI form
in my application also i placed a
Tab Control in MDI main form
.When i tried to show a new form as a MDIchild,But it not showing .
private void mnuForm1_Click(object sender, EventArgs e)
{
Form1 frm1= new Form1();
frm1.MdiParent = this;
frm1.Show();
}
am getting the
"A first chance exception of type 'System.ArgumentException' occurred in mscorlib.dll " Error in output window.
If i delete that Tab control form MDI then its working
...
Here,
What's wrong with adding TabControl in MDIform.
Thanks in Advance..
Post
Reset
Cancel
Answers (
5
)
Next Recommended Forum
Send messages to mobile from c# code
Student attendance