* UIListBox: 修复Click,DoubleClick事件
This commit is contained in:
parent
77051a39aa
commit
e6978f4a69
@ -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);
|
||||
//
|
||||
|
@ -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;
|
||||
|
8
SunnyUI/Controls/UITransfer.Designer.cs
generated
8
SunnyUI/Controls/UITransfer.Designer.cs
generated
@ -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
|
||||
//
|
||||
|
Loading…
x
Reference in New Issue
Block a user