Hi Winapplication developers,
This is first time i am writing a winform application.
a few simple question .
1. from mdi form whenever i open any form by clicking any menu, i want the
form to b open in the center of mdi form.
what should i write with the following code ?
Hotels.frm_Controlpanel objFrmControlpanel= new
StayNTravelAdmin.Hotels.frm_Controlpanel();
private void menuItem_HotelOptions_Click(object sender, System.EventArgs e)
{
objFrmControlpanel.MdiParent=this ;
objFrmControlpanel.Show();
}
Also sometimes i may want, when a form is open user should not be able to click
on
the main menu of mdi, until the particular form is not closed.
Thanks in advance
Arindam
Thanks & Regards
Arindam
Web Designer & Developer
---------------------------------
Too much spam in your inbox? Yahoo! Mail gives you the best spam protection
for FREE!
http://in.mail.yahoo.com
[Non-text portions of this message have been removed]
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/