...
This commit is contained in:
@@ -13,6 +13,7 @@ namespace FPJ0000.OtConfirm
|
||||
public partial class fHolyRequestAdd : Form
|
||||
{
|
||||
DSKuntae.EETGW_HolydayRequestRow dr;
|
||||
Boolean binit = false;
|
||||
public fHolyRequestAdd(DSKuntae.EETGW_HolydayRequestRow dr_)
|
||||
{
|
||||
InitializeComponent();
|
||||
@@ -101,7 +102,7 @@ namespace FPJ0000.OtConfirm
|
||||
cmbPreset.Items.AddRange(관리자사전멘트.Select(t => t.Value).ToArray());
|
||||
cmbPreset.SelectedIndex = 0;
|
||||
}
|
||||
|
||||
binit = true;
|
||||
}
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
@@ -132,6 +133,10 @@ namespace FPJ0000.OtConfirm
|
||||
if (tbDays.Text.IsNumeric()) vDay = int.Parse(tbDays.Text.Trim());
|
||||
if (tbTimes.Text.IsNumeric()) vTime = float.Parse(tbTimes.Text.Trim());
|
||||
|
||||
//라디오버튼에 따른 시간 값 할당
|
||||
if (radTime.Checked) vDay = 0;
|
||||
else vTime = 0;
|
||||
|
||||
if (vDay > 0 && vTime > 0)
|
||||
{
|
||||
FCOMMON.Util.MsgE("사용일/시간을 동시에 입력할 수는 없습니다.\r\n" +
|
||||
@@ -262,7 +267,7 @@ namespace FPJ0000.OtConfirm
|
||||
tbTimes.BackColor = Color.DimGray;
|
||||
tbDays.BackColor = Color.Gold;
|
||||
}
|
||||
|
||||
if(binit)
|
||||
UpdateStatus();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user