I am working on a small project in c++ and packing it into GUI. The reference source code is enter link description here (Download source code - 61.1 Kb)
I want to prompt a dialog window when choose "menu"-"edit"-"parameter setting". I have already draw a dialog like this

When click "parameter setting"
private void menuItem7_Click(object sender, EventArgs e)
{
if (drawArea.GraphicsList.ShowFormParameter(this))
{
drawArea.SetDirty();
drawArea.Refresh();
}
}
public bool ShowFormParameter(IWin32Window parent)
{
return true;
}
But it does not work, the dialog doesn't show when clicking. How can I realize that?