03 2024 档案

摘要:【git的使用】 如何上传更改? 暂存:团队资源管理器 - 更改 - 输入提交记录 - 点击“全部提交”; 拉取:团队资源管理器 - 同步 - 拉取; 上传:团队资源管理器 - 同步 - 推送; 如何拉取代码? 先安装Git-2.41.0-64-bit.exe,然后有两种方式可以从gitlab浏览器 阅读全文
posted @ 2024-03-28 11:44 春天花会开, 阅读(11) 评论(0) 推荐(0) 编辑
摘要:public class ListBoxItemIndexConverter : IMultiValueConverter { public object Convert(object[] values, Type targetType, object parameter, CultureInfo 阅读全文
posted @ 2024-03-28 11:22 春天花会开, 阅读(46) 评论(0) 推荐(0) 编辑
摘要:<ListBox> <ListBox.ItemsPanel> <ItemsPanelTemplate> <StackPanel Orientation="Horizontal"/> </ItemsPanelTemplate> </ListBox.ItemsPanel> </ListBox> 阅读全文
posted @ 2024-03-27 17:41 春天花会开, 阅读(102) 评论(0) 推荐(0) 编辑
摘要:private void setOther() { System.Threading.Tasks.Task.Run(() => { // 需要异步的内容 }); } 阅读全文
posted @ 2024-03-27 17:37 春天花会开, 阅读(4) 评论(0) 推荐(0) 编辑
摘要:如果combobox的下拉数据源是Dictionary字典定义的,则不会显示是因为: Dictionary字典不带有通知功能,所以在使用字典作为数据源的情况下,需要将字典赋值写到构造函数中 阅读全文
posted @ 2024-03-27 17:30 春天花会开, 阅读(148) 评论(0) 推荐(0) 编辑
摘要:<TextBlock> <TextBlock.InputBindings> <MouseBinding MouseAction="LeftDoubleClick" Command="" CommandParameter=""/> </TextBlock.InputBindings> </TextBl 阅读全文
posted @ 2024-03-27 17:27 春天花会开, 阅读(329) 评论(0) 推荐(0) 编辑
摘要:<UserControl ..... xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"> <Grid> <i:Interaction.Triggers> <i:EventTrigger EventName="Mo 阅读全文
posted @ 2024-03-27 16:02 春天花会开, 阅读(86) 评论(0) 推荐(0) 编辑
摘要:<UserControl ..... xmlns:prism ="http://prismlibrary.com/" prism:ViewModelLocator.AutoWireViewModel="True"> 阅读全文
posted @ 2024-03-27 15:01 春天花会开, 阅读(49) 评论(0) 推荐(0) 编辑
摘要:/// <summary> /// 枚举转bool /// </summary> public class Enum2BooleanConverter : IValueConverter { public object Convert(object value, Type targetType, o 阅读全文
posted @ 2024-03-27 14:48 春天花会开, 阅读(80) 评论(0) 推荐(0) 编辑
摘要:场景:在窗口关闭的时候(用户点击叉叉的时候),需要比较用户在当前页面是否有修改,如果有需要提示是否要保存,如果没有才能关闭页面。 解决方案: 已知集合:LstConfig(当前的集合) _localLstConfig(在打开页面随即缓存的初始数据集合) 第一种:集合直接比较 public bool 阅读全文
posted @ 2024-03-27 14:22 春天花会开, 阅读(62) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示