diff --git a/SunnyUI/Controls/DropItem/UIComboBoxItem.Designer.cs b/SunnyUI/Controls/DropItem/UIComboBoxItem.Designer.cs index d4b571ba..9acd0262 100644 --- a/SunnyUI/Controls/DropItem/UIComboBoxItem.Designer.cs +++ b/SunnyUI/Controls/DropItem/UIComboBoxItem.Designer.cs @@ -48,7 +48,7 @@ this.listBox.Size = new System.Drawing.Size(184, 210); this.listBox.TabIndex = 3; this.listBox.Text = null; - this.listBox.ItemClick += new System.EventHandler(this.ListBox_Click); + this.listBox.Click += new System.EventHandler(this.ListBox_Click); this.listBox.SelectedIndexChanged += new System.EventHandler(this.listBox_SelectedIndexChanged); this.listBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.listBox_KeyDown); // diff --git a/SunnyUI/Controls/UIEdit.cs b/SunnyUI/Controls/UIEdit.cs index e3dbf872..3ce8ebf7 100644 --- a/SunnyUI/Controls/UIEdit.cs +++ b/SunnyUI/Controls/UIEdit.cs @@ -78,7 +78,7 @@ namespace Sunny.UI private void waterMarkContainer_Paint(object sender, PaintEventArgs e) { waterMarkContainer.Visible = Watermark.IsValid(); - waterMarkContainer.Location = new Point(2, 0); + waterMarkContainer.Location = new Point(3, 0); waterMarkContainer.Height = this.Height; waterMarkContainer.Width = this.Width; waterMarkContainer.Anchor = AnchorStyles.Left | AnchorStyles.Right; diff --git a/SunnyUI/Controls/UITransfer.Designer.cs b/SunnyUI/Controls/UITransfer.Designer.cs index 15cc4136..abce83d0 100644 --- a/SunnyUI/Controls/UITransfer.Designer.cs +++ b/SunnyUI/Controls/UITransfer.Designer.cs @@ -118,8 +118,8 @@ namespace Sunny.UI this.l1.Size = new System.Drawing.Size(210, 348); this.l1.TabIndex = 7; this.l1.Text = null; - this.l1.ItemClick += new System.EventHandler(this.l1_ItemClick); - this.l1.ItemDoubleClick += new System.EventHandler(this.l1_DoubleClick); + this.l1.Click += new System.EventHandler(this.l1_ItemClick); + this.l1.DoubleClick += new System.EventHandler(this.l1_DoubleClick); // // l2 // @@ -137,8 +137,8 @@ namespace Sunny.UI this.l2.Size = new System.Drawing.Size(210, 348); this.l2.TabIndex = 8; this.l2.Text = null; - this.l2.ItemClick += new System.EventHandler(this.l2_ItemClick); - this.l2.ItemDoubleClick += new System.EventHandler(this.l2_DoubleClick); + this.l2.Click += new System.EventHandler(this.l2_ItemClick); + this.l2.DoubleClick += new System.EventHandler(this.l2_DoubleClick); // // UITransfer //