示例#1
0
 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");
 }