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); }
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); }
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); }
internal List <string> CustomCharsetLowerMenu(List <string> charsetSelecting) { Error: try { Console.Write("\n"); SetColorThemes(); Console.Write("UPPERCASE TO LOWERCASE Y/[N]: "); ConsoleKeyInfo yes = Console.ReadKey(); if (yes.Key == ConsoleKey.Y) { return(charsetSelecting = UserPasswordProfiler.CustumCHarsetLowerCase(charsetSelecting)); } } catch (Exception e) { Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine(" {0} \n", e.Message); Console.ResetColor(); goto Error; } return(charsetSelecting); }
internal List <string> CustomCharsetNumberMenu(List <string> charsetSelecting) { Error: try { SetColorThemes(); Console.Write(lang.GetString("AddNumber")); ConsoleKeyInfo yes = Console.ReadKey(); if (yes.Key == ConsoleKey.Y) { return(charsetSelecting = UserPasswordProfiler.CustomCharsetNumber(charsetSelecting)); } } catch (Exception e) { Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine(" {0} \n", e.Message); Console.ResetColor(); goto Error; } return(charsetSelecting); }
private List <string> BirthdateMenu(List <string> charsetSelecting) { Error: Instruction(); try { SetColorThemes(); Console.Write("Birthdate (DDMMYYYY): "); Console.Write("\n"); ConsoleKeyInfo quit; quit = Console.ReadKey(); while (quit.Key != ConsoleKey.Escape) { SetColorThemes(); Console.WriteLine("Please enter the Birthdate "); Console.Write("\n"); SetColorThemes2(); charsetSelecting = UserPasswordProfiler.BirthdatePerson(charsetSelecting); if (String.IsNullOrEmpty(charsetSelecting[charsetSelecting.Count - 1])) { charsetSelecting.RemoveAt(charsetSelecting.Count - 1); } Console.WriteLine("\n" + lang.GetString("EnterOrEchap")); Console.Write("\n"); quit = Console.ReadKey(); } } catch (Exception e) { Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine(" {0} \n", e.Message); Console.ResetColor(); goto Error; } return(charsetSelecting); }