摘要:
依赖属性: WPF中,依赖对象的概念被DependencyObject类实现,依赖属性被DependencyProperty类实现。 BindingOperations.SetBinding(stu,Student.NameProperty,binding);//绑定方式1 textBox1.Set 阅读全文
摘要:
1:QRegExp 正则表达式 QRegExp regExp("[a-zA-Z][1-9][0-9]{0,2}"); xxx->setValidator(new QRegExpValidator(regExp,this)); lineEdit->setValidator(new QRegExpVal 阅读全文