Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Aug 31, 2023. It is now read-only.

TyberiousG/SimpleConsoleControls-Deprecated-

Open more actions menu

Repository files navigation

SimpleConsoleControls

Simple Console Controls for .NET languages

SimpleConsoleControls (SCC) makes creating Command Line Interfaces simple and easy with any .NET language. Current functions and subroutines include:

invoked by SimpleConsoleControls.Controls

  • Subroutine: Label( X [int], Y [int], LabelText [string], Optional FColor [ConsoleColor], Optional BColor [ConsoleColor])

    Creates a label within the window at the designated X and Y starting points.

  • Function: TextField( X [int], Y [int], Width [int])

    Creates a Fixed-Length Input Field starting at the designated X and Y points.

    Returns string value from user input.

  • Subroutine: Title( Y [int], Text [string])

    Creates a title label centered in the middle of the window.

  • Function: PasswordField( X [int], Y [int], Width [int], Optional Mask [string])

    Draws fixed-length masked input field in the main window at the designated starting X and Y points.

    Returns string from user password input.

  • Subroutine: DrawRectangle(X [int], Y[int], Width [int], Height [int])

    Draws a rectangle to the screen at the specified X and Y positions. The origin point of the rectangle is the upper right hand corner. The rectangle design is displayed in "double pipe" characters.

  • Subroutine: SetWinSize(Columns [int], Rows [int])

    Sets the main operating window size by Columns x Rows (also updates buffer size as the same).

Morty Proxy This is a proxified and sanitized view of the page, visit original site.