....
This commit is contained in:
@@ -42,7 +42,7 @@ namespace FPJ0000
|
||||
|
||||
}
|
||||
|
||||
Boolean binit = false;
|
||||
//Boolean binit = false;
|
||||
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
@@ -55,7 +55,7 @@ namespace FPJ0000
|
||||
|
||||
btSave.Visible = false;// curLevel >= 5;
|
||||
btEdit.Text = curLevel >= 5 ? "승인(&E)" : "편집(&E)";
|
||||
binit = true;
|
||||
// binit = true;
|
||||
refreshData();
|
||||
}
|
||||
|
||||
|
||||
@@ -147,8 +147,8 @@ namespace FPJ0000.OtConfirm
|
||||
if (tbDays.Enabled == false) tbDays.Text = string.Empty;
|
||||
if (tbTimes.Enabled == false) tbTimes.Text = string.Empty;
|
||||
|
||||
if (tbDays.Text.IsNumeric()) vDay = int.Parse(tbDays.Text.Trim());
|
||||
if (tbTimes.Text.IsNumeric()) vTime = float.Parse(tbTimes.Text.Trim());
|
||||
if (double.TryParse( tbDays.Text,out double val_days)) vDay = int.Parse(tbDays.Text.Trim());
|
||||
if (double.TryParse( tbTimes.Text, out double val_times)) vTime = float.Parse(tbTimes.Text.Trim());
|
||||
|
||||
//라디오버튼에 따른 시간 값 할당
|
||||
if (radTime.Checked) vDay = 0;
|
||||
@@ -168,7 +168,7 @@ namespace FPJ0000.OtConfirm
|
||||
}
|
||||
|
||||
//하나도 입력안했다면 경고한다
|
||||
if(tbReason.Text.isEmpty() && tbLocation.Text.isEmpty() && tbBackup.Text.isEmpty() && tbRemark.Text.isEmpty())
|
||||
if(String.IsNullOrEmpty(tbReason.Text) && String.IsNullOrEmpty(tbLocation.Text) && String.IsNullOrEmpty(tbBackup.Text) && String.IsNullOrEmpty(tbRemark.Text))
|
||||
{
|
||||
FCOMMON.Util.MsgE("비고를 입력해주세요");
|
||||
tbRemark.Focus();
|
||||
|
||||
Reference in New Issue
Block a user