mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-27 08:17:53 +01:00
Add files for the reactive example
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
using System;
|
||||
using Terminal.Gui;
|
||||
|
||||
namespace ReactiveExample {
|
||||
class Program {
|
||||
static void Main (string [] args)
|
||||
{
|
||||
Console.WriteLine ("Hello World!");
|
||||
public static class Program {
|
||||
static void Main (string [] args) {
|
||||
Application.Init (); // A hacky way to enable instant UI updates.
|
||||
Application.MainLoop.AddTimeout(TimeSpan.FromMilliseconds(600), a => true);
|
||||
Application.Run (new LoginView (new LoginViewModel ()));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user