personal inventory : 날짜 선택하도록 lov 추가

This commit is contained in:
chikyun.kim
2018-09-19 09:35:08 +09:00
parent 2d4fe18264
commit 481d6bf78d
13 changed files with 453 additions and 295 deletions

View File

@@ -14,6 +14,27 @@ namespace FPJ0000
public fProjectList()
{
InitializeComponent();
this.FormClosed += __Closed;
}
void __Closed(object sender, FormClosedEventArgs e)
{
var form = this as Form;
FCOMMON.Util.SetFormStatus(ref form, this.Name, false);
}
private void __Load(object sender, EventArgs e)
{
var form = this as Form;
FCOMMON.Util.SetFormStatus(ref form, this.Name, true);
this.Show();
Application.DoEvents();
this.ta.Fill(this.dsMSSQL.Projects);
this.dsMSSQL.Projects.TableNewRow += Projects_TableNewRow;
dv1.AutoResizeColumns();
}
private void projectsBindingNavigatorSaveItem_Click(object sender, EventArgs e)
@@ -23,15 +44,6 @@ namespace FPJ0000
this.tam.UpdateAll(this.dsMSSQL);
}
private void fProjectList_Load(object sender, EventArgs e)
{
// TODO: 이 코드는 데이터를 'dsMSSQL.Projects' 테이블에 로드합니다. 필요한 경우 이 코드를 이동하거나 제거할 수 있습니다.
this.ta.Fill(this.dsMSSQL.Projects);
this.dsMSSQL.Projects.TableNewRow += Projects_TableNewRow;
}
void Projects_TableNewRow(object sender, DataTableNewRowEventArgs e)
{
e.Row["wuid"] = FCOMMON.info.Login.no;