public TotalComanderEngine() { Console.WindowWidth = 120; Console.WindowHeight = 40; Console.SetBufferSize(Console.WindowWidth, Console.WindowHeight); Console.CursorVisible = false; _graphics = new ConsoleGraphics(); _leftFolderActions = new FolderActions(_graphics); _rightFolderActions = new FolderActions(_graphics); _leftWindow = new Window(_graphics, _leftFolderActions, 0); _rightWindow = new Window(_graphics, _rightFolderActions, _graphics.ClientWidth / 2 + 2); }
public Window(ConsoleGraphics graphics, FolderActions view, int ident) { _graphic = graphics; _actions = view; Indent = ident; }