首页 > 其他 > 详细

DevExpress.XtraEditors.Repository.RepositoryItem.CreateDesigner()

时间:2019-05-04 10:27:21      阅读:756      评论:0      收藏:0      [点我收藏+]

   未将对象引用设置到对象的实例。     
 
 
 
     
此错误的实例(1)  
 
1。   隐藏调用堆栈
 
在 DevExpress.XtraEditors.Repository.RepositoryItem.CreateDesigner()
在 DevExpress.XtraEditors.Repository.RepositoryItem.FilterProperties(PropertyDescriptorCollection collection)
在 DevExpress.XtraEditors.Repository.RepositoryItem.System.ComponentModel.ICustomTypeDescriptor.GetProperties(Attribute[] attributes)
在 System.ComponentModel.TypeDescriptor.MergedTypeDescriptor.System.ComponentModel.ICustomTypeDescriptor.GetProperties(Attribute[] attributes)
在 System.ComponentModel.TypeDescriptor.GetPropertiesImpl(Object component, Attribute[] attributes, Boolean noCustomTypeDesc, Boolean noAttributes)
在 System.ComponentModel.Design.Serialization.CodeDomSerializer.ResetBrowsableProperties(Object instance)
在 System.ComponentModel.Design.Serialization.CodeDomSerializer.Deserialize(IDesignerSerializationManager manager, Object codeObject)
在 System.Windows.Forms.Design.ControlCodeDomSerializer.Deserialize(IDesignerSerializationManager manager, Object codeObject)
在 System.ComponentModel.Design.Serialization.TypeCodeDomSerializer.DeserializeName(IDesignerSerializationManager manager, String name, CodeStatementCollection statements)  
 
 

 

 

工具栏添加lookup控件后,拖住到form是上,报错。是这个原因引起的。Form上并未出现lookup控件

 
属性“Properties”的代码生成失败。错误是: “未将对象引用设置到对象的实例。”

 

技术分享图片

 

技术分享图片

技术分享图片

 

DevExpress.XtraEditors.Repository.RepositoryItem.CreateDesigner()

原文:https://www.cnblogs.com/cb168/p/10807490.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!