<RadioButton Content="男" IsChecked="True" Tag="1" Height="16" HorizontalAlignment="Left" Margin="16,16,0,0" GroupName="Sex" VerticalAlignment="Top" Checked="RadioButton_Checked" />
<RadioButton Content="女" Tag="2" Height="16" HorizontalAlignment="Left" Margin="103,16,0,0" VerticalAlignment="Top" GroupName="Sex" Grid.Column="1" Grid.Row="4" Checked="RadioButton_Checked" />
上面的代码,编辑后默认没有选中,而且不能首先选男, 要先选过女的后才可以选男的
<RadioButton Content="女" Tag="2" Height="16" HorizontalAlignment="Left" Margin="103,16,0,0" VerticalAlignment="Top" GroupName="Sex" Grid.Column="1" Grid.Row="4" Checked="RadioButton_Checked" />
上面的代码,编辑后默认没有选中,而且不能首先选男, 要先选过女的后才可以选男的
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货