Exemplo n.º 1
0
        private static void ReadBanner() {
            File.WriteAllLines(Directory.GetCurrentDirectory() + @"\stdBanner.txt", DataControler.stdBanner);

            if (File.Exists(Directory.GetCurrentDirectory() + @"\banner.txt")) {
                DataControler.mainBanner = File.ReadAllLines(Directory.GetCurrentDirectory() + @"\banner.txt");
                DataControler.bannerFromFile = true;
                EasyLogging.SimpleLog("LOGO.TYPER", "Banner found and saved", "output",ConsoleColor.Green);
            } else {
                DataControler.bannerFromFile = false;
                DataControler.mainBanner = File.ReadAllLines(Directory.GetCurrentDirectory() + @"\stdBanner.txt");
                DataControler.bannerFromFile = true;
                EasyLogging.SimpleLog("LOGO.TYPER", "No Banner found in banner.txt or the banner.txt file is missing. plz fix this!!", "output", ConsoleColor.Red);
            }

        }
Exemplo n.º 2
0
        private static void ReadLogo() {
            
            
            File.WriteAllLines(Directory.GetCurrentDirectory() + @"\stdLogo.txt", DataControler.stdLogo);

            if (File.Exists(Directory.GetCurrentDirectory()+@"\logo.txt")) {
                DataControler.mainLogo = File.ReadAllLines(Directory.GetCurrentDirectory() + @"\logo.txt");
                DataControler.logoFromFile = true;
                
            } else {
                DataControler.logoFromFile = false;
                DataControler.mainLogo = File.ReadAllLines(Directory.GetCurrentDirectory() + @"\stdLogo.txt");
                DataControler.logoFromFile = true;
                EasyLogging.SimpleLog("Logo.Typer" ,"No Logo found in logo.txt or the file is missing. plz fix this!!", "output", ConsoleColor.Red);
            }
            
        }
Exemplo n.º 3
0
 private static void InitializeModules() {
     PrograssBar.SimpleLoadingProcedure("Loading Modules", 100, ConsoleColor.White, ConsoleColor.White, Console.BackgroundColor, Console.BackgroundColor, 10, 500);
     CORE.CoreControler.CreateNewStation();
     EasyLogging.SimpleLog("SAM", "Loading Mopdules", "output", ConsoleColor.Yellow);
     SAM.DATA.Station.PrintAllModuleInfo();
 }