Browse Source

时间格式

wyq 1 year ago
parent
commit
6dd8a7431d

+ 5 - 0
XzDw.App/UserControl/DXErrEllipseParam.Designer.cs

@@ -286,6 +286,11 @@
             new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
             this.txtCapTime.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
             new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
+            this.txtCapTime.Properties.DisplayFormat.FormatString = "";
+            this.txtCapTime.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
+            this.txtCapTime.Properties.EditFormat.FormatString = "";
+            this.txtCapTime.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
+            this.txtCapTime.Properties.MaskSettings.Set("mask", "");
             this.txtCapTime.Size = new System.Drawing.Size(487, 35);
             this.txtCapTime.StyleController = this.layoutControl1;
             this.txtCapTime.TabIndex = 8;

+ 5 - 0
XzDw.App/UserControl/DXGDOPParam.Designer.cs

@@ -230,6 +230,11 @@
             new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
             this.txtCapTime3.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
             new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
+            this.txtCapTime3.Properties.DisplayFormat.FormatString = "";
+            this.txtCapTime3.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
+            this.txtCapTime3.Properties.EditFormat.FormatString = "";
+            this.txtCapTime3.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
+            this.txtCapTime3.Properties.MaskSettings.Set("mask", "");
             this.txtCapTime3.Size = new System.Drawing.Size(487, 35);
             this.txtCapTime3.StyleController = this.layoutControl1;
             this.txtCapTime3.TabIndex = 8;

+ 5 - 0
XzXdDw.App/UserControl/DXErrEllipseParam.Designer.cs

@@ -286,6 +286,11 @@
             new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
             this.txtCapTime.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
             new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
+            this.txtCapTime.Properties.DisplayFormat.FormatString = "";
+            this.txtCapTime.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
+            this.txtCapTime.Properties.EditFormat.FormatString = "";
+            this.txtCapTime.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
+            this.txtCapTime.Properties.MaskSettings.Set("mask", "");
             this.txtCapTime.Size = new System.Drawing.Size(487, 35);
             this.txtCapTime.StyleController = this.layoutControl1;
             this.txtCapTime.TabIndex = 8;

+ 5 - 0
XzXdDw.App/UserControl/DXGDOPParam.Designer.cs

@@ -230,6 +230,11 @@
             new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
             this.txtCapTime3.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
             new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
+            this.txtCapTime3.Properties.DisplayFormat.FormatString = "";
+            this.txtCapTime3.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
+            this.txtCapTime3.Properties.EditFormat.FormatString = "";
+            this.txtCapTime3.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
+            this.txtCapTime3.Properties.MaskSettings.Set("mask", "");
             this.txtCapTime3.Size = new System.Drawing.Size(487, 35);
             this.txtCapTime3.StyleController = this.layoutControl1;
             this.txtCapTime3.TabIndex = 8;