【发布时间】:2020-10-13 09:03:54
【问题描述】:
我有一个带有 Bunifu 日期选择器的 C# WPF 应用程序。当我单击日期选择器“下拉菜单”时,日历将显示。这也适用于其他客户。但是,我现在有一个无法单击下拉列表的客户。或者至少,什么都没有发生。不会弹出日历窗口。
由于我在编程方面不是很好,所以我不知道它会是什么。代码对我和其他客户都有效。
// DateProductivity
//
this.DateProductivity.BackColor = System.Drawing.Color.SeaGreen;
this.DateProductivity.BorderRadius = 0;
this.DateProductivity.ForeColor = System.Drawing.Color.White;
this.DateProductivity.Format = System.Windows.Forms.DateTimePickerFormat.Long;
this.DateProductivity.FormatCustom = null;
this.DateProductivity.Location = new System.Drawing.Point(96, 28);
this.DateProductivity.Name = "DateProductivity";
this.DateProductivity.Size = new System.Drawing.Size(210, 35);
this.DateProductivity.TabIndex = 0;
this.DateProductivity.Value = new System.DateTime(2019, 5, 27, 22, 31, 49, 0);
【问题讨论】:
-
两个Bunifu.dll文件和.exe文件在同一个文件夹中
-
评论此行并检查
this.DateProductivity.Location = new System.Drawing.Point(96, 28);。 -
@RaoHammas 很快就会试试这个!
标签: c# wpf datepicker bunifu