Now shows how many CChars left in the list

This commit is contained in:
BOT Alex 2023-06-29 12:47:18 +02:00
parent f634474923
commit dab3cb47b7
4 changed files with 23 additions and 1 deletions

View file

@ -9,6 +9,9 @@ namespace LearningChineseFixed
{
public class Program
{
public static int CCharsLeft = 0;
public static Action UpdateUiEvent;
public static async Task Main(string[] args)
{
var builder = WebAssemblyHostBuilder.CreateDefault(args);
@ -27,5 +30,7 @@ namespace LearningChineseFixed
await builder.Build().RunAsync();
}
public static void InvokeUiUpdate() => UpdateUiEvent?.Invoke();
}
}