I have following code to show a child window
//===============================================
private void btnData_Click(object sender, System.EventArgs e)
{
//click to new a Database window
ServiceServer.Database formDatabase = new Database(this);
formDatabase.Show();
}
in child window
I have
//===============================================
public Database(ServiceServer.serviceServer parent)
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
this.MdiParent = parent;
}
"pei_world" <pe*******@hotmail.com> wrote in message
news:eN**************@TK2MSFTNGP12.phx.gbl...
I have a contextMenu in MDIparent form, but why it also show up in my
MDIchild form as well.
how to get rid of it?