示例#1
0
        public void Submenu()
        {
            Painter.BlackYellow();

            Console.WriteLine($"+{new string('=', 28)}+");
            Console.WriteLine(string.Format("|{0, -28}|", " 1. Add"));
            Console.WriteLine(string.Format("|{0, -28}|", " 2. Delete"));
            Console.WriteLine(string.Format("|{0, -28}|", " 3. Modify"));
            Console.WriteLine(string.Format("|{0, -28}|", " 4. Display"));
            Console.WriteLine(string.Format("|{0, -28}|", " 5. Count"));
            Console.WriteLine(string.Format("|{0, -28}|", " 6. Clear"));
            Console.WriteLine(string.Format("|{0, -28}|", " 7. Load Template"));
            Console.WriteLine(string.Format("|{0, -28}|", " 9. BACK"));
            Console.WriteLine($"+{new string('=', 28)}+");

            Painter.BlackGray();

            Console.Write("  Choose option: ");
        }
示例#2
0
        public void Menu()
        {
            Painter.BlackYellow();

            Console.WriteLine($"+{new string('=', 28)}+");
            Console.WriteLine(string.Format("|{0, -28}|", " 1. Set Income"));
            Console.WriteLine(string.Format("|{0, -28}|", " 2. Set Expense Fixed"));
            Console.WriteLine(string.Format("|{0, -28}|", " 3. Set Expense Variable"));
            Console.WriteLine(string.Format("|{0, -28}|", " 4. Set Total Saved"));
            Console.WriteLine(string.Format("|{0, -28}|", " 5. Budget Print"));
            Console.WriteLine(string.Format("|{0, -28}|", " 6. Average/Day"));
            Console.WriteLine(string.Format("|{0, -28}|", " 7. Budget Clear"));
            Console.WriteLine(string.Format("|{0, -28}|", " 8. Load Budget Template"));
            Console.WriteLine(string.Format("|{0, -28}|", " 9. Save to File"));
            Console.WriteLine(string.Format("|{0, -28}|", " 0. EXIT"));
            Console.WriteLine($"+{new string('=', 28)}+");

            Painter.BlackGray();

            Console.Write("  Choose option: ");
        }