DockPanelSuite 中 DockState.Document 状态下子窗体控件不显示的解决方案 ...
HTML的列表控件分为三类: 无序列表 unordered list 有序列表 ordered list 自定义表 definition list 无序列表 (Unordered List) 与例子、名称、组件、想法或选项的列表相关的都可以用做无序列表。无序列表显示前列表有符号,可以使用样式表(CS ...
分类:
Web程序 时间:
2020-12-21 11:25:04
阅读次数:
0
我们经常会抽取一些可重用的控件,某个属性是否需要重用,直接决定了这个属性的绑定方式。 1、完全不可重用的控件 有一些与业务强相关的控件,它们的属性完全来自ViewModel,越是相对复杂的控件,越容易这样。比如: // ChooseUc.xaml <UserControl> <StackPanel ...
1、动态生成 QGridLayout* lay = new QGridLayout(); int total = paras.size(); int colum = 4; for(int i=0; i<total; i++){ Zparam* pZparam = new Zparam(this); ...
分类:
其他好文 时间:
2020-12-19 13:30:53
阅读次数:
2
public class TreeListUtil { private static Image[] imgs = null; private static int pos = 0; /// 为树控件设置数据源 /// </summary> /// <param name="treeList">树控 ...
分类:
其他好文 时间:
2020-12-18 12:27:35
阅读次数:
2
public partial class MaterialsForm : Form { DataTable dtMaterial = new DataTable(); DataTable dtMaterialBill = new DataTable(); public MaterialsForm() ...
分类:
其他好文 时间:
2020-12-18 12:26:46
阅读次数:
2
其实站长很久之前就知道这个开源WPF控件库了,只是一直欣赏不了这种风格,但也star了该项目。每次浏览该仓库时,发现star越来越多,也看到很多网友对它的褒奖,所以今天就向大家推荐这款WPF控件库。 1. 具体有多优秀,看仓库截图吧: 目前支持.NET Framework (4.5+) 和 .NET ...
分类:
移动开发 时间:
2020-12-17 12:45:14
阅读次数:
3
Control.BackColor=System.Drawing.Color.FromArgb(10,Color.LightGray); Control.BackColor = System.Drawing.Color.FromArgb(100, Color.LightGray); 这两种设置控件的 ...
introduction 更多控件用法,请参考 here 和 源码。 本文的代码基于这里 本文将介绍3个控件: slider,progress和circleprogress.具体的用法,请参考源码提供的函数。 本文演示结果:滑动滑块,进度条和环形进度条随着slider的值变化而变化。 样式 xml文 ...
分类:
其他好文 时间:
2020-12-16 12:46:27
阅读次数:
3
其实只提供了 13 个 vsf 样式文件, 还有默认的 Windows 样式, 共 14 种.在空白窗体上添加 ListBox1 等控件, 测试代码: uses IOUtils, Vcl.Styles, vcl.Themes; procedure TForm1.FormCreate(Sender: ...