...
This commit is contained in:
109
SubProject/FPJ0000/OtConfirm/fHolyRequest.Designer.cs
generated
109
SubProject/FPJ0000/OtConfirm/fHolyRequest.Designer.cs
generated
@@ -31,11 +31,13 @@
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fHolyRequest));
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.bn = new System.Windows.Forms.BindingNavigator(this.components);
|
||||
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.dSKuntae = new FPJ0000.DSKuntae();
|
||||
@@ -56,6 +58,8 @@
|
||||
this.btAdd = new System.Windows.Forms.ToolStripButton();
|
||||
this.btEdit = new System.Windows.Forms.ToolStripButton();
|
||||
this.btDel = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
|
||||
this.toolStripButton8 = new System.Windows.Forms.ToolStripButton();
|
||||
this.lbStt = new System.Windows.Forms.ToolStripLabel();
|
||||
@@ -73,7 +77,6 @@
|
||||
this.richTextBox1 = new System.Windows.Forms.RichTextBox();
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.dv1 = new arCtl.arDatagridView();
|
||||
this.ta = new FPJ0000.DSKuntaeTableAdapters.EETGW_HolydayRequestTableAdapter();
|
||||
this.uidDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.nameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.cateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
@@ -81,6 +84,8 @@
|
||||
this.edateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.HolyDays = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.HolyTimes = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.stime = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.etime = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.HolyReason = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.HolyLocation = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.telDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
@@ -89,6 +94,9 @@
|
||||
this.Response = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.HolyBackup = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.remarkDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||
this.외출완료ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.ta = new FPJ0000.DSKuntaeTableAdapters.EETGW_HolydayRequestTableAdapter();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
|
||||
this.bn.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||
@@ -99,6 +107,7 @@
|
||||
this.splitContainer1.Panel2.SuspendLayout();
|
||||
this.splitContainer1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dv1)).BeginInit();
|
||||
this.contextMenuStrip1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// bn
|
||||
@@ -125,7 +134,9 @@
|
||||
this.btSave,
|
||||
this.btAdd,
|
||||
this.btEdit,
|
||||
this.btDel});
|
||||
this.btDel,
|
||||
this.toolStripSeparator4,
|
||||
this.toolStripButton1});
|
||||
this.bn.Location = new System.Drawing.Point(0, 608);
|
||||
this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
|
||||
this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem;
|
||||
@@ -282,6 +293,20 @@
|
||||
this.btDel.Text = "삭제(&D)";
|
||||
this.btDel.Click += new System.EventHandler(this.btDel_Click);
|
||||
//
|
||||
// toolStripSeparator4
|
||||
//
|
||||
this.toolStripSeparator4.Name = "toolStripSeparator4";
|
||||
this.toolStripSeparator4.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// toolStripButton1
|
||||
//
|
||||
this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
|
||||
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.toolStripButton1.Name = "toolStripButton1";
|
||||
this.toolStripButton1.Size = new System.Drawing.Size(79, 22);
|
||||
this.toolStripButton1.Text = "외출 종료";
|
||||
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
|
||||
//
|
||||
// toolStrip1
|
||||
//
|
||||
this.toolStrip1.ImageScalingSize = new System.Drawing.Size(30, 30);
|
||||
@@ -470,6 +495,8 @@
|
||||
this.edateDataGridViewTextBoxColumn,
|
||||
this.HolyDays,
|
||||
this.HolyTimes,
|
||||
this.stime,
|
||||
this.etime,
|
||||
this.HolyReason,
|
||||
this.HolyLocation,
|
||||
this.telDataGridViewTextBoxColumn,
|
||||
@@ -478,16 +505,17 @@
|
||||
this.Response,
|
||||
this.HolyBackup,
|
||||
this.remarkDataGridViewTextBoxColumn});
|
||||
this.dv1.ContextMenuStrip = this.contextMenuStrip1;
|
||||
this.dv1.DataSource = this.bs;
|
||||
dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle6.BackColor = System.Drawing.SystemColors.Window;
|
||||
dataGridViewCellStyle6.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
dataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
dataGridViewCellStyle6.Padding = new System.Windows.Forms.Padding(3);
|
||||
dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dv1.DefaultCellStyle = dataGridViewCellStyle6;
|
||||
dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Window;
|
||||
dataGridViewCellStyle8.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
dataGridViewCellStyle8.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
dataGridViewCellStyle8.Padding = new System.Windows.Forms.Padding(3);
|
||||
dataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle8.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dv1.DefaultCellStyle = dataGridViewCellStyle8;
|
||||
this.dv1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.dv1.Location = new System.Drawing.Point(0, 0);
|
||||
this.dv1.Name = "dv1";
|
||||
@@ -497,10 +525,6 @@
|
||||
this.dv1.TabIndex = 3;
|
||||
this.dv1.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.arDatagridView1_DataError);
|
||||
//
|
||||
// ta
|
||||
//
|
||||
this.ta.ClearBeforeFill = true;
|
||||
//
|
||||
// uidDataGridViewTextBoxColumn
|
||||
//
|
||||
this.uidDataGridViewTextBoxColumn.DataPropertyName = "uid";
|
||||
@@ -559,6 +583,24 @@
|
||||
this.HolyTimes.Name = "HolyTimes";
|
||||
this.HolyTimes.Width = 88;
|
||||
//
|
||||
// stime
|
||||
//
|
||||
this.stime.DataPropertyName = "stime";
|
||||
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.stime.DefaultCellStyle = dataGridViewCellStyle4;
|
||||
this.stime.HeaderText = "외출시작";
|
||||
this.stime.Name = "stime";
|
||||
this.stime.Width = 88;
|
||||
//
|
||||
// etime
|
||||
//
|
||||
this.etime.DataPropertyName = "etime";
|
||||
dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.etime.DefaultCellStyle = dataGridViewCellStyle5;
|
||||
this.etime.HeaderText = "종료";
|
||||
this.etime.Name = "etime";
|
||||
this.etime.Width = 64;
|
||||
//
|
||||
// HolyReason
|
||||
//
|
||||
this.HolyReason.DataPropertyName = "HolyReason";
|
||||
@@ -591,8 +633,8 @@
|
||||
// cmbCf
|
||||
//
|
||||
this.cmbCf.DataPropertyName = "conf";
|
||||
dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||||
this.cmbCf.DefaultCellStyle = dataGridViewCellStyle4;
|
||||
dataGridViewCellStyle6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||||
this.cmbCf.DefaultCellStyle = dataGridViewCellStyle6;
|
||||
this.cmbCf.HeaderText = "관리자 승인";
|
||||
this.cmbCf.Items.AddRange(new object[] {
|
||||
"선택안함",
|
||||
@@ -605,8 +647,8 @@
|
||||
// Response
|
||||
//
|
||||
this.Response.DataPropertyName = "Response";
|
||||
dataGridViewCellStyle5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||||
this.Response.DefaultCellStyle = dataGridViewCellStyle5;
|
||||
dataGridViewCellStyle7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||||
this.Response.DefaultCellStyle = dataGridViewCellStyle7;
|
||||
this.Response.HeaderText = "관리자 비고";
|
||||
this.Response.Name = "Response";
|
||||
this.Response.Width = 104;
|
||||
@@ -625,6 +667,24 @@
|
||||
this.remarkDataGridViewTextBoxColumn.Name = "remarkDataGridViewTextBoxColumn";
|
||||
this.remarkDataGridViewTextBoxColumn.Width = 64;
|
||||
//
|
||||
// contextMenuStrip1
|
||||
//
|
||||
this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.외출완료ToolStripMenuItem});
|
||||
this.contextMenuStrip1.Name = "contextMenuStrip1";
|
||||
this.contextMenuStrip1.Size = new System.Drawing.Size(127, 26);
|
||||
//
|
||||
// 외출완료ToolStripMenuItem
|
||||
//
|
||||
this.외출완료ToolStripMenuItem.Name = "외출완료ToolStripMenuItem";
|
||||
this.외출완료ToolStripMenuItem.Size = new System.Drawing.Size(126, 22);
|
||||
this.외출완료ToolStripMenuItem.Text = "외출 완료";
|
||||
this.외출완료ToolStripMenuItem.Click += new System.EventHandler(this.외출완료ToolStripMenuItem_Click);
|
||||
//
|
||||
// ta
|
||||
//
|
||||
this.ta.ClearBeforeFill = true;
|
||||
//
|
||||
// fHolyRequest
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
@@ -635,7 +695,7 @@
|
||||
this.Controls.Add(this.bn);
|
||||
this.Name = "fHolyRequest";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
||||
this.Text = "휴가 신청";
|
||||
this.Text = "휴가/외출 신청";
|
||||
this.Load += new System.EventHandler(this.@__Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit();
|
||||
this.bn.ResumeLayout(false);
|
||||
@@ -649,6 +709,7 @@
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
|
||||
this.splitContainer1.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.dv1)).EndInit();
|
||||
this.contextMenuStrip1.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
@@ -700,6 +761,8 @@
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn edateDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn HolyDays;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn HolyTimes;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn stime;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn etime;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn HolyReason;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn HolyLocation;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn telDataGridViewTextBoxColumn;
|
||||
@@ -708,5 +771,9 @@
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Response;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn HolyBackup;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn remarkDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator4;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton1;
|
||||
private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
|
||||
private System.Windows.Forms.ToolStripMenuItem 외출완료ToolStripMenuItem;
|
||||
}
|
||||
}
|
||||
@@ -273,6 +273,8 @@ namespace FPJ0000
|
||||
newdr.HolyDays = 0;
|
||||
newdr.HolyTimes = 0f;
|
||||
newdr.cate = "년차";
|
||||
newdr.stime = "00:00";
|
||||
newdr.etime = "00:00";
|
||||
var f = new OtConfirm.fHolyRequestAdd(newdr);
|
||||
if (f.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
@@ -283,7 +285,6 @@ namespace FPJ0000
|
||||
var cnt = ta.Update(this.dSKuntae.EETGW_HolydayRequest);
|
||||
dSKuntae.EETGW_HolydayRequest.AcceptChanges();
|
||||
FCOMMON.Util.MsgI($"{cnt}건의 자료가 저장 되었습니다");
|
||||
|
||||
refreshData();
|
||||
}
|
||||
catch (Exception ex)
|
||||
@@ -396,5 +397,45 @@ namespace FPJ0000
|
||||
dtSD.Text = sd.ToShortDateString();
|
||||
dtED.Text = ed.ToShortDateString();
|
||||
}
|
||||
|
||||
private void toolStripButton1_Click(object sender, EventArgs e)
|
||||
{
|
||||
var drv = this.bs.Current as DataRowView;
|
||||
if (drv == null) return;
|
||||
var dr = drv.Row as DSKuntae.EETGW_HolydayRequestRow;
|
||||
if(dr.cate.Equals("외출")==false)
|
||||
{
|
||||
FCOMMON.Util.MsgE("외출 자료만 완료할 수 있습니다");
|
||||
return;
|
||||
}
|
||||
if(dr.conf != 1)
|
||||
{
|
||||
FCOMMON.Util.MsgE("관리자 승인된 자료만 완료할 수 있습니다");
|
||||
return;
|
||||
}
|
||||
var f = new OtConfirm.fOutCoomplete(dr);
|
||||
if(f.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
dr.stime = f.dtSD.Value.ToString("HH:mm");
|
||||
dr.etime = f.dtED.Value.ToString("HH:mm");
|
||||
dr.EndEdit();
|
||||
try
|
||||
{
|
||||
var cnt = ta.Update(this.dSKuntae.EETGW_HolydayRequest);
|
||||
dSKuntae.EETGW_HolydayRequest.AcceptChanges();
|
||||
FCOMMON.Util.MsgI($"{cnt}건의 자료가 저장 되었습니다");
|
||||
refreshData();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
FCOMMON.Util.MsgE(ex.Message);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void 외출완료ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
toolStripButton1.PerformClick();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -187,6 +187,21 @@
|
||||
AYRBCkE2N256AnY6SDMoUEF8FANAoQ0zAFkzCCNrhhkAor3CczENwGYzuu1JM8+BaQwDQAGITzOyASDs
|
||||
4huPMAAkATIA3c/YNIdNPAHGKAaAUhUoBghphhng0rTnv71bGKoBoADE5mR0zVgNACUK9BgAGYbudJBG
|
||||
GNY0dEYYAMsgMAyKYxAGhTQIg/wLwiBbQRikGSUdkA/+/wcAgXJEf04PwQkAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
|
||||
YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9
|
||||
0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
|
||||
bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc
|
||||
VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9
|
||||
c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32
|
||||
Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo
|
||||
mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+
|
||||
kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D
|
||||
TgDQASA1MVpwzwAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
@@ -195,41 +210,41 @@
|
||||
<data name="toolStripButton8.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAANQSURBVFhH7dhZTxNRHAVwPoRx3xHZlB0KBRRxA9doTEyM
|
||||
X8AXUWOMCEIRZWuhtOwgqCwqiWtE2tKVAmUtPqEmoEaCUSNG2WSV4510mlAf6L1DAi89yX2+v8zMuf/J
|
||||
dXPFFVcE5PHJN5cenWgff3i8F3XHyDpqRe0RK2rie1Ad14MHh7tx/1A37h0k60AXqvZ3oTK2E3f3daIi
|
||||
pgPleztQtqcdpdFkRVlQEmlBsdiCoog2FIa3oUDUCmUYWaEtUIS0ID/YPJ4XZErgt3eeZcZBHmRGTqB5
|
||||
jN/eeZYblxdoRm5AM/jtnWclcDJ/FuAScCVRbVBGGJErakK+yICC8FYqnMzPRA9cypNTiPXoffoJM5Nz
|
||||
6K7/CFmIjgon3c0AFIrjnlxL+XssTGGcngqXs8tIDxSCKxSb8eRKF+b/zvM04NfQBKRhaipcti8DkBVX
|
||||
HNmKijMmTI3N8DRgdnoOVeebIQ9upsJl+RjogWw4UooYPX58GOVptryS9CI32ECNy/RmANLiuKNEHq7D
|
||||
O90XnmVLZ90AOXi1TLgMLxYgJU4RboS5zLEUg73D5LvTMOMyPPX0QBpcQQQpxWXHUox8/QNFrJZ8dyZm
|
||||
3J2dDEBnuCIxX4rxWZ5mK0XluWaQoS8Id9tDRw9cDMeNL3mYAQOt33iaLS+SrZAF6QXj0ncwABfDcbM1
|
||||
L9SA/hZH4POkHkgD9YJxt9y19MDFcNzgV4rMKD1ldHzFU3MoP0tA/kZBuLTtDMDFcPbBLw8xoj6h06Ek
|
||||
v0lJZNEaSP0MzDjJtiZ6oDOcfbZKg3QwFr/lebZ8tg4jw7+RGZe6lQVIgbOfc5n+avQ1DfE8WyzV/Uj3
|
||||
UTHhUrdo6IG0OK4QsgATskVqfB8Y4Xm2PEvsRrqXhhqXspkBSIuzt5X75pTxOkyOLvhZIKUpPk1Qnloq
|
||||
3M1NDEAWnL2tmb5a1F5ocyjNz8ExSLwbqHDJG9X0QFacvRDp3mrolH08z5asCBUVLmkDA1AIzl4Iiddr
|
||||
dJC/memJWVhq+pHi3kCFu7FeRQ8UirMXQuKhQrL7S4JrRJp7ExUucR0LcAk42kL8j0tc20gPXAnc9TUM
|
||||
QIIbX27c1dUN9Fcf3EUOd1eynLhrqxou8tu74oor9HFz+wdfrj3zDzZ6jwAAAABJRU5ErkJggg==
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAANPSURBVFhH7dhZTxNRHAVwPoRx3yuyKWUvqyJu4BqNiYnx
|
||||
C/giaowRQSiibC0Uyg6CyqKSuEaEQvdCK7tPqAmokWDUiFGgyCrHO+k0oT609w4JvvQk9/n+MjPn/ifX
|
||||
wx133BGQh8dfX3hwzGy9f7QfDUfIOtyH+kN9qEvoRW18L+4d7MHdAz24s5+sfd2o2duN6rgu3N7TharY
|
||||
TlTu7kTFrlcojyEr2oKyKAtKIy0oiTCjONyMIkkHlGFkhbajMKQdBcEma36QIZHf3nWWGQdFkAm5gaYJ
|
||||
fnvXWW5cfqAJeQFG8Nu7zv/AycUswCXgyqLNUEbokSdpQ4FEh6LwDiqc3N9AD1zKkyuM1KL/8UfMTs2j
|
||||
p/ED5CEaKpxsJwNQKI57cu2V77A4xfFaKlzuDj09UAiuONKER5e6sfBngacBP0cmIQtTUeFy/BiArLjS
|
||||
qA5UnTJgemKWpwFzM/OoOWuEIthIhcv21dED2XCkFLFafH8/ztNseSHtR16wjhqX5cMApMVxR4kiXIO3
|
||||
ms88y5auhiFy8KqZcJneLEBKXGG4HqYKx1IM94+S766VGZfppaUH0uCKIkgpLjqWYuzLbxTGqcl3Z2DG
|
||||
3drOAHSFK4nkS2Gd42m2UlSfMYIMfUG4m54aeqAzHDe+FGE6DHV85Wm2PEvpgzxIKxiXsY0B6AzHzdb8
|
||||
UB0G2x2BT5N7IQvUCsbdEKnpgc5w3OBXSkwoP6F3fMXT86g8TUBivSBc+lYGoDOcffArQvRoTOxyKMkv
|
||||
UhJ5TCtk/jpmnHRLGz3QFc4+W2VBGuhL3/A8Wz71jSJT3MyMS9vMAqTA2c+5LLEKA20jPM8WS+0gMnxb
|
||||
mHBpm1rpgbQ4rhDyAANyJCp8GxrjebY8SepBhncrNS51IwOQFmdvK/fNKRM0mBpf9LNASlN6kqC81FS4
|
||||
6xsYgCw4e1uz/NSoP2d2KM2P4QlIfZqocCnrVfRAVpy9EBk+KmiUAzzPluyIFipc8joGoBCcvRBS75fo
|
||||
JH8zM5NzsNQNIlXURIW7traFHigUZy+E1LMFKaLnBNeMdFEbFS5pDQtwCTjaQvyLS1rdTA/8H7irqxiA
|
||||
BGddbtzllU30Vx/cRQ53V7KcuCsrms7z27vjjjv08fD4CwlIPe+HvHrCAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="toolStripButton7.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
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
|
||||
</value>
|
||||
</data>
|
||||
<data name="btSearch.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
@@ -259,6 +274,12 @@
|
||||
<metadata name="HolyTimes.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="stime.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="etime.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="HolyReason.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
@@ -271,6 +292,9 @@
|
||||
<metadata name="HolyBackup.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="contextMenuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>420, 17</value>
|
||||
</metadata>
|
||||
<metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>358, 17</value>
|
||||
</metadata>
|
||||
|
||||
297
SubProject/FPJ0000/OtConfirm/fHolyRequestAdd.Designer.cs
generated
297
SubProject/FPJ0000/OtConfirm/fHolyRequestAdd.Designer.cs
generated
@@ -33,17 +33,23 @@ namespace FPJ0000.OtConfirm
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.tbCate = new System.Windows.Forms.ComboBox();
|
||||
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.dSKuntae = new FPJ0000.DSKuntae();
|
||||
this.tbSD = new System.Windows.Forms.DateTimePicker();
|
||||
this.tbED = new System.Windows.Forms.DateTimePicker();
|
||||
this.tbRemark = new System.Windows.Forms.RichTextBox();
|
||||
this.grpUser = new System.Windows.Forms.GroupBox();
|
||||
this.cmbUser = new System.Windows.Forms.ComboBox();
|
||||
this.radioButton2 = new System.Windows.Forms.RadioButton();
|
||||
this.radTime = new System.Windows.Forms.RadioButton();
|
||||
this.tbTimes = new System.Windows.Forms.TextBox();
|
||||
this.label7 = new System.Windows.Forms.Label();
|
||||
this.textBox2 = new System.Windows.Forms.TextBox();
|
||||
this.textBox1 = new System.Windows.Forms.TextBox();
|
||||
this.radOut = new System.Windows.Forms.RadioButton();
|
||||
this.richTextBox1 = new System.Windows.Forms.RichTextBox();
|
||||
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.tbDays = new System.Windows.Forms.TextBox();
|
||||
this.tbTimes = new System.Windows.Forms.TextBox();
|
||||
this.cmbUser = new System.Windows.Forms.ComboBox();
|
||||
this.radDay = new System.Windows.Forms.RadioButton();
|
||||
this.radTime = new System.Windows.Forms.RadioButton();
|
||||
this.label10 = new System.Windows.Forms.Label();
|
||||
this.tbBackup = new System.Windows.Forms.ComboBox();
|
||||
this.label9 = new System.Windows.Forms.Label();
|
||||
@@ -60,16 +66,14 @@ namespace FPJ0000.OtConfirm
|
||||
this.rad0 = new System.Windows.Forms.RadioButton();
|
||||
this.tbResponse = new System.Windows.Forms.RichTextBox();
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.dSKuntae = new FPJ0000.DSKuntae();
|
||||
this.ta = new FPJ0000.DSKuntaeTableAdapters.EETGW_HolydayRequestTableAdapter();
|
||||
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.richTextBox1 = new System.Windows.Forms.RichTextBox();
|
||||
this.grpUser.SuspendLayout();
|
||||
this.groupBox1.SuspendLayout();
|
||||
this.grpAdmin.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dSKuntae)).BeginInit();
|
||||
this.grpUser.SuspendLayout();
|
||||
this.grpAdmin.SuspendLayout();
|
||||
this.groupBox1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// label1
|
||||
@@ -102,16 +106,6 @@ namespace FPJ0000.OtConfirm
|
||||
this.tbCate.Size = new System.Drawing.Size(381, 35);
|
||||
this.tbCate.TabIndex = 7;
|
||||
//
|
||||
// bs
|
||||
//
|
||||
this.bs.DataMember = "EETGW_HolydayRequest";
|
||||
this.bs.DataSource = this.dSKuntae;
|
||||
//
|
||||
// dSKuntae
|
||||
//
|
||||
this.dSKuntae.DataSetName = "DSKuntae";
|
||||
this.dSKuntae.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
||||
//
|
||||
// tbSD
|
||||
//
|
||||
this.tbSD.Location = new System.Drawing.Point(143, 79);
|
||||
@@ -130,18 +124,22 @@ namespace FPJ0000.OtConfirm
|
||||
// tbRemark
|
||||
//
|
||||
this.tbRemark.Font = new System.Drawing.Font("굴림", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.tbRemark.Location = new System.Drawing.Point(144, 246);
|
||||
this.tbRemark.Location = new System.Drawing.Point(144, 285);
|
||||
this.tbRemark.Name = "tbRemark";
|
||||
this.tbRemark.Size = new System.Drawing.Size(578, 133);
|
||||
this.tbRemark.TabIndex = 16;
|
||||
this.tbRemark.TabIndex = 20;
|
||||
this.tbRemark.Text = "";
|
||||
//
|
||||
// grpUser
|
||||
//
|
||||
this.grpUser.Controls.Add(this.label7);
|
||||
this.grpUser.Controls.Add(this.textBox2);
|
||||
this.grpUser.Controls.Add(this.textBox1);
|
||||
this.grpUser.Controls.Add(this.radOut);
|
||||
this.grpUser.Controls.Add(this.richTextBox1);
|
||||
this.grpUser.Controls.Add(this.groupBox1);
|
||||
this.grpUser.Controls.Add(this.cmbUser);
|
||||
this.grpUser.Controls.Add(this.radioButton2);
|
||||
this.grpUser.Controls.Add(this.radDay);
|
||||
this.grpUser.Controls.Add(this.radTime);
|
||||
this.grpUser.Controls.Add(this.label10);
|
||||
this.grpUser.Controls.Add(this.tbBackup);
|
||||
@@ -160,11 +158,113 @@ namespace FPJ0000.OtConfirm
|
||||
this.grpUser.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.grpUser.Location = new System.Drawing.Point(3, 3);
|
||||
this.grpUser.Name = "grpUser";
|
||||
this.grpUser.Size = new System.Drawing.Size(957, 471);
|
||||
this.grpUser.Size = new System.Drawing.Size(957, 521);
|
||||
this.grpUser.TabIndex = 0;
|
||||
this.grpUser.TabStop = false;
|
||||
this.grpUser.Text = "신청자";
|
||||
//
|
||||
// label7
|
||||
//
|
||||
this.label7.AutoSize = true;
|
||||
this.label7.Location = new System.Drawing.Point(763, 167);
|
||||
this.label7.Name = "label7";
|
||||
this.label7.Size = new System.Drawing.Size(33, 27);
|
||||
this.label7.TabIndex = 11;
|
||||
this.label7.Text = "~";
|
||||
//
|
||||
// textBox2
|
||||
//
|
||||
this.textBox2.Location = new System.Drawing.Point(802, 161);
|
||||
this.textBox2.Name = "textBox2";
|
||||
this.textBox2.Size = new System.Drawing.Size(102, 38);
|
||||
this.textBox2.TabIndex = 12;
|
||||
this.textBox2.Text = "00:00";
|
||||
this.textBox2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// textBox1
|
||||
//
|
||||
this.textBox1.Location = new System.Drawing.Point(655, 161);
|
||||
this.textBox1.Name = "textBox1";
|
||||
this.textBox1.Size = new System.Drawing.Size(102, 38);
|
||||
this.textBox1.TabIndex = 10;
|
||||
this.textBox1.Text = "00:00";
|
||||
this.textBox1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// radOut
|
||||
//
|
||||
this.radOut.AutoSize = true;
|
||||
this.radOut.Location = new System.Drawing.Point(565, 165);
|
||||
this.radOut.Name = "radOut";
|
||||
this.radOut.Size = new System.Drawing.Size(84, 31);
|
||||
this.radOut.TabIndex = 9;
|
||||
this.radOut.TabStop = true;
|
||||
this.radOut.Text = "외출";
|
||||
this.radOut.UseVisualStyleBackColor = true;
|
||||
this.radOut.CheckedChanged += new System.EventHandler(this.radioButton1_CheckedChanged);
|
||||
//
|
||||
// richTextBox1
|
||||
//
|
||||
this.richTextBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.richTextBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.richTextBox1.Font = new System.Drawing.Font("굴림", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.richTextBox1.Location = new System.Drawing.Point(143, 426);
|
||||
this.richTextBox1.Name = "richTextBox1";
|
||||
this.richTextBox1.ReadOnly = true;
|
||||
this.richTextBox1.Size = new System.Drawing.Size(803, 87);
|
||||
this.richTextBox1.TabIndex = 22;
|
||||
this.richTextBox1.Text = "";
|
||||
//
|
||||
// groupBox1
|
||||
//
|
||||
this.groupBox1.Controls.Add(this.label6);
|
||||
this.groupBox1.Controls.Add(this.label3);
|
||||
this.groupBox1.Controls.Add(this.tbDays);
|
||||
this.groupBox1.Controls.Add(this.tbTimes);
|
||||
this.groupBox1.Location = new System.Drawing.Point(728, 288);
|
||||
this.groupBox1.Name = "groupBox1";
|
||||
this.groupBox1.Size = new System.Drawing.Size(218, 130);
|
||||
this.groupBox1.TabIndex = 21;
|
||||
this.groupBox1.TabStop = false;
|
||||
this.groupBox1.Text = "사용";
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.Location = new System.Drawing.Point(8, 84);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(66, 27);
|
||||
this.label6.TabIndex = 2;
|
||||
this.label6.Text = "시간";
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(35, 40);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(39, 27);
|
||||
this.label3.TabIndex = 0;
|
||||
this.label3.Text = "일";
|
||||
//
|
||||
// tbDays
|
||||
//
|
||||
this.tbDays.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
||||
this.tbDays.Location = new System.Drawing.Point(78, 37);
|
||||
this.tbDays.Name = "tbDays";
|
||||
this.tbDays.Size = new System.Drawing.Size(130, 38);
|
||||
this.tbDays.TabIndex = 1;
|
||||
this.tbDays.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// tbTimes
|
||||
//
|
||||
this.tbTimes.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
||||
this.tbTimes.Location = new System.Drawing.Point(78, 81);
|
||||
this.tbTimes.Name = "tbTimes";
|
||||
this.tbTimes.Size = new System.Drawing.Size(130, 38);
|
||||
this.tbTimes.TabIndex = 3;
|
||||
this.tbTimes.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// cmbUser
|
||||
//
|
||||
this.cmbUser.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
@@ -175,18 +275,18 @@ namespace FPJ0000.OtConfirm
|
||||
this.cmbUser.TabIndex = 1;
|
||||
this.cmbUser.SelectedIndexChanged += new System.EventHandler(this.cmbUser_SelectedIndexChanged);
|
||||
//
|
||||
// radioButton2
|
||||
// radDay
|
||||
//
|
||||
this.radioButton2.AutoSize = true;
|
||||
this.radioButton2.Checked = true;
|
||||
this.radioButton2.Location = new System.Drawing.Point(53, 123);
|
||||
this.radioButton2.Name = "radioButton2";
|
||||
this.radioButton2.Size = new System.Drawing.Size(84, 31);
|
||||
this.radioButton2.TabIndex = 6;
|
||||
this.radioButton2.TabStop = true;
|
||||
this.radioButton2.Text = "일반";
|
||||
this.radioButton2.UseVisualStyleBackColor = true;
|
||||
this.radioButton2.CheckedChanged += new System.EventHandler(this.radioButton1_CheckedChanged);
|
||||
this.radDay.AutoSize = true;
|
||||
this.radDay.Checked = true;
|
||||
this.radDay.Location = new System.Drawing.Point(53, 123);
|
||||
this.radDay.Name = "radDay";
|
||||
this.radDay.Size = new System.Drawing.Size(84, 31);
|
||||
this.radDay.TabIndex = 6;
|
||||
this.radDay.TabStop = true;
|
||||
this.radDay.Text = "일반";
|
||||
this.radDay.UseVisualStyleBackColor = true;
|
||||
this.radDay.CheckedChanged += new System.EventHandler(this.radioButton1_CheckedChanged);
|
||||
//
|
||||
// radTime
|
||||
//
|
||||
@@ -200,31 +300,13 @@ namespace FPJ0000.OtConfirm
|
||||
this.radTime.UseVisualStyleBackColor = true;
|
||||
this.radTime.CheckedChanged += new System.EventHandler(this.radioButton1_CheckedChanged);
|
||||
//
|
||||
// tbTimes
|
||||
//
|
||||
this.tbTimes.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
||||
this.tbTimes.Location = new System.Drawing.Point(78, 81);
|
||||
this.tbTimes.Name = "tbTimes";
|
||||
this.tbTimes.Size = new System.Drawing.Size(130, 38);
|
||||
this.tbTimes.TabIndex = 19;
|
||||
this.tbTimes.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// tbDays
|
||||
//
|
||||
this.tbDays.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
||||
this.tbDays.Location = new System.Drawing.Point(78, 37);
|
||||
this.tbDays.Name = "tbDays";
|
||||
this.tbDays.Size = new System.Drawing.Size(130, 38);
|
||||
this.tbDays.TabIndex = 18;
|
||||
this.tbDays.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// label10
|
||||
//
|
||||
this.label10.AutoSize = true;
|
||||
this.label10.Location = new System.Drawing.Point(12, 209);
|
||||
this.label10.Location = new System.Drawing.Point(12, 248);
|
||||
this.label10.Name = "label10";
|
||||
this.label10.Size = new System.Drawing.Size(120, 27);
|
||||
this.label10.TabIndex = 13;
|
||||
this.label10.TabIndex = 17;
|
||||
this.label10.Text = "백업인원";
|
||||
//
|
||||
// tbBackup
|
||||
@@ -234,18 +316,18 @@ namespace FPJ0000.OtConfirm
|
||||
"년차",
|
||||
"하기",
|
||||
"대체"});
|
||||
this.tbBackup.Location = new System.Drawing.Point(144, 205);
|
||||
this.tbBackup.Location = new System.Drawing.Point(144, 244);
|
||||
this.tbBackup.Name = "tbBackup";
|
||||
this.tbBackup.Size = new System.Drawing.Size(802, 35);
|
||||
this.tbBackup.TabIndex = 14;
|
||||
this.tbBackup.TabIndex = 18;
|
||||
//
|
||||
// label9
|
||||
//
|
||||
this.label9.AutoSize = true;
|
||||
this.label9.Location = new System.Drawing.Point(467, 167);
|
||||
this.label9.Location = new System.Drawing.Point(467, 206);
|
||||
this.label9.Name = "label9";
|
||||
this.label9.Size = new System.Drawing.Size(93, 27);
|
||||
this.label9.TabIndex = 11;
|
||||
this.label9.TabIndex = 15;
|
||||
this.label9.Text = "행선지";
|
||||
//
|
||||
// tbLocation
|
||||
@@ -255,18 +337,18 @@ namespace FPJ0000.OtConfirm
|
||||
"년차",
|
||||
"하기",
|
||||
"대체"});
|
||||
this.tbLocation.Location = new System.Drawing.Point(565, 164);
|
||||
this.tbLocation.Location = new System.Drawing.Point(565, 203);
|
||||
this.tbLocation.Name = "tbLocation";
|
||||
this.tbLocation.Size = new System.Drawing.Size(381, 35);
|
||||
this.tbLocation.TabIndex = 12;
|
||||
this.tbLocation.TabIndex = 16;
|
||||
//
|
||||
// label8
|
||||
//
|
||||
this.label8.AutoSize = true;
|
||||
this.label8.Location = new System.Drawing.Point(66, 167);
|
||||
this.label8.Location = new System.Drawing.Point(66, 206);
|
||||
this.label8.Name = "label8";
|
||||
this.label8.Size = new System.Drawing.Size(66, 27);
|
||||
this.label8.TabIndex = 9;
|
||||
this.label8.TabIndex = 13;
|
||||
this.label8.Text = "사유";
|
||||
//
|
||||
// tbReason
|
||||
@@ -276,10 +358,10 @@ namespace FPJ0000.OtConfirm
|
||||
"년차",
|
||||
"하기",
|
||||
"대체"});
|
||||
this.tbReason.Location = new System.Drawing.Point(144, 164);
|
||||
this.tbReason.Location = new System.Drawing.Point(144, 203);
|
||||
this.tbReason.Name = "tbReason";
|
||||
this.tbReason.Size = new System.Drawing.Size(310, 35);
|
||||
this.tbReason.TabIndex = 10;
|
||||
this.tbReason.TabIndex = 14;
|
||||
//
|
||||
// label5
|
||||
//
|
||||
@@ -293,10 +375,10 @@ namespace FPJ0000.OtConfirm
|
||||
// label4
|
||||
//
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Location = new System.Drawing.Point(66, 249);
|
||||
this.label4.Location = new System.Drawing.Point(66, 288);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(66, 27);
|
||||
this.label4.TabIndex = 15;
|
||||
this.label4.TabIndex = 19;
|
||||
this.label4.Text = "비고";
|
||||
//
|
||||
// grpAdmin
|
||||
@@ -308,9 +390,9 @@ namespace FPJ0000.OtConfirm
|
||||
this.grpAdmin.Controls.Add(this.rad0);
|
||||
this.grpAdmin.Controls.Add(this.tbResponse);
|
||||
this.grpAdmin.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.grpAdmin.Location = new System.Drawing.Point(3, 474);
|
||||
this.grpAdmin.Location = new System.Drawing.Point(3, 524);
|
||||
this.grpAdmin.Name = "grpAdmin";
|
||||
this.grpAdmin.Size = new System.Drawing.Size(957, 296);
|
||||
this.grpAdmin.Size = new System.Drawing.Size(957, 246);
|
||||
this.grpAdmin.TabIndex = 1;
|
||||
this.grpAdmin.TabStop = false;
|
||||
this.grpAdmin.Text = "관리자";
|
||||
@@ -384,7 +466,7 @@ namespace FPJ0000.OtConfirm
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.tbResponse.Location = new System.Drawing.Point(10, 115);
|
||||
this.tbResponse.Name = "tbResponse";
|
||||
this.tbResponse.Size = new System.Drawing.Size(936, 116);
|
||||
this.tbResponse.Size = new System.Drawing.Size(936, 75);
|
||||
this.tbResponse.TabIndex = 3;
|
||||
this.tbResponse.Text = "";
|
||||
//
|
||||
@@ -399,55 +481,20 @@ namespace FPJ0000.OtConfirm
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||
//
|
||||
// bs
|
||||
//
|
||||
this.bs.DataMember = "EETGW_HolydayRequest";
|
||||
this.bs.DataSource = this.dSKuntae;
|
||||
//
|
||||
// dSKuntae
|
||||
//
|
||||
this.dSKuntae.DataSetName = "DSKuntae";
|
||||
this.dSKuntae.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
||||
//
|
||||
// ta
|
||||
//
|
||||
this.ta.ClearBeforeFill = true;
|
||||
//
|
||||
// groupBox1
|
||||
//
|
||||
this.groupBox1.Controls.Add(this.label6);
|
||||
this.groupBox1.Controls.Add(this.label3);
|
||||
this.groupBox1.Controls.Add(this.tbDays);
|
||||
this.groupBox1.Controls.Add(this.tbTimes);
|
||||
this.groupBox1.Location = new System.Drawing.Point(728, 249);
|
||||
this.groupBox1.Name = "groupBox1";
|
||||
this.groupBox1.Size = new System.Drawing.Size(218, 130);
|
||||
this.groupBox1.TabIndex = 20;
|
||||
this.groupBox1.TabStop = false;
|
||||
this.groupBox1.Text = "사용";
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(35, 40);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(39, 27);
|
||||
this.label3.TabIndex = 20;
|
||||
this.label3.Text = "일";
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.Location = new System.Drawing.Point(8, 84);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(66, 27);
|
||||
this.label6.TabIndex = 21;
|
||||
this.label6.Text = "시간";
|
||||
//
|
||||
// richTextBox1
|
||||
//
|
||||
this.richTextBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.richTextBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.richTextBox1.Font = new System.Drawing.Font("굴림", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.richTextBox1.Location = new System.Drawing.Point(143, 385);
|
||||
this.richTextBox1.Name = "richTextBox1";
|
||||
this.richTextBox1.ReadOnly = true;
|
||||
this.richTextBox1.Size = new System.Drawing.Size(803, 78);
|
||||
this.richTextBox1.TabIndex = 21;
|
||||
this.richTextBox1.Text = "";
|
||||
//
|
||||
// fHolyRequestAdd
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
@@ -463,14 +510,14 @@ namespace FPJ0000.OtConfirm
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "fHolyRequestAdd";
|
||||
this.Load += new System.EventHandler(this.fHolyRequestAdd_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dSKuntae)).EndInit();
|
||||
this.grpUser.ResumeLayout(false);
|
||||
this.grpUser.PerformLayout();
|
||||
this.grpAdmin.ResumeLayout(false);
|
||||
this.grpAdmin.PerformLayout();
|
||||
this.groupBox1.ResumeLayout(false);
|
||||
this.groupBox1.PerformLayout();
|
||||
this.grpAdmin.ResumeLayout(false);
|
||||
this.grpAdmin.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dSKuntae)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
@@ -506,11 +553,15 @@ namespace FPJ0000.OtConfirm
|
||||
private System.Windows.Forms.ComboBox cmbPreset;
|
||||
private System.Windows.Forms.CheckBox chkSendMail;
|
||||
private System.Windows.Forms.RadioButton radTime;
|
||||
private System.Windows.Forms.RadioButton radioButton2;
|
||||
private System.Windows.Forms.RadioButton radDay;
|
||||
private System.Windows.Forms.ComboBox cmbUser;
|
||||
private System.Windows.Forms.GroupBox groupBox1;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.Label label6;
|
||||
private System.Windows.Forms.RichTextBox richTextBox1;
|
||||
private System.Windows.Forms.RadioButton radOut;
|
||||
private System.Windows.Forms.TextBox textBox1;
|
||||
private System.Windows.Forms.Label label7;
|
||||
private System.Windows.Forms.TextBox textBox2;
|
||||
}
|
||||
}
|
||||
@@ -41,18 +41,19 @@ namespace FPJ0000.OtConfirm
|
||||
this.cmbUser.ValueMember = "id";
|
||||
this.cmbUser.DisplayMember = "dispname";
|
||||
|
||||
|
||||
this.textBox1.Text = dr.stime;
|
||||
this.textBox2.Text = dr.etime;
|
||||
if (dr.RowState == DataRowState.Detached)
|
||||
{
|
||||
this.Text = "휴가신청 추가";
|
||||
this.Text = "(휴가/외출)신청 추가";
|
||||
cmbUser.Text = $"{FCOMMON.info.Login.nameK}({FCOMMON.info.Login.no})";
|
||||
|
||||
//tbProcess.Text = FCOMMON.info.Login.process;
|
||||
//tbTel.Text = FCOMMON.info.Login.tel;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.Text = "휴가신청 편집";
|
||||
|
||||
this.Text = "(휴가/외출) 편집";
|
||||
cmbUser.Text = $"{dr.name}({dr.uid})"; //dr.name;
|
||||
////.Text = dr.processs;
|
||||
// tbTel.Text = dr.tel;
|
||||
@@ -80,13 +81,21 @@ namespace FPJ0000.OtConfirm
|
||||
tbCate.Enabled = false;
|
||||
radTime.Checked = true;
|
||||
}
|
||||
else if (dr.cate == "외출")
|
||||
{
|
||||
radOut.Checked = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
tbCate.Enabled = true;
|
||||
tbTimes.Enabled = false;
|
||||
tbDays.Enabled = true;
|
||||
radioButton2.Checked = true;
|
||||
radDay.Checked = true;
|
||||
}
|
||||
this.KeyDown += (s1, e1) =>
|
||||
{
|
||||
if (e1.KeyCode == Keys.Escape) this.Close();
|
||||
};
|
||||
|
||||
}
|
||||
int curLevel = 0;
|
||||
@@ -135,12 +144,14 @@ namespace FPJ0000.OtConfirm
|
||||
binit = true;
|
||||
|
||||
cmbUser_SelectedIndexChanged(null, null);
|
||||
radioButton1_CheckedChanged(null, null);
|
||||
}
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
var cate = tbCate.Text.Trim();
|
||||
if (radTime.Checked) cate = "대체";
|
||||
else if (radOut.Checked) cate = "외출";
|
||||
|
||||
var remark = tbRemark.Text.Trim();
|
||||
var response = tbResponse.Text.Trim();
|
||||
@@ -177,21 +188,75 @@ namespace FPJ0000.OtConfirm
|
||||
if (radTime.Checked) vDay = 0;
|
||||
else vTime = 0;
|
||||
|
||||
if (vDay > 0 && vTime > 0)
|
||||
if (radOut.Checked == false)
|
||||
{
|
||||
FCOMMON.Util.MsgE("사용일/시간을 동시에 입력할 수는 없습니다.\r\n" +
|
||||
"대체휴가의 경우에만 시간을 입력하시기 바랍니다");
|
||||
return;
|
||||
}
|
||||
if (vDay > 0 && vTime > 0)
|
||||
{
|
||||
FCOMMON.Util.MsgE("사용일/시간을 동시에 입력할 수는 없습니다.\r\n" +
|
||||
"대체휴가의 경우에만 시간을 입력하시기 바랍니다");
|
||||
return;
|
||||
}
|
||||
|
||||
if (vDay < 1 && vTime < 0.1 && curLevel < 5)
|
||||
if (vDay < 1 && vTime < 0.1 && curLevel < 5)
|
||||
{
|
||||
var dlg = FCOMMON.Util.MsgQ("사용 일/시간 값을 입력해주세요\n대체휴가에는 시간을 입력하세요\n값을 입력하지 않고 계속할까요?");
|
||||
if (dlg != DialogResult.Yes) return;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
var dlg = FCOMMON.Util.MsgQ("사용 일/시간 값을 입력해주세요\n대체휴가에는 시간을 입력하세요\n값을 입력하지 않고 계속할까요?");
|
||||
if (dlg != DialogResult.Yes) return;
|
||||
if (textBox1.Text.IndexOf(":") == -1 || textBox1.Text.Equals("00:00"))
|
||||
{
|
||||
FCOMMON.Util.MsgE("외출 시작시간은 00:00 24시 표기법으로 입력하세요\n" +
|
||||
"예) 오후2시 = 14:00");
|
||||
textBox1.Focus();
|
||||
textBox1.SelectAll();
|
||||
return;
|
||||
}
|
||||
|
||||
//추가시에는 종료시간을 입력하지 않게한다.
|
||||
if(dr.RowState == DataRowState.Detached)
|
||||
{
|
||||
if (textBox2.Text.IndexOf(":") == -1 || textBox2.Text.Equals("00:00"))
|
||||
{
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
textBox2.Text = "00:00";
|
||||
FCOMMON.Util.MsgI("신청데이터에는 외출종료시간을 입력하지 않습니다\n외출종료 화면에서 시간을 입력하세요");
|
||||
}
|
||||
}
|
||||
|
||||
//if (textBox2.Text.IndexOf(":") == -1 || textBox2.Text.Equals("00:00"))
|
||||
//{
|
||||
// FCOMMON.Util.MsgE("외출 종료시간은 00:00 24시 표기법으로 입력하세요\n" +
|
||||
// "예) 오후2시 = 14:00");
|
||||
// textBox2.Focus();
|
||||
// textBox2.SelectAll();
|
||||
// return;
|
||||
//}
|
||||
//
|
||||
|
||||
if (tbSD.Value.ToShortDateString().Equals(tbED.Value.ToShortDateString()) == false)
|
||||
{
|
||||
FCOMMON.Util.MsgE("외출은 시작일 종료일이 같아야 합니다, 종료일자를 시작일자로 자동 변경 합니다");
|
||||
tbED.Value = tbSD.Value;
|
||||
return;
|
||||
}
|
||||
|
||||
if(textBox2.Text.Equals("00:00")==false)
|
||||
{
|
||||
var st = DateTime.Parse(tbSD.Value.ToShortDateString() + " " + textBox1.Text + ":00");
|
||||
var et = DateTime.Parse(tbED.Value.ToShortDateString() + " " + textBox2.Text + ":00");
|
||||
if (et <= st)
|
||||
{
|
||||
FCOMMON.Util.MsgE("외출 시간을 확인하세요.\n종료시간은 시작시간보다 커야 합니다");
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
var uid = this.cmbUser.SelectedValue;
|
||||
if (uid == null)
|
||||
{
|
||||
@@ -200,44 +265,48 @@ namespace FPJ0000.OtConfirm
|
||||
}
|
||||
|
||||
//사용시간여부 확인
|
||||
var minmsg = "해당 항목 [{0}]의 신청 가능 일(시간)이 없습니다\n\n남은 일(시간) : {1} \n\n관리자 문의 하세요";
|
||||
if (IsAdmin)
|
||||
minmsg = "해당 항목 [{0}]의 신청 가능 일(시간)이 없습니다\n\n남은 일(시간) : {1} \n\n관리자 권한으로 기록은 진행 됩니다";
|
||||
if (radOut.Checked == false)
|
||||
{
|
||||
var minmsg = "해당 항목 [{0}]의 신청 가능 일(시간)이 없습니다\n\n남은 일(시간) : {1} \n\n관리자 문의 하세요";
|
||||
if (IsAdmin)
|
||||
minmsg = "해당 항목 [{0}]의 신청 가능 일(시간)이 없습니다\n\n남은 일(시간) : {1} \n\n관리자 권한으로 기록은 진행 됩니다";
|
||||
|
||||
bool oktime = false;
|
||||
if (radTime.Checked) //대체사용
|
||||
{
|
||||
minmsg = minmsg.Replace("{0}", "대체");
|
||||
if (holydata.ContainsKey("대체"))
|
||||
bool oktime = false;
|
||||
if (radTime.Checked) //대체사용
|
||||
{
|
||||
var data = holydata["대체"].Split('|');
|
||||
var 발생 = float.Parse(data[3]);
|
||||
var 사용 = float.Parse(data[4]);
|
||||
var 잔량 = float.Parse(data[5]);
|
||||
if (vTime <= 잔량) oktime = true;
|
||||
else minmsg = minmsg.Replace("{1}", 잔량.ToString());
|
||||
minmsg = minmsg.Replace("{0}", "대체");
|
||||
if (holydata.ContainsKey("대체"))
|
||||
{
|
||||
var data = holydata["대체"].Split('|');
|
||||
var 발생 = float.Parse(data[3]);
|
||||
var 사용 = float.Parse(data[4]);
|
||||
var 잔량 = float.Parse(data[5]);
|
||||
if (vTime <= 잔량) oktime = true;
|
||||
else minmsg = minmsg.Replace("{1}", 잔량.ToString());
|
||||
}
|
||||
else minmsg = minmsg.Replace("{1}", "(자료없음)");
|
||||
}
|
||||
else minmsg = minmsg.Replace("{1}", "(자료없음)");
|
||||
}
|
||||
else
|
||||
{
|
||||
var 항목 = tbCate.Text;
|
||||
minmsg = minmsg.Replace("{0}", 항목);
|
||||
if (holydata.ContainsKey(항목))
|
||||
else
|
||||
{
|
||||
var data = holydata[항목].Split('|');
|
||||
var 발생 = float.Parse(data[0]);
|
||||
var 사용 = float.Parse(data[1]);
|
||||
var 잔량 = float.Parse(data[2]);
|
||||
if (vDay <= 잔량) oktime = true;
|
||||
else minmsg = minmsg.Replace("{1}", 잔량.ToString());
|
||||
var 항목 = tbCate.Text;
|
||||
minmsg = minmsg.Replace("{0}", 항목);
|
||||
if (holydata.ContainsKey(항목))
|
||||
{
|
||||
var data = holydata[항목].Split('|');
|
||||
var 발생 = float.Parse(data[0]);
|
||||
var 사용 = float.Parse(data[1]);
|
||||
var 잔량 = float.Parse(data[2]);
|
||||
if (vDay <= 잔량) oktime = true;
|
||||
else minmsg = minmsg.Replace("{1}", 잔량.ToString());
|
||||
}
|
||||
else minmsg = minmsg.Replace("{1}", "(자료없음)");
|
||||
}
|
||||
else minmsg = minmsg.Replace("{1}", "(자료없음)");
|
||||
}
|
||||
if (oktime == false)
|
||||
{
|
||||
//FCOMMON.Util.MsgE(minmsg);
|
||||
//if (IsAdmin == false) return;
|
||||
if (oktime == false)
|
||||
{
|
||||
//FCOMMON.Util.MsgE(minmsg);
|
||||
//if (IsAdmin == false) return;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// return;
|
||||
@@ -261,7 +330,7 @@ namespace FPJ0000.OtConfirm
|
||||
{
|
||||
var db = new EEEntities();
|
||||
string chkdt = tbSD.Value.ToShortDateString();
|
||||
var existdb = db.EETGW_HolydayRequest.Where(t => t.gcode == FCOMMON.info.Login.gcode && t.uid == uid.ToString() && t.sdate == chkdt).Any();
|
||||
var existdb = db.EETGW_HolydayRequest.Where(t => t.gcode == FCOMMON.info.Login.gcode && t.cate == cate && t.uid == uid.ToString() && t.sdate == chkdt).Any();
|
||||
if (existdb)
|
||||
{
|
||||
FCOMMON.Util.MsgE("동일 날짜에 등록된 자료가 있습니다");
|
||||
@@ -315,6 +384,9 @@ namespace FPJ0000.OtConfirm
|
||||
dr.edate = tbED.Value.ToShortDateString();
|
||||
dr.sendmail = chkSendMail.Checked; //220104
|
||||
|
||||
dr.stime = textBox1.Text.Trim();
|
||||
dr.etime = textBox2.Text.Trim();
|
||||
|
||||
dr.HolyDays = vDay;
|
||||
dr.HolyTimes = vTime;//
|
||||
|
||||
@@ -382,8 +454,14 @@ namespace FPJ0000.OtConfirm
|
||||
tbDays.BackColor = Color.DimGray;
|
||||
tbTimes.BackColor = Color.Gold;
|
||||
groupBox1.Text = "사용시간";
|
||||
radTime.BackColor = Color.Lime;
|
||||
radDay.BackColor = SystemColors.Control;
|
||||
radOut.BackColor = SystemColors.Control;
|
||||
groupBox1.Enabled = true;
|
||||
textBox1.Enabled = false;
|
||||
textBox2.Enabled = textBox1.Enabled;
|
||||
}
|
||||
else
|
||||
else if (radDay.Checked)
|
||||
{
|
||||
tbCate.Enabled = true;
|
||||
tbDays.Enabled = true;
|
||||
@@ -391,7 +469,24 @@ namespace FPJ0000.OtConfirm
|
||||
tbTimes.BackColor = Color.DimGray;
|
||||
tbDays.BackColor = Color.Gold;
|
||||
groupBox1.Text = "사용일";
|
||||
radDay.BackColor = Color.Lime;
|
||||
radTime.BackColor = SystemColors.Control;
|
||||
radOut.BackColor = SystemColors.Control;
|
||||
groupBox1.Enabled = true;
|
||||
textBox1.Enabled = false;
|
||||
textBox2.Enabled = textBox1.Enabled;
|
||||
}
|
||||
else if (radOut.Checked)
|
||||
{
|
||||
radOut.BackColor = Color.Lime;
|
||||
radTime.BackColor = SystemColors.Control;
|
||||
radDay.BackColor = SystemColors.Control;
|
||||
textBox1.Enabled = radOut.Checked;
|
||||
if (dr.RowState == DataRowState.Detached) textBox2.Enabled = false;
|
||||
else textBox2.Enabled = true;
|
||||
groupBox1.Enabled = !textBox1.Enabled;
|
||||
}
|
||||
|
||||
if (binit)
|
||||
UpdateStatus();
|
||||
}
|
||||
@@ -435,5 +530,10 @@ namespace FPJ0000.OtConfirm
|
||||
if (holydata.Any())
|
||||
updateuserinfo = uid; //업데이트한 사용자 id 기록
|
||||
}
|
||||
|
||||
private void radioButton1_CheckedChanged_1(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -123,9 +123,6 @@
|
||||
<metadata name="dSKuntae.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="dSKuntae.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>186, 17</value>
|
||||
</metadata>
|
||||
|
||||
109
SubProject/FPJ0000/OtConfirm/fOutCoomplete.Designer.cs
generated
Normal file
109
SubProject/FPJ0000/OtConfirm/fOutCoomplete.Designer.cs
generated
Normal file
@@ -0,0 +1,109 @@
|
||||
|
||||
namespace FPJ0000.OtConfirm
|
||||
{
|
||||
partial class fOutCoomplete
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.dtSD = new System.Windows.Forms.DateTimePicker();
|
||||
this.dtED = new System.Windows.Forms.DateTimePicker();
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(26, 23);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(197, 54);
|
||||
this.label1.TabIndex = 0;
|
||||
this.label1.Text = "외출 시작";
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(26, 100);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(197, 54);
|
||||
this.label2.TabIndex = 0;
|
||||
this.label2.Text = "외출 종료";
|
||||
//
|
||||
// dtSD
|
||||
//
|
||||
this.dtSD.Format = System.Windows.Forms.DateTimePickerFormat.Time;
|
||||
this.dtSD.Location = new System.Drawing.Point(239, 23);
|
||||
this.dtSD.Name = "dtSD";
|
||||
this.dtSD.Size = new System.Drawing.Size(328, 61);
|
||||
this.dtSD.TabIndex = 1;
|
||||
//
|
||||
// dtED
|
||||
//
|
||||
this.dtED.Format = System.Windows.Forms.DateTimePickerFormat.Time;
|
||||
this.dtED.Location = new System.Drawing.Point(239, 100);
|
||||
this.dtED.Name = "dtED";
|
||||
this.dtED.Size = new System.Drawing.Size(328, 61);
|
||||
this.dtED.TabIndex = 1;
|
||||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.Location = new System.Drawing.Point(35, 179);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(532, 79);
|
||||
this.button1.TabIndex = 2;
|
||||
this.button1.Text = "완료";
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||
//
|
||||
// fOutCoomplete
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
this.ClientSize = new System.Drawing.Size(595, 275);
|
||||
this.Controls.Add(this.button1);
|
||||
this.Controls.Add(this.dtED);
|
||||
this.Controls.Add(this.dtSD);
|
||||
this.Controls.Add(this.label2);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Font = new System.Drawing.Font("맑은 고딕", 30F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.Name = "fOutCoomplete";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "외출 종료";
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.Button button1;
|
||||
public System.Windows.Forms.DateTimePicker dtSD;
|
||||
public System.Windows.Forms.DateTimePicker dtED;
|
||||
}
|
||||
}
|
||||
33
SubProject/FPJ0000/OtConfirm/fOutCoomplete.cs
Normal file
33
SubProject/FPJ0000/OtConfirm/fOutCoomplete.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace FPJ0000.OtConfirm
|
||||
{
|
||||
public partial class fOutCoomplete : Form
|
||||
{
|
||||
public fOutCoomplete(DSKuntae.EETGW_HolydayRequestRow dr)
|
||||
{
|
||||
InitializeComponent();
|
||||
var sd = DateTime.Now;
|
||||
var ed = DateTime.Now;
|
||||
this.dtSD.Value = DateTime.Parse(sd.ToShortDateString() + " " + dr.stime + ":00");
|
||||
if (dr.etime.isEmpty() || dr.etime == "00:00")
|
||||
this.dtED.Value = DateTime.Now;
|
||||
else
|
||||
this.dtED.Value = DateTime.Parse(ed.ToShortDateString() + " " + dr.etime + ":00");
|
||||
}
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (FCOMMON.Util.MsgQ("완료 할까요? 관리자 완료 메일이 발송 됩니다") != DialogResult.Yes) return;
|
||||
DialogResult = DialogResult.OK;
|
||||
}
|
||||
}
|
||||
}
|
||||
120
SubProject/FPJ0000/OtConfirm/fOutCoomplete.resx
Normal file
120
SubProject/FPJ0000/OtConfirm/fOutCoomplete.resx
Normal file
@@ -0,0 +1,120 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
||||
Reference in New Issue
Block a user