2020-07-04 22:27:04 +08:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace Sunny.UI.Demo
|
2020-05-11 21:11:29 +08:00
|
|
|
|
{
|
|
|
|
|
public partial class FRadioButton : UITitlePage
|
|
|
|
|
{
|
|
|
|
|
public FRadioButton()
|
|
|
|
|
{
|
|
|
|
|
InitializeComponent();
|
2020-07-04 22:27:04 +08:00
|
|
|
|
uiRadioButtonGroup1.SelectedIndex = 2;
|
2020-05-11 21:11:29 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void uiRadioButtonGroup1_ValueChanged(object sender, int index, string text)
|
|
|
|
|
{
|
2020-07-04 22:27:04 +08:00
|
|
|
|
Console.WriteLine("SelectedIndex: " + index + ", SelectedText: " + text);
|
2020-05-11 21:11:29 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|