This commit is contained in:
chi
2023-02-15 09:43:34 +09:00
parent 9c7c7b3c87
commit f61e0ab34b
16 changed files with 1092 additions and 724 deletions

View File

@@ -778,5 +778,36 @@ namespace FPJ0000.JobReport_
}
}
}
private void tbProjectIndex_Click(object sender, EventArgs e)
{
if(int.TryParse(tbProjectIndex.Text, out int pidx))
{
if (pidx < 1) return;
var ta = new dsPRJTableAdapters.ProjectsTableAdapter();
var dr = ta.GetbyIDX(pidx).First();
var f = new fProjectData(dr,false);
f.Show();
//if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
//{
// this.Validate();
// dr.EndEdit();
// try
// {
// var cnt = ta.Update(this.dsPRJ.Projects);//.UpdateAll(this.dsMSSQL.Projects);
// dsPRJ.Projects.AcceptChanges();
// if(cnt != 1)
// {
// FCOMMON.Util.MsgE("저장 실패");
// }
// }
// catch (Exception ex)
// {
// FCOMMON.Util.MsgE(ex.Message);
// }
//}
}
}
}
}