会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
给我秀死他们的勇气吧
博客园
首页
新随笔
联系
订阅
管理
1
2
下一页
2021年9月25日
谷歌浏览器不支持autoplay属性解决办法
摘要: https://blog.csdn.net/qq_33933205/article/details/107380741
阅读全文
posted @ 2021-09-25 13:57 卡尔赛斯
阅读(241)
评论(0)
推荐(0)
2021年7月16日
C#构造时间
摘要: DateTime oldtime = Convert.ToDateTime("1900-1-1 00:00:00");//构造1900年1月1日 结果为:1900/1/1 0:00:00 转载于:https://www.cnblogs.com/zmxmiss/archive/2010/04/24/1
阅读全文
posted @ 2021-07-16 15:21 卡尔赛斯
阅读(63)
评论(0)
推荐(0)
2021年6月24日
WPF鼠标移入改变Border背景颜色
摘要: WPF: 就像这样,鼠标移上去动态改变背景颜色 <Window.Resources> <ControlTemplate x:Key="ButtonTemplate" TargetType="{x:Type Button}"> <Border BorderBrush="Orange" BorderTh
阅读全文
posted @ 2021-06-24 18:44 卡尔赛斯
阅读(2553)
评论(0)
推荐(0)
2021年6月7日
WPF中的DataGrid分页
摘要: WPF XAML: <DataGrid AutoGenerateColumns="False" Height="148" HorizontalAlignment="Left" Margin="27,21,0,0" Name="dataGrid1" VerticalAlignment="Top" Wi
阅读全文
posted @ 2021-06-07 15:33 卡尔赛斯
阅读(1106)
评论(0)
推荐(0)
2021年6月6日
添加WindowsAPICodePack-Core引用
摘要: WPF 1.Install-Package WindowsAPICodePack-Core2.Install-Package WindowsAPICodePack-Shell 转载于:https://blog.csdn.net/u011127019/article/details/52718280
阅读全文
posted @ 2021-06-06 12:34 卡尔赛斯
阅读(351)
评论(0)
推荐(0)
2021年6月4日
给DataGrid列头绑定时间
摘要: WPF XAML中:<ComboBox Name="_startTime" SelectionChanged="_startTime_SelectionChanged" Height="25" HorizontalAlignment="Left" /> 在构造方法中: _startTime.Sele
阅读全文
posted @ 2021-06-04 18:21 卡尔赛斯
阅读(92)
评论(0)
推荐(0)
2021年5月27日
如何在后台获取DataGrid中的一个CheckBox
摘要: WPF: 前台代码: <Grid> <DataGrid AutoGenerateColumns="True" Height="211" HorizontalAlignment="Left" Margin="27,34,0,0" Name="dataGrid1" VerticalAlignment="
阅读全文
posted @ 2021-05-27 12:28 卡尔赛斯
阅读(414)
评论(0)
推荐(0)
2021年5月26日
ComboBox控件的SelectionChanged事件报错问题
摘要: WPF if (e.RemovedItems.Count>0) { //这里面是你要写的内容 } 具体解决问题: 在你的ComboBox下拉控件中有SelectionChanged事件,页面首次加载时你得SelectionChanged事件会报错, 页面首次加载时你的程序会走SelectionCha
阅读全文
posted @ 2021-05-26 18:30 卡尔赛斯
阅读(354)
评论(0)
推荐(0)
2021年5月24日
TreeView控件在PreviewMouseDown事件中获取TreeViewItem
摘要: WPF 就是在这个事件中,当点击这个事件时,会把你点的这个按钮的名字在item中的属性中显示出来,而后你自己想要什么功能就可以根据获得的这个TreeViewItem进行判断等操作 <TreeView Name="_tvw" Focusable="True" PreviewMouseLeftButto
阅读全文
posted @ 2021-05-24 18:05 卡尔赛斯
阅读(183)
评论(0)
推荐(0)
DataGrid实现列头绑定
摘要: 上面时效果图,用到WPF中的DataGrid控件 addColumn();记得把这个方法写到那个页面的构造方法(我通常把那玩意儿叫做页面加载事件)中 List<string> LS = new List<string>();public void addColumn(){LS.Add("表下カップ綿
阅读全文
posted @ 2021-05-24 15:00 卡尔赛斯
阅读(180)
评论(0)
推荐(0)
1
2
下一页
公告