会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
baivfhpwxf
每天进步一点点
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
11
下一页
2024年1月6日
CSND博客
摘要: https://blog.csdn.net/cjh16606260986?type=blog
阅读全文
posted @ 2024-01-06 21:09 baivfhpwxf
阅读(24)
评论(0)
推荐(0)
2023年12月7日
wpf ComboBox 修改最小高度
摘要: <ComboBox Name="cboChannel" Width="100" Height="20" MinHeight="10" VerticalAlignment="Center"> </ComboBox>
阅读全文
posted @ 2023-12-07 18:35 baivfhpwxf
阅读(50)
评论(0)
推荐(0)
WPF TextBlock 文本纵向排列(旋转90度)
摘要: 文字旋转90度,纵向排列。 效果: <TextBlock Text="压 降 (mV)" VerticalAlignment="Center" TextWrapping="Wrap" FontSize="8"> <TextBlock.LayoutTransform> <!--文字同样旋转90度-->
阅读全文
posted @ 2023-12-07 14:53 baivfhpwxf
阅读(283)
评论(0)
推荐(0)
2023年12月5日
Border 基本使用
摘要: Border 基本使用 1单线效果 代码: <Border Grid.Row="0" BorderThickness="0,0,0,1" BorderBrush="Red" /> 说明: BorderThickness="0,0,0,1" 可以分别设置四条边,顺序是:左 上 右 下 2虚线效果 代码
阅读全文
posted @ 2023-12-05 18:17 baivfhpwxf
阅读(54)
评论(0)
推荐(0)
2023年12月4日
WPF TabControl 选项卡 控件 美化
摘要: WPF 选项卡 控件 美化 效果: 样式 <LinearGradientBrush x:Key="TabItem.Selected.BordernCjh" StartPoint="0,0" EndPoint="0,1"> <GradientStop Color="#FFE8A6" Offset="0
阅读全文
posted @ 2023-12-04 22:03 baivfhpwxf
阅读(821)
评论(0)
推荐(0)
LinearGradientBrush立体效果
摘要: 渐变方向 1. 默认是左上角到右下角 2.从左到右 <Border Height="35" Width="120"> <Border.Background> <LinearGradientBrush EndPoint="1,0"> <GradientStop Color="Yellow" Offse
阅读全文
posted @ 2023-12-04 16:55 baivfhpwxf
阅读(36)
评论(0)
推荐(0)
2023年12月1日
执行SQL 获取一个Model 集合 List<Model>
摘要: /// <summary> /// 获取最新的24条数据 /// </summary> /// <returns></returns> public List<WeldResultModel> GetListByLase24() { var sql = @"SELECT TOP 24 * FROM
阅读全文
posted @ 2023-12-01 23:35 baivfhpwxf
阅读(16)
评论(0)
推荐(0)
解决 System.NotSupportedException:“该类型的 CollectionView 不支持从调度程序线程以外的线程对其 SourceCollection 进行的更改。”方法
摘要: 报错背景 在一个新WPF项目中显示加载界面显示进度条和消息。用于封装消息和进度条值的 LoadModel 的loadmsg 属性的数据类型由LeoObservableCollection<string> 改成了ObservableCollection<string>,在界面上执行 Applicati
阅读全文
posted @ 2023-12-01 18:18 baivfhpwxf
阅读(1013)
评论(0)
推荐(0)
2023年10月30日
执行SQL 获取一个Model
摘要: sqlParams?.ToArray() == sqlParams != null ? sqlParams.ToArray() : null /// <summary> /// 获取最新的数据 /// </summary> /// <returns></returns> public WeldRes
阅读全文
posted @ 2023-10-30 21:38 baivfhpwxf
阅读(20)
评论(0)
推荐(0)
分页查询任务列表 支持SQL
摘要: /// <summary> /// 分页查询任务列表 /// </summary> /// <param name="where"></param> /// <returns></returns> public PageModel<TaskModel> GetListByPageView(TaskS
阅读全文
posted @ 2023-10-30 21:13 baivfhpwxf
阅读(19)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
11
下一页
公告