WindowsForms.Console

Component of WindowsForms, ConsoleGUI is added to WindowsForms Application.


Keywords
FConsole, WindowsForms.Console, WinConsole, Console, Component, WinFormConsole, net, core, console-application, console-visualization, windows-forms, winforms-controls
License
MIT
Install
Install-Package WindowsForms.Console -Version 3.0.2

Documentation

nuget NuGet Build status

WindowsForms.Console

Component of WindowsForm

Usage

  • import nuget package to the project
        Install-Package WindowsForms.Console
        fconsole1.WriteLine("text");
        this.WriteLine("text");//(extension method)
        
        fconsole1.WriteLine("text",Color.White);
        this.WriteLine("text",Color.White);//(extension method)
        
        fconsole1.Write("text");
        this.Write("text");//(extension method)
        
        fconsole1.Write("text",Color.White);
        this.Write("text",Color.White);//(extension method)
        
        
        var line = fconsole1.ReadLine();//used in async method
        //or
        var line = this.ReadLine();//this as any Form (extension method)
        
       
       var line = await fconsole1.ReadKey(); //used in async method
       //or
       var line = await this.ReadKey();//(extension method)

FConsole

Supported Platforms

moved to security.md

Dependencies

  • System.Windows.Form
  • System

FrameworkReferences for the .NetCore and upper

  • Microsoft.WindowsDesktop.App.WindowsForm

Example Project