Beispiel #1
0
        public void DisplayMenu()
        {
            Console.Clear();
            EnhancedConsole.WriteCenteredAt(2, 'y', "Home Accounting");
            EnhancedConsole.WriteAt(10, 5, 'c', "1.-" + Translator.GetTranslation(language, "addtr"));
            EnhancedConsole.WriteAtNextRow("2.-" + Translator.GetTranslation(language, "viewtr"));
            EnhancedConsole.WriteAtNextRow("3.-" + Translator.GetTranslation(language, "monthtr"));
            EnhancedConsole.WriteAtNextRow("4.-" + Translator.GetTranslation(language, "accountstr"));
            EnhancedConsole.WriteAtNextRow("5.-" + Translator.GetTranslation(language, "searchtr"));
            EnhancedConsole.WriteAtNextRow("6.-" + Translator.GetTranslation(language, "lchange"));
            EnhancedConsole.WriteAtNextRow("0.-" + Translator.GetTranslation(language, "exits"));

            EnhancedConsole.WriteAt(10, 14, '0', "");
        }
Beispiel #2
0
        public void Show()
        {
            //Title
            EnhancedConsole.WriteCenteredAt(2, 'c', "##      ##  ########  ##         ######    #######   ##     ##  ########");
            EnhancedConsole.WriteCenteredAt(3, 'c', "##  ##  ##  ##        ##        ##    ##  ##     ##  ###   ###  ##      ");
            EnhancedConsole.WriteCenteredAt(4, 'c', "##  ##  ##  ##        ##        ##        ##     ##  #### ####  ##      ");
            EnhancedConsole.WriteCenteredAt(5, 'c', "##  ##  ##  ######    ##        ##        ##     ##  ## ### ##  ######  ");
            EnhancedConsole.WriteCenteredAt(6, 'c', "##  ##  ##  ##        ##        ##        ##     ##  ##     ##  ##      ");
            EnhancedConsole.WriteCenteredAt(7, 'c', "##  ##  ##  ##        ##        ##    ##  ##     ##  ##     ##  ##      ");
            EnhancedConsole.WriteCenteredAt(8, 'c', " ###  ###   ########  ########   ######    #######   ##     ##  ########");

            //Message
            EnhancedConsole.WriteCenteredAt(11, 'c', "Welcome to Home Accounting.");
            EnhancedConsole.WriteCenteredAt(12, 'b', "This program will help you manage your expenses and incomes.");
            EnhancedConsole.WriteCenteredAt(15, 'y', "Press Enter to continue.");
            Console.ReadLine();
        }