MobileAPP/MainPage.xaml.cs

26 lines
545 B
C#
Raw Permalink Normal View History

2025-02-27 15:16:22 +03:00
namespace MobileApp
{
public partial class MainPage : ContentPage
{
int count = 0;
public MainPage()
{
InitializeComponent();
}
2025-03-10 09:22:36 +03:00
//private void OnCounterClicked(object sender, EventArgs e)
//{
// count++;
2025-02-27 15:16:22 +03:00
2025-03-10 09:22:36 +03:00
// if (count == 1)
// CounterBtn.Text = $"Clicked {count} time";
// else
// CounterBtn.Text = $"Clicked {count} times";
2025-02-27 15:16:22 +03:00
2025-03-10 09:22:36 +03:00
// SemanticScreenReader.Announce(CounterBtn.Text);
//}
2025-02-27 15:16:22 +03:00
}
}