TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
eddom
NA
17
0
Disable MaximizeBox and MinimizeBox for MDI Child Form
Mar 30 2011 6:27 AM
I can't disable the maximize and minimize box without setting ControlBox = False when the child form is maximized, anyone know the workaround for this?
I have set the mdi child form property as below:
FormBorderStyle = FixedSingle
ControlBox = True
MaximizeBox = False
MinimizeBox = False
WindowState = Maximized
I am able to fix this by doing the following:
ChildForm.WindowState = Normal;
ChildForm.MDIParent = this;
ChildForm.Show();
ChildForm.WindowState = Maximized;
what happen was, when I open 2nd child form, the minimized box enabled again....
Reply
Answers (
19
)
Get the same output of the window in PDF file
The type or namespace name 'CrystalDecisions' could not be found