프로젝트편집에 일 업무현황 등록과 todo 항목 추가
This commit is contained in:
		| @@ -504,11 +504,14 @@ namespace FPJ0000 | ||||
|         } | ||||
|         private void lbStt_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             var f = new FCOMMON.fSelectMonth(); | ||||
|             var f = new FCOMMON.fSelectDay(DateTime.Parse(dtSD.Text)); | ||||
|             if (f.ShowDialog() != System.Windows.Forms.DialogResult.OK) return; | ||||
|             var sdDate = DateTime.Parse(DateTime.Now.ToString("yyyy-") + f.selectmon.ToString() + "-01"); | ||||
|             var sdDate = f.dtPick.SelectionStart;//  DateTime.Parse(DateTime.Now.ToString("yyyy-") + f.selectmon.ToString() + "-01"); | ||||
|             dtSD.Text = sdDate.ToShortDateString(); | ||||
|             dtED.Text = sdDate.AddMonths(1).AddDays(-1).ToShortDateString(); | ||||
|             if (f.dtPick.SelectionStart.ToShortDateString() == f.dtPick.SelectionEnd.ToShortDateString()) | ||||
|                 dtED.Text = sdDate.AddMonths(1).AddDays(-1).ToShortDateString(); | ||||
|             else | ||||
|                 dtED.Text = f.dtPick.SelectionEnd.ToShortDateString(); | ||||
|             refreshData(); | ||||
|         } | ||||
|  | ||||
| @@ -578,5 +581,12 @@ namespace FPJ0000 | ||||
|         { | ||||
|             refreshData(true); | ||||
|         } | ||||
|  | ||||
|         private void toolStripLabel4_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             var f = new FCOMMON.fSelectDay(DateTime.Parse(dtED.Text)); | ||||
|             if (f.ShowDialog() != System.Windows.Forms.DialogResult.OK) return; | ||||
|             dtED.Text = f.dtPick.SelectionStart.ToShortDateString(); | ||||
|         } | ||||
|     } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 chi
					chi