摘要: <?xml version="1.0" encoding="gb2312"?> <FilesInformation> <version>1.0.1818.42821</version> <description>说明</description> <FileItem FileName="name" F 阅读全文
posted @ 2021-02-23 09:28 zls366 阅读(296) 评论(0) 推荐(0) 编辑
摘要: 本人想设置Button为圆角,奈何搜索百度,找到的全是坑爹答案,现总结如下: 1. 需要添加button 的template. 2. 设置border的时候,必须要设置background, 否则会提示content 被多次使用。 <Button Grid.Row="3" Grid.Column=" 阅读全文
posted @ 2021-02-23 09:23 zls366 阅读(10133) 评论(1) 推荐(5) 编辑
摘要: 1、是事件源,表示触发事件的那个组件 如(button/label/listview...),比如说你单击button,那么sender就是button 2、EventArgs是事件参数,它用来辅助你处理事件 比如说你用鼠标点击窗体,那么EventArgs是会包含点击的位置等等 例: private 阅读全文
posted @ 2021-02-23 09:19 zls366 阅读(776) 评论(0) 推荐(0) 编辑