Esempio n. 1
0
        public static void BuildMenuDelegate(string i_Title)
        {
            m_MainMenuDelegate = new Delegates.MainMenu(i_Title);

            m_MainMenuDelegate.AddSubMenu("Version and Captials");
            m_MainMenuDelegate.AddSubMenu("Show Date/Time");

            m_MainMenuDelegate.Items[1].AddSubMenu("Count Capitals", DelegateMethods.CountCapitals);
            m_MainMenuDelegate.Items[1].AddSubMenu("Show Version", DelegateMethods.ShowVersion);
            m_MainMenuDelegate.Items[2].AddSubMenu("Show Time", DelegateMethods.ShowTime);
            m_MainMenuDelegate.Items[2].AddSubMenu("Show Date", DelegateMethods.ShowDate);
        }