绘图更新
This commit is contained in:
parent
5f92d504b0
commit
aeb64938d1
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.
Binary file not shown.
@ -146,6 +146,18 @@ namespace Sunny.UI
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected override void OnRowsAdded(DataGridViewRowsAddedEventArgs e)
|
||||||
|
{
|
||||||
|
base.OnRowsAdded(e);
|
||||||
|
SetScrollInfo();
|
||||||
|
}
|
||||||
|
|
||||||
|
protected override void OnRowsRemoved(DataGridViewRowsRemovedEventArgs e)
|
||||||
|
{
|
||||||
|
base.OnRowsRemoved(e);
|
||||||
|
SetScrollInfo();
|
||||||
|
}
|
||||||
|
|
||||||
protected override void OnSizeChanged(EventArgs e)
|
protected override void OnSizeChanged(EventArgs e)
|
||||||
{
|
{
|
||||||
base.OnSizeChanged(e);
|
base.OnSizeChanged(e);
|
||||||
@ -355,12 +367,6 @@ namespace Sunny.UI
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void OnAllowUserToAddRowsChanged(EventArgs e)
|
|
||||||
{
|
|
||||||
base.OnAllowUserToAddRowsChanged(e);
|
|
||||||
SetScrollInfo();
|
|
||||||
}
|
|
||||||
|
|
||||||
protected override void OnGridColorChanged(EventArgs e)
|
protected override void OnGridColorChanged(EventArgs e)
|
||||||
{
|
{
|
||||||
base.OnGridColorChanged(e);
|
base.OnGridColorChanged(e);
|
||||||
|
@ -125,6 +125,7 @@ namespace Sunny.UI
|
|||||||
}
|
}
|
||||||
|
|
||||||
string text = char.ConvertFromUtf32(symbol);
|
string text = char.ConvertFromUtf32(symbol);
|
||||||
|
graphics.TextRenderingHint = TextRenderingHint.AntiAlias;
|
||||||
graphics.DrawString(text, font, color, left + xOffset, top + yOffSet);
|
graphics.DrawString(text, font, color, left + xOffset, top + yOffSet);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user