hi there,
im a C# newbie ... may i know how to open a new window (pop up) when i click the menu ? i write this and it works something .. but sometimes not :
using proC1.abc;
...
...
private void menuItem11_Click(object sender, System.EventArgs e)
{
MyWindowSample objdd = new MyWindowSample();
objdd.ShowDialog(this);
}
Note :
- 'MyWindowSample' is name of my Child window's Class
- 'proC1.abc' is name of my child window's namaspace
Pls assist .. is this correct ? Thks in advance...
im a C# newbie ... may i know how to open a new window (pop up) when i click the menu ? i write this and it works something .. but sometimes not :
using proC1.abc;
...
...
private void menuItem11_Click(object sender, System.EventArgs e)
{
MyWindowSample objdd = new MyWindowSample();
objdd.ShowDialog(this);
}
Note :
- 'MyWindowSample' is name of my Child window's Class
- 'proC1.abc' is name of my child window's namaspace
Pls assist .. is this correct ? Thks in advance...