* UIDataGridView: 更新单选时选中值SelectedIndex值
This commit is contained in:
parent
a6b6da2629
commit
afd9b059da
Binary file not shown.
Binary file not shown.
@ -600,10 +600,7 @@ namespace Sunny.UI
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
if (SelectedRows.Count > 0)
|
return CurrentRow != null ? CurrentRow.Index : -1;
|
||||||
return SelectedRows[0].Index;
|
|
||||||
else
|
|
||||||
return -1;
|
|
||||||
}
|
}
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user