클립보드 붙여넣기 기능 추가

This commit is contained in:
chi
2022-01-18 21:54:44 +09:00
parent c64da59da8
commit 8cdd9d5729
16 changed files with 889 additions and 213 deletions

View File

@@ -60,7 +60,7 @@ namespace FBS0000
{
cmbUser.SelectedValue = dr.uid;// FCOMMON.info.Login.no;// .Text = FCOMMON.info.Login.nameK + "(" + FCOMMON.info.Login.no + ")";
dateTimePicker1.Value = dr.sdate;
dateTimePicker2.Value = dr.edate;
//dateTimePicker2.Value = dr.edate;
cmbType.Text = dr.cate;
contentsTextBox.Text = dr.contents;
@@ -73,6 +73,10 @@ namespace FBS0000
bInit = true;
if (this.WindowState == FormWindowState.Minimized) this.WindowState = FormWindowState.Normal;
if (this.RestoreBounds.X + this.RestoreBounds.Width < 300 && this.RestoreBounds.X < 0)
this.Location = new Point(0, 0);
}
private void btOK_Click(object sender, EventArgs e)
@@ -99,7 +103,8 @@ namespace FBS0000
dr.uid = userid;// cmbType.SelectedValue.ToString();
dr.sdate = dateTimePicker1.Value;
dr.edate = dateTimePicker2.Value;
dr.edate = dr.sdate;
// dr.edate = dateTimePicker2.Value;
dr.cate = cmbType.Text;
dr.contents = contentsTextBox.Text;
@@ -121,8 +126,8 @@ namespace FBS0000
if (!bInit) return;
if(dateTimePicker1.Value > this.dateTimePicker2.Value)
this.dateTimePicker2.Value = dateTimePicker1.Value;
//if(dateTimePicker1.Value > this.dateTimePicker2.Value)
// this.dateTimePicker2.Value = dateTimePicker1.Value;
RefreshTerm();