摘要: 1 <TextBlock>2 <Hyperlink 3 Click="ForgetPassword">4 忘记密码5 </Hyperlink>6 </TextBlock>—EOF— 阅读全文
posted @ 2013-06-05 15:18 SubmarineX 阅读(372) 评论(0) 推荐(0) 编辑
摘要: 在不同情况下,显示不同的控件。Case1:ToggleButton显示,Grid的Visibility通过ToggleButton的IsChecked属性绑定;Case2:ToggleButton隐藏,Grid显示。通过类型判断进入处理部分: 1 public HelloWindow(WinType type) 2 { 3 winType = type; 4 5 InitializeComponent(); 6 7 if (winType == WinType.Case1) 8 { 9 myToggleButton.Visibility = ... 阅读全文
posted @ 2013-06-05 14:36 SubmarineX 阅读(610) 评论(0) 推荐(0) 编辑