-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCLILogo.cs
More file actions
51 lines (49 loc) · 2.14 KB
/
Copy pathCLILogo.cs
File metadata and controls
51 lines (49 loc) · 2.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
public class CLILogo
{
// CLISettings settings = new CLISettings();
public static void bootlogo1(int speed = 0)
{
Console.ForegroundColor = CLISettings.Mcolor;
CLIText.print("╔═╗╦ ╦", speed, false);
Console.ForegroundColor = ConsoleColor.Green;
CLIText.print(" ┌─┐┌─┐┌┬┐┌─┐┌┐┌┌─┐┬┌┐┌┌─┐", speed, true);
Console.ForegroundColor = CLISettings.Mcolor; ;
CLIText.print("║ ║ ║", speed, false);
Console.ForegroundColor = ConsoleColor.Green;
CLIText.print(" │ ┬├─┤│││├┤ ││││ ┬││││├┤ ", speed, true);
Console.ForegroundColor = CLISettings.Mcolor; ;
CLIText.print("╚═╝╩═╝╩", speed, false);
Console.ForegroundColor = ConsoleColor.Green;
CLIText.print(" └─┘┴ ┴┴ ┴└─┘┘└┘└─┘┴┘└┘└─┘", speed, true);
Console.ResetColor();
}
public static void bootlogo2()
{
bootlogo1(25);
Thread.Sleep(899);
}
public static void bootlogo3()
{
Console.ForegroundColor = CLISettings.Mcolor;
Console.Write("╔═╗╦ ╦");
Console.ForegroundColor = ConsoleColor.Green;
Console.WriteLine(" ┌─┐┌─┐┌┬┐┌─┐┌┐┌┌─┐┬┌┐┌┌─┐");
Console.ForegroundColor = CLISettings.Mcolor; ;
Console.Write("║ ║ ║");
Console.ForegroundColor = ConsoleColor.Green;
Console.WriteLine(" │ ┬├─┤│││├┤ ││││ ┬││││├┤ ");
Console.ForegroundColor = CLISettings.Mcolor; ;
Console.Write("╚═╝╩═╝╩");
Console.ForegroundColor = ConsoleColor.Green;
Console.Write(" └─┘┴ ┴┴ ┴└─┘┘└┘└─┘┴┘└┘└─┘ ");
Console.ResetColor();
}
public static void logostart(string text = "error", int times = 249)
{
Console.Clear();
bootlogo3();
CLIText.print(text, 15, true);
//Console.WriteLine(text);
Thread.Sleep(times);//149
}
}