private void InitializeMenuBar()
        {
            m_menuBarItems = new List <MenuItemViewModel>();

            MenuItemViewModel fileMenuItem = new MenuItemViewModel("File", null);
            MenuItemViewModel openMenuItem = new MenuItemViewModel("Open", null);

            openMenuItem.AddMenuItem(new MenuItemViewModel("Xml Network Model", OpenFileCommand));
            fileMenuItem.AddMenuItem(openMenuItem);
            fileMenuItem.AddMenuItem(new MenuItemViewModel("Save", SaveFileCommand));
            fileMenuItem.AddMenuItem(new MenuItemViewModel("Exit", null));
            //MenuItemViewModel utilitiesMenuItem = new MenuItemViewModel("Utilities", null);
            //MenuItemViewModel testCaseGenerator = new MenuItemViewModel("Generate Measurement Test Case", null);

            //utilitiesMenuItem.AddMenuItem(testCaseGenerator);

            m_menuBarItems.Add(fileMenuItem);
        }
 public void AddMenuItem(MenuItemViewModel menuItem)
 {
     m_children.Add(menuItem);
 }