Project setup

This commit is contained in:
2025-11-12 11:49:15 +01:00
commit a608f98497
40 changed files with 1057 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
namespace WorkTime.Mobile;
public partial class MainPage : ContentPage {
int count = 0;
public MainPage() {
InitializeComponent();
}
private void OnCounterClicked(object? sender, EventArgs e) {
count++;
if (count == 1)
CounterBtn.Text = $"Clicked {count} time";
else
CounterBtn.Text = $"Clicked {count} times";
SemanticScreenReader.Announce(CounterBtn.Text);
}
}