I have a MDI Container form called Desktop, and when I open a form from the menu I set oForm.MdiParent = oDesktop, and the form stays inside the desktop. All is well.
private void barInventory_Click(object sender, System.EventArgs e)
{
frmItemList oItemList = new frmItemList();
oItemList.MdiParent = this;
oItemList.Show();
}
This works great.
But when the Inventory List form opens the Inventory Item form, I'm not sure what to set its MdiParent to. The 'this' keyword inside the inventory list is a reference to that form, not the desktop.
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people