Hey nuwan,

Use the following code.


private void Add_menu_item_student_Click(object sender, EventArgs e)
{

Frm_student student = new Frm_student();

student .MdiParent = this.MdiParent;

student .MdiParent = this;

student .Show();
}


On Thu, Nov 26, 2009 at 8:52 AM, Nuwan Silva <[email protected]> wrote:

> this is a simple question i think but i cant seem to get it right.
>
> im using  VS 2005 and its menu creating tool.
>
> i have a main interface and on its menu bar you get
> Add --> Student
>
> when you click "Student" a student registration form pops up.
>
> my problem is what i the code you can put on to popup this registration
> form?
>
> // Add --> Student
> private void Add_menu_item_student_Click(object sender, EventArgs e)
> {
>        // your code here
> }
>
> please any suggestions?
>
> thanks.
>
> --
> Thank You,
> Best Regards,
>
> Nuwan Silva
> +94 779 804 543
> [email protected]
>
> Blootooth(R)
>



-- 
Thanks & Regards,
Karthikeyan

Reply via email to