会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
学竹
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
2020年5月13日
转载 C#设置控件 Enabled 为 false 时背景色不改变
摘要: class CtrEnabled { [System.Runtime.InteropServices.DllImport("user32.dll ")] static extern int SetWindowLong(IntPtr hWnd, int nIndex, int wndproc); [S
阅读全文
posted @ 2020-05-13 16:31 学竹
阅读(957)
评论(0)
推荐(0)
2020年5月11日
DEV gridView中加入加载条显示进度,必须为圆角型
摘要: 借鉴了冰封一夏的控件重绘与Albin的DevExpress GridControl 单元格添加进度条(ProgressBar)完成,特别感谢 private void gridView1_CustomDrawCell(object sender, DevExpress.XtraGrid.Views.
阅读全文
posted @ 2020-05-11 10:51 学竹
阅读(660)
评论(0)
推荐(0)
2020年5月8日
winfrom 圆角化
摘要: private void Draw(Rectangle rectangle, Graphics g, int _radius, bool cusp, Color begin_color, Color end_color) { int span = 2; //抗锯齿 g.SmoothingMode =
阅读全文
posted @ 2020-05-08 09:11 学竹
阅读(226)
评论(0)
推荐(0)
2020年5月7日
ProgressBar进度条绘制
摘要: Rectangle rec = new Rectangle(e.Bounds.X + 327, e.Bounds.Y, this.Width/3, this.Height); if (ProgressBarRenderer.IsSupported) { ProgressBarRenderer.Dra
阅读全文
posted @ 2020-05-07 17:30 学竹
阅读(352)
评论(0)
推荐(0)
2020年4月14日
通过本地exe.config进行配置并修改
摘要: //本机config操作 Configuration configs = System.Configuration.ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None); configs.AppSettings.
阅读全文
posted @ 2020-04-14 11:00 学竹
阅读(1880)
评论(0)
推荐(0)
上一页
1
2
3
4
公告