此错误在我的项目中屡次发生,我想出一个新的错误,但我目前正在处理的该项目也存在相同的问题,但我想节省很多精力。 我在MainWindow.cs [design]中遇到错误,并显示此错误
“设计人员无法在第32行处理代码:BunifuAnimatorNS.Animation animation33 = new BunifuAnimatorNS.Animation();方法'InitializeComponent'中的代码是由设计人员生成的,不应手动对其进行修改。请删除所有更改然后尝试再次打开设计师。” 请帮助我。
我是新开发人员,我不知道要尝试什么
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
BunifuAnimatorNS.Animation animation33 = new BunifuAnimatorNS.Animation();
AnimatorNS.Animation animation34 = new AnimatorNS.Animation();
AnimatorNS.Animation animation35 = new AnimatorNS.Animation();
AnimatorNS.Animation animation32 = new AnimatorNS.Animation();
AnimatorNS.Animation animation31 = new AnimatorNS.Animation();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainWindow));
this.bunifuElipse1 = new Bunifu.Framework.UI.BunifuElipse(this.components);
this.bunifuImageButton1 = new Bunifu.Framework.UI.BunifuImageButton();
this.bunifuImageButton3 = new Bunifu.Framework.UI.BunifuImageButton();
this.panel1 = new System.Windows.Forms.Panel();
this.panel3 = new System.Windows.Forms.Panel();
this.bunifuImageButton4 = new Bunifu.Framework.UI.BunifuImageButton();
this.label3 = new System.Windows.Forms.Label();
this.panel2 = new System.Windows.Forms.Panel();
this.logo1 = new Bunifu.Framework.UI.BunifuImageButton();
this.Btnmnu = new Bunifu.Framework.UI.BunifuflatButton();
this.logoLabel = new System.Windows.Forms.Label();
this.bunifuflatButton5 = new Bunifu.Framework.UI.BunifuflatButton();
this.bunifuflatButton4 = new Bunifu.Framework.UI.BunifuflatButton();
this.Logo = new Bunifu.Framework.UI.BunifuImageButton();
this.bunifuflatButton3 = new Bunifu.Framework.UI.BunifuflatButton();
this.bunifuflatButton2 = new Bunifu.Framework.UI.BunifuflatButton();
this.bunifuflatButton1 = new Bunifu.Framework.UI.BunifuflatButton();
this.label2 = new System.Windows.Forms.Label();
this.TranslationPanel = new System.Windows.Forms.Panel();
this.bunifuMetroTextbox2 = new Bunifu.Framework.UI.BunifuMetroTextbox();
this.bunifuMetroTextbox1 = new Bunifu.Framework.UI.BunifuMetroTextbox();
Bunifu每行显示错误