WindowsForms.Console
2.0.10
.NET 5.0
This package targets .NET 5.0. The package is compatible with this framework or higher.
.NET Core 3.0
This package targets .NET Core 3.0. The package is compatible with this framework or higher.
.NET Framework 4.5
This package targets .NET Framework 4.5. The package is compatible with this framework or higher.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package WindowsForms.Console --version 2.0.10
NuGet\Install-Package WindowsForms.Console -Version 2.0.10
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="WindowsForms.Console" Version="2.0.10" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add WindowsForms.Console --version 2.0.10
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: WindowsForms.Console, 2.0.10"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install WindowsForms.Console as a Cake Addin #addin nuget:?package=WindowsForms.Console&version=2.0.10 // Install WindowsForms.Console as a Cake Tool #tool nuget:?package=WindowsForms.Console&version=2.0.10
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
WindowsForms.Console
Component of WindowsForm
Usage
- import nuget package to the project
Install-Package WindowsForms.Console
- initial code for any Form which has FConsole component
public Form1()
{
InitializeComponent();
CheckForIllegalCrossThreadCalls = false; // <=== this is important for async access to thread
}
add 'FConsole' component to FormControl (you can see how to)
look at sample project (for more example)
example codes
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)
Supported Platforms
- WindowsForm Application
- v4.5 to 4.6.2 (v4.7 temporarily not supported)
- .Net Core 3.0
- .Net Core 3.1
- .Net 5 RC1
- WPF (not supported yet)
Dependencies
- System.Windows.Form
- System
Example Project
- component is used in MSniper Project
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
.NET Core | netcoreapp3.0 is compatible. netcoreapp3.1 is compatible. |
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 3.0
- No dependencies.
-
.NETCoreApp 3.1
- No dependencies.
-
.NETFramework 4.5
- No dependencies.
-
net5.0-windows7.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
3.0.3-alpha | 136 | 8/17/2024 |
3.0.2 | 417 | 3/16/2023 |
3.0.1 | 253 | 3/13/2023 |
3.0.0 | 298 | 2/26/2023 |
2.0.11.1-alpha | 280 | 10/31/2021 |
2.0.11 | 509 | 10/22/2021 |
2.0.10 | 562 | 10/11/2020 |
2.0.9 | 620 | 10/25/2019 |
supports .NET 5 RC1