예제 #1
0
        private List <string> ProfilsPersonPartnePassword(List <string> charsetSelecting)
        {
Error:
            try
            {
                Console.Write("\n\n");
                SetColorThemes2();
                Console.Write("Partners name: ");
                charsetSelecting.Add(UserPasswordProfiler.CustomCharsetWord());
                if (String.IsNullOrEmpty(charsetSelecting[charsetSelecting.Count - 1]))
                {
                    charsetSelecting.RemoveAt(charsetSelecting.Count - 1);
                }
                SetColorThemes2();
                Console.Write("Partners nickname: ");
                charsetSelecting.Add(UserPasswordProfiler.CustomCharsetWord());
                if (String.IsNullOrEmpty(charsetSelecting[charsetSelecting.Count - 1]))
                {
                    charsetSelecting.RemoveAt(charsetSelecting.Count - 1);
                }
                charsetSelecting = BirthdateMenu(charsetSelecting);
            }
            catch (Exception e)
            {
                Console.ForegroundColor = ConsoleColor.Red;
                Console.WriteLine(" {0} \n", e.Message);
                Console.ResetColor();
                goto Error;
            }

            return(charsetSelecting);
        }
예제 #2
0
        internal static List <string> CustomWordMenu(List <string> charsetSelecting)
        {
            try
            {
                while (true)
                {
                    Instruction();
                    ConsoleKeyInfo quit = Console.ReadKey();
                    if (quit.Key == ConsoleKey.Escape)
                    {
                        break;
                    }

                    SetColorThemes();
                    Console.WriteLine(lang.GetString("EnterWorld"));
                    Console.Write("\n");
                    SetColorThemes2();
                    charsetSelecting.Add(UserPasswordProfiler.CustomCharsetWord());
                    if (String.IsNullOrEmpty(charsetSelecting[charsetSelecting.Count - 1]))
                    {
                        charsetSelecting.RemoveAt(charsetSelecting.Count - 1);
                    }
                }
            }
            catch (Exception e)
            {
                Console.ForegroundColor = ConsoleColor.Red;
                Console.WriteLine(" {0} \n", e.Message);
                Console.ResetColor();
            }

            return(charsetSelecting);
        }
예제 #3
0
        internal List <string> ProfilsPersonPassword(List <string> charsetSelecting)
        {
Error:
            try
            {
                Console.Write("\n\n");
                SetColorThemes2();
                Console.Write("First Name : ");
                string name = UserPasswordProfiler.CustomCharsetWord();

                SetColorThemes2();
                Console.Write("Surname : ");
                string surname = UserPasswordProfiler.CustomCharsetWord();

                charsetSelecting = UserPasswordProfiler.InitialPersonne(charsetSelecting, name, surname);


                SetColorThemes2();
                Console.Write("Nickname : ");
                charsetSelecting.Add(UserPasswordProfiler.CustomCharsetWord());

                charsetSelecting = BirthdateMenu(charsetSelecting);
            }
            catch (Exception e)
            {
                Console.ForegroundColor = ConsoleColor.Red;
                Console.WriteLine(" {0} \n", e.Message);
                Console.ResetColor();
                goto Error;
            }

            return(charsetSelecting);
        }