zoukankan      html  css  js  c++  java
  • DevExpress.XtraEditors.Repository.RepositoryItem.CreateDesigner()

       未将对象引用设置到对象的实例。     
     
     
     
         
    此错误的实例(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”的代码生成失败。错误是: “未将对象引用设置到对象的实例。”

    不光是自己写的控件报错,属性“Properties”的代码生成失败。错误是: “未将对象引用设置到对象的实例。”

    所有的dev的控件,加载选项卡里的dev控件拖放到界面上都报这个错。

    https://blog.csdn.net/wmg494005678/article/details/8512126

    难道是这个原因?原来是

    引用的Dll出错了,悲催,工具栏里面我用的是“GridLookUpedit”,我实际上应该用LookUpEdit...

  • 相关阅读:
    腰围2尺1,2,3,4,5,6,7,8寸各自等于是多少厘米/英寸(对比表)
    Android开发模板------自己定义SimpleCursorAdapter的使用
    怎样在多线程中使用JNI?
    UVa753/POJ1087_A Plug for UNIX(网络流最大流)(小白书图论专题)
    图解iPhone开发新手教程
    Why Hadoop2
    读完了csapp(中文名:深入理解计算机系统)
    hadoop备战:一台x86计算机搭建hadoop的全分布式集群
    Win7 公布网站 HTTP 错误 404.4
    Dump 文件生成与分析
  • 原文地址:https://www.cnblogs.com/cb168/p/10807490.html
Copyright © 2011-2022 走看看