Add files for the reactive example

This commit is contained in:
Artyom
2020-10-01 01:57:33 +03:00
parent f6fa97a44c
commit e5b0795aff
6 changed files with 240 additions and 6 deletions

View File

@@ -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 ()));
}
}
}