..
This commit is contained in:
639
SubProject/FPJ0000/JobReport_/fJobProcessManager.Designer.cs
generated
Normal file
639
SubProject/FPJ0000/JobReport_/fJobProcessManager.Designer.cs
generated
Normal file
@@ -0,0 +1,639 @@
|
||||
namespace FPJ0000.JobReport_
|
||||
{
|
||||
partial class fJobProcessManager
|
||||
{
|
||||
/// <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.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fJobProcessManager));
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.dsJobReport = new FPJ0000.dsJobReport();
|
||||
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.ta = new FPJ0000.dsJobReportTableAdapters.CommonTableAdapter();
|
||||
this.tam = new FPJ0000.dsJobReportTableAdapters.TableAdapterManager();
|
||||
this.bn = new System.Windows.Forms.BindingNavigator(this.components);
|
||||
this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
|
||||
this.btDelete = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox();
|
||||
this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.btSave = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStripButton1 = new System.Windows.Forms.ToolStripDropDownButton();
|
||||
this.클립보드에서ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.commonDataGridView = new System.Windows.Forms.DataGridView();
|
||||
this.code = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.svalueDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.svalue2DataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.tbFind = new System.Windows.Forms.TextBox();
|
||||
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
||||
this.treeView1 = new System.Windows.Forms.TreeView();
|
||||
this.label8 = new System.Windows.Forms.Label();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.button2 = new System.Windows.Forms.Button();
|
||||
this.groupBox4 = new System.Windows.Forms.GroupBox();
|
||||
this.tbItemA = new System.Windows.Forms.TextBox();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.tbTypeA = new System.Windows.Forms.TextBox();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.tbProcessA = new System.Windows.Forms.TextBox();
|
||||
this.label7 = new System.Windows.Forms.Label();
|
||||
this.btAdd = new System.Windows.Forms.Button();
|
||||
this.groupBox3 = new System.Windows.Forms.GroupBox();
|
||||
this.tbItemE = new System.Windows.Forms.TextBox();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.tbTypeE = new System.Windows.Forms.TextBox();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.btEdit = new System.Windows.Forms.Button();
|
||||
this.tbProcessE = new System.Windows.Forms.TextBox();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsJobReport)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
|
||||
this.bn.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.commonDataGridView)).BeginInit();
|
||||
this.groupBox1.SuspendLayout();
|
||||
this.groupBox2.SuspendLayout();
|
||||
this.panel1.SuspendLayout();
|
||||
this.groupBox4.SuspendLayout();
|
||||
this.groupBox3.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// dsJobReport
|
||||
//
|
||||
this.dsJobReport.DataSetName = "dsJobReport";
|
||||
this.dsJobReport.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
||||
//
|
||||
// bs
|
||||
//
|
||||
this.bs.DataMember = "Common";
|
||||
this.bs.DataSource = this.dsJobReport;
|
||||
this.bs.Sort = "svalue2,svalue,memo";
|
||||
//
|
||||
// ta
|
||||
//
|
||||
this.ta.ClearBeforeFill = true;
|
||||
//
|
||||
// tam
|
||||
//
|
||||
this.tam.BackupDataSetBeforeUpdate = false;
|
||||
this.tam.CommonTableAdapter = this.ta;
|
||||
this.tam.UpdateOrder = FPJ0000.dsJobReportTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
|
||||
//
|
||||
// bn
|
||||
//
|
||||
this.bn.AddNewItem = null;
|
||||
this.bn.BindingSource = this.bs;
|
||||
this.bn.CountItem = this.bindingNavigatorCountItem;
|
||||
this.bn.DeleteItem = this.btDelete;
|
||||
this.bn.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.bindingNavigatorMoveFirstItem,
|
||||
this.bindingNavigatorMovePreviousItem,
|
||||
this.bindingNavigatorSeparator,
|
||||
this.bindingNavigatorPositionItem,
|
||||
this.bindingNavigatorCountItem,
|
||||
this.bindingNavigatorSeparator1,
|
||||
this.bindingNavigatorMoveNextItem,
|
||||
this.bindingNavigatorMoveLastItem,
|
||||
this.bindingNavigatorSeparator2,
|
||||
this.btDelete,
|
||||
this.btSave,
|
||||
this.toolStripButton1});
|
||||
this.bn.Location = new System.Drawing.Point(10, 706);
|
||||
this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
|
||||
this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem;
|
||||
this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem;
|
||||
this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
|
||||
this.bn.Name = "bn";
|
||||
this.bn.PositionItem = this.bindingNavigatorPositionItem;
|
||||
this.bn.Size = new System.Drawing.Size(556, 25);
|
||||
this.bn.TabIndex = 0;
|
||||
this.bn.Text = "bindingNavigator1";
|
||||
//
|
||||
// bindingNavigatorCountItem
|
||||
//
|
||||
this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
|
||||
this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22);
|
||||
this.bindingNavigatorCountItem.Text = "/{0}";
|
||||
this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수";
|
||||
//
|
||||
// btDelete
|
||||
//
|
||||
this.btDelete.Image = ((System.Drawing.Image)(resources.GetObject("btDelete.Image")));
|
||||
this.btDelete.Name = "btDelete";
|
||||
this.btDelete.RightToLeftAutoMirrorImage = true;
|
||||
this.btDelete.Size = new System.Drawing.Size(51, 22);
|
||||
this.btDelete.Text = "삭제";
|
||||
this.btDelete.Click += new System.EventHandler(this.btDelete_Click);
|
||||
//
|
||||
// bindingNavigatorMoveFirstItem
|
||||
//
|
||||
this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image")));
|
||||
this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
|
||||
this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동";
|
||||
//
|
||||
// bindingNavigatorMovePreviousItem
|
||||
//
|
||||
this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image")));
|
||||
this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
|
||||
this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동";
|
||||
//
|
||||
// bindingNavigatorSeparator
|
||||
//
|
||||
this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
|
||||
this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// bindingNavigatorPositionItem
|
||||
//
|
||||
this.bindingNavigatorPositionItem.AccessibleName = "위치";
|
||||
this.bindingNavigatorPositionItem.AutoSize = false;
|
||||
this.bindingNavigatorPositionItem.Font = new System.Drawing.Font("맑은 고딕", 9F);
|
||||
this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
|
||||
this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
|
||||
this.bindingNavigatorPositionItem.Text = "0";
|
||||
this.bindingNavigatorPositionItem.ToolTipText = "현재 위치";
|
||||
//
|
||||
// bindingNavigatorSeparator1
|
||||
//
|
||||
this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1";
|
||||
this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// bindingNavigatorMoveNextItem
|
||||
//
|
||||
this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image")));
|
||||
this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
|
||||
this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMoveNextItem.Text = "다음으로 이동";
|
||||
//
|
||||
// bindingNavigatorMoveLastItem
|
||||
//
|
||||
this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image")));
|
||||
this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
|
||||
this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동";
|
||||
//
|
||||
// bindingNavigatorSeparator2
|
||||
//
|
||||
this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
|
||||
this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// btSave
|
||||
//
|
||||
this.btSave.Image = ((System.Drawing.Image)(resources.GetObject("btSave.Image")));
|
||||
this.btSave.Name = "btSave";
|
||||
this.btSave.Size = new System.Drawing.Size(51, 22);
|
||||
this.btSave.Text = "저장";
|
||||
this.btSave.Click += new System.EventHandler(this.commonBindingNavigatorSaveItem_Click);
|
||||
//
|
||||
// toolStripButton1
|
||||
//
|
||||
this.toolStripButton1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.클립보드에서ToolStripMenuItem});
|
||||
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(84, 22);
|
||||
this.toolStripButton1.Text = "가져오기";
|
||||
//
|
||||
// 클립보드에서ToolStripMenuItem
|
||||
//
|
||||
this.클립보드에서ToolStripMenuItem.Name = "클립보드에서ToolStripMenuItem";
|
||||
this.클립보드에서ToolStripMenuItem.Size = new System.Drawing.Size(146, 22);
|
||||
this.클립보드에서ToolStripMenuItem.Text = "클립보드에서";
|
||||
this.클립보드에서ToolStripMenuItem.Click += new System.EventHandler(this.클립보드에서ToolStripMenuItem_Click);
|
||||
//
|
||||
// commonDataGridView
|
||||
//
|
||||
this.commonDataGridView.AutoGenerateColumns = false;
|
||||
this.commonDataGridView.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.commonDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.commonDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.code,
|
||||
this.svalueDataGridViewTextBoxColumn,
|
||||
this.svalue2DataGridViewTextBoxColumn});
|
||||
this.commonDataGridView.DataSource = this.bs;
|
||||
this.commonDataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.commonDataGridView.Location = new System.Drawing.Point(10, 45);
|
||||
this.commonDataGridView.Name = "commonDataGridView";
|
||||
this.commonDataGridView.RowTemplate.Height = 23;
|
||||
this.commonDataGridView.Size = new System.Drawing.Size(556, 629);
|
||||
this.commonDataGridView.TabIndex = 2;
|
||||
//
|
||||
// code
|
||||
//
|
||||
this.code.DataPropertyName = "memo";
|
||||
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
||||
this.code.DefaultCellStyle = dataGridViewCellStyle1;
|
||||
this.code.HeaderText = "형태";
|
||||
this.code.Name = "code";
|
||||
//
|
||||
// svalueDataGridViewTextBoxColumn
|
||||
//
|
||||
this.svalueDataGridViewTextBoxColumn.DataPropertyName = "svalue";
|
||||
this.svalueDataGridViewTextBoxColumn.HeaderText = "분류";
|
||||
this.svalueDataGridViewTextBoxColumn.Name = "svalueDataGridViewTextBoxColumn";
|
||||
//
|
||||
// svalue2DataGridViewTextBoxColumn
|
||||
//
|
||||
this.svalue2DataGridViewTextBoxColumn.DataPropertyName = "svalue2";
|
||||
this.svalue2DataGridViewTextBoxColumn.HeaderText = "프로세스";
|
||||
this.svalue2DataGridViewTextBoxColumn.Name = "svalue2DataGridViewTextBoxColumn";
|
||||
//
|
||||
// groupBox1
|
||||
//
|
||||
this.groupBox1.Controls.Add(this.commonDataGridView);
|
||||
this.groupBox1.Controls.Add(this.label1);
|
||||
this.groupBox1.Controls.Add(this.tbFind);
|
||||
this.groupBox1.Controls.Add(this.bn);
|
||||
this.groupBox1.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.groupBox1.Location = new System.Drawing.Point(598, 10);
|
||||
this.groupBox1.Name = "groupBox1";
|
||||
this.groupBox1.Padding = new System.Windows.Forms.Padding(10, 3, 10, 10);
|
||||
this.groupBox1.Size = new System.Drawing.Size(576, 741);
|
||||
this.groupBox1.TabIndex = 3;
|
||||
this.groupBox1.TabStop = false;
|
||||
this.groupBox1.Text = "전체 목록";
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.BackColor = System.Drawing.Color.Gold;
|
||||
this.label1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.label1.Location = new System.Drawing.Point(10, 17);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(556, 28);
|
||||
this.label1.TabIndex = 4;
|
||||
this.label1.Text = "일반사용자는 [형태] 항목의 데이터를 선택 합니다";
|
||||
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// tbFind
|
||||
//
|
||||
this.tbFind.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.tbFind.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.tbFind.Font = new System.Drawing.Font("굴림", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.tbFind.Location = new System.Drawing.Point(10, 674);
|
||||
this.tbFind.Name = "tbFind";
|
||||
this.tbFind.Size = new System.Drawing.Size(556, 32);
|
||||
this.tbFind.TabIndex = 3;
|
||||
this.tbFind.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
this.tbFind.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbFind_KeyDown);
|
||||
//
|
||||
// groupBox2
|
||||
//
|
||||
this.groupBox2.Controls.Add(this.treeView1);
|
||||
this.groupBox2.Controls.Add(this.label8);
|
||||
this.groupBox2.Controls.Add(this.panel1);
|
||||
this.groupBox2.Controls.Add(this.button1);
|
||||
this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.groupBox2.Location = new System.Drawing.Point(10, 10);
|
||||
this.groupBox2.Name = "groupBox2";
|
||||
this.groupBox2.Padding = new System.Windows.Forms.Padding(10, 3, 10, 10);
|
||||
this.groupBox2.Size = new System.Drawing.Size(588, 741);
|
||||
this.groupBox2.TabIndex = 4;
|
||||
this.groupBox2.TabStop = false;
|
||||
this.groupBox2.Text = "Tree view ( 프로세스 / 분류 / 형태)";
|
||||
this.groupBox2.Enter += new System.EventHandler(this.groupBox2_Enter);
|
||||
//
|
||||
// treeView1
|
||||
//
|
||||
this.treeView1.AllowDrop = true;
|
||||
this.treeView1.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.treeView1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.treeView1.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.treeView1.Location = new System.Drawing.Point(10, 74);
|
||||
this.treeView1.Name = "treeView1";
|
||||
this.treeView1.ShowNodeToolTips = true;
|
||||
this.treeView1.Size = new System.Drawing.Size(568, 493);
|
||||
this.treeView1.TabIndex = 0;
|
||||
this.treeView1.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tv_AfterSelect);
|
||||
this.treeView1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.treeView1_KeyDown);
|
||||
//
|
||||
// label8
|
||||
//
|
||||
this.label8.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.label8.Location = new System.Drawing.Point(10, 55);
|
||||
this.label8.Name = "label8";
|
||||
this.label8.Size = new System.Drawing.Size(568, 19);
|
||||
this.label8.TabIndex = 4;
|
||||
this.label8.Text = "Path://";
|
||||
this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Controls.Add(this.button2);
|
||||
this.panel1.Controls.Add(this.groupBox4);
|
||||
this.panel1.Controls.Add(this.groupBox3);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.panel1.Location = new System.Drawing.Point(10, 567);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Padding = new System.Windows.Forms.Padding(0, 10, 0, 5);
|
||||
this.panel1.Size = new System.Drawing.Size(568, 164);
|
||||
this.panel1.TabIndex = 3;
|
||||
//
|
||||
// button2
|
||||
//
|
||||
this.button2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.button2.Location = new System.Drawing.Point(261, 10);
|
||||
this.button2.Name = "button2";
|
||||
this.button2.Size = new System.Drawing.Size(46, 149);
|
||||
this.button2.TabIndex = 3;
|
||||
this.button2.Text = "선택\r\n노드\r\n삭제";
|
||||
this.button2.UseVisualStyleBackColor = true;
|
||||
this.button2.Click += new System.EventHandler(this.button2_Click_1);
|
||||
//
|
||||
// groupBox4
|
||||
//
|
||||
this.groupBox4.Controls.Add(this.tbItemA);
|
||||
this.groupBox4.Controls.Add(this.label5);
|
||||
this.groupBox4.Controls.Add(this.tbTypeA);
|
||||
this.groupBox4.Controls.Add(this.label6);
|
||||
this.groupBox4.Controls.Add(this.tbProcessA);
|
||||
this.groupBox4.Controls.Add(this.label7);
|
||||
this.groupBox4.Controls.Add(this.btAdd);
|
||||
this.groupBox4.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.groupBox4.Location = new System.Drawing.Point(307, 10);
|
||||
this.groupBox4.Name = "groupBox4";
|
||||
this.groupBox4.Padding = new System.Windows.Forms.Padding(10, 3, 10, 3);
|
||||
this.groupBox4.Size = new System.Drawing.Size(261, 149);
|
||||
this.groupBox4.TabIndex = 2;
|
||||
this.groupBox4.TabStop = false;
|
||||
this.groupBox4.Text = "신규 추가";
|
||||
//
|
||||
// tbItemA
|
||||
//
|
||||
this.tbItemA.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
||||
this.tbItemA.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.tbItemA.Location = new System.Drawing.Point(74, 80);
|
||||
this.tbItemA.Name = "tbItemA";
|
||||
this.tbItemA.Size = new System.Drawing.Size(170, 22);
|
||||
this.tbItemA.TabIndex = 12;
|
||||
this.tbItemA.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbItemA_KeyDown);
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.Location = new System.Drawing.Point(40, 86);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(29, 12);
|
||||
this.label5.TabIndex = 11;
|
||||
this.label5.Text = "형태";
|
||||
//
|
||||
// tbTypeA
|
||||
//
|
||||
this.tbTypeA.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.tbTypeA.Location = new System.Drawing.Point(74, 52);
|
||||
this.tbTypeA.Name = "tbTypeA";
|
||||
this.tbTypeA.Size = new System.Drawing.Size(170, 22);
|
||||
this.tbTypeA.TabIndex = 10;
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.Location = new System.Drawing.Point(40, 58);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(29, 12);
|
||||
this.label6.TabIndex = 9;
|
||||
this.label6.Text = "분류";
|
||||
//
|
||||
// tbProcessA
|
||||
//
|
||||
this.tbProcessA.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.tbProcessA.Location = new System.Drawing.Point(74, 24);
|
||||
this.tbProcessA.Name = "tbProcessA";
|
||||
this.tbProcessA.Size = new System.Drawing.Size(170, 22);
|
||||
this.tbProcessA.TabIndex = 8;
|
||||
//
|
||||
// label7
|
||||
//
|
||||
this.label7.AutoSize = true;
|
||||
this.label7.Location = new System.Drawing.Point(16, 30);
|
||||
this.label7.Name = "label7";
|
||||
this.label7.Size = new System.Drawing.Size(53, 12);
|
||||
this.label7.TabIndex = 7;
|
||||
this.label7.Text = "프로세스";
|
||||
//
|
||||
// btAdd
|
||||
//
|
||||
this.btAdd.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.btAdd.Location = new System.Drawing.Point(10, 108);
|
||||
this.btAdd.Name = "btAdd";
|
||||
this.btAdd.Size = new System.Drawing.Size(241, 38);
|
||||
this.btAdd.TabIndex = 2;
|
||||
this.btAdd.Text = "추가";
|
||||
this.btAdd.UseVisualStyleBackColor = true;
|
||||
this.btAdd.Click += new System.EventHandler(this.button3_Click);
|
||||
//
|
||||
// groupBox3
|
||||
//
|
||||
this.groupBox3.Controls.Add(this.tbItemE);
|
||||
this.groupBox3.Controls.Add(this.label4);
|
||||
this.groupBox3.Controls.Add(this.tbTypeE);
|
||||
this.groupBox3.Controls.Add(this.label3);
|
||||
this.groupBox3.Controls.Add(this.btEdit);
|
||||
this.groupBox3.Controls.Add(this.tbProcessE);
|
||||
this.groupBox3.Controls.Add(this.label2);
|
||||
this.groupBox3.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.groupBox3.Location = new System.Drawing.Point(0, 10);
|
||||
this.groupBox3.Name = "groupBox3";
|
||||
this.groupBox3.Padding = new System.Windows.Forms.Padding(10, 3, 10, 3);
|
||||
this.groupBox3.Size = new System.Drawing.Size(261, 149);
|
||||
this.groupBox3.TabIndex = 2;
|
||||
this.groupBox3.TabStop = false;
|
||||
this.groupBox3.Text = "선택자료 편집";
|
||||
//
|
||||
// tbItemE
|
||||
//
|
||||
this.tbItemE.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
||||
this.tbItemE.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.tbItemE.Location = new System.Drawing.Point(84, 80);
|
||||
this.tbItemE.Name = "tbItemE";
|
||||
this.tbItemE.Size = new System.Drawing.Size(170, 22);
|
||||
this.tbItemE.TabIndex = 6;
|
||||
this.tbItemE.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbItemE_KeyDown);
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Location = new System.Drawing.Point(50, 86);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(29, 12);
|
||||
this.label4.TabIndex = 5;
|
||||
this.label4.Text = "형태";
|
||||
//
|
||||
// tbTypeE
|
||||
//
|
||||
this.tbTypeE.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.tbTypeE.Location = new System.Drawing.Point(84, 52);
|
||||
this.tbTypeE.Name = "tbTypeE";
|
||||
this.tbTypeE.Size = new System.Drawing.Size(170, 22);
|
||||
this.tbTypeE.TabIndex = 4;
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(50, 58);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(29, 12);
|
||||
this.label3.TabIndex = 3;
|
||||
this.label3.Text = "분류";
|
||||
//
|
||||
// btEdit
|
||||
//
|
||||
this.btEdit.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.btEdit.Location = new System.Drawing.Point(10, 108);
|
||||
this.btEdit.Name = "btEdit";
|
||||
this.btEdit.Size = new System.Drawing.Size(241, 38);
|
||||
this.btEdit.TabIndex = 2;
|
||||
this.btEdit.Text = "편집";
|
||||
this.btEdit.UseVisualStyleBackColor = true;
|
||||
this.btEdit.Click += new System.EventHandler(this.button2_Click);
|
||||
//
|
||||
// tbProcessE
|
||||
//
|
||||
this.tbProcessE.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.tbProcessE.Location = new System.Drawing.Point(84, 24);
|
||||
this.tbProcessE.Name = "tbProcessE";
|
||||
this.tbProcessE.Size = new System.Drawing.Size(170, 22);
|
||||
this.tbProcessE.TabIndex = 1;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(26, 30);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(53, 12);
|
||||
this.label2.TabIndex = 0;
|
||||
this.label2.Text = "프로세스";
|
||||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.button1.Location = new System.Drawing.Point(10, 17);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(568, 38);
|
||||
this.button1.TabIndex = 1;
|
||||
this.button1.Text = "새로고침";
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||
//
|
||||
// fJobProcessManager
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1184, 761);
|
||||
this.Controls.Add(this.groupBox2);
|
||||
this.Controls.Add(this.groupBox1);
|
||||
this.Name = "fJobProcessManager";
|
||||
this.Padding = new System.Windows.Forms.Padding(10);
|
||||
this.Text = "작업형태 선택";
|
||||
this.Load += new System.EventHandler(this.fJobProcessManager_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsJobReport)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit();
|
||||
this.bn.ResumeLayout(false);
|
||||
this.bn.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.commonDataGridView)).EndInit();
|
||||
this.groupBox1.ResumeLayout(false);
|
||||
this.groupBox1.PerformLayout();
|
||||
this.groupBox2.ResumeLayout(false);
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.groupBox4.ResumeLayout(false);
|
||||
this.groupBox4.PerformLayout();
|
||||
this.groupBox3.ResumeLayout(false);
|
||||
this.groupBox3.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private dsJobReport dsJobReport;
|
||||
private System.Windows.Forms.BindingSource bs;
|
||||
private dsJobReportTableAdapters.CommonTableAdapter ta;
|
||||
private dsJobReportTableAdapters.TableAdapterManager tam;
|
||||
private System.Windows.Forms.BindingNavigator bn;
|
||||
private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem;
|
||||
private System.Windows.Forms.ToolStripButton btDelete;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator;
|
||||
private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2;
|
||||
private System.Windows.Forms.ToolStripButton btSave;
|
||||
private System.Windows.Forms.DataGridView commonDataGridView;
|
||||
private System.Windows.Forms.GroupBox groupBox1;
|
||||
private System.Windows.Forms.TextBox tbFind;
|
||||
private System.Windows.Forms.GroupBox groupBox2;
|
||||
private System.Windows.Forms.TreeView treeView1;
|
||||
private System.Windows.Forms.Button button1;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn code;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn svalueDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn svalue2DataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.GroupBox groupBox3;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.GroupBox groupBox4;
|
||||
private System.Windows.Forms.Button btAdd;
|
||||
private System.Windows.Forms.Button btEdit;
|
||||
private System.Windows.Forms.TextBox tbProcessE;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.TextBox tbItemE;
|
||||
private System.Windows.Forms.Label label4;
|
||||
private System.Windows.Forms.TextBox tbTypeE;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.TextBox tbItemA;
|
||||
private System.Windows.Forms.Label label5;
|
||||
private System.Windows.Forms.TextBox tbTypeA;
|
||||
private System.Windows.Forms.Label label6;
|
||||
private System.Windows.Forms.TextBox tbProcessA;
|
||||
private System.Windows.Forms.Label label7;
|
||||
private System.Windows.Forms.Button button2;
|
||||
private System.Windows.Forms.ToolStripDropDownButton toolStripButton1;
|
||||
private System.Windows.Forms.ToolStripMenuItem 클립보드에서ToolStripMenuItem;
|
||||
private System.Windows.Forms.Label label8;
|
||||
}
|
||||
}
|
||||
668
SubProject/FPJ0000/JobReport_/fJobProcessManager.cs
Normal file
668
SubProject/FPJ0000/JobReport_/fJobProcessManager.cs
Normal file
@@ -0,0 +1,668 @@
|
||||
using AR;
|
||||
using FarPoint.CalcEngine;
|
||||
using FarPoint.Excel;
|
||||
using FarPoint.Excel.EntityClassLibrary.DrawingEx;
|
||||
using NetOffice.OfficeApi.Enums;
|
||||
using NetOffice.OutlookApi;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Data.Entity.Core.Mapping;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Security.Cryptography.X509Certificates;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace FPJ0000.JobReport_
|
||||
{
|
||||
public partial class fJobProcessManager : Form
|
||||
{
|
||||
string GroupCode = "15";
|
||||
public fJobProcessManager()
|
||||
{
|
||||
InitializeComponent();
|
||||
this.dsJobReport.Common.TableNewRow += Common_TableNewRow;
|
||||
this.FormClosing += FJobProcessManager_FormClosing;
|
||||
|
||||
// 이벤트 핸들러 연결
|
||||
treeView1.ItemDrag += TreeView1_ItemDrag;
|
||||
treeView1.DragEnter += TreeView1_DragEnter;
|
||||
treeView1.DragDrop += TreeView1_DragDrop;
|
||||
|
||||
}
|
||||
|
||||
private void TreeView1_ItemDrag(object sender, ItemDragEventArgs e)
|
||||
{
|
||||
// Ctrl 키가 눌린 상태면 복사, 아니면 이동
|
||||
DragDropEffects effect = (ModifierKeys == Keys.Control) ?
|
||||
DragDropEffects.Copy : DragDropEffects.Move;
|
||||
DoDragDrop(e.Item, effect);
|
||||
}
|
||||
|
||||
private void TreeView1_DragEnter(object sender, DragEventArgs e)
|
||||
{
|
||||
// 드래그한 항목이 TreeNode인 경우에만 허용
|
||||
if (e.Data.GetDataPresent(typeof(TreeNode)))
|
||||
{
|
||||
// Ctrl 키가 눌린 상태면 복사 효과 표시
|
||||
e.Effect = (ModifierKeys == Keys.Control) ?
|
||||
DragDropEffects.Copy : DragDropEffects.Move;
|
||||
}
|
||||
else
|
||||
{
|
||||
e.Effect = DragDropEffects.None;
|
||||
}
|
||||
}
|
||||
|
||||
private void TreeView1_DragDrop(object sender, DragEventArgs e)
|
||||
{
|
||||
// 드롭된 위치의 노드 찾기
|
||||
Point pt = treeView1.PointToClient(new Point(e.X, e.Y));
|
||||
TreeNode destinationNode = treeView1.GetNodeAt(pt);
|
||||
TreeNode draggedNode = (TreeNode)e.Data.GetData(typeof(TreeNode));
|
||||
|
||||
// 자기 자신이나 자식 노드로는 이동할 수 없음
|
||||
if (destinationNode == null || draggedNode == destinationNode ||
|
||||
IsChildNode(draggedNode, destinationNode))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
var dr = draggedNode.Tag as dsJobReport.CommonRow;
|
||||
|
||||
if (e.Effect == DragDropEffects.Move) //이동한다면 기존 데이터는 삭제한다
|
||||
{
|
||||
draggedNode.Remove();
|
||||
}
|
||||
|
||||
var inseritem = e.Effect == DragDropEffects.Copy;
|
||||
|
||||
if (draggedNode.Level == 1) //분류를 움직이고 있다
|
||||
{
|
||||
if (destinationNode.Level == 2)
|
||||
{
|
||||
var idx = destinationNode.Parent.Parent.Nodes.Add((TreeNode)draggedNode.Clone());
|
||||
var cnd = destinationNode.Parent.Parent.Nodes[idx];
|
||||
UpdateParentInfo(cnd, inseritem);
|
||||
}
|
||||
else if (destinationNode.Level == 1)
|
||||
{
|
||||
var idx = destinationNode.Parent.Nodes.Add((TreeNode)draggedNode.Clone());
|
||||
var cnd = destinationNode.Parent.Nodes[idx];
|
||||
UpdateParentInfo(cnd, inseritem);
|
||||
}
|
||||
else
|
||||
{
|
||||
var idx = destinationNode.Nodes.Add((TreeNode)draggedNode.Clone());
|
||||
var cnd = destinationNode.Nodes[idx];
|
||||
UpdateParentInfo(cnd, inseritem);
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{ // 노드 이동
|
||||
|
||||
if (destinationNode.Level > 1)
|
||||
{
|
||||
var idx = destinationNode.Parent.Nodes.Add((TreeNode)draggedNode.Clone());
|
||||
var cnd = destinationNode.Parent.Nodes[idx];
|
||||
UpdateParentInfo(cnd, inseritem);
|
||||
}
|
||||
else
|
||||
{
|
||||
var idx = destinationNode.Nodes.Add((TreeNode)draggedNode.Clone());
|
||||
var cnd = destinationNode.Nodes[idx];
|
||||
UpdateParentInfo(cnd, inseritem);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
void UpdateParentInfo(TreeNode cnd, bool newitem)
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
if (cnd.Level == 2) //최하위
|
||||
{
|
||||
var grp = cnd.Parent.Text;
|
||||
var prc = cnd.Parent.Parent.Text;
|
||||
|
||||
//신규로추가를 해준다
|
||||
if (newitem)
|
||||
{
|
||||
dsJobReport.CommonRow ndr = this.dsJobReport.Common.NewCommonRow();
|
||||
ndr.svalue2 = prc;
|
||||
ndr.svalue = grp;
|
||||
ndr.memo = cnd.Text;
|
||||
ndr.wuid = FCOMMON.info.Login.no;
|
||||
ndr.wdate = DateTime.Now;
|
||||
ndr.grp = this.GroupCode;
|
||||
ndr.code = makenewcode();
|
||||
this.dsJobReport.Common.AddCommonRow(ndr);
|
||||
cnd.Tag = ndr;
|
||||
}
|
||||
else
|
||||
{
|
||||
//기존정보를 업데이트한다
|
||||
var dr = cnd.Tag as dsJobReport.CommonRow;
|
||||
dr.svalue = grp;
|
||||
dr.svalue2 = prc;
|
||||
dr.EndEdit();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
else if (cnd.Level == 1) //분류(하위항목업데이트필요)
|
||||
{
|
||||
var prc = cnd.Parent.Text;
|
||||
foreach (TreeNode nd in cnd.Nodes)
|
||||
{
|
||||
|
||||
//신규로추가를 해준다
|
||||
if (newitem)
|
||||
{
|
||||
dsJobReport.CommonRow ndr = this.dsJobReport.Common.NewCommonRow();
|
||||
ndr.svalue2 = prc;
|
||||
ndr.svalue = cnd.Text;
|
||||
ndr.memo = nd.Text;
|
||||
ndr.wuid = FCOMMON.info.Login.no;
|
||||
ndr.wdate = DateTime.Now;
|
||||
ndr.grp = this.GroupCode;
|
||||
ndr.code = makenewcode();
|
||||
this.dsJobReport.Common.AddCommonRow(ndr);
|
||||
nd.Tag = cnd;
|
||||
}
|
||||
else
|
||||
{
|
||||
var dr = nd.Tag as dsJobReport.CommonRow;
|
||||
dr.svalue2 = prc;
|
||||
dr.EndEdit();
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (cnd.Level == 0) //프로세스(하위항모업데이트필요)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
private bool IsChildNode(TreeNode parent, TreeNode node)
|
||||
{
|
||||
// 대상 노드가 현재 노드의 자식인지 확인
|
||||
if (node.Parent == null) return false;
|
||||
if (node.Parent == parent) return true;
|
||||
return IsChildNode(parent, node.Parent);
|
||||
}
|
||||
|
||||
private void FJobProcessManager_FormClosing(object sender, FormClosingEventArgs e)
|
||||
{
|
||||
if (haschanged() == true)
|
||||
{
|
||||
var dlg = UTIL.MsgQ("변경된 내용이 있습니다 그래도 화면을 닫을까요?");
|
||||
if (dlg != DialogResult.Yes)
|
||||
{
|
||||
e.Cancel = true;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
bool haschanged()
|
||||
{
|
||||
var dt = this.dsJobReport.Common.GetChanges();
|
||||
if (dt == null) return false;
|
||||
if (dt.Rows.Count < 1) return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
private void Common_TableNewRow(object sender, DataTableNewRowEventArgs e)
|
||||
{
|
||||
e.Row["wdate"] = DateTime.Now;
|
||||
e.Row["wuid"] = FCOMMON.info.Login.no;
|
||||
e.Row["gcode"] = FCOMMON.info.Login.gcode;
|
||||
e.Row["grp"] = this.GroupCode;
|
||||
}
|
||||
|
||||
private void commonBindingNavigatorSaveItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Validate();
|
||||
this.bs.EndEdit();
|
||||
|
||||
if (this.haschanged() == false)
|
||||
{
|
||||
UTIL.MsgI("변경된 내용이 없습니다");
|
||||
return;
|
||||
}
|
||||
try
|
||||
{
|
||||
var cnt = this.tam.UpdateAll(this.dsJobReport);
|
||||
AR.UTIL.MsgI($"{cnt}건의 자료가 업데이트 되었습니다");
|
||||
RefreshTreeview();
|
||||
}
|
||||
catch (System.Exception ex)
|
||||
{
|
||||
UTIL.MsgE(ex.Message);
|
||||
}
|
||||
}
|
||||
|
||||
private void RefreshData()
|
||||
{
|
||||
try
|
||||
{
|
||||
this.ta.Fill(this.dsJobReport.Common, FCOMMON.info.Login.gcode, GroupCode);
|
||||
this.commonDataGridView.AutoResizeColumns();
|
||||
}
|
||||
catch (System.Exception ex)
|
||||
{
|
||||
AR.UTIL.MsgE(ex.Message);
|
||||
}
|
||||
RefreshTreeview();
|
||||
|
||||
}
|
||||
|
||||
private void fJobProcessManager_Load(object sender, EventArgs e)
|
||||
{
|
||||
RefreshData();
|
||||
|
||||
}
|
||||
void RefreshTreeview()
|
||||
{
|
||||
this.treeView1.Nodes.Clear();
|
||||
//dsJobReport.AcceptChanges();
|
||||
var items = this.dsJobReport.Common.Where(t => t.RowState != DataRowState.Detached && t.RowState != DataRowState.Deleted && string.IsNullOrEmpty(t.svalue2));
|
||||
foreach (var item in items)
|
||||
{
|
||||
item.svalue2 = "N/A";
|
||||
item.EndEdit();
|
||||
}
|
||||
|
||||
var grp_process = dsJobReport.Common.OrderBy(t => t.svalue2).GroupBy(t => t.svalue2);
|
||||
foreach (var prc in grp_process)
|
||||
{
|
||||
var prcname = prc.Key;
|
||||
if (prcname.isEmpty()) prcname = "N/A";
|
||||
|
||||
var nd = treeView1.Nodes.Add(prcname, prcname); //add process node
|
||||
var grp_jobtype = prc.OrderBy(t => t.svalue).GroupBy(t => t.svalue);
|
||||
foreach (var grp in grp_jobtype) //job type
|
||||
{
|
||||
var nd2 = nd.Nodes.Add(grp.Key, grp.Key);
|
||||
foreach (var item in grp.OrderBy(t => t.memo))
|
||||
{
|
||||
var nd3 = nd2.Nodes.Add(item.memo, item.memo); //job item
|
||||
if (prcname.Equals("N/A"))
|
||||
nd3.ForeColor = Color.DimGray;
|
||||
else
|
||||
nd3.ForeColor = Color.Black;
|
||||
nd3.Tag = item;
|
||||
}
|
||||
}
|
||||
}
|
||||
treeView1.ExpandAll(); //show all
|
||||
|
||||
groupBox3.Enabled = false;
|
||||
|
||||
}
|
||||
|
||||
private void tbFind_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
var search = tbFind.Text.Trim();
|
||||
if (e.KeyCode == Keys.Enter)
|
||||
{
|
||||
try
|
||||
{
|
||||
var cols = new string[] { "svalue2", "svalue", "memo" };
|
||||
var filterstring = "";
|
||||
foreach (var col in cols)
|
||||
{
|
||||
if (filterstring.Length > 0) filterstring += $" or ";
|
||||
filterstring += $"{col} like '%{search}%'";
|
||||
}
|
||||
if (search.isEmpty())
|
||||
{
|
||||
this.bs.Filter = "";
|
||||
tbFind.BackColor = Color.White;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.bs.Filter = filterstring;
|
||||
tbFind.BackColor = Color.Lime;
|
||||
}
|
||||
}
|
||||
catch (System.Exception ex)
|
||||
{
|
||||
AR.UTIL.MsgE(ex.Message);
|
||||
tbFind.BackColor = Color.HotPink;
|
||||
}
|
||||
tbFind.Focus();
|
||||
tbFind.SelectAll();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void groupBox2_Enter(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
RefreshTreeview();
|
||||
}
|
||||
|
||||
private void button2_Click(object sender, EventArgs e)
|
||||
{
|
||||
//edit
|
||||
var prc = tbProcessE.Text.Trim();
|
||||
var grp = tbTypeE.Text.Trim();
|
||||
var item = tbItemE.Text.Trim();
|
||||
if (item.isEmpty())
|
||||
{
|
||||
UTIL.MsgE("형태는 반드시 입력되어야 합니다");
|
||||
tbItemE.Focus();
|
||||
return;
|
||||
}
|
||||
|
||||
var nd = this.treeView1.SelectedNode;
|
||||
if (nd == null)
|
||||
{
|
||||
UTIL.MsgE("선택된 노드가 없습니다");
|
||||
return;
|
||||
}
|
||||
if (nd.Tag == null)
|
||||
{
|
||||
UTIL.MsgE("선택노드에 정보가 없습니다\n개발자 문의");
|
||||
return;
|
||||
}
|
||||
|
||||
//동일데이터가있는지확인
|
||||
var exist = this.dsJobReport.Common.Where(t => t.RowState != DataRowState.Deleted && t.svalue2.Equals(prc) && t.svalue.Equals(grp) && t.memo.Equals(item)).Any();
|
||||
if (exist)
|
||||
{
|
||||
UTIL.MsgE("동일한 항목이 존재합니다 / 확인 후 다시 진행 하세요");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
var dr = nd.Tag as dsJobReport.CommonRow;
|
||||
if (dr == null) return;
|
||||
|
||||
var changecate = dr.svalue2.Equals(prc) == false || dr.svalue.Equals(grp) == false;
|
||||
|
||||
dr.svalue2 = prc;
|
||||
dr.svalue = grp;
|
||||
dr.memo = item;
|
||||
dr.EndEdit();
|
||||
|
||||
//카테고리가 변경되었다면 위치를 이동시켜야한다
|
||||
nd.Remove(); //선택노드를 삭제한다.
|
||||
AddNode(prc, grp, item, dr);
|
||||
|
||||
|
||||
|
||||
}
|
||||
void AddNode(string prc, string grp, string item, dsJobReport.CommonRow dr)
|
||||
{
|
||||
//프로세스 노드 선택
|
||||
TreeNode tn_prc = null;
|
||||
if (prc.isEmpty()) prc = "N/A";
|
||||
var prc_nodes = this.treeView1.Nodes.Find(prc, false);
|
||||
if (prc_nodes.Any() == false)
|
||||
{
|
||||
tn_prc = treeView1.Nodes.Add(prc, prc); //신규노드추가
|
||||
}
|
||||
else
|
||||
{
|
||||
tn_prc = prc_nodes.First(); //첫번째 노드로 변경
|
||||
}
|
||||
|
||||
//분류노드확인
|
||||
TreeNode tn_type = null;
|
||||
var type_nodes = tn_prc.Nodes.Find(grp, false);
|
||||
if (type_nodes.Any() == false)
|
||||
{
|
||||
tn_type = tn_prc.Nodes.Add(grp, grp); //신규노드추가
|
||||
}
|
||||
else
|
||||
{
|
||||
tn_type = type_nodes.First(); //첫번째 노드로 변경
|
||||
}
|
||||
|
||||
|
||||
//아이템노드확인
|
||||
TreeNode tn_item = null;
|
||||
var item_nodes = tn_type.Nodes.Find(item, false);
|
||||
if (item_nodes.Any() == false)
|
||||
{
|
||||
tn_item = tn_type.Nodes.Add(item, item); //신규노드추가
|
||||
}
|
||||
else
|
||||
{
|
||||
tn_item = item_nodes.First();
|
||||
//동일한 노드이다
|
||||
}
|
||||
|
||||
tn_item.Tag = dr;
|
||||
treeView1.SelectedNode = tn_item;
|
||||
}
|
||||
|
||||
private void button3_Click(object sender, EventArgs e)
|
||||
{
|
||||
//add
|
||||
var prc = tbProcessA.Text.Trim();
|
||||
var grp = tbTypeA.Text.Trim();
|
||||
var item = tbItemA.Text.Trim();
|
||||
if (item.isEmpty())
|
||||
{
|
||||
UTIL.MsgE("형태는 반드시 입력되어야 합니다");
|
||||
tbItemA.Focus();
|
||||
return;
|
||||
}
|
||||
|
||||
//동일데이터가있는지확인
|
||||
var exist = this.dsJobReport.Common.Where(t => t.RowState != DataRowState.Deleted && t.svalue2.Equals(prc) && t.svalue.Equals(grp) && t.memo.Equals(item)).Any();
|
||||
if (exist)
|
||||
{
|
||||
UTIL.MsgE("동일한 항목이 존재합니다 / 확인 후 다시 진행 하세요");
|
||||
tbItemA.Focus();
|
||||
tbItemA.SelectAll();
|
||||
return;
|
||||
}
|
||||
var dr = this.dsJobReport.Common.NewCommonRow();
|
||||
dr.svalue2 = prc;
|
||||
dr.svalue = grp;
|
||||
dr.memo = item;
|
||||
dr.wuid = FCOMMON.info.Login.no;
|
||||
dr.wdate = DateTime.Now;
|
||||
dr.grp = this.GroupCode;
|
||||
dr.code = makenewcode();
|
||||
this.dsJobReport.Common.AddCommonRow(dr);
|
||||
|
||||
AddNode(prc, grp, item, dr);
|
||||
|
||||
tbItemA.Focus();
|
||||
tbItemA.SelectAll();
|
||||
}
|
||||
|
||||
string makenewcode()
|
||||
{
|
||||
string lastcodename = "";
|
||||
var lastcodedr = dsJobReport.Common.OrderByDescending(t => t.code).FirstOrDefault();
|
||||
if (lastcodedr != null) lastcodename = lastcodedr.code;
|
||||
int newnum = 0;
|
||||
int codenameleng = lastcodename.Length;
|
||||
if (codenameleng == 0) codenameleng = 4;
|
||||
|
||||
if (int.TryParse(lastcodename, out int lastcodenum) == false)
|
||||
{
|
||||
//숫자로되어있지 않다
|
||||
newnum = 1;// newnum.PadLeft(codenameleng, '0');
|
||||
}
|
||||
else
|
||||
{
|
||||
//숫자로되어있으니 +1해서 처리한다.
|
||||
newnum = (lastcodenum + 1);
|
||||
|
||||
}
|
||||
var newnumstr = newnum.ToString().PadLeft(codenameleng, '0');
|
||||
|
||||
return newnumstr;
|
||||
}
|
||||
|
||||
private void tv_AfterSelect(object sender, TreeViewEventArgs e)
|
||||
{
|
||||
label8.Text = "Path://";
|
||||
var tn = this.treeView1.SelectedNode;
|
||||
if (tn == null) return;
|
||||
if (tn.Tag == null) return;
|
||||
|
||||
this.label8.Text = tn.FullPath;
|
||||
|
||||
var dr = tn.Tag as dsJobReport.CommonRow;
|
||||
if (dr == null) return;
|
||||
tbProcessE.Text = dr.svalue2;
|
||||
tbTypeE.Text = dr.svalue;
|
||||
tbItemE.Text = dr.memo;
|
||||
|
||||
tbProcessA.Text = dr.svalue2;
|
||||
tbTypeA.Text = dr.svalue;
|
||||
|
||||
groupBox3.Enabled = true;
|
||||
groupBox3.Text = $"선택자료 편집({dr.idx})";
|
||||
|
||||
}
|
||||
|
||||
private void tbItemA_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Enter)
|
||||
btAdd.PerformClick();
|
||||
}
|
||||
|
||||
private void tbItemE_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Enter)
|
||||
btEdit.PerformClick();
|
||||
}
|
||||
|
||||
private void 클립보드에서ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
UTIL.MsgI("목록화면고 동일한 배치의 데이터를 클립보드에서 가져옵니다\n(항목/분류/프로세스)");
|
||||
var data = Clipboard.GetText();
|
||||
var lines = data.Split(new string[] { Environment.NewLine }, StringSplitOptions.RemoveEmptyEntries);
|
||||
var dlg = UTIL.MsgQ($"{lines.Length} 개의 데이터가 있습니다.\n\n입력 할까요?");
|
||||
if (dlg != DialogResult.Yes) return;
|
||||
|
||||
var icnt = 0;
|
||||
var scnt = 0;
|
||||
var ecnt = 0;
|
||||
foreach (var line in lines)
|
||||
{
|
||||
var buf = line.Split(new char[] { '\t' }, StringSplitOptions.RemoveEmptyEntries);
|
||||
var item = buf[0].Trim();
|
||||
if (item.isEmpty())
|
||||
{
|
||||
ecnt += 1;
|
||||
continue;
|
||||
}
|
||||
var grp = buf.Length > 1 ? buf[1].Trim() : string.Empty;
|
||||
var prc = buf.Length > 2 ? buf[2].Trim() : string.Empty;
|
||||
|
||||
//동일항목체크
|
||||
if (this.dsJobReport.Common.Where(t => t.RowState != DataRowState.Detached && t.RowState != DataRowState.Deleted &&
|
||||
t.memo.Equals(item) && t.svalue.Equals(grp) && t.svalue2.Equals(prc)).Any())
|
||||
{
|
||||
scnt += 1;
|
||||
continue;
|
||||
}
|
||||
|
||||
icnt += 1;
|
||||
|
||||
var dr = this.dsJobReport.Common.NewCommonRow();
|
||||
dr.svalue2 = prc;
|
||||
dr.svalue = grp;
|
||||
dr.memo = item;
|
||||
dr.wuid = FCOMMON.info.Login.no;
|
||||
dr.wdate = DateTime.Now;
|
||||
dr.grp = this.GroupCode;
|
||||
dr.code = makenewcode();
|
||||
this.dsJobReport.Common.AddCommonRow(dr);
|
||||
}
|
||||
|
||||
var msg = $"가져오기 결과 입니다\n\n추가:{icnt}\n중복:{scnt}\n오류:{ecnt}";
|
||||
AR.UTIL.MsgI(msg);
|
||||
if (icnt > 0)
|
||||
RefreshTreeview();
|
||||
|
||||
}
|
||||
|
||||
private void button2_Click_1(object sender, EventArgs e)
|
||||
{
|
||||
//edit
|
||||
var nd = this.treeView1.SelectedNode;
|
||||
if (nd == null)
|
||||
{
|
||||
UTIL.MsgE("선택된 노드가 없습니다");
|
||||
return;
|
||||
}
|
||||
if (nd.Tag == null)
|
||||
{
|
||||
UTIL.MsgE("선택노드에 정보가 없습니다\n최하위 아이템을 선택하세요\n오류가 반복되면 개발사에 문의 하세요");
|
||||
return;
|
||||
}
|
||||
|
||||
//동일데이터가있는지확인
|
||||
var dr = nd.Tag as dsJobReport.CommonRow;
|
||||
var prc = dr.svalue2;
|
||||
var grp = dr.svalue;
|
||||
var item = dr.memo;
|
||||
|
||||
var exist = this.dsJobReport.Common.Where(t => t.RowState != DataRowState.Deleted && t.svalue2.Equals(prc) && t.svalue.Equals(grp) && t.memo.Equals(item)).FirstOrDefault();
|
||||
if (exist == null)
|
||||
{
|
||||
UTIL.MsgE("해당 데이터를 찾지 못했습니다\n잠시 후 다시 시도하세요");
|
||||
return;
|
||||
}
|
||||
exist.Delete(); // dsJobReport.Common.RemoveCommonRow(exist);
|
||||
RefreshTreeview();
|
||||
}
|
||||
|
||||
private void btDelete_Click(object sender, EventArgs e)
|
||||
{
|
||||
RefreshTreeview();
|
||||
}
|
||||
|
||||
private void btInsert_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void treeView1_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if(e.KeyCode == Keys.Delete)
|
||||
{
|
||||
var nd = this.treeView1.SelectedNode;
|
||||
if (nd == null) return;
|
||||
|
||||
if(nd.Level == 2)
|
||||
{
|
||||
var dr = nd.Tag as dsJobReport.CommonRow;
|
||||
|
||||
nd.Remove();
|
||||
dr.Delete();
|
||||
}
|
||||
else
|
||||
{
|
||||
UTIL.MsgE("최하위 항목만 삭제 가능합니다");
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
213
SubProject/FPJ0000/JobReport_/fJobProcessManager.resx
Normal file
213
SubProject/FPJ0000/JobReport_/fJobProcessManager.resx
Normal file
@@ -0,0 +1,213 @@
|
||||
<?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>
|
||||
<metadata name="dsJobReport.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>136, 17</value>
|
||||
</metadata>
|
||||
<metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>317, 17</value>
|
||||
</metadata>
|
||||
<metadata name="tam.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>490, 17</value>
|
||||
</metadata>
|
||||
<metadata name="bn.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>659, 17</value>
|
||||
</metadata>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="btDelete.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wgAADsIBFShKgAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC
|
||||
DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC
|
||||
rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV
|
||||
i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG
|
||||
86CNhdrsX9a/uQZTPhQl4rMY4OLofbl3aX7I8uwPC7y/g1YdjyVJuEvT8e1tfwUYteHUxCCfHChDeHmG
|
||||
QQvokjlOU+PbWA0x3pZnILVVI3uvQyHsbiLnqnGmRCF1NYD8pDhpRxOH7HQoAKZGkFKjceszQbpSrumX
|
||||
bO+G80MFwKUTxgfgcO/b8D9IpXoFiiMDHIQm0skAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wgAADsIBFShKgAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77
|
||||
wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0
|
||||
v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg
|
||||
UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA
|
||||
Iu/O/9T+11gVGSSd+C+b9vW/bvA83AYYZt3+H9byEqci/dTL/zV8p+E2QCftxn+/6od4Fal4TMBtgFPu
|
||||
lf8gBXgVDULAwAAA8HbAq6XlmnAAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMovePreviousItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wgAADsIBFShKgAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w
|
||||
5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f
|
||||
Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+
|
||||
08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMoveNextItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wgAADsIBFShKgAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
|
||||
n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI
|
||||
N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f
|
||||
oAc0QjgAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMoveLastItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wgAADsIBFShKgAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+//
|
||||
h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B
|
||||
twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA
|
||||
kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG
|
||||
WOTd+W9TcAVDMwiA5FL7X8O9hBUYZt3GqhkEQHJhLS//6wbPw22ATtoNnJIgOb/qh/81fKfhNgAfcMq9
|
||||
8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="btSave.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wgAADsIBFShKgAAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo
|
||||
dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII=
|
||||
</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="code.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
</root>
|
||||
622
SubProject/FPJ0000/JobReport_/fJobProcessSelect.Designer.cs
generated
Normal file
622
SubProject/FPJ0000/JobReport_/fJobProcessSelect.Designer.cs
generated
Normal file
@@ -0,0 +1,622 @@
|
||||
namespace FPJ0000.JobReport_
|
||||
{
|
||||
partial class fJobProcessSelect
|
||||
{
|
||||
/// <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.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fJobProcessSelect));
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.dsJobReport = new FPJ0000.dsJobReport();
|
||||
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.ta = new FPJ0000.dsJobReportTableAdapters.CommonTableAdapter();
|
||||
this.tam = new FPJ0000.dsJobReportTableAdapters.TableAdapterManager();
|
||||
this.bn = new System.Windows.Forms.BindingNavigator(this.components);
|
||||
this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
|
||||
this.btDelete = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox();
|
||||
this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.btSave = new System.Windows.Forms.ToolStripButton();
|
||||
this.btImport = new System.Windows.Forms.ToolStripDropDownButton();
|
||||
this.클립보드에서ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.commonDataGridView = new System.Windows.Forms.DataGridView();
|
||||
this.code = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.svalueDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
||||
this.lbWarningUser = new System.Windows.Forms.Label();
|
||||
this.lbWarningManager = new System.Windows.Forms.Label();
|
||||
this.tbFind = new System.Windows.Forms.TextBox();
|
||||
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
||||
this.treeView1 = new System.Windows.Forms.TreeView();
|
||||
this.btSelect = new System.Windows.Forms.Button();
|
||||
this.label8 = new System.Windows.Forms.Label();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.button2 = new System.Windows.Forms.Button();
|
||||
this.groupBox4 = new System.Windows.Forms.GroupBox();
|
||||
this.tbItemA = new System.Windows.Forms.TextBox();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.tbTypeA = new System.Windows.Forms.TextBox();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.btAdd = new System.Windows.Forms.Button();
|
||||
this.groupBox3 = new System.Windows.Forms.GroupBox();
|
||||
this.tbItemE = new System.Windows.Forms.TextBox();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.tbTypeE = new System.Windows.Forms.TextBox();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.btEdit = new System.Windows.Forms.Button();
|
||||
this.btRefreshTreeview = new System.Windows.Forms.Button();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsJobReport)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
|
||||
this.bn.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.commonDataGridView)).BeginInit();
|
||||
this.groupBox1.SuspendLayout();
|
||||
this.groupBox2.SuspendLayout();
|
||||
this.panel1.SuspendLayout();
|
||||
this.groupBox4.SuspendLayout();
|
||||
this.groupBox3.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// dsJobReport
|
||||
//
|
||||
this.dsJobReport.DataSetName = "dsJobReport";
|
||||
this.dsJobReport.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
||||
//
|
||||
// bs
|
||||
//
|
||||
this.bs.DataMember = "Common";
|
||||
this.bs.DataSource = this.dsJobReport;
|
||||
this.bs.Sort = "svalue2,svalue,memo";
|
||||
//
|
||||
// ta
|
||||
//
|
||||
this.ta.ClearBeforeFill = true;
|
||||
//
|
||||
// tam
|
||||
//
|
||||
this.tam.BackupDataSetBeforeUpdate = false;
|
||||
this.tam.CommonTableAdapter = this.ta;
|
||||
this.tam.UpdateOrder = FPJ0000.dsJobReportTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
|
||||
//
|
||||
// bn
|
||||
//
|
||||
this.bn.AddNewItem = null;
|
||||
this.bn.BindingSource = this.bs;
|
||||
this.bn.CountItem = this.bindingNavigatorCountItem;
|
||||
this.bn.DeleteItem = this.btDelete;
|
||||
this.bn.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.bindingNavigatorMoveFirstItem,
|
||||
this.bindingNavigatorMovePreviousItem,
|
||||
this.bindingNavigatorSeparator,
|
||||
this.bindingNavigatorPositionItem,
|
||||
this.bindingNavigatorCountItem,
|
||||
this.bindingNavigatorSeparator1,
|
||||
this.bindingNavigatorMoveNextItem,
|
||||
this.bindingNavigatorMoveLastItem,
|
||||
this.bindingNavigatorSeparator2,
|
||||
this.btDelete,
|
||||
this.btSave,
|
||||
this.btImport});
|
||||
this.bn.Location = new System.Drawing.Point(10, 706);
|
||||
this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
|
||||
this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem;
|
||||
this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem;
|
||||
this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
|
||||
this.bn.Name = "bn";
|
||||
this.bn.PositionItem = this.bindingNavigatorPositionItem;
|
||||
this.bn.Size = new System.Drawing.Size(556, 25);
|
||||
this.bn.TabIndex = 0;
|
||||
this.bn.Text = "bindingNavigator1";
|
||||
//
|
||||
// bindingNavigatorCountItem
|
||||
//
|
||||
this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
|
||||
this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22);
|
||||
this.bindingNavigatorCountItem.Text = "/{0}";
|
||||
this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수";
|
||||
//
|
||||
// btDelete
|
||||
//
|
||||
this.btDelete.Image = ((System.Drawing.Image)(resources.GetObject("btDelete.Image")));
|
||||
this.btDelete.Name = "btDelete";
|
||||
this.btDelete.RightToLeftAutoMirrorImage = true;
|
||||
this.btDelete.Size = new System.Drawing.Size(51, 22);
|
||||
this.btDelete.Text = "삭제";
|
||||
this.btDelete.Click += new System.EventHandler(this.btDelete_Click);
|
||||
//
|
||||
// bindingNavigatorMoveFirstItem
|
||||
//
|
||||
this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image")));
|
||||
this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
|
||||
this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동";
|
||||
//
|
||||
// bindingNavigatorMovePreviousItem
|
||||
//
|
||||
this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image")));
|
||||
this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
|
||||
this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동";
|
||||
//
|
||||
// bindingNavigatorSeparator
|
||||
//
|
||||
this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
|
||||
this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// bindingNavigatorPositionItem
|
||||
//
|
||||
this.bindingNavigatorPositionItem.AccessibleName = "위치";
|
||||
this.bindingNavigatorPositionItem.AutoSize = false;
|
||||
this.bindingNavigatorPositionItem.Font = new System.Drawing.Font("맑은 고딕", 9F);
|
||||
this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
|
||||
this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
|
||||
this.bindingNavigatorPositionItem.Text = "0";
|
||||
this.bindingNavigatorPositionItem.ToolTipText = "현재 위치";
|
||||
//
|
||||
// bindingNavigatorSeparator1
|
||||
//
|
||||
this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1";
|
||||
this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// bindingNavigatorMoveNextItem
|
||||
//
|
||||
this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image")));
|
||||
this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
|
||||
this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMoveNextItem.Text = "다음으로 이동";
|
||||
//
|
||||
// bindingNavigatorMoveLastItem
|
||||
//
|
||||
this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image")));
|
||||
this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
|
||||
this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동";
|
||||
//
|
||||
// bindingNavigatorSeparator2
|
||||
//
|
||||
this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
|
||||
this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// btSave
|
||||
//
|
||||
this.btSave.Image = ((System.Drawing.Image)(resources.GetObject("btSave.Image")));
|
||||
this.btSave.Name = "btSave";
|
||||
this.btSave.Size = new System.Drawing.Size(51, 22);
|
||||
this.btSave.Text = "저장";
|
||||
this.btSave.Click += new System.EventHandler(this.commonBindingNavigatorSaveItem_Click);
|
||||
//
|
||||
// btImport
|
||||
//
|
||||
this.btImport.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.클립보드에서ToolStripMenuItem});
|
||||
this.btImport.Image = ((System.Drawing.Image)(resources.GetObject("btImport.Image")));
|
||||
this.btImport.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.btImport.Name = "btImport";
|
||||
this.btImport.Size = new System.Drawing.Size(84, 22);
|
||||
this.btImport.Text = "가져오기";
|
||||
//
|
||||
// 클립보드에서ToolStripMenuItem
|
||||
//
|
||||
this.클립보드에서ToolStripMenuItem.Name = "클립보드에서ToolStripMenuItem";
|
||||
this.클립보드에서ToolStripMenuItem.Size = new System.Drawing.Size(146, 22);
|
||||
this.클립보드에서ToolStripMenuItem.Text = "클립보드에서";
|
||||
this.클립보드에서ToolStripMenuItem.Click += new System.EventHandler(this.클립보드에서ToolStripMenuItem_Click);
|
||||
//
|
||||
// commonDataGridView
|
||||
//
|
||||
this.commonDataGridView.AllowUserToAddRows = false;
|
||||
this.commonDataGridView.AllowUserToDeleteRows = false;
|
||||
this.commonDataGridView.AutoGenerateColumns = false;
|
||||
this.commonDataGridView.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.commonDataGridView.ColumnHeadersHeight = 40;
|
||||
this.commonDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
|
||||
this.commonDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.code,
|
||||
this.svalueDataGridViewTextBoxColumn});
|
||||
this.commonDataGridView.DataSource = this.bs;
|
||||
this.commonDataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.commonDataGridView.Location = new System.Drawing.Point(10, 73);
|
||||
this.commonDataGridView.Name = "commonDataGridView";
|
||||
this.commonDataGridView.ReadOnly = true;
|
||||
this.commonDataGridView.RowTemplate.Height = 23;
|
||||
this.commonDataGridView.Size = new System.Drawing.Size(556, 601);
|
||||
this.commonDataGridView.TabIndex = 2;
|
||||
this.commonDataGridView.CellContentDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.commonDataGridView_CellContentDoubleClick);
|
||||
//
|
||||
// code
|
||||
//
|
||||
this.code.DataPropertyName = "memo";
|
||||
dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
||||
this.code.DefaultCellStyle = dataGridViewCellStyle2;
|
||||
this.code.HeaderText = "형태";
|
||||
this.code.Name = "code";
|
||||
this.code.ReadOnly = true;
|
||||
//
|
||||
// svalueDataGridViewTextBoxColumn
|
||||
//
|
||||
this.svalueDataGridViewTextBoxColumn.DataPropertyName = "svalue";
|
||||
this.svalueDataGridViewTextBoxColumn.HeaderText = "분류";
|
||||
this.svalueDataGridViewTextBoxColumn.Name = "svalueDataGridViewTextBoxColumn";
|
||||
this.svalueDataGridViewTextBoxColumn.ReadOnly = true;
|
||||
//
|
||||
// groupBox1
|
||||
//
|
||||
this.groupBox1.Controls.Add(this.commonDataGridView);
|
||||
this.groupBox1.Controls.Add(this.lbWarningUser);
|
||||
this.groupBox1.Controls.Add(this.lbWarningManager);
|
||||
this.groupBox1.Controls.Add(this.tbFind);
|
||||
this.groupBox1.Controls.Add(this.bn);
|
||||
this.groupBox1.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.groupBox1.Location = new System.Drawing.Point(598, 10);
|
||||
this.groupBox1.Name = "groupBox1";
|
||||
this.groupBox1.Padding = new System.Windows.Forms.Padding(10, 3, 10, 10);
|
||||
this.groupBox1.Size = new System.Drawing.Size(576, 741);
|
||||
this.groupBox1.TabIndex = 3;
|
||||
this.groupBox1.TabStop = false;
|
||||
this.groupBox1.Text = "전체 목록";
|
||||
//
|
||||
// lbWarningUser
|
||||
//
|
||||
this.lbWarningUser.BackColor = System.Drawing.Color.Gold;
|
||||
this.lbWarningUser.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.lbWarningUser.Location = new System.Drawing.Point(10, 45);
|
||||
this.lbWarningUser.Name = "lbWarningUser";
|
||||
this.lbWarningUser.Size = new System.Drawing.Size(556, 28);
|
||||
this.lbWarningUser.TabIndex = 5;
|
||||
this.lbWarningUser.Text = "좌측 트리뷰의 항목을 더블클릭하거나 아래 목록에서 항목을 더블 클릭하면 선택됩니다";
|
||||
this.lbWarningUser.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// lbWarningManager
|
||||
//
|
||||
this.lbWarningManager.BackColor = System.Drawing.Color.Gold;
|
||||
this.lbWarningManager.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.lbWarningManager.Location = new System.Drawing.Point(10, 17);
|
||||
this.lbWarningManager.Name = "lbWarningManager";
|
||||
this.lbWarningManager.Size = new System.Drawing.Size(556, 28);
|
||||
this.lbWarningManager.TabIndex = 4;
|
||||
this.lbWarningManager.Text = "일반사용자는 [형태] 항목의 데이터를 선택 합니다";
|
||||
this.lbWarningManager.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// tbFind
|
||||
//
|
||||
this.tbFind.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.tbFind.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.tbFind.Font = new System.Drawing.Font("굴림", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.tbFind.Location = new System.Drawing.Point(10, 674);
|
||||
this.tbFind.Name = "tbFind";
|
||||
this.tbFind.Size = new System.Drawing.Size(556, 32);
|
||||
this.tbFind.TabIndex = 3;
|
||||
this.tbFind.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
this.tbFind.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbFind_KeyDown);
|
||||
//
|
||||
// groupBox2
|
||||
//
|
||||
this.groupBox2.Controls.Add(this.treeView1);
|
||||
this.groupBox2.Controls.Add(this.btSelect);
|
||||
this.groupBox2.Controls.Add(this.label8);
|
||||
this.groupBox2.Controls.Add(this.panel1);
|
||||
this.groupBox2.Controls.Add(this.btRefreshTreeview);
|
||||
this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.groupBox2.Location = new System.Drawing.Point(10, 10);
|
||||
this.groupBox2.Name = "groupBox2";
|
||||
this.groupBox2.Padding = new System.Windows.Forms.Padding(10, 3, 10, 10);
|
||||
this.groupBox2.Size = new System.Drawing.Size(588, 741);
|
||||
this.groupBox2.TabIndex = 4;
|
||||
this.groupBox2.TabStop = false;
|
||||
this.groupBox2.Text = "Tree view ( 프로세스 / 분류 / 형태)";
|
||||
this.groupBox2.Enter += new System.EventHandler(this.groupBox2_Enter);
|
||||
//
|
||||
// treeView1
|
||||
//
|
||||
this.treeView1.AllowDrop = true;
|
||||
this.treeView1.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.treeView1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.treeView1.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.treeView1.Location = new System.Drawing.Point(10, 74);
|
||||
this.treeView1.Name = "treeView1";
|
||||
this.treeView1.ShowNodeToolTips = true;
|
||||
this.treeView1.Size = new System.Drawing.Size(568, 439);
|
||||
this.treeView1.TabIndex = 0;
|
||||
this.treeView1.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tv_AfterSelect);
|
||||
this.treeView1.NodeMouseDoubleClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.treeView1_NodeMouseDoubleClick);
|
||||
this.treeView1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.treeView1_KeyDown);
|
||||
//
|
||||
// btSelect
|
||||
//
|
||||
this.btSelect.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.btSelect.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.btSelect.Location = new System.Drawing.Point(10, 513);
|
||||
this.btSelect.Name = "btSelect";
|
||||
this.btSelect.Size = new System.Drawing.Size(568, 54);
|
||||
this.btSelect.TabIndex = 5;
|
||||
this.btSelect.Text = "선택 완료";
|
||||
this.btSelect.UseVisualStyleBackColor = true;
|
||||
this.btSelect.Click += new System.EventHandler(this.btSelect_Click);
|
||||
//
|
||||
// label8
|
||||
//
|
||||
this.label8.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.label8.Location = new System.Drawing.Point(10, 55);
|
||||
this.label8.Name = "label8";
|
||||
this.label8.Size = new System.Drawing.Size(568, 19);
|
||||
this.label8.TabIndex = 4;
|
||||
this.label8.Text = "Path://";
|
||||
this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Controls.Add(this.button2);
|
||||
this.panel1.Controls.Add(this.groupBox4);
|
||||
this.panel1.Controls.Add(this.groupBox3);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.panel1.Location = new System.Drawing.Point(10, 567);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Padding = new System.Windows.Forms.Padding(0, 10, 0, 5);
|
||||
this.panel1.Size = new System.Drawing.Size(568, 164);
|
||||
this.panel1.TabIndex = 3;
|
||||
//
|
||||
// button2
|
||||
//
|
||||
this.button2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.button2.Location = new System.Drawing.Point(261, 10);
|
||||
this.button2.Name = "button2";
|
||||
this.button2.Size = new System.Drawing.Size(46, 149);
|
||||
this.button2.TabIndex = 3;
|
||||
this.button2.Text = "선택\r\n노드\r\n삭제";
|
||||
this.button2.UseVisualStyleBackColor = true;
|
||||
this.button2.Click += new System.EventHandler(this.button2_Click_1);
|
||||
//
|
||||
// groupBox4
|
||||
//
|
||||
this.groupBox4.Controls.Add(this.tbItemA);
|
||||
this.groupBox4.Controls.Add(this.label5);
|
||||
this.groupBox4.Controls.Add(this.tbTypeA);
|
||||
this.groupBox4.Controls.Add(this.label6);
|
||||
this.groupBox4.Controls.Add(this.btAdd);
|
||||
this.groupBox4.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.groupBox4.Location = new System.Drawing.Point(307, 10);
|
||||
this.groupBox4.Name = "groupBox4";
|
||||
this.groupBox4.Padding = new System.Windows.Forms.Padding(10, 3, 10, 3);
|
||||
this.groupBox4.Size = new System.Drawing.Size(261, 149);
|
||||
this.groupBox4.TabIndex = 2;
|
||||
this.groupBox4.TabStop = false;
|
||||
this.groupBox4.Text = "신규 추가";
|
||||
//
|
||||
// tbItemA
|
||||
//
|
||||
this.tbItemA.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
||||
this.tbItemA.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.tbItemA.Location = new System.Drawing.Point(74, 80);
|
||||
this.tbItemA.Name = "tbItemA";
|
||||
this.tbItemA.Size = new System.Drawing.Size(170, 22);
|
||||
this.tbItemA.TabIndex = 12;
|
||||
this.tbItemA.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbItemA_KeyDown);
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.Location = new System.Drawing.Point(40, 86);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(29, 12);
|
||||
this.label5.TabIndex = 11;
|
||||
this.label5.Text = "형태";
|
||||
//
|
||||
// tbTypeA
|
||||
//
|
||||
this.tbTypeA.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.tbTypeA.Location = new System.Drawing.Point(74, 52);
|
||||
this.tbTypeA.Name = "tbTypeA";
|
||||
this.tbTypeA.Size = new System.Drawing.Size(170, 22);
|
||||
this.tbTypeA.TabIndex = 10;
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.Location = new System.Drawing.Point(40, 58);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(29, 12);
|
||||
this.label6.TabIndex = 9;
|
||||
this.label6.Text = "분류";
|
||||
//
|
||||
// btAdd
|
||||
//
|
||||
this.btAdd.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.btAdd.Location = new System.Drawing.Point(10, 108);
|
||||
this.btAdd.Name = "btAdd";
|
||||
this.btAdd.Size = new System.Drawing.Size(241, 38);
|
||||
this.btAdd.TabIndex = 2;
|
||||
this.btAdd.Text = "추가";
|
||||
this.btAdd.UseVisualStyleBackColor = true;
|
||||
this.btAdd.Click += new System.EventHandler(this.button3_Click);
|
||||
//
|
||||
// groupBox3
|
||||
//
|
||||
this.groupBox3.Controls.Add(this.tbItemE);
|
||||
this.groupBox3.Controls.Add(this.label4);
|
||||
this.groupBox3.Controls.Add(this.tbTypeE);
|
||||
this.groupBox3.Controls.Add(this.label3);
|
||||
this.groupBox3.Controls.Add(this.btEdit);
|
||||
this.groupBox3.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.groupBox3.Location = new System.Drawing.Point(0, 10);
|
||||
this.groupBox3.Name = "groupBox3";
|
||||
this.groupBox3.Padding = new System.Windows.Forms.Padding(10, 3, 10, 3);
|
||||
this.groupBox3.Size = new System.Drawing.Size(261, 149);
|
||||
this.groupBox3.TabIndex = 2;
|
||||
this.groupBox3.TabStop = false;
|
||||
this.groupBox3.Text = "선택자료 편집";
|
||||
//
|
||||
// tbItemE
|
||||
//
|
||||
this.tbItemE.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
||||
this.tbItemE.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.tbItemE.Location = new System.Drawing.Point(84, 80);
|
||||
this.tbItemE.Name = "tbItemE";
|
||||
this.tbItemE.Size = new System.Drawing.Size(170, 22);
|
||||
this.tbItemE.TabIndex = 6;
|
||||
this.tbItemE.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbItemE_KeyDown);
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Location = new System.Drawing.Point(50, 86);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(29, 12);
|
||||
this.label4.TabIndex = 5;
|
||||
this.label4.Text = "형태";
|
||||
//
|
||||
// tbTypeE
|
||||
//
|
||||
this.tbTypeE.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.tbTypeE.Location = new System.Drawing.Point(84, 52);
|
||||
this.tbTypeE.Name = "tbTypeE";
|
||||
this.tbTypeE.Size = new System.Drawing.Size(170, 22);
|
||||
this.tbTypeE.TabIndex = 4;
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(50, 58);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(29, 12);
|
||||
this.label3.TabIndex = 3;
|
||||
this.label3.Text = "분류";
|
||||
//
|
||||
// btEdit
|
||||
//
|
||||
this.btEdit.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.btEdit.Location = new System.Drawing.Point(10, 108);
|
||||
this.btEdit.Name = "btEdit";
|
||||
this.btEdit.Size = new System.Drawing.Size(241, 38);
|
||||
this.btEdit.TabIndex = 2;
|
||||
this.btEdit.Text = "편집";
|
||||
this.btEdit.UseVisualStyleBackColor = true;
|
||||
this.btEdit.Click += new System.EventHandler(this.button2_Click);
|
||||
//
|
||||
// btRefreshTreeview
|
||||
//
|
||||
this.btRefreshTreeview.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.btRefreshTreeview.Location = new System.Drawing.Point(10, 17);
|
||||
this.btRefreshTreeview.Name = "btRefreshTreeview";
|
||||
this.btRefreshTreeview.Size = new System.Drawing.Size(568, 38);
|
||||
this.btRefreshTreeview.TabIndex = 1;
|
||||
this.btRefreshTreeview.Text = "새로고침";
|
||||
this.btRefreshTreeview.UseVisualStyleBackColor = true;
|
||||
this.btRefreshTreeview.Click += new System.EventHandler(this.button1_Click);
|
||||
//
|
||||
// fJobProcessSelect
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1184, 761);
|
||||
this.Controls.Add(this.groupBox2);
|
||||
this.Controls.Add(this.groupBox1);
|
||||
this.Name = "fJobProcessSelect";
|
||||
this.Padding = new System.Windows.Forms.Padding(10);
|
||||
this.Text = "작업형태 선택";
|
||||
this.Load += new System.EventHandler(this.fJobProcessManager_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsJobReport)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit();
|
||||
this.bn.ResumeLayout(false);
|
||||
this.bn.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.commonDataGridView)).EndInit();
|
||||
this.groupBox1.ResumeLayout(false);
|
||||
this.groupBox1.PerformLayout();
|
||||
this.groupBox2.ResumeLayout(false);
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.groupBox4.ResumeLayout(false);
|
||||
this.groupBox4.PerformLayout();
|
||||
this.groupBox3.ResumeLayout(false);
|
||||
this.groupBox3.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private dsJobReport dsJobReport;
|
||||
private System.Windows.Forms.BindingSource bs;
|
||||
private dsJobReportTableAdapters.CommonTableAdapter ta;
|
||||
private dsJobReportTableAdapters.TableAdapterManager tam;
|
||||
private System.Windows.Forms.BindingNavigator bn;
|
||||
private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem;
|
||||
private System.Windows.Forms.ToolStripButton btDelete;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator;
|
||||
private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2;
|
||||
private System.Windows.Forms.ToolStripButton btSave;
|
||||
private System.Windows.Forms.DataGridView commonDataGridView;
|
||||
private System.Windows.Forms.GroupBox groupBox1;
|
||||
private System.Windows.Forms.TextBox tbFind;
|
||||
private System.Windows.Forms.GroupBox groupBox2;
|
||||
private System.Windows.Forms.TreeView treeView1;
|
||||
private System.Windows.Forms.Button btRefreshTreeview;
|
||||
private System.Windows.Forms.Label lbWarningManager;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn code;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn svalueDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn svalue2DataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.GroupBox groupBox3;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.GroupBox groupBox4;
|
||||
private System.Windows.Forms.Button btAdd;
|
||||
private System.Windows.Forms.Button btEdit;
|
||||
private System.Windows.Forms.TextBox tbItemE;
|
||||
private System.Windows.Forms.Label label4;
|
||||
private System.Windows.Forms.TextBox tbTypeE;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.TextBox tbItemA;
|
||||
private System.Windows.Forms.Label label5;
|
||||
private System.Windows.Forms.TextBox tbTypeA;
|
||||
private System.Windows.Forms.Label label6;
|
||||
private System.Windows.Forms.Button button2;
|
||||
private System.Windows.Forms.ToolStripDropDownButton btImport;
|
||||
private System.Windows.Forms.ToolStripMenuItem 클립보드에서ToolStripMenuItem;
|
||||
private System.Windows.Forms.Label label8;
|
||||
private System.Windows.Forms.Label lbWarningUser;
|
||||
private System.Windows.Forms.Button btSelect;
|
||||
}
|
||||
}
|
||||
768
SubProject/FPJ0000/JobReport_/fJobProcessSelect.cs
Normal file
768
SubProject/FPJ0000/JobReport_/fJobProcessSelect.cs
Normal file
@@ -0,0 +1,768 @@
|
||||
using AR;
|
||||
using FarPoint.CalcEngine;
|
||||
using FarPoint.Excel;
|
||||
using FarPoint.Excel.EntityClassLibrary.DrawingEx;
|
||||
using NetOffice.OfficeApi.Enums;
|
||||
using NetOffice.OutlookApi;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Data.Entity.Core.Mapping;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Security.Cryptography.X509Certificates;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace FPJ0000.JobReport_
|
||||
{
|
||||
public partial class fJobProcessSelect : Form
|
||||
{
|
||||
string FullName = string.Empty;
|
||||
string GroupCode = "15";
|
||||
bool IsAdmin = false;
|
||||
|
||||
public fJobProcessSelect(string fullname, bool isAdmin = false)
|
||||
{
|
||||
InitializeComponent();
|
||||
this.IsAdmin = isAdmin;
|
||||
this.FullName = fullname;
|
||||
this.dsJobReport.Common.TableNewRow += Common_TableNewRow;
|
||||
this.FormClosing += FJobProcessManager_FormClosing;
|
||||
|
||||
// 이벤트 핸들러 연결
|
||||
treeView1.ItemDrag += TreeView1_ItemDrag;
|
||||
treeView1.DragEnter += TreeView1_DragEnter;
|
||||
treeView1.DragDrop += TreeView1_DragDrop;
|
||||
|
||||
//var auth = (FCOMMON.info.Login.level >= 5 || isAdmin);
|
||||
btSave.Visible = isAdmin;
|
||||
btDelete.Visible = isAdmin;
|
||||
btImport.Visible = isAdmin;
|
||||
panel1.Visible = isAdmin;
|
||||
btRefreshTreeview.Visible = isAdmin;
|
||||
lbWarningManager.Visible = isAdmin;
|
||||
lbWarningUser.Visible = !isAdmin;
|
||||
btSelect.Visible = !isAdmin;
|
||||
if (fullname.isEmpty() == false)
|
||||
this.Text = $"작업형태 선택(기존값:{fullname})";
|
||||
}
|
||||
|
||||
private void TreeView1_ItemDrag(object sender, ItemDragEventArgs e)
|
||||
{
|
||||
// Ctrl 키가 눌린 상태면 복사, 아니면 이동
|
||||
if (IsAdmin == false) return;
|
||||
DragDropEffects effect = (ModifierKeys == Keys.Control) ?
|
||||
DragDropEffects.Copy : DragDropEffects.Move;
|
||||
DoDragDrop(e.Item, effect);
|
||||
}
|
||||
|
||||
private void TreeView1_DragEnter(object sender, DragEventArgs e)
|
||||
{
|
||||
if (IsAdmin == false) return;
|
||||
// 드래그한 항목이 TreeNode인 경우에만 허용
|
||||
if (e.Data.GetDataPresent(typeof(TreeNode)))
|
||||
{
|
||||
// Ctrl 키가 눌린 상태면 복사 효과 표시
|
||||
e.Effect = (ModifierKeys == Keys.Control) ?
|
||||
DragDropEffects.Copy : DragDropEffects.Move;
|
||||
}
|
||||
else
|
||||
{
|
||||
e.Effect = DragDropEffects.None;
|
||||
}
|
||||
}
|
||||
|
||||
private void TreeView1_DragDrop(object sender, DragEventArgs e)
|
||||
{
|
||||
if (IsAdmin == false) return;
|
||||
// 드롭된 위치의 노드 찾기
|
||||
Point pt = treeView1.PointToClient(new Point(e.X, e.Y));
|
||||
TreeNode destinationNode = treeView1.GetNodeAt(pt);
|
||||
TreeNode draggedNode = (TreeNode)e.Data.GetData(typeof(TreeNode));
|
||||
|
||||
// 자기 자신이나 자식 노드로는 이동할 수 없음
|
||||
if (destinationNode == null || draggedNode == destinationNode ||
|
||||
IsChildNode(draggedNode, destinationNode))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
var dr = draggedNode.Tag as dsJobReport.CommonRow;
|
||||
|
||||
if (e.Effect == DragDropEffects.Move) //이동한다면 기존 데이터는 삭제한다
|
||||
{
|
||||
draggedNode.Remove();
|
||||
}
|
||||
|
||||
var inseritem = e.Effect == DragDropEffects.Copy;
|
||||
|
||||
if (draggedNode.Level == 1) //분류를 움직이고 있다
|
||||
{
|
||||
if (destinationNode.Level == 2)
|
||||
{
|
||||
var idx = destinationNode.Parent.Parent.Nodes.Add((TreeNode)draggedNode.Clone());
|
||||
var cnd = destinationNode.Parent.Parent.Nodes[idx];
|
||||
UpdateParentInfo(cnd, inseritem);
|
||||
}
|
||||
else if (destinationNode.Level == 1)
|
||||
{
|
||||
var idx = destinationNode.Parent.Nodes.Add((TreeNode)draggedNode.Clone());
|
||||
var cnd = destinationNode.Parent.Nodes[idx];
|
||||
UpdateParentInfo(cnd, inseritem);
|
||||
}
|
||||
else
|
||||
{
|
||||
var idx = destinationNode.Nodes.Add((TreeNode)draggedNode.Clone());
|
||||
var cnd = destinationNode.Nodes[idx];
|
||||
UpdateParentInfo(cnd, inseritem);
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{ // 노드 이동
|
||||
|
||||
if (destinationNode.Level > 1)
|
||||
{
|
||||
var idx = destinationNode.Parent.Nodes.Add((TreeNode)draggedNode.Clone());
|
||||
var cnd = destinationNode.Parent.Nodes[idx];
|
||||
UpdateParentInfo(cnd, inseritem);
|
||||
}
|
||||
else
|
||||
{
|
||||
var idx = destinationNode.Nodes.Add((TreeNode)draggedNode.Clone());
|
||||
var cnd = destinationNode.Nodes[idx];
|
||||
UpdateParentInfo(cnd, inseritem);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
void UpdateParentInfo(TreeNode cnd, bool newitem)
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
if (cnd.Level == 1) //최하위
|
||||
{
|
||||
var grp = cnd.Parent.Text;
|
||||
var prc = cnd.Parent.Parent.Text;
|
||||
|
||||
//신규로추가를 해준다
|
||||
if (newitem)
|
||||
{
|
||||
dsJobReport.CommonRow ndr = this.dsJobReport.Common.NewCommonRow();
|
||||
//ndr.svalue2 = prc;
|
||||
ndr.svalue = grp;
|
||||
ndr.memo = cnd.Text;
|
||||
ndr.wuid = FCOMMON.info.Login.no;
|
||||
ndr.wdate = DateTime.Now;
|
||||
ndr.grp = this.GroupCode;
|
||||
ndr.code = makenewcode();
|
||||
this.dsJobReport.Common.AddCommonRow(ndr);
|
||||
cnd.Tag = ndr;
|
||||
}
|
||||
else
|
||||
{
|
||||
//기존정보를 업데이트한다
|
||||
var dr = cnd.Tag as dsJobReport.CommonRow;
|
||||
dr.svalue = grp;
|
||||
// dr.svalue2 = prc;
|
||||
dr.EndEdit();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
else if (cnd.Level == 1) //분류(하위항목업데이트필요)
|
||||
{
|
||||
var prc = cnd.Parent.Text;
|
||||
foreach (TreeNode nd in cnd.Nodes)
|
||||
{
|
||||
|
||||
//신규로추가를 해준다
|
||||
if (newitem)
|
||||
{
|
||||
dsJobReport.CommonRow ndr = this.dsJobReport.Common.NewCommonRow();
|
||||
// ndr.svalue2 = prc;
|
||||
ndr.svalue = cnd.Text;
|
||||
ndr.memo = nd.Text;
|
||||
ndr.wuid = FCOMMON.info.Login.no;
|
||||
ndr.wdate = DateTime.Now;
|
||||
ndr.grp = this.GroupCode;
|
||||
ndr.code = makenewcode();
|
||||
this.dsJobReport.Common.AddCommonRow(ndr);
|
||||
nd.Tag = cnd;
|
||||
}
|
||||
else
|
||||
{
|
||||
var dr = nd.Tag as dsJobReport.CommonRow;
|
||||
// dr.svalue2 = prc;
|
||||
dr.EndEdit();
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (cnd.Level == 0) //프로세스(하위항모업데이트필요)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
this.treeView1.SelectedNode = cnd;
|
||||
this.treeView1.SelectedNode.EnsureVisible();
|
||||
this.treeView1.Focus();
|
||||
|
||||
}
|
||||
|
||||
private bool IsChildNode(TreeNode parent, TreeNode node)
|
||||
{
|
||||
// 대상 노드가 현재 노드의 자식인지 확인
|
||||
if (node.Parent == null) return false;
|
||||
if (node.Parent == parent) return true;
|
||||
return IsChildNode(parent, node.Parent);
|
||||
}
|
||||
|
||||
private void FJobProcessManager_FormClosing(object sender, FormClosingEventArgs e)
|
||||
{
|
||||
if (haschanged() == true)
|
||||
{
|
||||
var dlg = UTIL.MsgQ("변경된 내용이 있습니다 그래도 화면을 닫을까요?");
|
||||
if (dlg != DialogResult.Yes)
|
||||
{
|
||||
e.Cancel = true;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
bool haschanged()
|
||||
{
|
||||
var dt = this.dsJobReport.Common.GetChanges();
|
||||
if (dt == null) return false;
|
||||
if (dt.Rows.Count < 1) return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
private void Common_TableNewRow(object sender, DataTableNewRowEventArgs e)
|
||||
{
|
||||
e.Row["wdate"] = DateTime.Now;
|
||||
e.Row["wuid"] = FCOMMON.info.Login.no;
|
||||
e.Row["gcode"] = FCOMMON.info.Login.gcode;
|
||||
e.Row["grp"] = this.GroupCode;
|
||||
}
|
||||
|
||||
private void commonBindingNavigatorSaveItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Validate();
|
||||
this.bs.EndEdit();
|
||||
|
||||
if (this.haschanged() == false)
|
||||
{
|
||||
UTIL.MsgI("변경된 내용이 없습니다");
|
||||
return;
|
||||
}
|
||||
try
|
||||
{
|
||||
var cnt = this.tam.UpdateAll(this.dsJobReport);
|
||||
AR.UTIL.MsgI($"{cnt}건의 자료가 업데이트 되었습니다");
|
||||
RefreshTreeview();
|
||||
}
|
||||
catch (System.Exception ex)
|
||||
{
|
||||
UTIL.MsgE(ex.Message);
|
||||
}
|
||||
}
|
||||
|
||||
private void RefreshData()
|
||||
{
|
||||
try
|
||||
{
|
||||
this.ta.Fill(this.dsJobReport.Common, FCOMMON.info.Login.gcode, GroupCode);
|
||||
this.commonDataGridView.AutoResizeColumns();
|
||||
}
|
||||
catch (System.Exception ex)
|
||||
{
|
||||
AR.UTIL.MsgE(ex.Message);
|
||||
}
|
||||
|
||||
RefreshTreeview();
|
||||
|
||||
}
|
||||
|
||||
private void fJobProcessManager_Load(object sender, EventArgs e)
|
||||
{
|
||||
RefreshData();
|
||||
this.Show();
|
||||
System.Windows.Forms.Application.DoEvents();
|
||||
this.treeView1.Focus();
|
||||
}
|
||||
void RefreshTreeview()
|
||||
{
|
||||
this.treeView1.Nodes.Clear();
|
||||
//dsJobReport.AcceptChanges();
|
||||
var items = this.dsJobReport.Common.Where(t => t.RowState != DataRowState.Detached && t.RowState != DataRowState.Deleted && string.IsNullOrEmpty(t.svalue));
|
||||
foreach (var item in items)
|
||||
{
|
||||
item.svalue = "N/A";
|
||||
item.EndEdit();
|
||||
}
|
||||
|
||||
//선택된 항목이 있따면 해당 항목을 선택해준다.
|
||||
var selectedpath = this.FullName.Split('|');
|
||||
var bAutoselect = selectedpath.Length == 3;
|
||||
var SelPRC = bAutoselect ? selectedpath[0].Trim() : string.Empty;
|
||||
var SelGRP = bAutoselect ? selectedpath[1].Trim() : string.Empty;
|
||||
var SelITM = bAutoselect ? selectedpath[2].Trim() : string.Empty;
|
||||
if (SelPRC.isEmpty()) SelPRC = "N/A";
|
||||
|
||||
var grp_process = dsJobReport.Common.OrderBy(t => t.svalue).GroupBy(t => t.svalue);
|
||||
TreeNode autoSelectNode = null;
|
||||
foreach (var grp in grp_process)
|
||||
{
|
||||
var grpname = grp.Key;
|
||||
if (grpname.isEmpty()) grpname = "N/A";
|
||||
if (grpname.Equals("(N/A)")) grpname = "N/A";
|
||||
|
||||
var nd = treeView1.Nodes.Add(grpname, grpname); //add process node
|
||||
//var grp_jobtype = prc.OrderBy(t => t.svalue).GroupBy(t => t.svalue);
|
||||
//foreach (var grp in grp_jobtype) //job type
|
||||
{
|
||||
//var nd2 = nd.Nodes.Add(grp.Key, grp.Key);
|
||||
foreach (var item in grp.OrderBy(t => t.memo))
|
||||
{
|
||||
var nd3 = nd.Nodes.Add(item.memo, item.memo); //job item
|
||||
if (grpname.Equals("N/A"))
|
||||
nd3.ForeColor = Color.DimGray;
|
||||
else
|
||||
nd3.ForeColor = Color.Black;
|
||||
nd3.Tag = item;
|
||||
|
||||
if (bAutoselect)
|
||||
{
|
||||
if (grpname.Equals(SelGRP) && item.memo.Equals(SelITM))
|
||||
{
|
||||
autoSelectNode = nd3;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
treeView1.ExpandAll(); //show all
|
||||
groupBox3.Enabled = false;
|
||||
if (autoSelectNode != null)
|
||||
{
|
||||
this.treeView1.SelectedNode = autoSelectNode;
|
||||
this.treeView1.SelectedNode.EnsureVisible();
|
||||
this.treeView1.Focus();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
private void tbFind_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
var search = tbFind.Text.Trim();
|
||||
if (e.KeyCode == Keys.Enter)
|
||||
{
|
||||
try
|
||||
{
|
||||
var cols = new string[] { "svalue2", "svalue", "memo" };
|
||||
var filterstring = "";
|
||||
foreach (var col in cols)
|
||||
{
|
||||
if (filterstring.Length > 0) filterstring += $" or ";
|
||||
filterstring += $"{col} like '%{search}%'";
|
||||
}
|
||||
if (search.isEmpty())
|
||||
{
|
||||
this.bs.Filter = "";
|
||||
tbFind.BackColor = Color.White;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.bs.Filter = filterstring;
|
||||
tbFind.BackColor = Color.Lime;
|
||||
}
|
||||
}
|
||||
catch (System.Exception ex)
|
||||
{
|
||||
AR.UTIL.MsgE(ex.Message);
|
||||
tbFind.BackColor = Color.HotPink;
|
||||
}
|
||||
tbFind.Focus();
|
||||
tbFind.SelectAll();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void groupBox2_Enter(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
RefreshTreeview();
|
||||
}
|
||||
|
||||
private void button2_Click(object sender, EventArgs e)
|
||||
{
|
||||
//edit
|
||||
var prc = tbProcessE.Text.Trim();
|
||||
var grp = tbTypeE.Text.Trim();
|
||||
var item = tbItemE.Text.Trim();
|
||||
if (item.isEmpty())
|
||||
{
|
||||
UTIL.MsgE("형태는 반드시 입력되어야 합니다");
|
||||
tbItemE.Focus();
|
||||
return;
|
||||
}
|
||||
|
||||
var nd = this.treeView1.SelectedNode;
|
||||
if (nd == null)
|
||||
{
|
||||
UTIL.MsgE("선택된 노드가 없습니다");
|
||||
return;
|
||||
}
|
||||
if (nd.Tag == null)
|
||||
{
|
||||
UTIL.MsgE("선택노드에 정보가 없습니다\n개발자 문의");
|
||||
return;
|
||||
}
|
||||
|
||||
//동일데이터가있는지확인
|
||||
var exist = this.dsJobReport.Common.Where(t => t.RowState != DataRowState.Deleted && t.svalue.Equals(grp) && t.memo.Equals(item)).Any();
|
||||
if (exist)
|
||||
{
|
||||
UTIL.MsgE("동일한 항목이 존재합니다 / 확인 후 다시 진행 하세요");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
var dr = nd.Tag as dsJobReport.CommonRow;
|
||||
if (dr == null) return;
|
||||
|
||||
var changecate = dr.svalue2.Equals(prc) == false || dr.svalue.Equals(grp) == false;
|
||||
|
||||
dr.svalue2 = prc;
|
||||
dr.svalue = grp;
|
||||
dr.memo = item;
|
||||
dr.EndEdit();
|
||||
|
||||
//카테고리가 변경되었다면 위치를 이동시켜야한다
|
||||
nd.Remove(); //선택노드를 삭제한다.
|
||||
AddNode(prc, grp, item, dr);
|
||||
|
||||
|
||||
|
||||
}
|
||||
void AddNode(string prc, string grp, string item, dsJobReport.CommonRow dr)
|
||||
{
|
||||
//프로세스 노드 선택
|
||||
TreeNode tn_prc = null;
|
||||
if (prc.isEmpty()) prc = "N/A";
|
||||
var prc_nodes = this.treeView1.Nodes.Find(prc, false);
|
||||
if (prc_nodes.Any() == false)
|
||||
{
|
||||
tn_prc = treeView1.Nodes.Add(prc, prc); //신규노드추가
|
||||
}
|
||||
else
|
||||
{
|
||||
tn_prc = prc_nodes.First(); //첫번째 노드로 변경
|
||||
}
|
||||
|
||||
//분류노드확인
|
||||
TreeNode tn_type = null;
|
||||
var type_nodes = tn_prc.Nodes.Find(grp, false);
|
||||
if (type_nodes.Any() == false)
|
||||
{
|
||||
tn_type = tn_prc.Nodes.Add(grp, grp); //신규노드추가
|
||||
}
|
||||
else
|
||||
{
|
||||
tn_type = type_nodes.First(); //첫번째 노드로 변경
|
||||
}
|
||||
|
||||
|
||||
//아이템노드확인
|
||||
TreeNode tn_item = null;
|
||||
var item_nodes = tn_type.Nodes.Find(item, false);
|
||||
if (item_nodes.Any() == false)
|
||||
{
|
||||
tn_item = tn_type.Nodes.Add(item, item); //신규노드추가
|
||||
}
|
||||
else
|
||||
{
|
||||
tn_item = item_nodes.First();
|
||||
//동일한 노드이다
|
||||
}
|
||||
|
||||
tn_item.Tag = dr;
|
||||
treeView1.SelectedNode = tn_item;
|
||||
}
|
||||
|
||||
private void button3_Click(object sender, EventArgs e)
|
||||
{
|
||||
//add
|
||||
var prc = tbProcessA.Text.Trim();
|
||||
var grp = tbTypeA.Text.Trim();
|
||||
var item = tbItemA.Text.Trim();
|
||||
if (item.isEmpty())
|
||||
{
|
||||
UTIL.MsgE("형태는 반드시 입력되어야 합니다");
|
||||
tbItemA.Focus();
|
||||
return;
|
||||
}
|
||||
|
||||
//동일데이터가있는지확인
|
||||
var exist = this.dsJobReport.Common.Where(t => t.RowState != DataRowState.Deleted && t.svalue2.Equals(prc) && t.svalue.Equals(grp) && t.memo.Equals(item)).Any();
|
||||
if (exist)
|
||||
{
|
||||
UTIL.MsgE("동일한 항목이 존재합니다 / 확인 후 다시 진행 하세요");
|
||||
tbItemA.Focus();
|
||||
tbItemA.SelectAll();
|
||||
return;
|
||||
}
|
||||
var dr = this.dsJobReport.Common.NewCommonRow();
|
||||
dr.svalue2 = prc;
|
||||
dr.svalue = grp;
|
||||
dr.memo = item;
|
||||
dr.wuid = FCOMMON.info.Login.no;
|
||||
dr.wdate = DateTime.Now;
|
||||
dr.grp = this.GroupCode;
|
||||
dr.code = makenewcode();
|
||||
this.dsJobReport.Common.AddCommonRow(dr);
|
||||
|
||||
AddNode(prc, grp, item, dr);
|
||||
|
||||
tbItemA.Focus();
|
||||
tbItemA.SelectAll();
|
||||
}
|
||||
|
||||
string makenewcode()
|
||||
{
|
||||
string lastcodename = "";
|
||||
var lastcodedr = dsJobReport.Common.OrderByDescending(t => t.code).FirstOrDefault();
|
||||
if (lastcodedr != null) lastcodename = lastcodedr.code;
|
||||
int newnum = 0;
|
||||
int codenameleng = lastcodename.Length;
|
||||
if (codenameleng == 0) codenameleng = 4;
|
||||
|
||||
if (int.TryParse(lastcodename, out int lastcodenum) == false)
|
||||
{
|
||||
//숫자로되어있지 않다
|
||||
newnum = 1;// newnum.PadLeft(codenameleng, '0');
|
||||
}
|
||||
else
|
||||
{
|
||||
//숫자로되어있으니 +1해서 처리한다.
|
||||
newnum = (lastcodenum + 1);
|
||||
|
||||
}
|
||||
var newnumstr = newnum.ToString().PadLeft(codenameleng, '0');
|
||||
|
||||
return newnumstr;
|
||||
}
|
||||
|
||||
private void tv_AfterSelect(object sender, TreeViewEventArgs e)
|
||||
{
|
||||
label8.Text = "Path://";
|
||||
var tn = this.treeView1.SelectedNode;
|
||||
if (tn == null) return;
|
||||
if (tn.Tag == null) return;
|
||||
|
||||
this.label8.Text = tn.FullPath;
|
||||
|
||||
var dr = tn.Tag as dsJobReport.CommonRow;
|
||||
if (dr == null) return;
|
||||
tbProcessE.Text = dr.svalue2;
|
||||
tbTypeE.Text = dr.svalue;
|
||||
tbItemE.Text = dr.memo;
|
||||
|
||||
tbProcessA.Text = dr.svalue2;
|
||||
tbTypeA.Text = dr.svalue;
|
||||
|
||||
groupBox3.Enabled = true;
|
||||
groupBox3.Text = $"선택자료 편집({dr.idx})";
|
||||
|
||||
}
|
||||
|
||||
private void tbItemA_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Enter)
|
||||
btAdd.PerformClick();
|
||||
}
|
||||
|
||||
private void tbItemE_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Enter)
|
||||
btEdit.PerformClick();
|
||||
}
|
||||
|
||||
private void 클립보드에서ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
UTIL.MsgI("목록화면고 동일한 배치의 데이터를 클립보드에서 가져옵니다\n(항목/분류/프로세스)");
|
||||
var data = Clipboard.GetText();
|
||||
var lines = data.Split(new string[] { Environment.NewLine }, StringSplitOptions.RemoveEmptyEntries);
|
||||
var dlg = UTIL.MsgQ($"{lines.Length} 개의 데이터가 있습니다.\n\n입력 할까요?");
|
||||
if (dlg != DialogResult.Yes) return;
|
||||
|
||||
var icnt = 0;
|
||||
var scnt = 0;
|
||||
var ecnt = 0;
|
||||
foreach (var line in lines)
|
||||
{
|
||||
var buf = line.Split(new char[] { '\t' }, StringSplitOptions.RemoveEmptyEntries);
|
||||
var item = buf[0].Trim();
|
||||
if (item.isEmpty())
|
||||
{
|
||||
ecnt += 1;
|
||||
continue;
|
||||
}
|
||||
var grp = buf.Length > 1 ? buf[1].Trim() : string.Empty;
|
||||
var prc = buf.Length > 2 ? buf[2].Trim() : string.Empty;
|
||||
|
||||
//동일항목체크
|
||||
if (this.dsJobReport.Common.Where(t => t.RowState != DataRowState.Detached && t.RowState != DataRowState.Deleted &&
|
||||
t.memo.Equals(item) && t.svalue.Equals(grp) && t.svalue2.Equals(prc)).Any())
|
||||
{
|
||||
scnt += 1;
|
||||
continue;
|
||||
}
|
||||
|
||||
icnt += 1;
|
||||
|
||||
var dr = this.dsJobReport.Common.NewCommonRow();
|
||||
dr.svalue2 = prc;
|
||||
dr.svalue = grp;
|
||||
dr.memo = item;
|
||||
dr.wuid = FCOMMON.info.Login.no;
|
||||
dr.wdate = DateTime.Now;
|
||||
dr.grp = this.GroupCode;
|
||||
dr.code = makenewcode();
|
||||
this.dsJobReport.Common.AddCommonRow(dr);
|
||||
}
|
||||
|
||||
var msg = $"가져오기 결과 입니다\n\n추가:{icnt}\n중복:{scnt}\n오류:{ecnt}";
|
||||
AR.UTIL.MsgI(msg);
|
||||
if (icnt > 0)
|
||||
RefreshTreeview();
|
||||
|
||||
}
|
||||
|
||||
private void button2_Click_1(object sender, EventArgs e)
|
||||
{
|
||||
//edit
|
||||
var nd = this.treeView1.SelectedNode;
|
||||
if (nd == null)
|
||||
{
|
||||
UTIL.MsgE("선택된 노드가 없습니다");
|
||||
return;
|
||||
}
|
||||
if (nd.Tag == null)
|
||||
{
|
||||
UTIL.MsgE("선택노드에 정보가 없습니다\n최하위 아이템을 선택하세요\n오류가 반복되면 개발사에 문의 하세요");
|
||||
return;
|
||||
}
|
||||
|
||||
//동일데이터가있는지확인
|
||||
var dr = nd.Tag as dsJobReport.CommonRow;
|
||||
var prc = dr.svalue2;
|
||||
var grp = dr.svalue;
|
||||
var item = dr.memo;
|
||||
|
||||
var exist = this.dsJobReport.Common.Where(t => t.RowState != DataRowState.Deleted && t.svalue2.Equals(prc) && t.svalue.Equals(grp) && t.memo.Equals(item)).FirstOrDefault();
|
||||
if (exist == null)
|
||||
{
|
||||
UTIL.MsgE("해당 데이터를 찾지 못했습니다\n잠시 후 다시 시도하세요");
|
||||
return;
|
||||
}
|
||||
exist.Delete(); // dsJobReport.Common.RemoveCommonRow(exist);
|
||||
RefreshTreeview();
|
||||
}
|
||||
|
||||
private void btDelete_Click(object sender, EventArgs e)
|
||||
{
|
||||
RefreshTreeview();
|
||||
}
|
||||
|
||||
private void btInsert_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void treeView1_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Delete)
|
||||
{
|
||||
var nd = this.treeView1.SelectedNode;
|
||||
if (nd == null) return;
|
||||
|
||||
if (nd.Level == 2)
|
||||
{
|
||||
var dr = nd.Tag as dsJobReport.CommonRow;
|
||||
|
||||
nd.Remove();
|
||||
dr.Delete();
|
||||
}
|
||||
else
|
||||
{
|
||||
UTIL.MsgE("최하위 항목만 삭제 가능합니다");
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
private void treeView1_NodeMouseDoubleClick(object sender, TreeNodeMouseClickEventArgs e)
|
||||
{
|
||||
//노드에서 항목 더블클릭
|
||||
var nd = this.treeView1.SelectedNode;
|
||||
if (nd == null) return;
|
||||
if (nd.Level < 2) return;
|
||||
var dr = nd.Tag as dsJobReport.CommonRow;
|
||||
if (dr == null) return;
|
||||
Feedback(dr);
|
||||
}
|
||||
|
||||
private void btSelect_Click(object sender, EventArgs e)
|
||||
{
|
||||
//트리뷰항목 선택
|
||||
var nd = this.treeView1.SelectedNode;
|
||||
if (nd == null) return;
|
||||
if (nd.Level < 2)
|
||||
{
|
||||
UTIL.MsgE("최하위 항목을 선택하세요");
|
||||
return;
|
||||
}
|
||||
var dr = nd.Tag as dsJobReport.CommonRow;
|
||||
if (dr == null) return;
|
||||
Feedback(dr);
|
||||
}
|
||||
|
||||
private void commonDataGridView_CellContentDoubleClick(object sender, DataGridViewCellEventArgs e)
|
||||
{
|
||||
//데이터그리드뷰 항목 더블클릭
|
||||
var drv = bs.Current as DataRowView;
|
||||
if (drv == null) return;
|
||||
var dr = drv.Row as dsJobReport.CommonRow;
|
||||
if (dr == null) return;
|
||||
Feedback(dr);
|
||||
}
|
||||
|
||||
void Feedback(dsJobReport.CommonRow dr)
|
||||
{
|
||||
|
||||
var prc = dr.svalue2;
|
||||
var grp = dr.svalue;
|
||||
var itm = dr.memo;
|
||||
if (prc.isEmpty()) prc = "N/A";
|
||||
this.SelectedValue = $"{prc}|{grp}|{itm}";
|
||||
DialogResult = DialogResult.OK;
|
||||
}
|
||||
|
||||
public string SelectedValue { get; set; } = "";
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
216
SubProject/FPJ0000/JobReport_/fJobProcessSelect.resx
Normal file
216
SubProject/FPJ0000/JobReport_/fJobProcessSelect.resx
Normal file
@@ -0,0 +1,216 @@
|
||||
<?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>
|
||||
<metadata name="dsJobReport.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>136, 17</value>
|
||||
</metadata>
|
||||
<metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>317, 17</value>
|
||||
</metadata>
|
||||
<metadata name="tam.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>490, 17</value>
|
||||
</metadata>
|
||||
<metadata name="bn.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>659, 17</value>
|
||||
</metadata>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="btDelete.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
vgAADr4B6kKxwAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC
|
||||
DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC
|
||||
rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV
|
||||
i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG
|
||||
86CNhdrsX9a/uQZTPhQl4rMY4OLofbl3aX7I8uwPC7y/g1YdjyVJuEvT8e1tfwUYteHUxCCfHChDeHmG
|
||||
QQvokjlOU+PbWA0x3pZnILVVI3uvQyHsbiLnqnGmRCF1NYD8pDhpRxOH7HQoAKZGkFKjceszQbpSrumX
|
||||
bO+G80MFwKUTxgfgcO/b8D9IpXoFiiMDHIQm0skAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
vgAADr4B6kKxwAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77
|
||||
wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0
|
||||
v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg
|
||||
UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA
|
||||
Iu/O/9T+11gVGSSd+C+b9vW/bvA83AYYZt3+H9byEqci/dTL/zV8p+E2QCftxn+/6od4Fal4TMBtgFPu
|
||||
lf8gBXgVDULAwAAA8HbAq6XlmnAAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMovePreviousItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
vgAADr4B6kKxwAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w
|
||||
5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f
|
||||
Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+
|
||||
08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMoveNextItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
vgAADr4B6kKxwAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
|
||||
n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI
|
||||
N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f
|
||||
oAc0QjgAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMoveLastItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
vgAADr4B6kKxwAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+//
|
||||
h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B
|
||||
twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA
|
||||
kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG
|
||||
WOTd+W9TcAVDMwiA5FL7X8O9hBUYZt3GqhkEQHJhLS//6wbPw22ATtoNnJIgOb/qh/81fKfhNgAfcMq9
|
||||
8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="btSave.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
vgAADr4B6kKxwAAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo
|
||||
dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="btImport.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="code.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="code.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
</root>
|
||||
401
SubProject/FPJ0000/JobReport_/fJobReport.Designer.cs
generated
401
SubProject/FPJ0000/JobReport_/fJobReport.Designer.cs
generated
@@ -30,26 +30,26 @@
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fJobReport));
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType2 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType3 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType4 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType5 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType6 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType8 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType9 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType10 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType3 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType11 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.DateTimeCellType dateTimeCellType1 = new FarPoint.Win.Spread.CellType.DateTimeCellType();
|
||||
FarPoint.Win.Spread.CellType.DateTimeCellType dateTimeCellType2 = new FarPoint.Win.Spread.CellType.DateTimeCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType12 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType13 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType4 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType14 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType15 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType16 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType17 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType18 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType19 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType20 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType21 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType22 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType23 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType24 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType5 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType6 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType7 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType25 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.DateTimeCellType dateTimeCellType3 = new FarPoint.Win.Spread.CellType.DateTimeCellType();
|
||||
FarPoint.Win.Spread.CellType.DateTimeCellType dateTimeCellType4 = new FarPoint.Win.Spread.CellType.DateTimeCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType26 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType27 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType8 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType28 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
this.bn = new System.Windows.Forms.BindingNavigator(this.components);
|
||||
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.dsMSSQL = new FPJ0000.dsPRJ();
|
||||
@@ -102,7 +102,6 @@
|
||||
this.tam = new FPJ0000.dsPRJTableAdapters.TableAdapterManager();
|
||||
this.ta = new FPJ0000.dsPRJTableAdapters.JobReportTableAdapter();
|
||||
this.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
|
||||
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
|
||||
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
|
||||
this.toolStripButton8 = new System.Windows.Forms.ToolStripButton();
|
||||
this.lbStt = new System.Windows.Forms.ToolStripLabel();
|
||||
@@ -125,18 +124,19 @@
|
||||
this.toolStripButton6 = new System.Windows.Forms.ToolStripButton();
|
||||
this.richTextBox1 = new System.Windows.Forms.RichTextBox();
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
|
||||
this.bn.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit();
|
||||
this.cm.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit();
|
||||
this.toolStrip1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
||||
this.splitContainer1.Panel1.SuspendLayout();
|
||||
this.splitContainer1.Panel2.SuspendLayout();
|
||||
this.splitContainer1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// bn
|
||||
@@ -225,7 +225,6 @@
|
||||
//
|
||||
this.bindingNavigatorPositionItem.AccessibleName = "위치";
|
||||
this.bindingNavigatorPositionItem.AutoSize = false;
|
||||
this.bindingNavigatorPositionItem.Font = new System.Drawing.Font("맑은 고딕", 9F);
|
||||
this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
|
||||
this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
|
||||
this.bindingNavigatorPositionItem.Text = "0";
|
||||
@@ -317,7 +316,6 @@
|
||||
// tbFind
|
||||
//
|
||||
this.tbFind.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.tbFind.Font = new System.Drawing.Font("맑은 고딕", 9F);
|
||||
this.tbFind.Name = "tbFind";
|
||||
this.tbFind.Size = new System.Drawing.Size(100, 25);
|
||||
this.tbFind.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbFind_KeyDown);
|
||||
@@ -473,7 +471,7 @@
|
||||
this.편집ToolStripMenuItem,
|
||||
this.삭제ToolStripMenuItem});
|
||||
this.cm.Name = "contextMenuStrip1";
|
||||
this.cm.Size = new System.Drawing.Size(224, 332);
|
||||
this.cm.Size = new System.Drawing.Size(224, 310);
|
||||
//
|
||||
// columnSizeToolStripMenuItem
|
||||
//
|
||||
@@ -624,174 +622,6 @@
|
||||
this.fpSpread1.StatusBarVisible = true;
|
||||
this.fpSpread1.TabIndex = 2;
|
||||
//
|
||||
// fpSpread1_Sheet1
|
||||
//
|
||||
this.fpSpread1_Sheet1.Reset();
|
||||
this.fpSpread1_Sheet1.SheetName = "Sheet1";
|
||||
// Formulas and custom names must be loaded with R1C1 reference style
|
||||
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
|
||||
this.fpSpread1_Sheet1.ColumnCount = 20;
|
||||
this.fpSpread1_Sheet1.ActiveColumnIndex = -1;
|
||||
this.fpSpread1_Sheet1.ActiveRowIndex = -1;
|
||||
this.fpSpread1_Sheet1.AutoGenerateColumns = false;
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "날짜";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "WW";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "담당";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "요청부서";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "패키지";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "상태";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).Value = "업무형태";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 7).Value = "(공정)업무분류";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 8).Value = "업무분류";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).Value = "프로젝트(아이템)";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).Value = "*";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 11).Value = "시간";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 12).Value = "초과";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).Value = "비고";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 14).ColumnSpan = 2;
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 14).Value = "초과시간범위";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 15).Value = "초과종료";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 16).Value = "기술분류";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 17).Value = "기술레벨";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 18).Value = "기술료($K)";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 19).Value = "#";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 28F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType1;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).DataField = "pdate";
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).Label = "날짜";
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).Width = 58F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType2;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).DataField = "ww";
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).Label = "WW";
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType3;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).DataField = "username";
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).Label = "담당";
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).AllowAutoFilter = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType4;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).DataField = "requestpart";
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).Label = "요청부서";
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).Width = 78F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).AllowAutoFilter = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType5;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).DataField = "package";
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).Label = "패키지";
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).Width = 86F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType6;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).DataField = "status";
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).Label = "상태";
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).AllowAutoFilter = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType7;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).DataField = "type";
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).Label = "업무형태";
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).Width = 84F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).AllowAutoFilter = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType8;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).DataField = "svalue";
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).Label = "(공정)업무분류";
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).Width = 103F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).AllowAutoFilter = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType9;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).DataField = "process";
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).Label = "업무분류";
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).Width = 80F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).AllowAutoFilter = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType10;
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).DataField = "projectName";
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).Label = "프로젝트(아이템)";
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).Width = 158F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
numberCellType1.DecimalPlaces = 0;
|
||||
numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
||||
numberCellType1.MaximumValue = 2147483647D;
|
||||
numberCellType1.MinimumValue = -2147483648D;
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).CellType = numberCellType1;
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).DataField = "pidx";
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).Label = "*";
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).Tag = "pidx";
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).Width = 39F;
|
||||
numberCellType2.MaximumValue = 999999999999999D;
|
||||
numberCellType2.MinimumValue = -999999999999999D;
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).CellType = numberCellType2;
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).DataField = "hrs";
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).Label = "시간";
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).Width = 52F;
|
||||
numberCellType3.MaximumValue = 999999999999999D;
|
||||
numberCellType3.MinimumValue = -999999999999999D;
|
||||
numberCellType3.NullDisplay = "--";
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).CellType = numberCellType3;
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).DataField = "ot";
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).ForeColor = System.Drawing.Color.Red;
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).Label = "초과";
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType11;
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).DataField = "description";
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).Label = "비고";
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).Width = 113F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
|
||||
dateTimeCellType1.Calendar = new System.Globalization.GregorianCalendar(System.Globalization.GregorianCalendarTypes.Localized);
|
||||
dateTimeCellType1.CalendarSurroundingDaysColor = System.Drawing.SystemColors.GrayText;
|
||||
dateTimeCellType1.DateTimeFormat = FarPoint.Win.Spread.CellType.DateTimeFormat.TimeOnly;
|
||||
dateTimeCellType1.MaximumTime = System.TimeSpan.Parse("23:59:59.9999999");
|
||||
dateTimeCellType1.TimeDefault = new System.DateTime(2024, 2, 6, 22, 53, 4, 0);
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).CellType = dateTimeCellType1;
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).DataField = "otStart";
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).Label = "초과시간범위";
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
|
||||
dateTimeCellType2.Calendar = new System.Globalization.GregorianCalendar(System.Globalization.GregorianCalendarTypes.Localized);
|
||||
dateTimeCellType2.CalendarSurroundingDaysColor = System.Drawing.SystemColors.GrayText;
|
||||
dateTimeCellType2.DateTimeFormat = FarPoint.Win.Spread.CellType.DateTimeFormat.TimeOnly;
|
||||
dateTimeCellType2.MaximumTime = System.TimeSpan.Parse("23:59:59.9999999");
|
||||
dateTimeCellType2.TimeDefault = new System.DateTime(2024, 2, 6, 22, 53, 4, 0);
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).CellType = dateTimeCellType2;
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).DataField = "otEnd";
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).Label = "초과종료";
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).CellType = textCellType12;
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).DataField = "kisuldiv";
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).Label = "기술분류";
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).Tag = "kisuldiv";
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(17).CellType = textCellType13;
|
||||
this.fpSpread1_Sheet1.Columns.Get(17).DataField = "kisullv";
|
||||
this.fpSpread1_Sheet1.Columns.Get(17).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(17).Label = "기술레벨";
|
||||
this.fpSpread1_Sheet1.Columns.Get(17).Tag = "kisullv";
|
||||
this.fpSpread1_Sheet1.Columns.Get(17).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
numberCellType4.DecimalPlaces = 2;
|
||||
numberCellType4.NegativeRed = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).CellType = numberCellType4;
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).DataField = "kisulamt";
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).Label = "기술료($K)";
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).Tag = "kisulamt";
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(19).CellType = textCellType14;
|
||||
this.fpSpread1_Sheet1.Columns.Get(19).DataField = "tag";
|
||||
this.fpSpread1_Sheet1.Columns.Get(19).Label = "#";
|
||||
this.fpSpread1_Sheet1.Columns.Get(19).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.DataAutoCellTypes = false;
|
||||
this.fpSpread1_Sheet1.DataAutoSizeColumns = false;
|
||||
this.fpSpread1_Sheet1.DataSource = this.bs;
|
||||
this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false;
|
||||
this.fpSpread1_Sheet1.ShowRowSelector = true;
|
||||
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
|
||||
//
|
||||
// toolStrip1
|
||||
//
|
||||
this.toolStrip1.ImageScalingSize = new System.Drawing.Size(30, 30);
|
||||
@@ -842,7 +672,6 @@
|
||||
// dtSD
|
||||
//
|
||||
this.dtSD.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.dtSD.Font = new System.Drawing.Font("맑은 고딕", 9F);
|
||||
this.dtSD.Name = "dtSD";
|
||||
this.dtSD.Size = new System.Drawing.Size(90, 37);
|
||||
this.dtSD.Text = "1982-11-23";
|
||||
@@ -866,7 +695,6 @@
|
||||
// dtED
|
||||
//
|
||||
this.dtED.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.dtED.Font = new System.Drawing.Font("맑은 고딕", 9F);
|
||||
this.dtED.Name = "dtED";
|
||||
this.dtED.Size = new System.Drawing.Size(90, 37);
|
||||
this.dtED.Text = "1982-11-23";
|
||||
@@ -902,7 +730,6 @@
|
||||
// tbProcess
|
||||
//
|
||||
this.tbProcess.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180)))));
|
||||
this.tbProcess.Font = new System.Drawing.Font("맑은 고딕", 9F);
|
||||
this.tbProcess.Name = "tbProcess";
|
||||
this.tbProcess.Size = new System.Drawing.Size(200, 37);
|
||||
//
|
||||
@@ -951,7 +778,7 @@
|
||||
// 태그자료만조회ToolStripMenuItem
|
||||
//
|
||||
this.태그자료만조회ToolStripMenuItem.Name = "태그자료만조회ToolStripMenuItem";
|
||||
this.태그자료만조회ToolStripMenuItem.Size = new System.Drawing.Size(162, 22);
|
||||
this.태그자료만조회ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
||||
this.태그자료만조회ToolStripMenuItem.Text = "태그자료만 조회";
|
||||
this.태그자료만조회ToolStripMenuItem.Click += new System.EventHandler(this.태그자료만조회ToolStripMenuItem_Click);
|
||||
//
|
||||
@@ -1005,6 +832,182 @@
|
||||
this.splitContainer1.SplitterWidth = 10;
|
||||
this.splitContainer1.TabIndex = 6;
|
||||
//
|
||||
// fpSpread1_Sheet1
|
||||
//
|
||||
this.fpSpread1_Sheet1.Reset();
|
||||
this.fpSpread1_Sheet1.SheetName = "Sheet1";
|
||||
// Formulas and custom names must be loaded with R1C1 reference style
|
||||
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
|
||||
this.fpSpread1_Sheet1.ColumnCount = 20;
|
||||
this.fpSpread1_Sheet1.ColumnHeader.RowCount = 2;
|
||||
this.fpSpread1_Sheet1.ActiveColumnIndex = -1;
|
||||
this.fpSpread1_Sheet1.ActiveRowIndex = -1;
|
||||
this.fpSpread1_Sheet1.AutoGenerateColumns = false;
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).RowSpan = 2;
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "날짜";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).RowSpan = 2;
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "WW";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).RowSpan = 2;
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "담당";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).RowSpan = 2;
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "요청부서";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).RowSpan = 2;
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "패키지";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).RowSpan = 2;
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "상태";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).ColumnSpan = 3;
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).Value = "업무형태";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 7).Value = "(공정)업무분류";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 8).Value = "업무분류";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).RowSpan = 2;
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).Value = "프로젝트(아이템)";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).RowSpan = 2;
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).Value = "*";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 11).RowSpan = 2;
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 11).Value = "시간";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 12).RowSpan = 2;
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 12).Value = "초과";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).RowSpan = 2;
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).Value = "비고";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 14).ColumnSpan = 2;
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 14).Value = "초과시간범위";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 15).Value = "초과종료";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 16).RowSpan = 2;
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 16).Value = "기술분류";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 17).RowSpan = 2;
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 17).Value = "기술레벨";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 18).RowSpan = 2;
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 18).Value = "기술료($K)";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 19).RowSpan = 2;
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 19).Value = "#";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 6).Value = "형태";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 7).Value = "분류";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 8).Value = "공정";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 14).Value = "시작";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 15).Value = "종료";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 28F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType15;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).DataField = "pdate";
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).Width = 58F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType16;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).DataField = "ww";
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType17;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).DataField = "username";
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).AllowAutoFilter = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType18;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).DataField = "requestpart";
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).Width = 78F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).AllowAutoFilter = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType19;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).DataField = "package";
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).Width = 86F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType20;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).DataField = "status";
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).Tag = "status";
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).AllowAutoFilter = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType21;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).DataField = "type";
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).Label = "형태";
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).Width = 84F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).AllowAutoFilter = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType22;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).DataField = "jobgrp";
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).Label = "분류";
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).Width = 90F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).AllowAutoFilter = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType23;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).DataField = "process";
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).Label = "공정";
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).Width = 80F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).AllowAutoFilter = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType24;
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).DataField = "projectName";
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).Width = 158F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
numberCellType5.DecimalPlaces = 0;
|
||||
numberCellType5.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
||||
numberCellType5.MaximumValue = 2147483647D;
|
||||
numberCellType5.MinimumValue = -2147483648D;
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).CellType = numberCellType5;
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).DataField = "pidx";
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).Tag = "pidx";
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).Width = 39F;
|
||||
numberCellType6.MaximumValue = 999999999999999D;
|
||||
numberCellType6.MinimumValue = -999999999999999D;
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).CellType = numberCellType6;
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).DataField = "hrs";
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).Width = 52F;
|
||||
numberCellType7.MaximumValue = 999999999999999D;
|
||||
numberCellType7.MinimumValue = -999999999999999D;
|
||||
numberCellType7.NullDisplay = "--";
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).CellType = numberCellType7;
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).DataField = "ot";
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).ForeColor = System.Drawing.Color.Red;
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType25;
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).DataField = "description";
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).Width = 113F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
|
||||
dateTimeCellType3.Calendar = new System.Globalization.GregorianCalendar(System.Globalization.GregorianCalendarTypes.Localized);
|
||||
dateTimeCellType3.CalendarSurroundingDaysColor = System.Drawing.SystemColors.GrayText;
|
||||
dateTimeCellType3.DateTimeFormat = FarPoint.Win.Spread.CellType.DateTimeFormat.TimeOnly;
|
||||
dateTimeCellType3.MaximumTime = System.TimeSpan.Parse("23:59:59.9999999");
|
||||
dateTimeCellType3.TimeDefault = new System.DateTime(2025, 1, 2, 22, 53, 4, 0);
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).CellType = dateTimeCellType3;
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).DataField = "otStart";
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).Label = "시작";
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
|
||||
dateTimeCellType4.Calendar = new System.Globalization.GregorianCalendar(System.Globalization.GregorianCalendarTypes.Localized);
|
||||
dateTimeCellType4.CalendarSurroundingDaysColor = System.Drawing.SystemColors.GrayText;
|
||||
dateTimeCellType4.DateTimeFormat = FarPoint.Win.Spread.CellType.DateTimeFormat.TimeOnly;
|
||||
dateTimeCellType4.MaximumTime = System.TimeSpan.Parse("23:59:59.9999999");
|
||||
dateTimeCellType4.TimeDefault = new System.DateTime(2025, 1, 2, 22, 53, 4, 0);
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).CellType = dateTimeCellType4;
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).DataField = "otEnd";
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).Label = "종료";
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).CellType = textCellType26;
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).DataField = "kisuldiv";
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).Tag = "kisuldiv";
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(17).CellType = textCellType27;
|
||||
this.fpSpread1_Sheet1.Columns.Get(17).DataField = "kisullv";
|
||||
this.fpSpread1_Sheet1.Columns.Get(17).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(17).Tag = "kisullv";
|
||||
this.fpSpread1_Sheet1.Columns.Get(17).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
numberCellType8.DecimalPlaces = 2;
|
||||
numberCellType8.NegativeRed = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).CellType = numberCellType8;
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).DataField = "kisulamt";
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).Tag = "kisulamt";
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(19).CellType = textCellType28;
|
||||
this.fpSpread1_Sheet1.Columns.Get(19).DataField = "tag";
|
||||
this.fpSpread1_Sheet1.Columns.Get(19).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.DataAutoCellTypes = false;
|
||||
this.fpSpread1_Sheet1.DataAutoSizeColumns = false;
|
||||
this.fpSpread1_Sheet1.DataSource = this.bs;
|
||||
this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false;
|
||||
this.fpSpread1_Sheet1.ShowRowSelector = true;
|
||||
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
|
||||
//
|
||||
// fJobReport
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
@@ -1024,13 +1027,13 @@
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit();
|
||||
this.cm.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit();
|
||||
this.toolStrip1.ResumeLayout(false);
|
||||
this.toolStrip1.PerformLayout();
|
||||
this.splitContainer1.Panel1.ResumeLayout(false);
|
||||
this.splitContainer1.Panel2.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
|
||||
this.splitContainer1.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
@@ -1110,8 +1113,8 @@
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton1;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton3;
|
||||
private System.Windows.Forms.ToolStripMenuItem 개인별프로젝트스케쥴현황ToolStripMenuItem;
|
||||
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton5;
|
||||
private System.Windows.Forms.ToolStripMenuItem qlToolStripMenuItem;
|
||||
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
|
||||
}
|
||||
}
|
||||
@@ -265,7 +265,7 @@ namespace FPJ0000
|
||||
//사용자 목록다중선택으로 인해 처리
|
||||
var sql = "SELECT gcode, idx, pidx, pdate, uid, requestpart, package, status, type, description," +
|
||||
"remark, hrs, import, wuid, wdate, dbo.getUserName(uid) AS username, projectName, ot," +
|
||||
"dbo.getWorkWeek(pdate) AS ww, process, tag," +
|
||||
"dbo.getWorkWeek(pdate) AS ww, process, isnull(jobgrp,'') as jobgrp, tag," +
|
||||
"dbo.getCodeSValue(gcode, '15', type) AS svalue," +
|
||||
"otStart, otEnd, autoinput, kisullv, kisuldiv, kisulamt, ot2, otwuid, ottime";
|
||||
sql += " FROM JobReport";
|
||||
@@ -324,13 +324,19 @@ namespace FPJ0000
|
||||
{
|
||||
//삭제컬럼인덱스
|
||||
this.fpSpread1.SuspendLayout();
|
||||
var delindex = this.fpSpread1.ActiveSheet.Columns["pidx"].Index;
|
||||
var prjindex = this.fpSpread1.ActiveSheet.Columns["pidx"].Index;
|
||||
var stsindex = this.fpSpread1.ActiveSheet.Columns["status"].Index;
|
||||
for (int i = 0; i < this.fpSpread1.ActiveSheet.Rows.Count; i++)
|
||||
{
|
||||
var state = this.fpSpread1.ActiveSheet.GetValue(i, delindex);
|
||||
var state = this.fpSpread1.ActiveSheet.GetValue(i, prjindex);
|
||||
string stateStr = string.Empty;
|
||||
if (state != null) stateStr = state.ToString();
|
||||
|
||||
var status = this.fpSpread1.ActiveSheet.GetValue(i, stsindex);
|
||||
string statusStr = string.Empty;
|
||||
if (status != null) statusStr = status.ToString();
|
||||
|
||||
//프로젝트여부에따라 회색
|
||||
switch (stateStr.ToLower())
|
||||
{
|
||||
case "-1":
|
||||
@@ -340,6 +346,14 @@ namespace FPJ0000
|
||||
this.fpSpread1.ActiveSheet.Rows[i].BackColor = SystemColors.Window;
|
||||
break;
|
||||
}
|
||||
if(statusStr.EndsWith("완료"))
|
||||
{
|
||||
this.fpSpread1.ActiveSheet.Cells[i,stsindex].BackColor = Color.Lime;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.fpSpread1.ActiveSheet.Cells[i, stsindex].BackColor = Color.Tomato;
|
||||
}
|
||||
}
|
||||
this.fpSpread1.ResumeLayout();
|
||||
}
|
||||
|
||||
@@ -130,7 +130,7 @@
|
||||
<data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
vwAADr8BOAVTJAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77
|
||||
vgAADr4B6kKxwAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77
|
||||
wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0
|
||||
v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg
|
||||
UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA
|
||||
@@ -141,7 +141,7 @@
|
||||
<data name="bindingNavigatorMovePreviousItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
vwAADr8BOAVTJAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w
|
||||
vgAADr4B6kKxwAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w
|
||||
5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f
|
||||
Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+
|
||||
08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC
|
||||
@@ -150,7 +150,7 @@
|
||||
<data name="bindingNavigatorMoveNextItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
vwAADr8BOAVTJAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
|
||||
vgAADr4B6kKxwAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
|
||||
n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI
|
||||
N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f
|
||||
oAc0QjgAAAAASUVORK5CYII=
|
||||
@@ -159,7 +159,7 @@
|
||||
<data name="bindingNavigatorMoveLastItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
vwAADr8BOAVTJAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+//
|
||||
vgAADr4B6kKxwAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+//
|
||||
h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B
|
||||
twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA
|
||||
kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG
|
||||
@@ -170,7 +170,7 @@
|
||||
<data name="btAdd.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
vwAADr8BOAVTJAAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC
|
||||
vgAADr4B6kKxwAAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC
|
||||
pBtwfjov3ICDPSKkG3B8kiBQc93/Pw+q/u9oFydswKWZPP/PTuX7fxKo8Ui/0P993SJAzeX//94r+r++
|
||||
Qeb/qhq5/0srFf/PL1X+P6tIFdPAU0B//nlYD9RUC8SV///cKwHivP9/72b+/3sn+f/f23H//92MAOKQ
|
||||
/5NyNDENONQrDHbu3/ulQI0FQI3ZQI2pQI0J///digZqDPv/70bQ/3/X/f53peliGrCzXeL/lmap/+vA
|
||||
@@ -193,7 +193,7 @@
|
||||
<data name="btDel.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
vwAADr8BOAVTJAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC
|
||||
vgAADr4B6kKxwAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC
|
||||
DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC
|
||||
rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV
|
||||
i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG
|
||||
@@ -240,23 +240,52 @@
|
||||
TgDQASA1MVpwzwAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="toolStripButton9.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAE3SURBVDhPnZIxS8NQFEb7W/wLjh0Fl9a1SxBHBekkWFd1
|
||||
qYg4Ci5dndSCg2AHl4LQSaRSKDqoFUE7VAjUmvTKueWmL2mw2gunL7zmO+/mJhmZoTJusdF868vpXUfO
|
||||
b5/lpPEox9f3SvnsRtk8uojxHQ7HEgSEkXS6vrz3xqtdu+xdfUiheEBsJOGCk/mz/hROUHsIIrp+qIKY
|
||||
hB/a9r+CVAG4Auj5g7iA5/1NACaptgIVLHkb0wWVw13ZL60p2+uerqkCJs1mMgwUU6d1k/xJwI10RZj1
|
||||
9TPUN7Wam9dgTMC75QR7TjCBkRQs5Jd1jQS8c1ewtZLTPcQW/peADpC44cudgnjZOQ1OCGjTwkwaGBon
|
||||
GoSrpcVIQqmAj6LZftFBup9vWiUlUQdIDCbsQrsGZRJKBbOXyA++SlEsu6QjvQAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="toolStripButton3.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="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<data name="toolStripButton10.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALySURBVDhPhZJZTxNRGIZ7pT/BoBdekhiFCEaNXigIWMAE
|
||||
NwSCyFYKAQEJ1GAi1hSMyGJAAiRqCETjhRpwgQKWrZRCK8WIlJal7EvCUoEuM9CZ8npmWgETEr/kybk4
|
||||
8z6Z750RcBP4UBl3pVijCCvR/A6Saihy0jyl3Kmlw4r76JBnav15iar8WPj7A3xo7wQ/6VEtW+hVvd7I
|
||||
mm2bMFt3WbVw0DAuWpD3ZRZRJSN2Ybr8oDvqmtBC9bJ+eJTtm3ZAO8NAO8tAM81APbUF5fgmWgw2bDJA
|
||||
4wiFvE8zSHyhp/6RBElbqA37FgbmWPyYY8jJoJ+XbKHbtIlvBjsRODGwyEK74ECBfBb+Dzre8eHIUr/J
|
||||
W9LwbXHVDSRW3kRlax3y60vhL/WCH0FYcA6BstMoayzjV7HSDJbW7AiM7WZ4QUSx/8eOoSY0jb1GpSaH
|
||||
l8RWhCDnbQwy6qIgqr6KhOoENA4uoUlvxddfG1gnPQXJemheICwXHvSRZrKa0S68GZKhSJnOS+KqQkn4
|
||||
GlJeJkNlsvGrtI9RUJAe1mwOBOX3ugTcBBd201k18dCZ1KjW3sfTtmxEll5CXEU4dNN26EixXMGqCVcn
|
||||
ZiIIlO0RXHgkdZzJPYqYciEGJvpQ0JUKmTwLUc8DUKf8jJ/zDHSk2L4pB3oJyxYH/B+7BT4SD7Gv5Agy
|
||||
aqNxuyoY0WWXeUmWPAaS+mTyJgHg7gdmWfRzn5hgIUV6Z6pdAl/JoXlfyWHykAd8czxwvSgAaa/ioTIo
|
||||
UKDIReqHeIiqIqAjAi35NzREQDucRKDcXeFiZg+9uE5jcJ7l6R5dwL2aFCSRoLg6Ctm1d3fuOOxbLBE0
|
||||
7Ao425x5V/A/bNwKyXsEZ7M67R3f9dv7PbwfxjGT80Rso9UdJ0WmtE3ObNgtnf0G5+QKhcllCiY3K1YH
|
||||
D9e8lWYxZBx3UhS17nmnedgdFwhOpbSmeYta2k6KFWZvcQO9Q5ILr7+IGmhPUfPa8YTmdq94eaJAIBD8
|
||||
Aekrn18k0ej1AAAAAElFTkSuQmCC
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALxSURBVDhPhZLrS1NhHMf3qv6EsF70UohSzKioF6WpTQ3s
|
||||
Zipm3uYUTU10YZAtppF5CU1UqBCl6EWFdtGpzduc0y1npM7lZc674GWpu5yjO2d+e87ZUgOhH3x4Xjzn
|
||||
++H8vucIuAl8qIy7UqxRhJVofgdJNRQ5aZ5S7tTSYcV9dMgztf68RFV+LPz9AT60d4Kf9KiWLfSqXm9g
|
||||
zbZNmK27rFo4aPxatCDvyyyiSkbtwnT5QXfUNaGF6mW9fpTtm3ZAO8NAO8tAM81APbUF5cQmWgw2bDJA
|
||||
4yiFvE8zSHyhp/6RBElbqA37FgbmWPyYY8jJoJ+XbKHbuIlvBjsRODGwyEK74ECBfBb+Dzre8eHIUj/T
|
||||
LWn4trjqBhIrb6KytQ759aXwl3rBjyAsOIdA2WmUNZbxq1hpBktrdgTGdjO8IKLY/2PHcBOaxl+jUpPD
|
||||
S2IrQpDzNgYZdVEQVV9FQnUCGgeX0KS34uvQBtZJT0GyHpoXCMuFB32kmaxmrAtvhmUoUqbzkriqUBK+
|
||||
hpSXyVAZbfwq7eMUFKSHNZsDQfm9LgE3wYXddFZNPHRGNaq19/G0LRuRpZcQVxEO3bQdOlIsV7Bq0tWJ
|
||||
mQgCZXsEFx5JHWdyjyKmXIiByT4UdKVCJs9C1PMA1Ck/4+c8Ax0ptm/KgV7CssUB/8duwUmJh9hXcgQZ
|
||||
tdG4XRWM6LLLvCRLHgNJfTJ5kwBw9wOzLPq5T0ywkCK9M9Uuga/k0Lyv5DB5yAO+OR64XhSAtFfxUBkU
|
||||
KFDkIvVDPERVEdARgZb8GxoioB1OIlDurnAxs4deXKcxOM/ydI8t4F5NCpJIUFwdhezauzt3HPYtlgga
|
||||
dgWcbc68K/gfNm6F5D2Cs1md9nbt8PZ+D++HYWzCeSK20eqOkyJT2kwzG3ZL5/cRp2mFgmmZgtHNitXB
|
||||
wzVvpVkMGcadFEWte95pHnHHBYJTKa1p3qKWNh+xwuwtbqB3SHLh9RdRA+0pal47ntDc7hUvTxQIBII/
|
||||
1jafUMnXM7oAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="toolStripButton11.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
@@ -323,32 +352,6 @@
|
||||
hB/a9r+CVAG4Auj5g7iA5/1NACaptgIVLHkb0wWVw13ZL60p2+uerqkCJs1mMgwUU6d1k/xJwI10RZj1
|
||||
9TPUN7Wam9dgTMC75QR7TjCBkRQs5Jd1jQS8c1ewtZLTPcQW/peADpC44cudgnjZOQ1OCGjTwkwaGBon
|
||||
GoSrpcVIQqmAj6LZftFBup9vWiUlUQdIDCbsQrsGZRJKBbOXyA++SlEsu6QjvQAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="toolStripButton9.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAE3SURBVDhPnZIxS8NQFEb7W/wLjh0Fl9a1SxBHBekkWFd1
|
||||
qYg4Ci5dndSCg2AHl4LQSaRSKDqoFUE7VAjUmvTKueWmL2mw2gunL7zmO+/mJhmZoTJusdF868vpXUfO
|
||||
b5/lpPEox9f3SvnsRtk8uojxHQ7HEgSEkXS6vrz3xqtdu+xdfUiheEBsJOGCk/mz/hROUHsIIrp+qIKY
|
||||
hB/a9r+CVAG4Auj5g7iA5/1NACaptgIVLHkb0wWVw13ZL60p2+uerqkCJs1mMgwUU6d1k/xJwI10RZj1
|
||||
9TPUN7Wam9dgTMC75QR7TjCBkRQs5Jd1jQS8c1ewtZLTPcQW/peADpC44cudgnjZOQ1OCGjTwkwaGBon
|
||||
GoSrpcVIQqmAj6LZftFBup9vWiUlUQdIDCbsQrsGZRJKBbOXyA++SlEsu6QjvQAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="toolStripButton3.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="cm.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
@@ -400,9 +403,9 @@
|
||||
<value>499, 17</value>
|
||||
</metadata>
|
||||
<metadata name="fpSpread1_Sheet1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>561, 17</value>
|
||||
<value>563, 17</value>
|
||||
</metadata>
|
||||
<data name="dateTimeCellType1.Calendar" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<data name="dateTimeCellType3.Calendar" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>
|
||||
AAEAAAD/////AQAAAAAAAAAEAQAAACZTeXN0ZW0uR2xvYmFsaXphdGlvbi5HcmVnb3JpYW5DYWxlbmRh
|
||||
cgYAAAAGbV90eXBlEW1fY3VycmVudEVyYVZhbHVlD3R3b0RpZ2l0WWVhck1heBpDYWxlbmRhcittX2N1
|
||||
@@ -412,7 +415,7 @@
|
||||
AAD/////AQgAAP////8AAQgAAAs=
|
||||
</value>
|
||||
</data>
|
||||
<data name="dateTimeCellType2.Calendar" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<data name="dateTimeCellType4.Calendar" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>
|
||||
AAEAAAD/////AQAAAAAAAAAEAQAAACZTeXN0ZW0uR2xvYmFsaXphdGlvbi5HcmVnb3JpYW5DYWxlbmRh
|
||||
cgYAAAAGbV90eXBlEW1fY3VycmVudEVyYVZhbHVlD3R3b0RpZ2l0WWVhck1heBpDYWxlbmRhcittX2N1
|
||||
|
||||
188
SubProject/FPJ0000/JobReport_/fJobReport_Add.Designer.cs
generated
188
SubProject/FPJ0000/JobReport_/fJobReport_Add.Designer.cs
generated
@@ -55,13 +55,12 @@
|
||||
this.toolStripStatusLabel2 = new System.Windows.Forms.ToolStripStatusLabel();
|
||||
this.lbOt2 = new System.Windows.Forms.ToolStripStatusLabel();
|
||||
this.lbotReason = new System.Windows.Forms.ToolStripStatusLabel();
|
||||
this.cmbType = new System.Windows.Forms.ComboBox();
|
||||
this.btSave = new System.Windows.Forms.Button();
|
||||
this.dtPdate = new System.Windows.Forms.DateTimePicker();
|
||||
this.cmbUser = new System.Windows.Forms.ComboBox();
|
||||
this.tbOt = new System.Windows.Forms.TextBox();
|
||||
this.tbWW = new System.Windows.Forms.TextBox();
|
||||
this.cmbProcess = new System.Windows.Forms.ComboBox();
|
||||
this.tbJobProcess = new System.Windows.Forms.ComboBox();
|
||||
this.cmbState = new System.Windows.Forms.ComboBox();
|
||||
this.cmbPackage = new System.Windows.Forms.ComboBox();
|
||||
this.cmbRequest = new System.Windows.Forms.ComboBox();
|
||||
@@ -69,6 +68,9 @@
|
||||
this.tbProject = new System.Windows.Forms.ComboBox();
|
||||
this.richTextBoxEx1 = new RichTextBoxEx.RichTextBoxEx();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.tbJobType = new System.Windows.Forms.ComboBox();
|
||||
this.tbJobGrp = new System.Windows.Forms.ComboBox();
|
||||
this.cmbTypeFull = new System.Windows.Forms.Button();
|
||||
this.chkManagerAlert = new System.Windows.Forms.CheckBox();
|
||||
this.tbProjectIndex = new System.Windows.Forms.Button();
|
||||
this.grpkisul = new System.Windows.Forms.GroupBox();
|
||||
@@ -107,7 +109,7 @@
|
||||
// hrsLabel
|
||||
//
|
||||
hrsLabel.AutoSize = true;
|
||||
hrsLabel.Location = new System.Drawing.Point(19, 124);
|
||||
hrsLabel.Location = new System.Drawing.Point(24, 163);
|
||||
hrsLabel.Name = "hrsLabel";
|
||||
hrsLabel.Size = new System.Drawing.Size(53, 12);
|
||||
hrsLabel.TabIndex = 19;
|
||||
@@ -116,27 +118,27 @@
|
||||
// typeLabel
|
||||
//
|
||||
typeLabel.AutoSize = true;
|
||||
typeLabel.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
typeLabel.Location = new System.Drawing.Point(374, 35);
|
||||
typeLabel.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
typeLabel.Location = new System.Drawing.Point(3, 75);
|
||||
typeLabel.Name = "typeLabel";
|
||||
typeLabel.Size = new System.Drawing.Size(74, 21);
|
||||
typeLabel.Size = new System.Drawing.Size(69, 20);
|
||||
typeLabel.TabIndex = 11;
|
||||
typeLabel.Text = "업무형태";
|
||||
//
|
||||
// label1
|
||||
//
|
||||
label1.AutoSize = true;
|
||||
label1.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
label1.Location = new System.Drawing.Point(-2, 35);
|
||||
label1.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
label1.Location = new System.Drawing.Point(3, 42);
|
||||
label1.Name = "label1";
|
||||
label1.Size = new System.Drawing.Size(74, 21);
|
||||
label1.Size = new System.Drawing.Size(69, 20);
|
||||
label1.TabIndex = 7;
|
||||
label1.Text = "요청부서";
|
||||
//
|
||||
// projectLabel
|
||||
//
|
||||
projectLabel.AutoSize = true;
|
||||
projectLabel.Location = new System.Drawing.Point(19, 70);
|
||||
projectLabel.Location = new System.Drawing.Point(19, 108);
|
||||
projectLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
projectLabel.Name = "projectLabel";
|
||||
projectLabel.Size = new System.Drawing.Size(53, 12);
|
||||
@@ -146,57 +148,60 @@
|
||||
// label4
|
||||
//
|
||||
label4.AutoSize = true;
|
||||
label4.Location = new System.Drawing.Point(578, 10);
|
||||
label4.Font = new System.Drawing.Font("맑은 고딕", 11.25F);
|
||||
label4.Location = new System.Drawing.Point(484, 10);
|
||||
label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
label4.Name = "label4";
|
||||
label4.Size = new System.Drawing.Size(41, 12);
|
||||
label4.Size = new System.Drawing.Size(54, 20);
|
||||
label4.TabIndex = 5;
|
||||
label4.Text = "담당자";
|
||||
//
|
||||
// stateLabel
|
||||
//
|
||||
stateLabel.AutoSize = true;
|
||||
stateLabel.Location = new System.Drawing.Point(320, 10);
|
||||
stateLabel.Font = new System.Drawing.Font("맑은 고딕", 11.25F);
|
||||
stateLabel.Location = new System.Drawing.Point(655, 42);
|
||||
stateLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
stateLabel.Name = "stateLabel";
|
||||
stateLabel.Size = new System.Drawing.Size(29, 12);
|
||||
stateLabel.Size = new System.Drawing.Size(39, 20);
|
||||
stateLabel.TabIndex = 3;
|
||||
stateLabel.Text = "상태";
|
||||
//
|
||||
// label5
|
||||
//
|
||||
label5.AutoSize = true;
|
||||
label5.Location = new System.Drawing.Point(31, 10);
|
||||
label5.Font = new System.Drawing.Font("맑은 고딕", 11.25F);
|
||||
label5.Location = new System.Drawing.Point(18, 10);
|
||||
label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
label5.Name = "label5";
|
||||
label5.Size = new System.Drawing.Size(41, 12);
|
||||
label5.Size = new System.Drawing.Size(54, 20);
|
||||
label5.TabIndex = 0;
|
||||
label5.Text = "등록일";
|
||||
//
|
||||
// label3
|
||||
//
|
||||
label3.AutoSize = true;
|
||||
label3.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
label3.Location = new System.Drawing.Point(186, 35);
|
||||
label3.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
label3.Location = new System.Drawing.Point(266, 42);
|
||||
label3.Name = "label3";
|
||||
label3.Size = new System.Drawing.Size(58, 21);
|
||||
label3.Size = new System.Drawing.Size(54, 20);
|
||||
label3.TabIndex = 9;
|
||||
label3.Text = "패키지";
|
||||
//
|
||||
// label6
|
||||
//
|
||||
label6.AutoSize = true;
|
||||
label6.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
label6.Location = new System.Drawing.Point(683, 35);
|
||||
label6.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
label6.Location = new System.Drawing.Point(655, 75);
|
||||
label6.Name = "label6";
|
||||
label6.Size = new System.Drawing.Size(42, 21);
|
||||
label6.Size = new System.Drawing.Size(39, 20);
|
||||
label6.TabIndex = 13;
|
||||
label6.Text = "분류";
|
||||
label6.Text = "공정";
|
||||
//
|
||||
// label2
|
||||
//
|
||||
label2.AutoSize = true;
|
||||
label2.Location = new System.Drawing.Point(155, 124);
|
||||
label2.Location = new System.Drawing.Point(160, 163);
|
||||
label2.Name = "label2";
|
||||
label2.Size = new System.Drawing.Size(53, 12);
|
||||
label2.TabIndex = 21;
|
||||
@@ -206,7 +211,7 @@
|
||||
//
|
||||
label7.AutoSize = true;
|
||||
label7.Font = new System.Drawing.Font("맑은 고딕", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
label7.Location = new System.Drawing.Point(297, 112);
|
||||
label7.Location = new System.Drawing.Point(302, 151);
|
||||
label7.Name = "label7";
|
||||
label7.Size = new System.Drawing.Size(73, 13);
|
||||
label7.TabIndex = 23;
|
||||
@@ -253,7 +258,7 @@
|
||||
//
|
||||
this.lbSummary.AutoSize = true;
|
||||
this.lbSummary.ForeColor = System.Drawing.Color.SlateGray;
|
||||
this.lbSummary.Location = new System.Drawing.Point(70, 159);
|
||||
this.lbSummary.Location = new System.Drawing.Point(75, 198);
|
||||
this.lbSummary.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.lbSummary.Name = "lbSummary";
|
||||
this.lbSummary.Size = new System.Drawing.Size(339, 12);
|
||||
@@ -264,7 +269,7 @@
|
||||
//
|
||||
this.tbHrs.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "hrs", true, System.Windows.Forms.DataSourceUpdateMode.OnValidation, null, "N2"));
|
||||
this.tbHrs.Font = new System.Drawing.Font("맑은 고딕", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.tbHrs.Location = new System.Drawing.Point(72, 111);
|
||||
this.tbHrs.Location = new System.Drawing.Point(77, 150);
|
||||
this.tbHrs.Name = "tbHrs";
|
||||
this.tbHrs.Size = new System.Drawing.Size(77, 39);
|
||||
this.tbHrs.TabIndex = 20;
|
||||
@@ -325,24 +330,13 @@
|
||||
this.lbotReason.Size = new System.Drawing.Size(121, 17);
|
||||
this.lbotReason.Text = "toolStripStatusLabel4";
|
||||
//
|
||||
// cmbType
|
||||
//
|
||||
this.cmbType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cmbType.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.cmbType.FormattingEnabled = true;
|
||||
this.cmbType.Location = new System.Drawing.Point(454, 31);
|
||||
this.cmbType.Name = "cmbType";
|
||||
this.cmbType.Size = new System.Drawing.Size(223, 29);
|
||||
this.cmbType.TabIndex = 12;
|
||||
this.cmbType.SelectedIndexChanged += new System.EventHandler(this.cmbType_SelectedIndexChanged);
|
||||
//
|
||||
// btSave
|
||||
//
|
||||
this.btSave.BackColor = System.Drawing.Color.SkyBlue;
|
||||
this.btSave.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.btSave.Location = new System.Drawing.Point(867, 6);
|
||||
this.btSave.Location = new System.Drawing.Point(870, 3);
|
||||
this.btSave.Name = "btSave";
|
||||
this.btSave.Size = new System.Drawing.Size(113, 191);
|
||||
this.btSave.Size = new System.Drawing.Size(113, 232);
|
||||
this.btSave.TabIndex = 28;
|
||||
this.btSave.Text = "확인";
|
||||
this.btSave.UseVisualStyleBackColor = false;
|
||||
@@ -350,10 +344,11 @@
|
||||
//
|
||||
// dtPdate
|
||||
//
|
||||
this.dtPdate.Location = new System.Drawing.Point(73, 6);
|
||||
this.dtPdate.Font = new System.Drawing.Font("맑은 고딕", 12F);
|
||||
this.dtPdate.Location = new System.Drawing.Point(78, 6);
|
||||
this.dtPdate.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.dtPdate.Name = "dtPdate";
|
||||
this.dtPdate.Size = new System.Drawing.Size(178, 21);
|
||||
this.dtPdate.Size = new System.Drawing.Size(242, 29);
|
||||
this.dtPdate.TabIndex = 1;
|
||||
this.dtPdate.ValueChanged += new System.EventHandler(this.dtPdate_ValueChanged);
|
||||
//
|
||||
@@ -362,12 +357,13 @@
|
||||
this.cmbUser.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
|
||||
this.cmbUser.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
|
||||
this.cmbUser.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cmbUser.Font = new System.Drawing.Font("맑은 고딕", 12F);
|
||||
this.cmbUser.FormattingEnabled = true;
|
||||
this.cmbUser.ImeMode = System.Windows.Forms.ImeMode.Hangul;
|
||||
this.cmbUser.Location = new System.Drawing.Point(627, 6);
|
||||
this.cmbUser.Location = new System.Drawing.Point(546, 6);
|
||||
this.cmbUser.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.cmbUser.Name = "cmbUser";
|
||||
this.cmbUser.Size = new System.Drawing.Size(234, 20);
|
||||
this.cmbUser.Size = new System.Drawing.Size(320, 29);
|
||||
this.cmbUser.TabIndex = 6;
|
||||
this.cmbUser.SelectedIndexChanged += new System.EventHandler(this.cmbUser_SelectedIndexChanged);
|
||||
//
|
||||
@@ -376,7 +372,7 @@
|
||||
this.tbOt.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "ot", true));
|
||||
this.tbOt.Font = new System.Drawing.Font("맑은 고딕", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.tbOt.ForeColor = System.Drawing.Color.Red;
|
||||
this.tbOt.Location = new System.Drawing.Point(213, 111);
|
||||
this.tbOt.Location = new System.Drawing.Point(218, 150);
|
||||
this.tbOt.Name = "tbOt";
|
||||
this.tbOt.Size = new System.Drawing.Size(77, 39);
|
||||
this.tbOt.TabIndex = 22;
|
||||
@@ -386,32 +382,34 @@
|
||||
//
|
||||
// tbWW
|
||||
//
|
||||
this.tbWW.Location = new System.Drawing.Point(253, 6);
|
||||
this.tbWW.Font = new System.Drawing.Font("맑은 고딕", 12F);
|
||||
this.tbWW.Location = new System.Drawing.Point(328, 6);
|
||||
this.tbWW.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.tbWW.Name = "tbWW";
|
||||
this.tbWW.ReadOnly = true;
|
||||
this.tbWW.Size = new System.Drawing.Size(63, 21);
|
||||
this.tbWW.Size = new System.Drawing.Size(148, 29);
|
||||
this.tbWW.TabIndex = 2;
|
||||
this.tbWW.TabStop = false;
|
||||
this.tbWW.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// cmbProcess
|
||||
// tbJobProcess
|
||||
//
|
||||
this.cmbProcess.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.cmbProcess.FormattingEnabled = true;
|
||||
this.cmbProcess.Location = new System.Drawing.Point(731, 31);
|
||||
this.cmbProcess.Name = "cmbProcess";
|
||||
this.cmbProcess.Size = new System.Drawing.Size(130, 29);
|
||||
this.cmbProcess.TabIndex = 14;
|
||||
this.tbJobProcess.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.tbJobProcess.FormattingEnabled = true;
|
||||
this.tbJobProcess.Location = new System.Drawing.Point(700, 71);
|
||||
this.tbJobProcess.Name = "tbJobProcess";
|
||||
this.tbJobProcess.Size = new System.Drawing.Size(166, 29);
|
||||
this.tbJobProcess.TabIndex = 14;
|
||||
//
|
||||
// cmbState
|
||||
//
|
||||
this.cmbState.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
||||
this.cmbState.Font = new System.Drawing.Font("맑은 고딕", 12F);
|
||||
this.cmbState.FormattingEnabled = true;
|
||||
this.cmbState.Location = new System.Drawing.Point(353, 6);
|
||||
this.cmbState.Location = new System.Drawing.Point(700, 38);
|
||||
this.cmbState.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.cmbState.Name = "cmbState";
|
||||
this.cmbState.Size = new System.Drawing.Size(217, 20);
|
||||
this.cmbState.Size = new System.Drawing.Size(166, 29);
|
||||
this.cmbState.TabIndex = 4;
|
||||
this.cmbState.SelectedIndexChanged += new System.EventHandler(this.chkform_indexchan);
|
||||
//
|
||||
@@ -420,9 +418,9 @@
|
||||
this.cmbPackage.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cmbPackage.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.cmbPackage.FormattingEnabled = true;
|
||||
this.cmbPackage.Location = new System.Drawing.Point(239, 31);
|
||||
this.cmbPackage.Location = new System.Drawing.Point(328, 38);
|
||||
this.cmbPackage.Name = "cmbPackage";
|
||||
this.cmbPackage.Size = new System.Drawing.Size(131, 29);
|
||||
this.cmbPackage.Size = new System.Drawing.Size(318, 29);
|
||||
this.cmbPackage.TabIndex = 10;
|
||||
//
|
||||
// cmbRequest
|
||||
@@ -430,15 +428,16 @@
|
||||
this.cmbRequest.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cmbRequest.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.cmbRequest.FormattingEnabled = true;
|
||||
this.cmbRequest.Location = new System.Drawing.Point(72, 31);
|
||||
this.cmbRequest.Location = new System.Drawing.Point(77, 38);
|
||||
this.cmbRequest.Name = "cmbRequest";
|
||||
this.cmbRequest.Size = new System.Drawing.Size(108, 29);
|
||||
this.cmbRequest.Size = new System.Drawing.Size(183, 29);
|
||||
this.cmbRequest.TabIndex = 8;
|
||||
this.cmbRequest.SelectedIndexChanged += new System.EventHandler(this.cmbRequest_SelectedIndexChanged);
|
||||
//
|
||||
// chkAutoAdd
|
||||
//
|
||||
this.chkAutoAdd.AutoSize = true;
|
||||
this.chkAutoAdd.Location = new System.Drawing.Point(73, 181);
|
||||
this.chkAutoAdd.Location = new System.Drawing.Point(78, 220);
|
||||
this.chkAutoAdd.Name = "chkAutoAdd";
|
||||
this.chkAutoAdd.Size = new System.Drawing.Size(176, 16);
|
||||
this.chkAutoAdd.TabIndex = 26;
|
||||
@@ -452,7 +451,7 @@
|
||||
this.tbProject.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
||||
this.tbProject.Font = new System.Drawing.Font("굴림", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.tbProject.FormattingEnabled = true;
|
||||
this.tbProject.Location = new System.Drawing.Point(73, 65);
|
||||
this.tbProject.Location = new System.Drawing.Point(78, 103);
|
||||
this.tbProject.Name = "tbProject";
|
||||
this.tbProject.Size = new System.Drawing.Size(714, 23);
|
||||
this.tbProject.TabIndex = 16;
|
||||
@@ -468,18 +467,21 @@
|
||||
this.richTextBoxEx1.AutoValidate = System.Windows.Forms.AutoValidate.EnablePreventFocusChange;
|
||||
this.richTextBoxEx1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.richTextBoxEx1.FilePath = "";
|
||||
this.richTextBoxEx1.Location = new System.Drawing.Point(0, 205);
|
||||
this.richTextBoxEx1.Location = new System.Drawing.Point(0, 243);
|
||||
this.richTextBoxEx1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||
this.richTextBoxEx1.Name = "richTextBoxEx1";
|
||||
this.richTextBoxEx1.Rtf = resources.GetString("richTextBoxEx1.Rtf");
|
||||
this.richTextBoxEx1.SetColorWithFont = true;
|
||||
this.richTextBoxEx1.ShowToolStrip = true;
|
||||
this.richTextBoxEx1.Size = new System.Drawing.Size(988, 449);
|
||||
this.richTextBoxEx1.Size = new System.Drawing.Size(988, 411);
|
||||
this.richTextBoxEx1.TabIndex = 58;
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(200)))), ((int)(((byte)(200)))));
|
||||
this.panel1.Controls.Add(this.tbJobType);
|
||||
this.panel1.Controls.Add(this.tbJobGrp);
|
||||
this.panel1.Controls.Add(this.cmbTypeFull);
|
||||
this.panel1.Controls.Add(this.chkManagerAlert);
|
||||
this.panel1.Controls.Add(this.tbProjectIndex);
|
||||
this.panel1.Controls.Add(this.grpkisul);
|
||||
@@ -496,7 +498,6 @@
|
||||
this.panel1.Controls.Add(this.lbTitleTip);
|
||||
this.panel1.Controls.Add(hrsLabel);
|
||||
this.panel1.Controls.Add(this.chkAutoAdd);
|
||||
this.panel1.Controls.Add(this.cmbType);
|
||||
this.panel1.Controls.Add(label5);
|
||||
this.panel1.Controls.Add(typeLabel);
|
||||
this.panel1.Controls.Add(this.lbSummary);
|
||||
@@ -507,20 +508,54 @@
|
||||
this.panel1.Controls.Add(label3);
|
||||
this.panel1.Controls.Add(stateLabel);
|
||||
this.panel1.Controls.Add(this.cmbUser);
|
||||
this.panel1.Controls.Add(this.cmbProcess);
|
||||
this.panel1.Controls.Add(this.tbJobProcess);
|
||||
this.panel1.Controls.Add(this.tbWW);
|
||||
this.panel1.Controls.Add(label4);
|
||||
this.panel1.Controls.Add(this.tbOt);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel1.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(988, 205);
|
||||
this.panel1.Size = new System.Drawing.Size(988, 243);
|
||||
this.panel1.TabIndex = 0;
|
||||
//
|
||||
// tbJobType
|
||||
//
|
||||
this.tbJobType.BackColor = System.Drawing.Color.Violet;
|
||||
this.tbJobType.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.tbJobType.ForeColor = System.Drawing.Color.Black;
|
||||
this.tbJobType.FormattingEnabled = true;
|
||||
this.tbJobType.Location = new System.Drawing.Point(404, 198);
|
||||
this.tbJobType.Name = "tbJobType";
|
||||
this.tbJobType.Size = new System.Drawing.Size(122, 29);
|
||||
this.tbJobType.TabIndex = 33;
|
||||
this.tbJobType.Visible = false;
|
||||
//
|
||||
// tbJobGrp
|
||||
//
|
||||
this.tbJobGrp.BackColor = System.Drawing.Color.Violet;
|
||||
this.tbJobGrp.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.tbJobGrp.ForeColor = System.Drawing.Color.Black;
|
||||
this.tbJobGrp.FormattingEnabled = true;
|
||||
this.tbJobGrp.Location = new System.Drawing.Point(532, 198);
|
||||
this.tbJobGrp.Name = "tbJobGrp";
|
||||
this.tbJobGrp.Size = new System.Drawing.Size(122, 29);
|
||||
this.tbJobGrp.TabIndex = 32;
|
||||
this.tbJobGrp.Visible = false;
|
||||
//
|
||||
// cmbTypeFull
|
||||
//
|
||||
this.cmbTypeFull.Font = new System.Drawing.Font("맑은 고딕", 11.25F);
|
||||
this.cmbTypeFull.Location = new System.Drawing.Point(77, 71);
|
||||
this.cmbTypeFull.Name = "cmbTypeFull";
|
||||
this.cmbTypeFull.Size = new System.Drawing.Size(569, 29);
|
||||
this.cmbTypeFull.TabIndex = 31;
|
||||
this.cmbTypeFull.UseVisualStyleBackColor = true;
|
||||
this.cmbTypeFull.Click += new System.EventHandler(this.cmbType_Click);
|
||||
//
|
||||
// chkManagerAlert
|
||||
//
|
||||
this.chkManagerAlert.AutoSize = true;
|
||||
this.chkManagerAlert.Location = new System.Drawing.Point(265, 181);
|
||||
this.chkManagerAlert.Location = new System.Drawing.Point(270, 220);
|
||||
this.chkManagerAlert.Name = "chkManagerAlert";
|
||||
this.chkManagerAlert.Size = new System.Drawing.Size(116, 16);
|
||||
this.chkManagerAlert.TabIndex = 30;
|
||||
@@ -530,7 +565,7 @@
|
||||
//
|
||||
// tbProjectIndex
|
||||
//
|
||||
this.tbProjectIndex.Location = new System.Drawing.Point(793, 65);
|
||||
this.tbProjectIndex.Location = new System.Drawing.Point(798, 103);
|
||||
this.tbProjectIndex.Name = "tbProjectIndex";
|
||||
this.tbProjectIndex.Size = new System.Drawing.Size(68, 23);
|
||||
this.tbProjectIndex.TabIndex = 25;
|
||||
@@ -547,7 +582,7 @@
|
||||
this.grpkisul.Controls.Add(label9);
|
||||
this.grpkisul.Controls.Add(this.cmb_kisullv);
|
||||
this.grpkisul.Controls.Add(label8);
|
||||
this.grpkisul.Location = new System.Drawing.Point(661, 92);
|
||||
this.grpkisul.Location = new System.Drawing.Point(666, 131);
|
||||
this.grpkisul.Name = "grpkisul";
|
||||
this.grpkisul.Size = new System.Drawing.Size(200, 105);
|
||||
this.grpkisul.TabIndex = 29;
|
||||
@@ -589,7 +624,7 @@
|
||||
//
|
||||
this.dateTimePicker2.CustomFormat = "yyyy-MM-dd hh:mm:ss";
|
||||
this.dateTimePicker2.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
|
||||
this.dateTimePicker2.Location = new System.Drawing.Point(455, 126);
|
||||
this.dateTimePicker2.Location = new System.Drawing.Point(460, 165);
|
||||
this.dateTimePicker2.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.dateTimePicker2.Name = "dateTimePicker2";
|
||||
this.dateTimePicker2.Size = new System.Drawing.Size(153, 21);
|
||||
@@ -599,7 +634,7 @@
|
||||
//
|
||||
this.dateTimePicker1.CustomFormat = "yyyy-MM-dd hh:mm:ss";
|
||||
this.dateTimePicker1.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
|
||||
this.dateTimePicker1.Location = new System.Drawing.Point(297, 126);
|
||||
this.dateTimePicker1.Location = new System.Drawing.Point(302, 165);
|
||||
this.dateTimePicker1.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.dateTimePicker1.Name = "dateTimePicker1";
|
||||
this.dateTimePicker1.Size = new System.Drawing.Size(153, 21);
|
||||
@@ -609,7 +644,7 @@
|
||||
//
|
||||
this.lbTitleTip.AutoSize = true;
|
||||
this.lbTitleTip.ForeColor = System.Drawing.Color.SlateGray;
|
||||
this.lbTitleTip.Location = new System.Drawing.Point(72, 94);
|
||||
this.lbTitleTip.Location = new System.Drawing.Point(77, 133);
|
||||
this.lbTitleTip.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.lbTitleTip.Name = "lbTitleTip";
|
||||
this.lbTitleTip.Size = new System.Drawing.Size(339, 12);
|
||||
@@ -662,7 +697,6 @@
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Controls.Add(this.statusStrip1);
|
||||
this.Name = "fJobReport_Add";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "업무일지 등록/변경";
|
||||
this.Load += new System.EventHandler(this.fJobReport_Add_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
|
||||
@@ -688,13 +722,12 @@
|
||||
private System.Windows.Forms.StatusStrip statusStrip1;
|
||||
private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel1;
|
||||
private System.Windows.Forms.ToolStripStatusLabel lbIndex;
|
||||
private System.Windows.Forms.ComboBox cmbType;
|
||||
private System.Windows.Forms.Button btSave;
|
||||
private System.Windows.Forms.DateTimePicker dtPdate;
|
||||
private System.Windows.Forms.ComboBox cmbUser;
|
||||
private System.Windows.Forms.TextBox tbOt;
|
||||
private System.Windows.Forms.TextBox tbWW;
|
||||
private System.Windows.Forms.ComboBox cmbProcess;
|
||||
private System.Windows.Forms.ComboBox tbJobProcess;
|
||||
private System.Windows.Forms.ComboBox cmbState;
|
||||
private System.Windows.Forms.ComboBox cmbPackage;
|
||||
private System.Windows.Forms.ComboBox cmbRequest;
|
||||
@@ -717,5 +750,8 @@
|
||||
private System.Windows.Forms.Button tbProjectIndex;
|
||||
private System.Windows.Forms.CheckBox chkManagerAlert;
|
||||
private System.Windows.Forms.ToolTip toolTip1;
|
||||
private System.Windows.Forms.Button cmbTypeFull;
|
||||
private System.Windows.Forms.ComboBox tbJobGrp;
|
||||
private System.Windows.Forms.ComboBox tbJobType;
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,5 @@
|
||||
using FCOMMON;
|
||||
using AR;
|
||||
using FCOMMON;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
@@ -39,6 +40,10 @@ namespace FPJ0000.JobReport_
|
||||
copyMOde = copy;
|
||||
this.tbProject.SelectedIndexChanged += tbProject_SelectedIndexChanged;
|
||||
this.grpkisul.Visible = getKisulInput;
|
||||
|
||||
var bDev = System.Diagnostics.Debugger.IsAttached || FCOMMON.info.Login.level >= 9;
|
||||
tbJobType.Visible = bDev;
|
||||
tbJobGrp.Visible = bDev;
|
||||
}
|
||||
|
||||
void tbProject_SelectedIndexChanged(object sender, EventArgs e)
|
||||
@@ -106,16 +111,24 @@ namespace FPJ0000.JobReport_
|
||||
this.cmbPackage.DataSource = dt_package;
|
||||
|
||||
//업무형태
|
||||
var dt_type = FCOMMON.DBM.getCodeTable("15", "code,memo,svalue");
|
||||
this.cmbType.DisplayMember = "Value";
|
||||
this.cmbType.ValueMember = "Value";
|
||||
this.cmbType.DataSource = dt_type;
|
||||
//var dt_type = FCOMMON.DBM.getCodeTable("15", "code,memo,svalue");
|
||||
//this.cmbType.DisplayMember = "Value";
|
||||
//this.cmbType.ValueMember = "Value";
|
||||
//this.cmbType.DataSource = dt_type;
|
||||
|
||||
//공정
|
||||
var dt_jobprocess = FCOMMON.DBM.getCodeTable("25", "code,memo,svalue");
|
||||
tbJobProcess.Items.Clear();
|
||||
foreach (DataRow item in dt_jobprocess.Rows)
|
||||
{
|
||||
tbJobProcess.Items.Add(item["Value"].ToString());
|
||||
}
|
||||
|
||||
//업무분류
|
||||
var dt_process = FCOMMON.DBM.getCodeTable("16", "code,memo,svalue");
|
||||
this.cmbProcess.DisplayMember = "Value";
|
||||
this.cmbProcess.ValueMember = "Value";
|
||||
this.cmbProcess.DataSource = dt_process;
|
||||
this.tbJobProcess.DisplayMember = "Value";
|
||||
this.tbJobProcess.ValueMember = "Value";
|
||||
this.tbJobProcess.DataSource = dt_process;
|
||||
|
||||
if (getKisulInput)
|
||||
{
|
||||
@@ -155,18 +168,39 @@ namespace FPJ0000.JobReport_
|
||||
tbProject.Text = dr.projectName;
|
||||
cmbRequest.SelectedValue = dr.requestpart;
|
||||
cmbPackage.SelectedValue = dr.package;
|
||||
cmbType.SelectedValue = dr.type;
|
||||
cmbProcess.SelectedValue = dr.process;
|
||||
|
||||
tbJobProcess.SelectedValue = dr.process;
|
||||
tbJobProcess.Text = dr.process;
|
||||
if (dr.IsjobgrpNull() || dr.jobgrp.isEmpty())
|
||||
{
|
||||
//공용코드에서 가져온다
|
||||
var cdr = FCOMMON.DBM.getCodeByMemo("15", dr.type);
|
||||
if (cdr.svalue.isEmpty() == false)
|
||||
tbJobGrp.Text = cdr.svalue;
|
||||
else
|
||||
tbJobGrp.Text = string.Empty;
|
||||
|
||||
//this.cmbType.DisplayMember = "Value";
|
||||
//this.cmbType.ValueMember = "Value";
|
||||
//this.cmbType.DataSource = dt_type;
|
||||
|
||||
}
|
||||
else tbJobGrp.Text = dr.jobgrp;
|
||||
|
||||
tbJobType.Text = dr.type;
|
||||
|
||||
tbTag.Text = dr.tag;
|
||||
|
||||
if (dr.process.isEmpty() && cmbProcess.SelectedIndex < 0) //기본값을 찾는다
|
||||
RefreshJobTypeFull();
|
||||
|
||||
if (dr.process.isEmpty() && tbJobProcess.SelectedIndex < 0) //기본값을 찾는다
|
||||
{
|
||||
var dts = dt_process.AsEnumerable().Where(t => t.IsNull("SValue") == false).ToList();
|
||||
foreach (var dr in dts)
|
||||
{
|
||||
if (dr["Svalue"].ToString().Equals("O"))
|
||||
{
|
||||
cmbProcess.Text = dr["Value"].ToString();
|
||||
tbJobProcess.Text = dr["Value"].ToString();
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -255,10 +289,10 @@ namespace FPJ0000.JobReport_
|
||||
}
|
||||
|
||||
//231026
|
||||
if(cmbProcess.Text.isEmpty())
|
||||
if (tbJobProcess.Text.isEmpty())
|
||||
{
|
||||
if (cmbProcess.Items.Count == 1)
|
||||
cmbProcess.SelectedIndex = 0;
|
||||
if (tbJobProcess.Items.Count == 1)
|
||||
tbJobProcess.SelectedIndex = 0;
|
||||
}
|
||||
|
||||
this.Show();
|
||||
@@ -349,6 +383,23 @@ namespace FPJ0000.JobReport_
|
||||
|
||||
bInit = true;
|
||||
}
|
||||
|
||||
void RefreshJobTypeFull()
|
||||
{
|
||||
var jprc = tbJobProcess.Text.Trim();
|
||||
if (jprc.isEmpty()) jprc = "N/A";
|
||||
if (jprc.Equals("(N/A)")) jprc = "N/A";
|
||||
|
||||
var jgrp = tbJobGrp.Text.Trim();
|
||||
var jtype = tbJobType.Text.Trim();
|
||||
|
||||
var fullname = $"{jtype} ← {jgrp} ← {jprc}";
|
||||
|
||||
if (jtype.isEmpty()) cmbTypeFull.Text = "업무형태를 선택하세요";
|
||||
else cmbTypeFull.Text = fullname;
|
||||
|
||||
cmbTypeFull.BackColor = jtype.isEmpty() ? Color.HotPink : Color.White;
|
||||
}
|
||||
// editform.editor ed;
|
||||
void ctl_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
@@ -407,10 +458,15 @@ namespace FPJ0000.JobReport_
|
||||
this.cmbPackage.Text = predr["package"].ToString(); //190506
|
||||
|
||||
if (predr["type"] != DBNull.Value)
|
||||
this.cmbType.Text = predr["type"].ToString(); //190506
|
||||
this.tbJobType.Text = predr["type"].ToString(); //190506
|
||||
|
||||
if (predr["jobgrp"] != DBNull.Value)
|
||||
this.tbJobGrp.Text = predr["jobgrp"].ToString(); //190506
|
||||
|
||||
if (predr["process"] != DBNull.Value)
|
||||
cmbProcess.Text = predr["process"].ToString(); //190506
|
||||
tbJobProcess.Text = predr["process"].ToString(); //190506
|
||||
|
||||
RefreshJobTypeFull(); //update fullname
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -461,8 +517,7 @@ namespace FPJ0000.JobReport_
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
if (cmbType.Text != "휴가" && string.IsNullOrEmpty(this.richTextBoxEx1.Text) == true)
|
||||
if (tbJobType.Text.ToString() != "휴가" && string.IsNullOrEmpty(this.richTextBoxEx1.Text) == true)
|
||||
{
|
||||
FCOMMON.Util.MsgE("진행 내용이 없습니다.");
|
||||
this.richTextBoxEx1.Focus();
|
||||
@@ -492,16 +547,16 @@ namespace FPJ0000.JobReport_
|
||||
}
|
||||
}
|
||||
|
||||
if (cmbType.Text.Trim() == "")
|
||||
if (tbJobType.Text.Trim() == "")
|
||||
{
|
||||
FCOMMON.Util.MsgE("업무형태를 선택하세요");
|
||||
cmbType.Focus();
|
||||
cmbTypeFull.Focus();
|
||||
return;
|
||||
}
|
||||
if (cmbProcess.Text.Trim() == "")
|
||||
if (tbJobProcess.Text.Trim() == "")
|
||||
{
|
||||
FCOMMON.Util.MsgE("업무분류를 선택하세요");
|
||||
cmbProcess.Focus();
|
||||
tbJobProcess.Focus();
|
||||
return;
|
||||
}
|
||||
if (cmbUser.SelectedIndex < 0)
|
||||
@@ -621,8 +676,9 @@ namespace FPJ0000.JobReport_
|
||||
else dr.SetpidxNull();
|
||||
this.dr.requestpart = cmbRequest.Text;
|
||||
this.dr.package = cmbPackage.Text;
|
||||
this.dr.type = cmbType.Text;
|
||||
this.dr.process = cmbProcess.Text;
|
||||
this.dr.type = tbJobType.Text.Trim();
|
||||
this.dr.process = tbJobProcess.Text.Trim();
|
||||
this.dr.jobgrp = tbJobGrp.Text.Trim();
|
||||
this.dr.tag = tbTag.Text.Trim();
|
||||
|
||||
|
||||
@@ -718,38 +774,36 @@ namespace FPJ0000.JobReport_
|
||||
|
||||
|
||||
|
||||
private void cmbType_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (cmbType.Text.Trim() != "" &&
|
||||
cmbType.SelectedIndex >= 0 &&
|
||||
cmbProcess.SelectedIndex < 0 &&
|
||||
cmbUser.SelectedValue != null)
|
||||
{
|
||||
//공정을 자동선택해준다.
|
||||
//마지막 데이터를 찾아서 공정등의 정보를 업데이트한다.
|
||||
var uid = cmbUser.SelectedValue.ToString();
|
||||
var lastDt = FCOMMON.DBM.getLastJobReportData(uid, cmbType.Text.Trim());
|
||||
if (lastDt != null && lastDt.Rows.Count > 0)
|
||||
{
|
||||
var predr = lastDt.Rows[0];// as dsPRJ.JobReportRow;
|
||||
if (predr["process"] != DBNull.Value)
|
||||
cmbProcess.Text = predr["process"].ToString(); //190506
|
||||
}
|
||||
//private void cmbType_SelectedIndexChanged(object sender, EventArgs e)
|
||||
//{
|
||||
// if (cmbType.Text.Trim() != "" &&
|
||||
// cmbType.SelectedIndex >= 0 &&
|
||||
// cmbProcess.SelectedIndex < 0 &&
|
||||
// cmbUser.SelectedValue != null)
|
||||
// {
|
||||
// //공정을 자동선택해준다.
|
||||
// //마지막 데이터를 찾아서 공정등의 정보를 업데이트한다.
|
||||
// var uid = cmbUser.SelectedValue.ToString();
|
||||
// var lastDt = FCOMMON.DBM.getLastJobReportData(uid, cmbType.Text.Trim());
|
||||
// if (lastDt != null && lastDt.Rows.Count > 0)
|
||||
// {
|
||||
// var predr = lastDt.Rows[0];// as dsPRJ.JobReportRow;
|
||||
// if (predr["process"] != DBNull.Value)
|
||||
// cmbProcess.Text = predr["process"].ToString(); //190506
|
||||
// }
|
||||
|
||||
}
|
||||
chkform_indexchan(sender, e);
|
||||
// }
|
||||
// chkform_indexchan(sender, e);
|
||||
|
||||
}
|
||||
//}
|
||||
|
||||
void chkform_indexchan(object sender, EventArgs e)
|
||||
{
|
||||
if (cmbType.Text.Trim() != "" &&
|
||||
cmbType.SelectedIndex >= 0 && String.IsNullOrEmpty(cmbState.Text.Trim()) == false)
|
||||
if (tbJobType.Text.isEmpty() == false && String.IsNullOrEmpty(cmbState.Text.Trim()) == false)
|
||||
{
|
||||
|
||||
|
||||
//해당 데이터의 메일 양식을 검사해서 데이터를 적용해준다.
|
||||
var formname = cmbType.Text.Trim() + "|" + cmbState.Text.Trim();
|
||||
var formname = tbJobType.Text.Trim() + "|" + cmbState.Text.Trim();
|
||||
var db = new EEEntities();
|
||||
|
||||
//프로젝트 제목 서포트
|
||||
@@ -927,5 +981,34 @@ namespace FPJ0000.JobReport_
|
||||
//}
|
||||
}
|
||||
}
|
||||
|
||||
private void cmbRequest_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void cmbType_Click(object sender, EventArgs e)
|
||||
{
|
||||
var jobtype = tbJobType.Text.Trim();
|
||||
var jobprc = tbJobProcess.Text.Trim();
|
||||
var jobgrp = tbJobGrp.Text.Trim();
|
||||
var fullname = $"{jobprc}|{jobgrp}|{jobtype}";
|
||||
var auth = FCOMMON.info.Login.level >= 5;
|
||||
using (var f = new FPJ0000.JobReport_.fJobProcessSelect(fullname, auth))
|
||||
if (f.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
//선택되면해야할일들
|
||||
var data = f.SelectedValue.Split('|');
|
||||
if (data.Length != 3) return;
|
||||
var prc = data[0].Trim();
|
||||
var grp = data[1].Trim();
|
||||
var itm = data[2].Trim();
|
||||
if (prc.isEmpty() || prc.Equals("(N/A)")) prc = "N/A";
|
||||
this.tbJobType.Text = itm;
|
||||
this.tbJobGrp.Text = grp;
|
||||
this.tbJobProcess.Text = prc;
|
||||
RefreshJobTypeFull();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -179,7 +179,7 @@
|
||||
</metadata>
|
||||
<data name="richTextBoxEx1.Rtf" xml:space="preserve">
|
||||
<value>{\rtf1\ansi\ansicpg1252\deff0\nouicompat{\fonttbl{\f0\fnil\fcharset0 Arial;}{\f1\froman\fcharset129 \'b8\'bc\'c0\'ba \'b0\'ed\'b5\'f1;}}
|
||||
{\*\generator Riched20 10.0.19041}\viewkind4\uc1
|
||||
{\*\generator Riched20 10.0.22621}\viewkind4\uc1
|
||||
\pard\fs20\lang1042 3. \f1\'c7\'c1\'b7\'ce\'c1\'a7\'c6\'ae\f0\lang1033 \f1\'c1\'a6\'b8\'f1\'c0\'ba\f0 (\f1\'b0\'f8\'c0\'e5\'b6\'f3\'c0\'ce\f0 ,PKG\f1\'b0\'f8\'c1\'a4\f0 /\f1\'c0\'e5\'ba\'f1\'b8\'ed\f0 \f1\'c1\'a6\'c1\'b6\'bb\'e7\f0 /\f1\'b8\'f0\'b5\'a8\'b8\'ed\f0 \f1\'c0\'e5\'ba\'f1\'b9\'f8\'c8\'a3\f0 \f1\'c1\'f6\'bf\'f8\'b3\'bb\'bf\'eb\f0 ) \f1\'c7\'fc\'bd\'c4\'c0\'b8\'b7\'ce\f0 \f1\'c0\'db\'bc\'ba\'c7\'d8\f0 \f1\'c1\'d6\'bc\'bc\'bf\'e4\f0 .\lang1042\par
|
||||
}
|
||||
</value>
|
||||
|
||||
Reference in New Issue
Block a user