...
This commit is contained in:
		| @@ -74,11 +74,11 @@ namespace FPJ0000 | ||||
|  | ||||
|         void ProjectsSchedule_TableNewRow(object sender, DataTableNewRowEventArgs e) | ||||
|         { | ||||
|             if (e.Row["wuid"] == null) e.Row["wuid"] = FCOMMON.info.Login.no; | ||||
|             if (e.Row["wdate"] == null) e.Row["wdate"] = DateTime.Now; | ||||
|             if (e.Row["project"] == null) e.Row["project"] = this.projectindex; | ||||
|             if (e.Row["appoval"] == null) e.Row["appoval"] = 0; //신규추가는 확정안되는 데이터이다 | ||||
|             if (e.Row["no"] == null) e.Row["no"] = int.Parse(this.comboBox1.Text); | ||||
|             e.Row["wuid"] = FCOMMON.info.Login.no; | ||||
|             e.Row["wdate"] = DateTime.Now; | ||||
|             e.Row["project"] = this.projectindex; | ||||
|             e.Row["appoval"] = 0; //신규추가는 확정안되는 데이터이다 | ||||
|             e.Row["no"] = int.Parse(this.comboBox1.Text); | ||||
|         } | ||||
|  | ||||
|         private void fProjectSchedule_Load(object sender, EventArgs e) | ||||
| @@ -361,7 +361,7 @@ namespace FPJ0000 | ||||
|         { | ||||
|             if (int.TryParse(comboBox1.Text, out int scno) == false) return; | ||||
|  | ||||
|             var list = this.dsPRJ.EETGW_ProjectsSchedule.Where(t => t.RowState != DataRowState.Deleted).Where(t => t.RowState != DataRowState.Detached).Where(t=>t.no == scno).OrderBy(t => t.seq).ToList(); | ||||
|             var list = this.dsPRJ.EETGW_ProjectsSchedule.Where(t => t.RowState != DataRowState.Deleted).Where(t => t.RowState != DataRowState.Detached).Where(t => t.no == scno).OrderBy(t => t.seq).ToList(); | ||||
|             e.Graphics.Clear(Color.DimGray); | ||||
|             //e.Graphics.DrawString(list.Count.ToString(), this.Font, Brushes.White, 10, 10); | ||||
|             var colsize = new int[] { 50 }; | ||||
| @@ -677,6 +677,7 @@ namespace FPJ0000 | ||||
|                 newdr.seq += dsPRJ.EETGW_ProjectsSchedule.Rows.Count + 1; | ||||
|                 newdr.title = item.memo; | ||||
|                 newdr.project = this.projectindex; | ||||
|  | ||||
|                 newdr.gcode = FCOMMON.info.Login.gcode; | ||||
|                 dsPRJ.EETGW_ProjectsSchedule.AddEETGW_ProjectsScheduleRow(newdr); | ||||
|             } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 chi
					chi