This commit is contained in:
chi
2022-03-07 20:13:58 +09:00
parent 06dbd92893
commit dd3fcf149f
13 changed files with 646 additions and 468 deletions

View File

@@ -273,24 +273,24 @@ namespace FPJ0000.OtConfirm
chkSendMail.Checked = true;
//일수계산
var term = tbED.Value - tbSD.Value;
var days = term.Days + 1;
if (radTime.Checked == false)
{
//if(tbDays.Text.isEmpty() || tbDays.Text=="0")
{
tbDays.Text = (days).ToString();
}
//var term = tbED.Value - tbSD.Value;
//var days = term.Days + 1;
//if (radTime.Checked == false)
//{
// //if(tbDays.Text.isEmpty() || tbDays.Text=="0")
// {
// tbDays.Text = (days).ToString();
// }
}
else
{
//여기는 시간
//if (tbTimes.Text.isEmpty() || tbTimes.Text == "0")
{
tbTimes.Text = (days * 8).ToString();
}
}
//}
//else
//{
// //여기는 시간
// //if (tbTimes.Text.isEmpty() || tbTimes.Text == "0")
// {
// tbTimes.Text = (days * 8).ToString();
// }
//}
}
private void radioButton1_CheckedChanged(object sender, EventArgs e)