Ooui-tws-port/Samples/ButtonXamlPage.xaml.cs

23 lines
425 B
C#
Raw Normal View History

2017-11-16 05:59:40 +00:00
using System;
using Xamarin.Forms;
namespace ButtonXaml
{
public partial class ButtonXamlPage
{
int count = 0;
public ButtonXamlPage()
{
InitializeComponent();
}
public void OnButtonClicked(object sender, EventArgs args)
{
count++;
LabelCount.Text = $"Click Count: {count}";
2017-11-16 05:59:40 +00:00
}
}
}