스케쥴 지연사유 입력 칸 추가

This commit is contained in:
chi
2021-07-01 11:47:28 +09:00
parent 19e09cdbfc
commit ac45a7429c
7 changed files with 2565 additions and 449 deletions

View File

@@ -39,20 +39,20 @@
System.Windows.Forms.Label pdateLabel;
System.Windows.Forms.Label label2;
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fProjectSchedule));
FarPoint.Win.Spread.CellType.NumberCellType numberCellType29 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType29 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType30 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType31 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType32 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType33 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType34 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType30 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType31 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType32 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType33 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType34 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType35 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType35 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType57 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType57 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType58 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType59 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType60 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType61 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType62 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType58 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType59 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType60 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType61 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType62 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType63 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType63 = new FarPoint.Win.Spread.CellType.NumberCellType();
this.dsPRJ = new FPJ0000.dsPRJ();
this.tam = new FPJ0000.dsPRJTableAdapters.TableAdapterManager();
this.ta = new FPJ0000.dsPRJTableAdapters.EETGW_ProjectsScheduleTableAdapter();
@@ -73,6 +73,8 @@
this.projectsScheduleBindingNavigatorSaveItem = new System.Windows.Forms.ToolStripButton();
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
this.toolStripButton10 = new System.Windows.Forms.ToolStripButton();
this.chkapp2 = new System.Windows.Forms.ToolStripButton();
this.chkapp1 = new System.Windows.Forms.ToolStripButton();
this.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components);
this.columnSizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
@@ -131,8 +133,28 @@
this.pdateTextBox = new System.Windows.Forms.TextBox();
this.comboBox1 = new System.Windows.Forms.ComboBox();
this.taProjectInfo = new FPJ0000.dsPRJTableAdapters.ProjectsTableAdapter();
this.chkapp1 = new System.Windows.Forms.ToolStripButton();
this.chkapp2 = new System.Windows.Forms.ToolStripButton();
this.panel4 = new System.Windows.Forms.Panel();
this.groupBox5 = new System.Windows.Forms.GroupBox();
this.bsReason = new System.Windows.Forms.BindingSource(this.components);
this.bnReason = new System.Windows.Forms.BindingNavigator(this.components);
this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel();
this.toolStripButton11 = new System.Windows.Forms.ToolStripButton();
this.toolStripButton12 = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator();
this.toolStripTextBox2 = new System.Windows.Forms.ToolStripTextBox();
this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator();
this.toolStripButton13 = new System.Windows.Forms.ToolStripButton();
this.toolStripButton14 = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator();
this.toolStripButton15 = new System.Windows.Forms.ToolStripButton();
this.toolStripButton16 = new System.Windows.Forms.ToolStripButton();
this.toolStripButton17 = new System.Windows.Forms.ToolStripButton();
this.toolStripButton18 = new System.Windows.Forms.ToolStripButton();
this.taReason = new FPJ0000.dsPRJTableAdapters.EETGW_ProjectResonTableAdapter();
this.dataGridView1 = new System.Windows.Forms.DataGridView();
this.pdateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.remarkDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.label3 = new System.Windows.Forms.Label();
statusLabel = new System.Windows.Forms.Label();
odateLabel = new System.Windows.Forms.Label();
edateLabel = new System.Windows.Forms.Label();
@@ -162,6 +184,12 @@
this.panel2.SuspendLayout();
this.panel3.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.bsPrjinfo)).BeginInit();
this.panel4.SuspendLayout();
this.groupBox5.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.bsReason)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bnReason)).BeginInit();
this.bnReason.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
this.SuspendLayout();
//
// statusLabel
@@ -257,6 +285,7 @@
this.tam.EETGW_JobReport_EBoardTableAdapter = null;
this.tam.EETGW_NoteTableAdapter = null;
this.tam.EETGW_ProjecthistoryDTableAdapter = null;
this.tam.EETGW_ProjectResonTableAdapter = null;
this.tam.EETGW_ProjectsScheduleTableAdapter = this.ta;
this.tam.EETGW_ProjectToDoTableAdapter = this.taTodo;
this.tam.EETGW_SaveCostTableAdapter = null;
@@ -302,14 +331,14 @@
this.toolStripButton10,
this.chkapp2,
this.chkapp1});
this.bn.Location = new System.Drawing.Point(5, 259);
this.bn.Location = new System.Drawing.Point(5, 248);
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(795, 25);
this.bn.Size = new System.Drawing.Size(1014, 25);
this.bn.TabIndex = 0;
this.bn.Text = "bindingNavigator1";
//
@@ -437,6 +466,26 @@
this.toolStripButton10.Text = "기본목록생성";
this.toolStripButton10.Click += new System.EventHandler(this.toolStripButton10_Click);
//
// chkapp2
//
this.chkapp2.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
this.chkapp2.Image = global::FPJ0000.Properties.Resources.accept;
this.chkapp2.ImageTransparentColor = System.Drawing.Color.Magenta;
this.chkapp2.Name = "chkapp2";
this.chkapp2.Size = new System.Drawing.Size(58, 22);
this.chkapp2.Text = "승인2";
this.chkapp2.Click += new System.EventHandler(this.chkapp2_Click);
//
// chkapp1
//
this.chkapp1.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
this.chkapp1.Image = global::FPJ0000.Properties.Resources.accept;
this.chkapp1.ImageTransparentColor = System.Drawing.Color.Magenta;
this.chkapp1.Name = "chkapp1";
this.chkapp1.Size = new System.Drawing.Size(58, 22);
this.chkapp1.Text = "승인1";
this.chkapp1.Click += new System.EventHandler(this.chkapp1_Click);
//
// fpSpread1
//
this.fpSpread1.AccessibleDescription = "";
@@ -447,7 +496,7 @@
this.fpSpread1.Name = "fpSpread1";
this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
this.fpSpread1_Sheet1});
this.fpSpread1.Size = new System.Drawing.Size(795, 240);
this.fpSpread1.Size = new System.Drawing.Size(1014, 229);
this.fpSpread1.TabIndex = 1;
//
// cm1
@@ -546,68 +595,68 @@
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 5).Value = "완료";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 6).Value = "%";
this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 21F;
numberCellType29.DecimalPlaces = 0;
numberCellType29.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType29.MaximumValue = 2147483647D;
numberCellType29.MinimumValue = -2147483648D;
this.fpSpread1_Sheet1.Columns.Get(0).CellType = numberCellType29;
numberCellType57.DecimalPlaces = 0;
numberCellType57.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType57.MaximumValue = 2147483647D;
numberCellType57.MinimumValue = -2147483648D;
this.fpSpread1_Sheet1.Columns.Get(0).CellType = numberCellType57;
this.fpSpread1_Sheet1.Columns.Get(0).DataField = "seq";
this.fpSpread1_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType29;
this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType57;
this.fpSpread1_Sheet1.Columns.Get(1).DataField = "title";
this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
numberCellType30.DecimalPlaces = 0;
numberCellType30.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType30.MaximumValue = 2147483647D;
numberCellType30.MinimumValue = -2147483648D;
this.fpSpread1_Sheet1.Columns.Get(2).CellType = numberCellType30;
numberCellType58.DecimalPlaces = 0;
numberCellType58.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType58.MaximumValue = 2147483647D;
numberCellType58.MinimumValue = -2147483648D;
this.fpSpread1_Sheet1.Columns.Get(2).CellType = numberCellType58;
this.fpSpread1_Sheet1.Columns.Get(2).DataField = "sw";
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;
numberCellType31.DecimalPlaces = 0;
numberCellType31.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType31.MaximumValue = 2147483647D;
numberCellType31.MinimumValue = -2147483648D;
this.fpSpread1_Sheet1.Columns.Get(3).CellType = numberCellType31;
numberCellType59.DecimalPlaces = 0;
numberCellType59.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType59.MaximumValue = 2147483647D;
numberCellType59.MinimumValue = -2147483648D;
this.fpSpread1_Sheet1.Columns.Get(3).CellType = numberCellType59;
this.fpSpread1_Sheet1.Columns.Get(3).DataField = "ew";
this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(3).Label = "완료";
this.fpSpread1_Sheet1.Columns.Get(3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
numberCellType32.DecimalPlaces = 0;
numberCellType32.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType32.MaximumValue = 2147483647D;
numberCellType32.MinimumValue = -2147483648D;
this.fpSpread1_Sheet1.Columns.Get(4).CellType = numberCellType32;
numberCellType60.DecimalPlaces = 0;
numberCellType60.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType60.MaximumValue = 2147483647D;
numberCellType60.MinimumValue = -2147483648D;
this.fpSpread1_Sheet1.Columns.Get(4).CellType = numberCellType60;
this.fpSpread1_Sheet1.Columns.Get(4).DataField = "swa";
this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(4).Label = "시작";
this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
numberCellType33.DecimalPlaces = 0;
numberCellType33.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType33.MaximumValue = 2147483647D;
numberCellType33.MinimumValue = -2147483648D;
this.fpSpread1_Sheet1.Columns.Get(5).CellType = numberCellType33;
numberCellType61.DecimalPlaces = 0;
numberCellType61.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType61.MaximumValue = 2147483647D;
numberCellType61.MinimumValue = -2147483648D;
this.fpSpread1_Sheet1.Columns.Get(5).CellType = numberCellType61;
this.fpSpread1_Sheet1.Columns.Get(5).DataField = "ewa";
this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(5).Label = "완료";
this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
numberCellType34.DecimalPlaces = 0;
numberCellType34.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType34.MaximumValue = 2147483647D;
numberCellType34.MinimumValue = -2147483648D;
this.fpSpread1_Sheet1.Columns.Get(6).CellType = numberCellType34;
numberCellType62.DecimalPlaces = 0;
numberCellType62.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType62.MaximumValue = 2147483647D;
numberCellType62.MinimumValue = -2147483648D;
this.fpSpread1_Sheet1.Columns.Get(6).CellType = numberCellType62;
this.fpSpread1_Sheet1.Columns.Get(6).DataField = "progress";
this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(6).Label = "%";
this.fpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType30;
this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType58;
this.fpSpread1_Sheet1.Columns.Get(7).DataField = "uid";
this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType31;
this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType59;
this.fpSpread1_Sheet1.Columns.Get(8).DataField = "memo";
this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
@@ -623,7 +672,7 @@
this.groupBox1.Location = new System.Drawing.Point(332, 28);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Padding = new System.Windows.Forms.Padding(5);
this.groupBox1.Size = new System.Drawing.Size(805, 289);
this.groupBox1.Size = new System.Drawing.Size(1024, 278);
this.groupBox1.TabIndex = 2;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "Schedule";
@@ -632,10 +681,10 @@
//
this.groupBox2.Controls.Add(this.panel1);
this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
this.groupBox2.Location = new System.Drawing.Point(5, 322);
this.groupBox2.Location = new System.Drawing.Point(5, 311);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Padding = new System.Windows.Forms.Padding(5);
this.groupBox2.Size = new System.Drawing.Size(654, 344);
this.groupBox2.Size = new System.Drawing.Size(907, 607);
this.groupBox2.TabIndex = 3;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "Time Table";
@@ -646,7 +695,7 @@
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel1.Location = new System.Drawing.Point(5, 19);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(644, 320);
this.panel1.Size = new System.Drawing.Size(897, 583);
this.panel1.TabIndex = 0;
this.panel1.Paint += new System.Windows.Forms.PaintEventHandler(this.panel1_Paint);
this.panel1.MouseClick += new System.Windows.Forms.MouseEventHandler(this.panel1_MouseClick);
@@ -656,14 +705,14 @@
this.groupBox3.Controls.Add(this.fpSpread2);
this.groupBox3.Controls.Add(this.groupBox4);
this.groupBox3.Controls.Add(this.bnTodo);
this.groupBox3.Dock = System.Windows.Forms.DockStyle.Right;
this.groupBox3.Location = new System.Drawing.Point(659, 322);
this.groupBox3.Dock = System.Windows.Forms.DockStyle.Bottom;
this.groupBox3.Location = new System.Drawing.Point(0, 307);
this.groupBox3.Name = "groupBox3";
this.groupBox3.Padding = new System.Windows.Forms.Padding(10);
this.groupBox3.Size = new System.Drawing.Size(483, 344);
this.groupBox3.Size = new System.Drawing.Size(449, 300);
this.groupBox3.TabIndex = 4;
this.groupBox3.TabStop = false;
this.groupBox3.Text = "Todo";
this.groupBox3.Text = "할일 세부 목록";
//
// fpSpread2
//
@@ -675,7 +724,7 @@
this.fpSpread2.Name = "fpSpread2";
this.fpSpread2.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
this.fpSpread2_Sheet1});
this.fpSpread2.Size = new System.Drawing.Size(463, 185);
this.fpSpread2.Size = new System.Drawing.Size(429, 160);
this.fpSpread2.TabIndex = 1;
//
// cm2
@@ -759,27 +808,27 @@
this.fpSpread2_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "완료일";
this.fpSpread2_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "진행";
this.fpSpread2_Sheet1.ColumnHeader.Rows.Get(0).Height = 31F;
this.fpSpread2_Sheet1.Columns.Get(0).CellType = textCellType32;
this.fpSpread2_Sheet1.Columns.Get(0).CellType = textCellType60;
this.fpSpread2_Sheet1.Columns.Get(0).DataField = "sort";
this.fpSpread2_Sheet1.Columns.Get(0).Label = "No";
this.fpSpread2_Sheet1.Columns.Get(0).Width = 58F;
this.fpSpread2_Sheet1.Columns.Get(1).CellType = textCellType33;
this.fpSpread2_Sheet1.Columns.Get(1).CellType = textCellType61;
this.fpSpread2_Sheet1.Columns.Get(1).DataField = "title";
this.fpSpread2_Sheet1.Columns.Get(1).Label = "항목";
this.fpSpread2_Sheet1.Columns.Get(1).Width = 151F;
this.fpSpread2_Sheet1.Columns.Get(2).CellType = textCellType34;
this.fpSpread2_Sheet1.Columns.Get(2).CellType = textCellType62;
this.fpSpread2_Sheet1.Columns.Get(2).DataField = "pdate";
this.fpSpread2_Sheet1.Columns.Get(2).Label = "시작일";
this.fpSpread2_Sheet1.Columns.Get(2).Width = 84F;
this.fpSpread2_Sheet1.Columns.Get(3).CellType = textCellType35;
this.fpSpread2_Sheet1.Columns.Get(3).CellType = textCellType63;
this.fpSpread2_Sheet1.Columns.Get(3).DataField = "edate";
this.fpSpread2_Sheet1.Columns.Get(3).Label = "완료일";
this.fpSpread2_Sheet1.Columns.Get(3).Width = 76F;
numberCellType35.DecimalPlaces = 0;
numberCellType35.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType35.MaximumValue = 2147483647D;
numberCellType35.MinimumValue = -2147483648D;
this.fpSpread2_Sheet1.Columns.Get(4).CellType = numberCellType35;
numberCellType63.DecimalPlaces = 0;
numberCellType63.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType63.MaximumValue = 2147483647D;
numberCellType63.MinimumValue = -2147483648D;
this.fpSpread2_Sheet1.Columns.Get(4).CellType = numberCellType63;
this.fpSpread2_Sheet1.Columns.Get(4).DataField = "process";
this.fpSpread2_Sheet1.Columns.Get(4).Label = "진행";
this.fpSpread2_Sheet1.Columns.Get(4).Width = 77F;
@@ -797,13 +846,13 @@
//
this.groupBox4.Controls.Add(this.textBox1);
this.groupBox4.Dock = System.Windows.Forms.DockStyle.Bottom;
this.groupBox4.Location = new System.Drawing.Point(10, 209);
this.groupBox4.Location = new System.Drawing.Point(10, 184);
this.groupBox4.Name = "groupBox4";
this.groupBox4.Padding = new System.Windows.Forms.Padding(10);
this.groupBox4.Size = new System.Drawing.Size(463, 100);
this.groupBox4.Size = new System.Drawing.Size(429, 81);
this.groupBox4.TabIndex = 4;
this.groupBox4.TabStop = false;
this.groupBox4.Text = "Todo 비고";
this.groupBox4.Text = "비고";
//
// textBox1
//
@@ -812,7 +861,7 @@
this.textBox1.Location = new System.Drawing.Point(10, 24);
this.textBox1.Multiline = true;
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(443, 66);
this.textBox1.Size = new System.Drawing.Size(409, 47);
this.textBox1.TabIndex = 3;
//
// bnTodo
@@ -836,14 +885,14 @@
this.toolStripButton7,
this.toolStripButton8,
this.toolStripButton9});
this.bnTodo.Location = new System.Drawing.Point(10, 309);
this.bnTodo.Location = new System.Drawing.Point(10, 265);
this.bnTodo.MoveFirstItem = this.toolStripButton2;
this.bnTodo.MoveLastItem = this.toolStripButton5;
this.bnTodo.MoveNextItem = this.toolStripButton4;
this.bnTodo.MovePreviousItem = this.toolStripButton3;
this.bnTodo.Name = "bnTodo";
this.bnTodo.PositionItem = this.toolStripTextBox1;
this.bnTodo.Size = new System.Drawing.Size(463, 25);
this.bnTodo.Size = new System.Drawing.Size(429, 25);
this.bnTodo.TabIndex = 2;
this.bnTodo.Text = "bindingNavigator1";
//
@@ -959,9 +1008,9 @@
// button1
//
this.button1.Dock = System.Windows.Forms.DockStyle.Bottom;
this.button1.Location = new System.Drawing.Point(5, 666);
this.button1.Location = new System.Drawing.Point(5, 918);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(1137, 38);
this.button1.Size = new System.Drawing.Size(1356, 38);
this.button1.TabIndex = 5;
this.button1.Text = "저장(&S)";
this.button1.UseVisualStyleBackColor = true;
@@ -975,7 +1024,7 @@
this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
this.panel2.Location = new System.Drawing.Point(5, 5);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(1137, 317);
this.panel2.Size = new System.Drawing.Size(1356, 306);
this.panel2.TabIndex = 6;
//
// panel3
@@ -1004,7 +1053,7 @@
this.panel3.Dock = System.Windows.Forms.DockStyle.Left;
this.panel3.Location = new System.Drawing.Point(0, 28);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(332, 289);
this.panel3.Size = new System.Drawing.Size(332, 278);
this.panel3.TabIndex = 36;
//
// textBox3
@@ -1124,7 +1173,7 @@
this.comboBox1.FormattingEnabled = true;
this.comboBox1.Location = new System.Drawing.Point(0, 0);
this.comboBox1.Name = "comboBox1";
this.comboBox1.Size = new System.Drawing.Size(1137, 28);
this.comboBox1.Size = new System.Drawing.Size(1356, 28);
this.comboBox1.TabIndex = 2;
this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
//
@@ -1132,33 +1181,227 @@
//
this.taProjectInfo.ClearBeforeFill = true;
//
// chkapp1
// panel4
//
this.chkapp1.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
this.chkapp1.Image = global::FPJ0000.Properties.Resources.accept;
this.chkapp1.ImageTransparentColor = System.Drawing.Color.Magenta;
this.chkapp1.Name = "chkapp1";
this.chkapp1.Size = new System.Drawing.Size(58, 22);
this.chkapp1.Text = "승인1";
this.chkapp1.Click += new System.EventHandler(this.chkapp1_Click);
this.panel4.Controls.Add(this.groupBox5);
this.panel4.Controls.Add(this.groupBox3);
this.panel4.Dock = System.Windows.Forms.DockStyle.Right;
this.panel4.Location = new System.Drawing.Point(912, 311);
this.panel4.Name = "panel4";
this.panel4.Size = new System.Drawing.Size(449, 607);
this.panel4.TabIndex = 7;
//
// chkapp2
// groupBox5
//
this.chkapp2.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
this.chkapp2.Image = global::FPJ0000.Properties.Resources.accept;
this.chkapp2.ImageTransparentColor = System.Drawing.Color.Magenta;
this.chkapp2.Name = "chkapp2";
this.chkapp2.Size = new System.Drawing.Size(58, 22);
this.chkapp2.Text = "승인2";
this.chkapp2.Click += new System.EventHandler(this.chkapp2_Click);
this.groupBox5.Controls.Add(this.dataGridView1);
this.groupBox5.Controls.Add(this.label3);
this.groupBox5.Controls.Add(this.bnReason);
this.groupBox5.Dock = System.Windows.Forms.DockStyle.Fill;
this.groupBox5.Location = new System.Drawing.Point(0, 0);
this.groupBox5.Name = "groupBox5";
this.groupBox5.Padding = new System.Windows.Forms.Padding(10);
this.groupBox5.Size = new System.Drawing.Size(449, 307);
this.groupBox5.TabIndex = 5;
this.groupBox5.TabStop = false;
this.groupBox5.Text = "프로젝트 지연 사유";
//
// bsReason
//
this.bsReason.DataMember = "EETGW_ProjectReson";
this.bsReason.DataSource = this.dsPRJ;
//
// bnReason
//
this.bnReason.AddNewItem = null;
this.bnReason.BindingSource = this.bsReason;
this.bnReason.CountItem = this.toolStripLabel2;
this.bnReason.DeleteItem = null;
this.bnReason.Dock = System.Windows.Forms.DockStyle.Bottom;
this.bnReason.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.toolStripButton11,
this.toolStripButton12,
this.toolStripSeparator5,
this.toolStripTextBox2,
this.toolStripLabel2,
this.toolStripSeparator6,
this.toolStripButton13,
this.toolStripButton14,
this.toolStripSeparator7,
this.toolStripButton15,
this.toolStripButton16,
this.toolStripButton17,
this.toolStripButton18});
this.bnReason.Location = new System.Drawing.Point(10, 272);
this.bnReason.MoveFirstItem = this.toolStripButton11;
this.bnReason.MoveLastItem = this.toolStripButton14;
this.bnReason.MoveNextItem = this.toolStripButton13;
this.bnReason.MovePreviousItem = this.toolStripButton12;
this.bnReason.Name = "bnReason";
this.bnReason.PositionItem = this.toolStripTextBox2;
this.bnReason.Size = new System.Drawing.Size(429, 25);
this.bnReason.TabIndex = 2;
this.bnReason.Text = "bindingNavigator1";
//
// toolStripLabel2
//
this.toolStripLabel2.Name = "toolStripLabel2";
this.toolStripLabel2.Size = new System.Drawing.Size(27, 22);
this.toolStripLabel2.Text = "/{0}";
this.toolStripLabel2.ToolTipText = "전체 항목 수";
//
// toolStripButton11
//
this.toolStripButton11.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.toolStripButton11.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton11.Image")));
this.toolStripButton11.Name = "toolStripButton11";
this.toolStripButton11.RightToLeftAutoMirrorImage = true;
this.toolStripButton11.Size = new System.Drawing.Size(23, 22);
this.toolStripButton11.Text = "처음으로 이동";
//
// toolStripButton12
//
this.toolStripButton12.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.toolStripButton12.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton12.Image")));
this.toolStripButton12.Name = "toolStripButton12";
this.toolStripButton12.RightToLeftAutoMirrorImage = true;
this.toolStripButton12.Size = new System.Drawing.Size(23, 22);
this.toolStripButton12.Text = "이전으로 이동";
//
// toolStripSeparator5
//
this.toolStripSeparator5.Name = "toolStripSeparator5";
this.toolStripSeparator5.Size = new System.Drawing.Size(6, 25);
//
// toolStripTextBox2
//
this.toolStripTextBox2.AccessibleName = "위치";
this.toolStripTextBox2.AutoSize = false;
this.toolStripTextBox2.Font = new System.Drawing.Font("맑은 고딕", 9F);
this.toolStripTextBox2.Name = "toolStripTextBox2";
this.toolStripTextBox2.Size = new System.Drawing.Size(50, 23);
this.toolStripTextBox2.Text = "0";
this.toolStripTextBox2.ToolTipText = "현재 위치";
//
// toolStripSeparator6
//
this.toolStripSeparator6.Name = "toolStripSeparator6";
this.toolStripSeparator6.Size = new System.Drawing.Size(6, 25);
//
// toolStripButton13
//
this.toolStripButton13.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.toolStripButton13.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton13.Image")));
this.toolStripButton13.Name = "toolStripButton13";
this.toolStripButton13.RightToLeftAutoMirrorImage = true;
this.toolStripButton13.Size = new System.Drawing.Size(23, 22);
this.toolStripButton13.Text = "다음으로 이동";
//
// toolStripButton14
//
this.toolStripButton14.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.toolStripButton14.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton14.Image")));
this.toolStripButton14.Name = "toolStripButton14";
this.toolStripButton14.RightToLeftAutoMirrorImage = true;
this.toolStripButton14.Size = new System.Drawing.Size(23, 22);
this.toolStripButton14.Text = "마지막으로 이동";
//
// toolStripSeparator7
//
this.toolStripSeparator7.Name = "toolStripSeparator7";
this.toolStripSeparator7.Size = new System.Drawing.Size(6, 25);
//
// toolStripButton15
//
this.toolStripButton15.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.toolStripButton15.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton15.Image")));
this.toolStripButton15.Name = "toolStripButton15";
this.toolStripButton15.RightToLeftAutoMirrorImage = true;
this.toolStripButton15.Size = new System.Drawing.Size(23, 22);
this.toolStripButton15.Text = "새로 추가";
this.toolStripButton15.Click += new System.EventHandler(this.toolStripButton15_Click);
//
// toolStripButton16
//
this.toolStripButton16.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.toolStripButton16.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton16.Image")));
this.toolStripButton16.Name = "toolStripButton16";
this.toolStripButton16.RightToLeftAutoMirrorImage = true;
this.toolStripButton16.Size = new System.Drawing.Size(23, 22);
this.toolStripButton16.Text = "삭제";
this.toolStripButton16.Click += new System.EventHandler(this.toolStripButton16_Click);
//
// toolStripButton17
//
this.toolStripButton17.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.toolStripButton17.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton17.Image")));
this.toolStripButton17.Name = "toolStripButton17";
this.toolStripButton17.Size = new System.Drawing.Size(23, 22);
this.toolStripButton17.Text = "데이터 저장";
this.toolStripButton17.Visible = false;
this.toolStripButton17.Click += new System.EventHandler(this.toolStripButton17_Click);
//
// toolStripButton18
//
this.toolStripButton18.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
this.toolStripButton18.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton18.Image")));
this.toolStripButton18.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton18.Name = "toolStripButton18";
this.toolStripButton18.Size = new System.Drawing.Size(66, 20);
this.toolStripButton18.Text = "Refresh";
this.toolStripButton18.Visible = false;
//
// taReason
//
this.taReason.ClearBeforeFill = true;
//
// dataGridView1
//
this.dataGridView1.AllowUserToAddRows = false;
this.dataGridView1.AllowUserToDeleteRows = false;
this.dataGridView1.AutoGenerateColumns = false;
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.pdateDataGridViewTextBoxColumn,
this.remarkDataGridViewTextBoxColumn});
this.dataGridView1.DataSource = this.bsReason;
this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
this.dataGridView1.Location = new System.Drawing.Point(10, 24);
this.dataGridView1.Name = "dataGridView1";
this.dataGridView1.RowHeadersVisible = false;
this.dataGridView1.RowTemplate.Height = 23;
this.dataGridView1.Size = new System.Drawing.Size(429, 208);
this.dataGridView1.TabIndex = 3;
//
// pdateDataGridViewTextBoxColumn
//
this.pdateDataGridViewTextBoxColumn.DataPropertyName = "pdate";
this.pdateDataGridViewTextBoxColumn.HeaderText = "등록일";
this.pdateDataGridViewTextBoxColumn.Name = "pdateDataGridViewTextBoxColumn";
//
// remarkDataGridViewTextBoxColumn
//
this.remarkDataGridViewTextBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.remarkDataGridViewTextBoxColumn.DataPropertyName = "remark";
this.remarkDataGridViewTextBoxColumn.HeaderText = "사유";
this.remarkDataGridViewTextBoxColumn.Name = "remarkDataGridViewTextBoxColumn";
//
// label3
//
this.label3.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsReason, "remark", true));
this.label3.Dock = System.Windows.Forms.DockStyle.Bottom;
this.label3.Location = new System.Drawing.Point(10, 232);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(429, 40);
this.label3.TabIndex = 4;
this.label3.Text = "label3";
//
// fProjectSchedule
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1147, 709);
this.ClientSize = new System.Drawing.Size(1366, 961);
this.Controls.Add(this.groupBox2);
this.Controls.Add(this.groupBox3);
this.Controls.Add(this.panel4);
this.Controls.Add(this.panel2);
this.Controls.Add(this.button1);
this.Name = "fProjectSchedule";
@@ -1192,6 +1435,14 @@
this.panel3.ResumeLayout(false);
this.panel3.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.bsPrjinfo)).EndInit();
this.panel4.ResumeLayout(false);
this.groupBox5.ResumeLayout(false);
this.groupBox5.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.bsReason)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bnReason)).EndInit();
this.bnReason.ResumeLayout(false);
this.bnReason.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
this.ResumeLayout(false);
}
@@ -1278,5 +1529,27 @@
private System.Windows.Forms.ComboBox comboBox1;
private System.Windows.Forms.ToolStripButton chkapp1;
private System.Windows.Forms.ToolStripButton chkapp2;
private System.Windows.Forms.Panel panel4;
private System.Windows.Forms.GroupBox groupBox5;
private System.Windows.Forms.BindingNavigator bnReason;
private System.Windows.Forms.ToolStripLabel toolStripLabel2;
private System.Windows.Forms.ToolStripButton toolStripButton11;
private System.Windows.Forms.ToolStripButton toolStripButton12;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator5;
private System.Windows.Forms.ToolStripTextBox toolStripTextBox2;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator6;
private System.Windows.Forms.ToolStripButton toolStripButton13;
private System.Windows.Forms.ToolStripButton toolStripButton14;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator7;
private System.Windows.Forms.ToolStripButton toolStripButton15;
private System.Windows.Forms.ToolStripButton toolStripButton16;
private System.Windows.Forms.ToolStripButton toolStripButton17;
private System.Windows.Forms.ToolStripButton toolStripButton18;
private System.Windows.Forms.BindingSource bsReason;
private dsPRJTableAdapters.EETGW_ProjectResonTableAdapter taReason;
private System.Windows.Forms.DataGridView dataGridView1;
private System.Windows.Forms.DataGridViewTextBoxColumn pdateDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn remarkDataGridViewTextBoxColumn;
private System.Windows.Forms.Label label3;
}
}

