示例#1
0
        public MenuOptionResult FeedMoney()
        {
            FeedMoneyMenu moneyMenu = new FeedMoneyMenu(machine);

            moneyMenu.Show();
            return(MenuOptionResult.DoNotWaitAfterMenuSelection);
        }
        /// <summary>
        /// Opens a submenu where the user may feed in credits.
        /// </summary>
        /// <returns></returns>
        private MenuOptionResult FeedMoneyMenu()
        {
            FeedMoneyMenu feedMoney = new FeedMoneyMenu(this.machine);

            feedMoney.Show();
            return(MenuOptionResult.DoNotWaitAfterMenuSelection);
        }