Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MdiParent Property Question
Message
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
MdiParent Property Question
Environment versions
Environment:
VB 9.0
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01352333
Message ID:
01352333
Views:
64
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)
{
	// Create an instance of the user list
	frmItemList oItemList = new frmItemList();
	
	// Make the user list a child of the desktop
	oItemList.MdiParent = this;

	// Show the form
	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
Next
Reply
Map
View

Click here to load this message in the networking platform