打开项目提示很多
未能找到类型“UserControls.Cmd_Undo”。请确保已引用包含此类型的程序集。如果此类型为开发项目的一部分,请确保已使用针对当前平台或任意 CPU 的设置成功生成该项目。
变量“Cmd_Undo”未声明或从未赋值。
请问是什么问题,代码也没什么问题,下面是代码
private Cmd_Undo Cmd_Undo;
private void InitializeComponent()
{
this.Cmd_Undo = new Cmd_Undo();
this.Cmd_Undo.CmdText = "";
this.Cmd_Undo.Enabled = false;
this.Cmd_Undo.Location = new Point(420, 4);
this.Cmd_Undo.Name = "Cmd_Undo";
this.Cmd_Undo.Size = new Size(0x5c, 0x24);
this.Cmd_Undo.TabIndex = 12;
this.Cmd_Undo.Tag = "2";
this.Controls.Add(this.Cmd_Undo);
}Cmd_Undo是一个用户控件继承 DevExpress.XtraEditors.XtraUserControl ,大家帮忙找找哪里出了问题
未能找到类型“UserControls.Cmd_Undo”。请确保已引用包含此类型的程序集。如果此类型为开发项目的一部分,请确保已使用针对当前平台或任意 CPU 的设置成功生成该项目。
变量“Cmd_Undo”未声明或从未赋值。
请问是什么问题,代码也没什么问题,下面是代码
private Cmd_Undo Cmd_Undo;
private void InitializeComponent()
{
this.Cmd_Undo = new Cmd_Undo();
this.Cmd_Undo.CmdText = "";
this.Cmd_Undo.Enabled = false;
this.Cmd_Undo.Location = new Point(420, 4);
this.Cmd_Undo.Name = "Cmd_Undo";
this.Cmd_Undo.Size = new Size(0x5c, 0x24);
this.Cmd_Undo.TabIndex = 12;
this.Cmd_Undo.Tag = "2";
this.Controls.Add(this.Cmd_Undo);
}Cmd_Undo是一个用户控件继承 DevExpress.XtraEditors.XtraUserControl ,大家帮忙找找哪里出了问题
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货