08 2021 档案

【WPF】WPF TreeView 右对齐
摘要:StretchTreeViewItemStyle: <Style x:Key="TreeViewItemFocusVisual"> <Setter Property="Control.Template"> <Setter.Value> <ControlTemplate> <Rectangle/> < 阅读全文

posted @ 2021-08-24 15:52 梦琪小生 阅读(531) 评论(0) 推荐(0) 编辑

【转】【OpenGL】【OpenGLSE】opengl shader 内置变量和函数
摘要:1、uint CreateShader(enum type) : 创建空的shader object; type: VERTEX_SHADER, 2、void ShaderSource(uint shader, sizeicount, const **string, const int *lengt 阅读全文

posted @ 2021-08-18 14:55 梦琪小生 阅读(471) 评论(0) 推荐(0) 编辑

【转】【WPF】WPF强制刷新界面
摘要:Winform 里有 Application.DoEvents();可刷新! WPF 里没这个,尽管可用委托实现多线程,但是刷新还是不行! 后来找到了 类似App.DoEvents()的方法(); 代码: public partial class App : Application { privat 阅读全文

posted @ 2021-08-11 16:07 梦琪小生 阅读(2330) 评论(0) 推荐(0) 编辑

【转】【WPF】Grid显示边框线
摘要:使用附加属性: <Grid Height="120" Grid.Row="1" cui:GridOptions.ShowBorder="True" ></Grid> public class GridOptions { //暂时不处理实时显示的事情 #region 显示边框信息 public sta 阅读全文

posted @ 2021-08-03 10:34 梦琪小生 阅读(3192) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

导航

统计

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