* UICheckBox:更改点击值切换事件
This commit is contained in:
parent
ec907e54b8
commit
26c2013848
BIN
Bin/SunnyUI.dll
BIN
Bin/SunnyUI.dll
Binary file not shown.
BIN
Bin/SunnyUI.pdb
BIN
Bin/SunnyUI.pdb
Binary file not shown.
Binary file not shown.
@ -152,11 +152,12 @@ namespace Sunny.UI
|
|||||||
|
|
||||||
protected override void OnClick(EventArgs e)
|
protected override void OnClick(EventArgs e)
|
||||||
{
|
{
|
||||||
base.OnClick(e);
|
|
||||||
if (!ReadOnly)
|
if (!ReadOnly)
|
||||||
{
|
{
|
||||||
Checked = !Checked;
|
Checked = !Checked;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
base.OnClick(e);
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void SetStyleColor(UIBaseStyle uiColor)
|
public override void SetStyleColor(UIBaseStyle uiColor)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user