急急接!! C#若要在加载设计器前避免可能发生的数据丢失,必须纠正以下错误:未将对象引用设置到
我在用vs2008里面做winfrom开发引用了dotnetskin2005中的DotNetSkin.dll做美化皮肤,把该控件托到窗体上之后编译之后切换到设置试图时候出...
我在用vs2008里面做winfrom开发引用了dotnetskin2005中的DotNetSkin.dll做美化皮肤,把该控件托到窗体上之后编译之后切换到设置试图时候出现如下错误:
若要在加载设计器前避免可能发生的数据丢失,必须纠正以下错误: 未将对象引用设置到对象的实例。 此错误的实例(1)
此错误的实例(1)
1。 隐藏调用堆栈
在 System.ComponentModel.ReflectPropertyDescriptor.SetValue(Object component, Object value)
在 System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializePropertyAssignStatement(IDesignerSerializationManager manager, CodeAssignStatement statement, CodePropertyReferenceExpression propertyReferenceEx, Boolean reportError)
在 System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeAssignStatement(IDesignerSerializationManager manager, CodeAssignStatement statement)
在 System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager manager, CodeStatement statement)
有关此错误的帮助
MSDN 帮助
忽略并继续
这个也不影响运行 就是在切换设计视图的时候总是提示 请问该怎么处理啊
这个是Designer.cs文件
//
// skinUI2
//
this.skinUI2.Active = true;
this.skinUI2.Button = true;
this.skinUI2.Caption = true;
this.skinUI2.CheckBox = true;
this.skinUI2.ComboBox = true;
this.skinUI2.ContextMenu = true;
this.skinUI2.DisableTag = 999;
this.skinUI2.Edit = true;
this.skinUI2.GroupBox = true;
this.skinUI2.ImageList = null;
this.skinUI2.MaiMenu = true;
this.skinUI2.Panel = true;
this.skinUI2.Progress = true;
this.skinUI2.RadioButton = true;
this.skinUI2.ScrollBar = true;
this.skinUI2.SkinFile = null;
this.skinUI2.SkinSteam = null;
this.skinUI2.Spin = true;
this.skinUI2.StatusBar = true;
this.skinUI2.SystemMenu = true;
this.skinUI2.TabControl = true;
this.skinUI2.Text= "Mycontrol1=edit\r\nMycontrol2=edit\r\n";
this.skinUI2.ToolBar = true;
this.skinUI2.TrackBar = true;
请问该如何解决啊急急急急急急急急急急急急急急急急急急急急!!! 展开
若要在加载设计器前避免可能发生的数据丢失,必须纠正以下错误: 未将对象引用设置到对象的实例。 此错误的实例(1)
此错误的实例(1)
1。 隐藏调用堆栈
在 System.ComponentModel.ReflectPropertyDescriptor.SetValue(Object component, Object value)
在 System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializePropertyAssignStatement(IDesignerSerializationManager manager, CodeAssignStatement statement, CodePropertyReferenceExpression propertyReferenceEx, Boolean reportError)
在 System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeAssignStatement(IDesignerSerializationManager manager, CodeAssignStatement statement)
在 System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager manager, CodeStatement statement)
有关此错误的帮助
MSDN 帮助
忽略并继续
这个也不影响运行 就是在切换设计视图的时候总是提示 请问该怎么处理啊
这个是Designer.cs文件
//
// skinUI2
//
this.skinUI2.Active = true;
this.skinUI2.Button = true;
this.skinUI2.Caption = true;
this.skinUI2.CheckBox = true;
this.skinUI2.ComboBox = true;
this.skinUI2.ContextMenu = true;
this.skinUI2.DisableTag = 999;
this.skinUI2.Edit = true;
this.skinUI2.GroupBox = true;
this.skinUI2.ImageList = null;
this.skinUI2.MaiMenu = true;
this.skinUI2.Panel = true;
this.skinUI2.Progress = true;
this.skinUI2.RadioButton = true;
this.skinUI2.ScrollBar = true;
this.skinUI2.SkinFile = null;
this.skinUI2.SkinSteam = null;
this.skinUI2.Spin = true;
this.skinUI2.StatusBar = true;
this.skinUI2.SystemMenu = true;
this.skinUI2.TabControl = true;
this.skinUI2.Text= "Mycontrol1=edit\r\nMycontrol2=edit\r\n";
this.skinUI2.ToolBar = true;
this.skinUI2.TrackBar = true;
请问该如何解决啊急急急急急急急急急急急急急急急急急急急急!!! 展开
3个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询