diff --git a/Core/PrintAny.cs b/Core/PrintAny.cs new file mode 100644 index 0000000..72de4a6 --- /dev/null +++ b/Core/PrintAny.cs @@ -0,0 +1,51 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace IP_port_checker.Core +{ + public class PrintAny + { + public static void Print_Menu() + { + Console.WriteLine(new string('=', 50)); + Console.WriteLine(new string(' ', 19) + "Network_Tool"); + Console.WriteLine(new string(' ', 17) + "Working with TCP"); + Console.WriteLine(); + Console.ForegroundColor = ConsoleColor.DarkRed; + Console.WriteLine(" Программа предназначена для сканирования"); + Console.WriteLine(" собственного IP-адреса"); + Console.WriteLine(" Пользователь ответственен за использование"); + Console.WriteLine(" на чужих системах."); + Console.ResetColor(); + Console.WriteLine(new string('=', 50)); + } + public static void PrintDisclaimer() + { + Console.ForegroundColor = ConsoleColor.DarkRed; + Console.WriteLine(new string('=', 60)); + Console.WriteLine(" [!] ПРАВОВОЕ ПРЕДУПРЕЖДЕНИЕ [!]"); + Console.WriteLine(new string('=', 60)); + Console.WriteLine(" Разработчик программы SwEdryG не несёт ответственности"); + Console.WriteLine("за действия пользователя с использованием данной программы."); + Console.WriteLine(); + Console.WriteLine(" Ответственность за незаконные деяния лежит на плечах"); + Console.WriteLine("самого пользователя."); + Console.WriteLine(); + Console.WriteLine(" Нажимая Enter, вы подтверждаете, что:"); + Console.WriteLine(" . Прочитали README в корне программы"); + Console.WriteLine(" . Согласны с вышеизложенным текстом"); + Console.WriteLine(" . Принимаете всю ответственность на себя"); + Console.WriteLine(new string('=', 60)); + Console.ResetColor(); + + Console.WriteLine("\nНажмите Enter для продолжения..."); + Console.ReadLine(); + } + + public static void PrintIPLogo() + { + Console.WriteLine(); + } + } +}