Hi Experts:
The program creates Panels and inicilize them. When I run the code below,
the program crashes (at the line commented below). Any help is appriciated.
Thanks in Advance!
Polaris
private void createPanels (int nPanelCount)
{
Panel [] parray = new Panel [nPanelCount];
for (int i = 0; i < nPanelCount; i++ )
{
parray[i].Parent = this; // dead here becaue parray[i] is null
parray[i].Dock = DockStyle.Left;
}
}