12 2024 档案
ABP 部署IIS注意
摘要:连接字符串改成这样 "Default": "Server=localhost;Port=3306;Database=***;Uid=root;Pwd=***;SslMode=none;AllowPublicKeyRetrieval=True;" 阅读全文
posted @ 2024-12-31 14:05 HRDK 阅读(4) 评论(0) 推荐(0) 编辑
CAD二次开发 实现快速截图
摘要:using Autodesk.AutoCAD.ApplicationServices; using Autodesk.AutoCAD.DatabaseServices; using Autodesk.AutoCAD.EditorInput; using Autodesk.AutoCAD.Geomet 阅读全文
posted @ 2024-12-30 21:58 HRDK 阅读(17) 评论(0) 推荐(0) 编辑
WPF Combobox屏蔽按上下键切换选项
摘要:最近在项目中有一个需求是Combobox可以进行编辑,类似于多行文本框一样进行编辑,在编辑的过程中可能需要上下键切换当前的行,但是combobox的上下键对应了切换选项,所以需要屏蔽combobox的上下键切换功能,并且加上文本框换行的功能 combobox自身的previewkeydown事件是无 阅读全文
posted @ 2024-12-27 13:52 HRDK 阅读(22) 评论(0) 推荐(0) 编辑
WPF关于Combobox可以进行编辑并且按回车可以进行换行
摘要:首先是Combobox的IsEditable="True" private void ComboBox_PreviewKeyDown(object sender, KeyEventArgs e) { if (e.Key == Key.Enter) { e.Handled = false; (e.Or 阅读全文
posted @ 2024-12-24 08:17 HRDK 阅读(26) 评论(0) 推荐(0) 编辑
记录下WPF中如何进行itemscontrol中进行分隔符的代码
摘要:XAML的代码 <ItemsControl x:Name="If" lternationCount="{Binding Path=LocationNums.Count}" ItemsSource="{Binding LocationNums}"> <ItemsControl.ItemsPanel> 阅读全文
posted @ 2024-12-16 09:54 HRDK 阅读(2) 评论(0) 推荐(0) 编辑




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