View File

@@ -17,7 +17,7 @@ namespace FPJ0000
EEEntities db;
List<EETGW_ProjectsSchedule> list;
Boolean bInit = false;
public fProjectSchedule(int project_)
{
InitializeComponent();
@@ -28,8 +28,11 @@ namespace FPJ0000
this.FormClosed += FProjectSchedule_FormClosed;
this.FormClosing += FProjectSchedule_FormClosing;
this.dsPRJ.EETGW_ProjectsSchedule.TableNewRow += ProjectsSchedule_TableNewRow;
//this.dsPRJ.EETGW_ProjectReson.TableNewRow += EETGW_ProjectReson_TableNewRow;
}
private void FProjectSchedule_FormClosing(object sender, FormClosingEventArgs e)
{
this.Validate();
@@ -52,6 +55,13 @@ namespace FPJ0000
this.dsPRJ.EETGW_ProjectsSchedule.TableNewRow -= ProjectsSchedule_TableNewRow;
this.dsPRJ.EETGW_ProjectsSchedule.RowChanged += EETGW_ProjectsSchedule_RowChanged;
}
private void EETGW_ProjectReson_TableNewRow(object sender, DataTableNewRowEventArgs e)
{
e.Row["wuid"] = FCOMMON.info.Login.no;
e.Row["wdate"] = DateTime.Now;
e.Row["project"] = this.projectindex;
e.Row["gcode"] = FCOMMON.info.Login.gcode;
}
void ProjectsSchedule_TableNewRow(object sender, DataTableNewRowEventArgs e)
{
@@ -95,7 +105,7 @@ namespace FPJ0000
RefreshData();
RefreshGraph();
this.dsPRJ.EETGW_ProjectsSchedule.RowChanged += EETGW_ProjectsSchedule_RowChanged;
//시작할떄 cww 를 가져오낟.
var sql = "select dbo.getWorkWeek('" + DateTime.Now.ToShortDateString() + "')";
@@ -129,6 +139,7 @@ namespace FPJ0000
this.ta.Fill(this.dsPRJ.EETGW_ProjectsSchedule, FCOMMON.info.Login.gcode, this.projectindex, scno);
this.taTodo.Fill(this.dsPRJ.EETGW_ProjectToDo, this.projectindex);
this.taReason.Fill(this.dsPRJ.EETGW_ProjectReson, FCOMMON.info.Login.gcode, this.projectindex, int.Parse(comboBox1.Text));
//this.bs.DataSource = list;//.ToList();// db.EETGW_ProjectsSchedule.Local;
//this.fpSpread1_Sheet1.DataSource = this.bs;
FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize1);
@@ -148,7 +159,7 @@ namespace FPJ0000
chkapp1.Checked = false;
chkapp2.Checked = false;
}
else if (dr.appoval == 1)
{
@@ -172,8 +183,8 @@ namespace FPJ0000
this.fpSpread1.Sheets[0].Columns[3].BackColor = Color.FromArgb(230, 230, 230);
}
@@ -271,7 +282,9 @@ namespace FPJ0000
{
this.fpSpread2.Enabled = true;
bnTodo.Enabled = true;
this.bsTodo.Filter = "pseq=" + dr.idx; //해당데이터만 처리하게 한다
this.bsReason.Filter = "pseq=" + dr.idx;
}
}
@@ -288,6 +301,8 @@ namespace FPJ0000
newdr.wdate = DateTime.Now;
newdr.pidx = this.projectindex;
newdr.pseq = dr.idx;
newdr.gcode = FCOMMON.info.Login.gcode;
newdr.no = int.Parse(comboBox1.Text);
this.dsPRJ.EETGW_ProjectToDo.AddEETGW_ProjectToDoRow(newdr);
bsTodo.EndEdit();
@@ -321,6 +336,8 @@ namespace FPJ0000
this.Validate();
this.bs.EndEdit();
this.bsTodo.EndEdit();
this.bsReason.EndEdit();
if (this.dsPRJ.HasChanges() == false)
{
FCOMMON.Util.MsgE("변경된 내용이 없습니다");
@@ -330,7 +347,8 @@ namespace FPJ0000
{
var cnt1 = this.ta.Update(this.dsPRJ.EETGW_ProjectsSchedule);
var cnt2 = this.taTodo.Update(this.dsPRJ.EETGW_ProjectToDo);
var cnt = cnt1 + cnt2;// this.tam.UpdateAll(this.dsPRJ);
var cnt3 = this.taReason.Update(this.dsPRJ.EETGW_ProjectReson);
var cnt = cnt1 + cnt2 + cnt3;// this.tam.UpdateAll(this.dsPRJ);
if (cnt == 0)
{
FCOMMON.Util.MsgE("저장된 자료가 없습니다");
@@ -595,14 +613,14 @@ namespace FPJ0000
util.MsgE("'승인권한1'이 없습니다");
return;
}
if(chkapp1.Checked)
if (chkapp1.Checked)
{
util.MsgE("'승인해제1'는 현재 구현 중");
}
else
{
chkapp1.Checked = true;
foreach(var item in this.dsPRJ.EETGW_ProjectsSchedule)
foreach (var item in this.dsPRJ.EETGW_ProjectsSchedule)
{
if (item.RowState == DataRowState.Deleted || item.RowState == DataRowState.Deleted) continue;
item.appoval = 1;
@@ -638,11 +656,48 @@ namespace FPJ0000
private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
{
if (bInit == false) return;
if(comboBox1.SelectedIndex == this.comboBox1.Items.Count-1)
if (comboBox1.SelectedIndex == this.comboBox1.Items.Count - 1)
{
util.MsgE("스케쥴 신규 추가 기능은 준비 중 입니다");
this.comboBox1.SelectedIndex = this.comboBox1.Items.Count - 2;
}
}
private void toolStripButton15_Click(object sender, EventArgs e)
{
var drv = this.bs.Current as DataRowView;
if (drv == null) return;
var dr = drv.Row as dsPRJ.EETGW_ProjectsScheduleRow;
//사유추가
var newdr = this.dsPRJ.EETGW_ProjectReson.NewEETGW_ProjectResonRow();
newdr.wuid = FCOMMON.info.Login.no;
newdr.wdate = DateTime.Now;
newdr.pidx = this.projectindex;
newdr.pdate = DateTime.Now.ToShortDateString();
newdr.pseq = dr.idx;
newdr.gcode = FCOMMON.info.Login.gcode;
newdr.no = int.Parse(comboBox1.Text);
this.dsPRJ.EETGW_ProjectReson.AddEETGW_ProjectResonRow(newdr);
bsReason.EndEdit();
this.dataGridView1.Focus();
if (this.bsReason.Count > 0)
this.bsReason.Position = this.bsReason.Count - 1;
}
private void toolStripButton17_Click(object sender, EventArgs e)
{
this.Validate();
this.bsReason.EndEdit();
var cnt = taReason.Update(this.dsPRJ.EETGW_ProjectReson);
FCOMMON.Util.MsgI($"{cnt}건의 자료가 업데이트 되었습니다");
}
private void toolStripButton16_Click(object sender, EventArgs e)
{
bsReason.RemoveCurrent();
}
}
}

View File

@@ -443,4 +443,99 @@
<metadata name="taProjectInfo.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 56</value>
</metadata>
<metadata name="bsReason.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>411, 56</value>
</metadata>
<metadata name="bnReason.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>255, 56</value>
</metadata>
<data name="toolStripButton11.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wwAADsMBx2+oZAAAASpJREFUOE9jGDygcNbz/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="toolStripButton12.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wwAADsMBx2+oZAAAALZJREFUOE9jGDogvP3BfyiTdBDf/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="toolStripButton13.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI
N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f
oAc0QjgAAAAASUVORK5CYII=
</value>
</data>
<data name="toolStripButton14.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wwAADsMBx2+oZAAAASxJREFUOE9jGFygcNbz/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="toolStripButton15.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wwAADsMBx2+oZAAAAUpJREFUOE9jGLzg7gL2/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
zpX/v6RC8f/fWzFAjeH/p+Zp/J+QpfW/O0P3f3uq/v/mREPCYTIb6E+Qc//dCPjfk6FDWAM6APnz3w1/
IPb735qsT7oB3em6YP+CcH2cEekGtCQZ/G+IN/xfE2v8vzLahHQD6AQYGAAkI9iedfyIaQAAAABJRU5E
rkJggg==
</value>
</data>
<data name="toolStripButton16.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wwAADsMBx2+oZAAAAW9JREFUOE+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="toolStripButton17.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wwAADsMBx2+oZAAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo
dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII=
</value>
</data>
<data name="toolStripButton18.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="taReason.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>550, 56</value>
</metadata>
</root>