프로젝트편집에 일 업무현황 등록과 todo 항목 추가

This commit is contained in:
chi
2021-01-12 21:42:36 +09:00
parent dbe1a6cb87
commit 445bbe3514
42 changed files with 11628 additions and 1244 deletions

View File

@@ -0,0 +1,45 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace FPJ0000
{
public partial class fHistAddDay : Form
{
dsPRJ.EETGW_ProjecthistoryDRow dr = null;
public fHistAddDay(dsPRJ.EETGW_ProjecthistoryDRow dr_)
{
InitializeComponent();
this.dr = dr_;
this.KeyDown += fHistAdd_KeyDown;
}
void fHistAdd_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Escape) this.Close();
}
private void fHistAdd_Load(object sender, EventArgs e)
{
if (this.dr.IsremarkNull() == false)
this.tbRemark.Text = this.dr.remark;
else
this.tbRemark.Text = string.Empty;
this.mcDate.SetDate(DateTime.Parse(dr.pdate));
}
private void btOK_Click(object sender, EventArgs e)
{
this.Validate();
this.dr.remark = tbRemark.Text.Trim();
this.dr.pdate = mcDate.SelectionStart.ToShortDateString();
DialogResult = System.Windows.Forms.DialogResult.OK;
}
}
}