0

我有一个具有 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);
4

1 回答 1

0

注释掉 this.Dateproductivity 的解决方案不起作用。

但是,我将 BunifuUI 中的 datpicker 替换为常规的 datepicker。现在它似乎正在工作。

于 2020-10-15T08:47:50.960 回答