Добавить Core/PrintAny.cs
Графический класс, для кого вообще эти описания? Я на гитхабе так не расписывал как тут
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user