nr파트 구매 관리자 저장 버튼 클릭시 메세지 표시되게 함
This commit is contained in:
@@ -79,7 +79,6 @@ namespace FEQ0000
|
||||
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
this.cmDate.SelectedIndex = 0;
|
||||
this.tbRequest.Text = string.Empty; //양진원 FCOMMON.info.Login.nameK;
|
||||
this.dtSD.Text = DateTime.Now.AddDays(-30).ToShortDateString();
|
||||
@@ -219,11 +218,19 @@ namespace FEQ0000
|
||||
this.fpSpread1.ResumeLayout();
|
||||
}
|
||||
|
||||
private void saveData()
|
||||
private void saveData(Boolean prompt )
|
||||
{
|
||||
this.Validate();
|
||||
this.bs.EndEdit();
|
||||
this.tam.UpdateAll(this.dsPurchase);
|
||||
try
|
||||
{
|
||||
this.tam.UpdateAll(this.dsPurchase);
|
||||
if(prompt) FCOMMON.Util.MsgI("저장 성공");
|
||||
}catch (Exception ex)
|
||||
{
|
||||
FCOMMON.Util.MsgE("저장 실패\n" + ex.Message);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
void showSummary()
|
||||
@@ -284,7 +291,7 @@ namespace FEQ0000
|
||||
|
||||
private void btSave_Click(object sender, EventArgs e)
|
||||
{
|
||||
saveData();
|
||||
saveData(true);
|
||||
}
|
||||
|
||||
private void dv1_DoubleClick(object sender, EventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user