DatePicker更新

This commit is contained in:
Sunny 2020-05-30 21:20:48 +08:00
parent 90daa5b401
commit 47fb1b5f16
6 changed files with 3 additions and 6 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -66,7 +66,6 @@ namespace Sunny.UI
private void UIDatetimePicker_ButtonClick(object sender, EventArgs e)
{
item.Date = Value;
Application.DoEvents();
ItemForm.Show(this);
}

View File

@ -31,9 +31,9 @@ namespace Sunny.UI
private void InitializeComponent()
{
this.SuspendLayout();
//
//
// UITimePicker
//
//
this.DropDownStyle = Sunny.UI.UIDropDownStyle.DropDownList;
this.Name = "UITimePicker";
this.Padding = new System.Windows.Forms.Padding(0, 0, 30, 0);
@ -42,7 +42,6 @@ namespace Sunny.UI
this.ButtonClick += new System.EventHandler(this.UITimePicker_ButtonClick);
this.ResumeLayout(false);
this.PerformLayout();
}
public UITimePicker()
@ -97,7 +96,6 @@ namespace Sunny.UI
private void UITimePicker_ButtonClick(object sender, EventArgs e)
{
item.Time = Value;
Application.DoEvents();
ItemForm.Show(this);
}
}

View File

@ -83,7 +83,6 @@
//
// UIEditForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(600, 450);
this.Controls.Add(this.pnlBtm);
@ -91,6 +90,7 @@
this.MinimizeBox = false;
this.Name = "UIEditForm";
this.Padding = new System.Windows.Forms.Padding(1, 35, 1, 3);
this.ShowInTaskbar = false;
this.Text = "UIEditForm";
this.pnlBtm.ResumeLayout(false);
this.ResumeLayout(false);