휴가 승인자 정보 추적
This commit is contained in:
@@ -36,11 +36,30 @@ namespace FBS0000
|
||||
}
|
||||
|
||||
private void rJobReport_Load(object sender, EventArgs e)
|
||||
{
|
||||
{
|
||||
EnsureVisibleAndUsableSize();
|
||||
refreshData();
|
||||
binit = true;
|
||||
|
||||
}
|
||||
private void EnsureVisibleAndUsableSize()
|
||||
{
|
||||
var visibleBounds = Screen.GetWorkingArea(this);
|
||||
var isOutOfView = (Left > visibleBounds.Right) || (Top > visibleBounds.Bottom) ||
|
||||
(Right < visibleBounds.Left) || (Bottom < visibleBounds.Top);
|
||||
if (isOutOfView)
|
||||
{
|
||||
CenterToScreen();
|
||||
}
|
||||
var minW = Math.Max(320, this.MinimumSize.Width);
|
||||
var minH = Math.Max(240, this.MinimumSize.Height);
|
||||
|
||||
if (Width < minW || Height < minH)
|
||||
{
|
||||
this.Size = new Size(minW, minH);
|
||||
}
|
||||
}
|
||||
|
||||
//string GetUIDValue()
|
||||
//{
|
||||
// string uid = "%";
|
||||
|
||||
Reference in New Issue
Block a user