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