This commit is contained in:
chi
2022-02-01 00:28:56 +09:00
parent 66f1ff0cbb
commit 4a43b30973
88 changed files with 1503 additions and 22144 deletions

View File

@@ -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();
}

View File

@@ -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();