Commit d65dcd8b 刘韬

combox增加 Disable

1 个父辈 98769f7e
......@@ -459,7 +459,7 @@ namespace HZH_Controls.Controls
}
base.BackColor = Color.Transparent;
}
public bool Disable = false;
/// <summary>
/// Handles the SizeChanged event of the UCComboBox control.
/// </summary>
......@@ -492,6 +492,9 @@ namespace HZH_Controls.Controls
/// <param name="e">The <see cref="MouseEventArgs" /> instance containing the event data.</param>
protected virtual void click_MouseDown(object sender, MouseEventArgs e)
{
if (Disable)
return;
if (_frmAnchor == null || _frmAnchor.IsDisposed || _frmAnchor.Visible == false)
{
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!