ActionSet.Navigators Namespace
AccessNavigatorMDI Component
|
 |
AccessNavigatorMDI is simplified MDI implementation as known from Access 2007. Control has the left side navigation and right side where screens for each item are being shown.

PureComponents made usage easier for you and with override of a single event you can provide the content for the page being shown. Content is being requested upon the double-click on the item. Once user double-clicks the item, then event AccessNavigatorMDI.MDIControlContentRequest is fired.
Check the sample code below to illustrate the situation.
Adding content
We have AccessNavigatorMDI1 as the instance of AccessNavigatorMDI and UserControl1 as the user control we want to show inside the MDI area for each of the items that will be double-clicked by the user.
private void AccessNavigatorMDI1_MDIControlContentRequest(object sender,
PureComponents.ActionSet.Navigators.MDIControlContentRequestEventArgs e)
{
UserControl1 myUserControl = new UserControl1();
e.Content = myUserControl;
e.IsMDI = true;
myUserControl.Label1.Text = e.Item.Text;
}
As you can see it is pretty easy. There are however several points of interest. Setting the IsMDI property of the event args to false will shown the content as modal dialog. This is useful when some items in the navigation are of type "once-off" actions.
See also
AccessNavigator Component