업무일지 복사시 해당 내용도 들어가게 함
This commit is contained in:
@@ -392,7 +392,7 @@ namespace FPJ0000
|
||||
newdr.wdate = DateTime.Now;
|
||||
newdr.wuid = FCOMMON.info.Login.no;
|
||||
newdr.uid = FCOMMON.info.Login.no;
|
||||
newdr.description = "";
|
||||
//newdr.description = "";
|
||||
newdr.pdate = DateTime.Now.ToShortDateString(); //190509
|
||||
newdr.idx = -1;
|
||||
newdr.hrs = 8.0;
|
||||
|
||||
@@ -12,7 +12,8 @@ namespace FPJ0000.JobReport
|
||||
public partial class fJobReport_Add : Form
|
||||
{
|
||||
dsPRJ.JobReportRow dr;
|
||||
public fJobReport_Add(dsPRJ.JobReportRow dr_)
|
||||
Boolean copyMOde = false;
|
||||
public fJobReport_Add(dsPRJ.JobReportRow dr_,Boolean copy=false)
|
||||
{
|
||||
InitializeComponent();
|
||||
dr = dr_;
|
||||
@@ -30,6 +31,7 @@ namespace FPJ0000.JobReport
|
||||
ctl.KeyDown += ctl_KeyDown;
|
||||
}
|
||||
}
|
||||
copyMOde = copy;
|
||||
}
|
||||
|
||||
private void fJobReport_Add_Load(object sender, EventArgs e)
|
||||
@@ -107,8 +109,16 @@ namespace FPJ0000.JobReport
|
||||
this.Show();
|
||||
Application.DoEvents();
|
||||
|
||||
tbProject.Focus();
|
||||
tbProject.SelectAll();
|
||||
if(tbDescription.Text.Trim() != "")
|
||||
{
|
||||
tbDescription.Focus();
|
||||
tbDescription.SelectAll();
|
||||
}
|
||||
else
|
||||
{
|
||||
tbProject.Focus();
|
||||
tbProject.SelectAll();
|
||||
}
|
||||
|
||||
}
|
||||
void ctl_KeyDown(object sender, KeyEventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user