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
2
Answers
How to access the menustrip items in MDIParent form?
Ujjval Shukla
8y
370
1
Reply
Below code shows error object reference not set an instance of object-
private void MDIParent1_Load(object sender, EventArgs e)
{
MenuStrip mstrp = (MenuStrip)this.Controls["menuStrip"];
mstrp.Items["Emp_Mas_salary"].Enabled = false;
}
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
How to use Upload option
Can't Access gridview row in dropdown selected index changed