* UIDataGridView:增加一个可能出错的判断
This commit is contained in:
parent
eb6155e82c
commit
ebf5a36fd5
Binary file not shown.
@ -414,6 +414,11 @@ namespace Sunny.UI
|
|||||||
|
|
||||||
private void SetBarPosition()
|
private void SetBarPosition()
|
||||||
{
|
{
|
||||||
|
if (VBar == null || HBar == null)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (ShowRect)
|
if (ShowRect)
|
||||||
{
|
{
|
||||||
VBar.Left = Width - ScrollBarInfo.VerticalScrollBarWidth() - 2;
|
VBar.Left = Width - ScrollBarInfo.VerticalScrollBarWidth() - 2;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user