winform自定义控件设计器错误

展开阅读全文

查看winform设计器显示html代码

06-27

查看设计器,显示如下HTML代码,请问是什么原因造成的,应该如何解决rnrn 鍔犺浇璁捐鍣ㄦ椂閬囧埌涓€涓垨澶氫釜閿欒銆傝繖浜涢敊璇湪涓嬮潰鍒楀嚭銆備竴浜涢敊璇彲閫氳繃閲嶆柊鐢熸垚椤圭洰鏉ヤ慨澶嶏紝鑰屽彟涓€浜涢敊璇垯闇€瑕佹洿鏀逛唬鐮併€� 鎵句笉鍒版寚瀹氱殑绋嬪簭銆� (寮傚父鏉ヨ嚜 HRESULT:0x8007007F) 闅愯棌   鍦� System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid) 鍦� System.Windows.Forms.AxHost.CreateWithoutLicense(Guid clsid) 鍦� System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid) 鍦� System.Windows.Forms.AxHost.CreateInstance() 鍦� System.Windows.Forms.AxHost.GetOcxCreate() 鍦� System.Windows.Forms.AxHost.set_Site(ISite value) 鍦� System.ComponentModel.Container.Add(IComponent component, String name) 鍦� System.ComponentModel.Design.DesignerHost.Add(IComponent component, String name) 鍦� System.ComponentModel.Design.DesignerHost.System.ComponentModel.Design.IDesignerHost.CreateComponent(Type componentType, String name) 鍦� System.ComponentModel.Design.Serialization.DesignerSerializationManager.CreateInstance(Type type, ICollection arguments, String name, Boolean addToContainer) 鍦� System.ComponentModel.Design.Serialization.DesignerSerializationManager.System.ComponentModel.Design.Serialization.IDesignerSerializationManager.CreateInstance(Type type, ICollection arguments, String name, Boolean addToContainer) 鍦� System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeInstance(IDesignerSerializationManager manager, Type type, Object[] parameters, String name, Boolean addToContainer) 鍦� System.ComponentModel.Design.Serialization.ComponentCodeDomSerializer.DeserializeInstance(IDesignerSerializationManager manager, Type type, Object[] parameters, String name, Boolean addToContainer) 鍦� System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeExpression(IDesignerSerializationManager manager, String name, CodeExpression expression) 鍦� System.ComponentModel.Design.Serialization.CodeDomSerializer.DeserializeStatementToInstance(IDesignerSerializationManager manager, CodeStatement statement) 鍦� 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)rn 论坛

没有更多推荐了,返回首页