Files
Groupware/SubProject/FPJ0000/JobReport/fJobReport_Add.cs
2018-12-22 20:59:07 +09:00

44 lines
1.1 KiB
C#

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.JobReport
{
public partial class fJobReport_Add : Form
{
dsPRJ.JobReportRow dr;
public fJobReport_Add( dsPRJ.JobReportRow dr_ )
{
InitializeComponent();
dr =dr_;
}
private void fJobReport_Add_Load(object sender, EventArgs e)
{
//사용자목록
this.bs.DataSource = dr;
}
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
FCM0000.fSelectDate f = new FCM0000.fSelectDate(pdateTextBox.Text);
if (f.ShowDialog() != System.Windows.Forms.DialogResult.OK) return;
pdateTextBox.Text = f.dtSelect.ToShortDateString();
}
private void button1_Click(object sender, EventArgs e)
{
this.Invalidate();
this.bs.EndEdit();
DialogResult = System.Windows.Forms.DialogResult.OK;
}
}
}