....
This commit is contained in:
@@ -53,9 +53,8 @@ namespace FPJ0000
|
||||
|
||||
btSave.Visible = curLevel >= 5;
|
||||
btEdit.Text = curLevel >= 5 ? "승인(&E)" : "편집(&E)";
|
||||
binit = true;
|
||||
refreshData();
|
||||
binit = true;
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -111,7 +110,26 @@ namespace FPJ0000
|
||||
var ed = dtED.Text.Trim();
|
||||
ta.Fill(this.dSKuntae.EETGW_HolydayRequest, FCOMMON.info.Login.gcode, sd, ed);
|
||||
|
||||
////색상처리
|
||||
//dv1.SuspendLayout();
|
||||
//foreach(DataGridViewRow dr in this.dv1.Rows)
|
||||
//{
|
||||
|
||||
// var times = dr.Cells["HolyTimes"].Value;
|
||||
// if(times == null || float.Parse( times.ToString()) < 1)
|
||||
// {
|
||||
// //대체없음
|
||||
// dr.DefaultCellStyle.BackColor = Color.White;
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// dr.DefaultCellStyle.BackColor = Color.LightSkyBlue;
|
||||
// }
|
||||
|
||||
//}
|
||||
//dv1.ResumeLayout();
|
||||
//dv1.Invalidate();
|
||||
//dv1.Refresh();
|
||||
}
|
||||
|
||||
void funcSave()
|
||||
@@ -289,7 +307,7 @@ namespace FPJ0000
|
||||
{
|
||||
var cnt = ta.Update(dr);
|
||||
dr.AcceptChanges();
|
||||
if(cnt == 0)
|
||||
if (cnt == 0)
|
||||
FCOMMON.Util.MsgE($"저장 실패");
|
||||
}
|
||||
catch (Exception ex)
|
||||
@@ -330,7 +348,7 @@ namespace FPJ0000
|
||||
|
||||
bs.RemoveCurrent();
|
||||
var cnt = ta.Update(this.dSKuntae.EETGW_HolydayRequest);
|
||||
if(cnt == 0)
|
||||
if (cnt == 0)
|
||||
FCOMMON.Util.MsgQ("삭제가 완료되지 않았습니다");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user