using System;
using System.Text;
namespace ConsoleLogin
{
class LoginWindow
{
public void Show()
{
const int left = 18;
const int top = 5;
const int width = 39;
const int height = 12;
Console.SetCursorPosition(left + 1, top + height + 1);
Console.BackgroundColor = ConsoleColor.DarkGray;
for (int i = left + 1; i <= left + width + 1; ++i)
Console.Write(" ");
for (int i = top + 1; i <= top + height + 1; ++i)
{
Console.SetCursorPosition(left + width + 1, i);
Console.Write(" ");
}
Console.BackgroundColor = ConsoleColor.DarkMagenta;
Console.ForegroundColor = ConsoleColor.White;
Console.SetCursorPosition(left, top);
Console.WriteLine("┏━━━━━━━━━━━━━━━━━━┓");
Console.SetCursorPosition(left, top + 1);
Console.WriteLine("┃ ┃");
Console.SetCursorPosition(left, top + 2);
Console.WriteLine("┣━━━━━━━━━━━━━━━━━━┫");
Console.SetCursorPosition(left, top + 3);
Console.WriteLine("┃ ┃");
Console.SetCursorPosition(left, top + 4);
Console.WriteLine("┃ ┃");
Console.SetCursorPosition(left, top + 5);
Console.WriteLine("┃ ┃");
Console.SetCursorPosition(left, top + 6);
Console.WriteLine("┃ ┃");
Console.SetCursorPosition(left, top + 7);
Console.WriteLine("┃ ┃");
Console.SetCursorPosition(left, top + 8);
Console.WriteLine("┃ ┃");