为什么单击客户端时我的DatePickerBunifuUI没有显示?

问题描述

我有一个带有Bunifu日期选择器的C#WPF应用程序。当我单击日期选择器的“下拉列表”时,将显示日历。这也适用于其他客户端。但是,我现在有一个无法单击下拉菜单的客户端。或至少没有任何反应。.不会弹出日历窗口。

由于我不太擅长编程,所以我不知道它会是什么样。代码对我和其他客户都有效。

Datepicker WITH calendar

// 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);

解决方法

对此进行注释的解决方案。生产率无法正常工作。

但是,我用常规的日期选择器替换了BunifuUI中的datpicker。现在它似乎正在工作。