日期:2014-05-18  浏览次数:20870 次

查看winform设计器显示html代码
查看设计器,显示如下HTML代码,请问是什么原因造成的,应该如何解决

<html><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"><title></title><style>.ErrorStyle { font-family: tahoma; font-size: 11 pt; text-align: left}.DetailsStyle { font-family: tahoma; font-size: 10pt; text-align: left;text-indent: 0; word-spacing: 0; line-height: 100%; float: left; margin-top: 0; margin-bottom: 0}.StackStyleVisible { font-family: tahoma; font-size: 10pt; text-align: left; margin-left: 20; text-indent: 0}.StackStyleHidden { display:none; font-family: tahoma; font-size: 10pt; text-align: left; margin-left: 20; text-indent: 0}</style></head><body><DIV class="DetailsStyle" width="100%"><table border="0" width="100%" id="table1" height="100%" cellspacing="0" cellpadding="0"><tr><td height="40" bgcolor="#FF9999" width="8%" style="letter-spacing: 0" align="center"><img border="0" src="C:\Documents and Settings\Administrator\Local Settings\Temp\153236.tmp" width="35" height="35" alt="ErrorImage" ></td><td height="40" bgcolor="#FF9999" width="91%" style="vertical-align: top; letter-spacing: 0" align="left"><b><font size="2" face="Arial" fontsize="70%">鍔犺浇璁捐鍣ㄦ椂閬囧埌涓€涓垨澶氫釜閿欒銆傝繖浜涢敊璇湪涓嬮潰鍒楀嚭銆備竴浜涢敊璇彲閫氳繃閲嶆柊鐢熸垚椤圭洰鏉ヤ慨澶嶏紝鑰屽彟涓€浜涢敊璇垯闇€瑕佹洿鏀逛唬鐮併€?</font><font size="2" face="Arial"></font></b></td></tr><tr><td colspan="2" align="left" valign="top"><DIV id="div1" class="ErrorStyle" width="100%"><span style="font-weight: 600"><br>鎵句笉鍒版寚瀹氱殑绋嬪簭銆? (寮傚父鏉ヨ嚜 HRESULT:0x8007007F) </span><br><a href="" id="details0">闅愯棌</a><font color="#0000FF">&nbsp;&nbsp;&nbsp;&nbsp</font></DIV> </td> </tr> <tr><td colspan="2" align="left" valign="top"><DIV id="div20" class="StackStyleVisible" width="100%"><br> 鍦? System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid)<br> 鍦? System.Windows.Forms.AxHost.CreateWithoutLicense(Guid clsid)<br> 鍦? System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid)<br> 鍦? System.Windows.Forms.AxHost.CreateInstance()<br> 鍦? System.Windows.Forms.AxHost.GetOcxCreate()<br> 鍦? System.Windows.Forms.AxHost.set_Site(ISite value)<br> 鍦? System.ComponentModel.Container.Add(IComponent component, String name)<br> 鍦? System.ComponentModel.Design.DesignerHost.Add(IComponent component, String name)<br> 鍦? System.ComponentModel.Design.DesignerHost.System.ComponentModel.Design.IDesignerHost.CreateComponent(Type componentType, String name)<br> 鍦? System.ComponentModel.Design.Serialization.DesignerSerializationManager.CreateInstance(Type type, ICollection arguments, String name, Boolean addToContainer)<br> 鍦? System.ComponentModel.Design.Serialization.DesignerSerializationManager.System.ComponentModel.Design.Serialization.IDesignerSerializationManager.CreateInstance(Type type, ICollection arguments, String name, Boolean addToContainer)<br> 鍦? System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeInstance(IDesignerSerializationManager manager, Type type, Object[] parameters, String name, Boolean addToContainer)<br> 鍦? System.ComponentModel.Design.Serialization.ComponentCodeDomSerializer.DeserializeInstance(IDesignerSerializationManager manager, Typ