测试项目场景用法
private void Button_Click(object sender, RoutedEventArgs e)
{
this.Demobox.Text = "Village doctor upload / download.修改页面字符串,点击按钮后,触发点击事件";
}
业务场景
// 上传按钮事件
private void Button_Click_Upload(object sender, RoutedEventArgs e)
{
if (string.IsNullOrEmpty(Client_State.Ins.Client_Token))
{
this.TextBlock_ZhuangTai.Text = "还没有登录,请先登录";
return;
}
Down_Upload_Window wind = new Down_Upload_Window();
wind.Enable_download_true_upload_false = false;
wind.ShowDialog();
}