nullabledatetimepicker

笑羽酣天 2010-09-20 11:22:22
我的MainForm.Designer.cs中代码是这样的


this.creationEndDate = new iFramework.Forms.NullableDateTimePicker();
this.dateSearchGroupBox.Controls.Add(this.creationEndDate);

this.creationEndDate.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
this.creationEndDate.Location = new System.Drawing.Point(164,28);
this.creationEndDate.Name = "creationEndDate";
this.creationEndDate.Size = new System.Drawing.Size(84,20);
this.creationEndDate.Value = new System.DateTime(2006,10,20,15,32,30,328);
this.creationEndDate.KeyDown += new System.Windows.Forms.KeyEventHandler(this.creationEndDate_KeyDown);


Private iFramework.Forms.NullableDateTimePicker creationEndDate;



但是我的MainFrom.cs[Design]打开时出现这样的错误的:

"Could not find type 'iFramework.Forms.NullableDateTimePicker'.Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project,make sure that the project hat been successfully built."

"The variable 'creationEndDate' is either underclared or was never assigned"

请高手执教,谢谢。

...全文
63 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
笑羽酣天 2010-09-21
  • 打赏
  • 举报
回复
帮忙咯,高手们。。。。。
笑羽酣天 2010-09-20
  • 打赏
  • 举报
回复
不会啊,我按下 . 它可以自动不起代码,带出iFramework.Forms的呀
wjq 2010-09-20
  • 打赏
  • 举报
回复
没引用iFramework.Forms,或者iFramework的dll丢失了~
老Key 2010-09-20
  • 打赏
  • 举报
回复
帮lz顶一下。。。

110,538

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