Hi, i think im gonna crack up

im trying to programmatically create menu's and sub menus for the main menu given, it doesnt seem to do it. i FINALLY got all the main menus to appear however all the sub menu's of each menu appear only in one main menu!

why?? what im i doing wrong?

Code:
 public class Form1 : System.Windows.Forms.Form
    {
        private System.Windows.Forms.MainMenu fileMenu;
        
        MainMenu someMenu = new MainMenu();
//..
//..
//that is public - the MainMenu object instance
//..
//..

//MAIN method

int numberOfFilesFound = 4; //example

            someMenu = this.AddMainMenu("File");             
            this.Menu = someMenu;
            this.AddSubMenus(this.Menu, numberOfFilesFound, " Recent File");

            someMenu = this.AddMainMenu("Edit");       
            this.Menu = someMenu;
            this.AddSubMenus(this.Menu, numberOfFilesFound, " Recent File");

            someMenu = this.AddMainMenu("View");       
            this.Menu = someMenu;
            this.AddSubMenus(this.Menu, numberOfFilesFound, " Recent File");

        }

        private MainMenu AddMainMenu(string mainMenuName)
        {
            //MainMenu mainMenu = new MainMenu();
            someMenu.MenuItems.Add(mainMenuName);
            
            this.Menu = someMenu;

            return this.Menu;
        }

        private void AddSubMenus(MainMenu menuName, int numberOfSubItems, string menuItemName)
        {
            for(int x = 1; x <= numberOfSubItems; x++)
            {
                menuName.MenuItems[0].MenuItems.Add(x + " " + menuItemName);
            }            
            //this.Menu = menuName;
        }
it adds all the submenus to the file menu, the first menu. how can i tell it after its populated the submenus in the main menu, to move on to the next menu and populate to that one, as it should do logically?