예제 #1
0
파일: Menu.cs 프로젝트: cptdagon/PassCypher
 private static void MenuContext()
 {
     Format.Clear();
     Console.WriteLine("Create a new password\n" +
                       "Load saved passwords");
     Format.Dash();
     if (Memmappedfile.Read("SerStat") == false)
     {
         Console.ForegroundColor = ConsoleColor.DarkGray;
     }
     Console.WriteLine("Backup Database to Server\n" +
                       "Update Database from Server");
     Console.ForegroundColor = ConsoleColor.White;
     Format.Dash();
     Console.WriteLine("Lock Program\n" +
                       "Help\n" +
                       "Exit");
     Format.Dash();
 }
예제 #2
0
 public static void Setmode()
 {
     SessionParameters.Mode = Memmappedfile.Read("NetStat");
 }