*패치리스트 화면 정리

*업무일지 자동입력화면 종료일자 저장안되는 버그 수정
This commit is contained in:
chi
2021-08-03 09:24:16 +09:00
parent 4486a127b7
commit 956252e100
9 changed files with 139 additions and 123 deletions

View File

@@ -30,9 +30,7 @@
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fPatchList));
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();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
this.bn = new System.Windows.Forms.BindingNavigator(this.components);
this.bs = new System.Windows.Forms.BindingSource(this.components);
this.dsMSSQL = new FCM0000.dsMSSQL();
@@ -47,23 +45,25 @@
this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
this.boardBindingNavigatorSaveItem = new System.Windows.Forms.ToolStripButton();
this.BTsAVE = new System.Windows.Forms.ToolStripButton();
this.tam = new FCM0000.dsMSSQLTableAdapters.TableAdapterManager();
this.ta = new FCM0000.dsMSSQLTableAdapters.BoardTableAdapter();
this.richTextBox1 = new System.Windows.Forms.RichTextBox();
this.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.btSearch = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator();
this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
this.arDatagridView1 = new arCtl.arDatagridView();
this.wdateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.cateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.titleDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.urlDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
this.bn.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit();
this.toolStrip1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.arDatagridView1)).BeginInit();
this.SuspendLayout();
//
// bn
@@ -85,15 +85,15 @@
this.bindingNavigatorSeparator2,
this.bindingNavigatorAddNewItem,
this.bindingNavigatorDeleteItem,
this.boardBindingNavigatorSaveItem});
this.bn.Location = new System.Drawing.Point(0, 550);
this.BTsAVE});
this.bn.Location = new System.Drawing.Point(0, 644);
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(1046, 25);
this.bn.Size = new System.Drawing.Size(721, 25);
this.bn.TabIndex = 0;
this.bn.Text = "bindingNavigator1";
//
@@ -101,6 +101,7 @@
//
this.bs.DataMember = "Board";
this.bs.DataSource = this.dsMSSQL;
this.bs.Sort = "WDATE DESC";
//
// dsMSSQL
//
@@ -191,13 +192,13 @@
this.bindingNavigatorAddNewItem.Text = "Add(&A)";
this.bindingNavigatorAddNewItem.Click += new System.EventHandler(this.bindingNavigatorAddNewItem_Click);
//
// boardBindingNavigatorSaveItem
// BTsAVE
//
this.boardBindingNavigatorSaveItem.Image = ((System.Drawing.Image)(resources.GetObject("boardBindingNavigatorSaveItem.Image")));
this.boardBindingNavigatorSaveItem.Name = "boardBindingNavigatorSaveItem";
this.boardBindingNavigatorSaveItem.Size = new System.Drawing.Size(67, 22);
this.boardBindingNavigatorSaveItem.Text = "Save(&S)";
this.boardBindingNavigatorSaveItem.Click += new System.EventHandler(this.boardBindingNavigatorSaveItem_Click);
this.BTsAVE.Image = ((System.Drawing.Image)(resources.GetObject("BTsAVE.Image")));
this.BTsAVE.Name = "BTsAVE";
this.BTsAVE.Size = new System.Drawing.Size(67, 22);
this.BTsAVE.Text = "Save(&S)";
this.BTsAVE.Click += new System.EventHandler(this.boardBindingNavigatorSaveItem_Click);
//
// tam
//
@@ -205,6 +206,7 @@
this.tam.BoardTableAdapter = this.ta;
this.tam.CommonTableAdapter = null;
this.tam.CustomsTableAdapter = null;
this.tam.EETGW_DocuFormTableAdapter = null;
this.tam.HolidayLIstTableAdapter = null;
this.tam.InventoryUserTableAdapter = null;
this.tam.ItemsTableAdapter = null;
@@ -223,60 +225,12 @@
this.richTextBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "contents", true));
this.richTextBox1.Dock = System.Windows.Forms.DockStyle.Bottom;
this.richTextBox1.Font = new System.Drawing.Font("맑은 고딕", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.richTextBox1.Location = new System.Drawing.Point(0, 450);
this.richTextBox1.Location = new System.Drawing.Point(0, 390);
this.richTextBox1.Name = "richTextBox1";
this.richTextBox1.Size = new System.Drawing.Size(1046, 100);
this.richTextBox1.Size = new System.Drawing.Size(721, 254);
this.richTextBox1.TabIndex = 3;
this.richTextBox1.Text = "";
//
// fpSpread1
//
this.fpSpread1.AccessibleDescription = "";
this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill;
this.fpSpread1.Location = new System.Drawing.Point(0, 37);
this.fpSpread1.Name = "fpSpread1";
this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
this.fpSpread1_Sheet1});
this.fpSpread1.Size = new System.Drawing.Size(1046, 413);
this.fpSpread1.TabIndex = 4;
//
// 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 = 3;
this.fpSpread1_Sheet1.ActiveColumnIndex = -1;
this.fpSpread1_Sheet1.ActiveRowIndex = -1;
this.fpSpread1_Sheet1.AutoGenerateColumns = false;
this.fpSpread1_Sheet1.AutoSortEnhancedContextMenu = true;
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "구분";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "제목";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "요청자";
this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 36F;
this.fpSpread1_Sheet1.Columns.Get(0).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(0).AllowAutoSort = true;
this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType7;
this.fpSpread1_Sheet1.Columns.Get(0).DataField = "cate";
this.fpSpread1_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(0).Label = "구분";
this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType8;
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).Label = "제목";
this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType9;
this.fpSpread1_Sheet1.Columns.Get(2).DataField = "url";
this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(2).Label = "요청자";
this.fpSpread1_Sheet1.DataAutoCellTypes = false;
this.fpSpread1_Sheet1.DataAutoHeadings = false;
this.fpSpread1_Sheet1.DataSource = this.bs;
this.fpSpread1_Sheet1.OperationMode = FarPoint.Win.Spread.OperationMode.RowMode;
this.fpSpread1_Sheet1.Protect = false;
this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false;
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
//
// toolStrip1
//
this.toolStrip1.ImageScalingSize = new System.Drawing.Size(30, 30);
@@ -286,7 +240,7 @@
this.toolStripButton2});
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(1046, 37);
this.toolStrip1.Size = new System.Drawing.Size(721, 37);
this.toolStrip1.TabIndex = 9;
this.toolStrip1.Text = "toolStrip1";
//
@@ -295,8 +249,8 @@
this.btSearch.Image = ((System.Drawing.Image)(resources.GetObject("btSearch.Image")));
this.btSearch.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btSearch.Name = "btSearch";
this.btSearch.Size = new System.Drawing.Size(80, 34);
this.btSearch.Text = "조회(&R)";
this.btSearch.Size = new System.Drawing.Size(104, 34);
this.btSearch.Text = "새로고침(&R)";
this.btSearch.Click += new System.EventHandler(this.btSearch_Click_1);
//
// toolStripSeparator5
@@ -314,12 +268,73 @@
this.toolStripButton2.Text = "닫기";
this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click);
//
// arDatagridView1
//
this.arDatagridView1.A_DelCurrentCell = true;
this.arDatagridView1.A_EnterToTab = true;
this.arDatagridView1.A_KoreanField = null;
this.arDatagridView1.A_UpperField = null;
this.arDatagridView1.A_ViewRownumOnHeader = true;
this.arDatagridView1.AllowUserToAddRows = false;
this.arDatagridView1.AutoGenerateColumns = false;
this.arDatagridView1.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
this.arDatagridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.arDatagridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.wdateDataGridViewTextBoxColumn,
this.cateDataGridViewTextBoxColumn,
this.titleDataGridViewTextBoxColumn,
this.urlDataGridViewTextBoxColumn});
this.arDatagridView1.DataSource = this.bs;
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle2.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle2.Padding = new System.Windows.Forms.Padding(3);
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.arDatagridView1.DefaultCellStyle = dataGridViewCellStyle2;
this.arDatagridView1.Dock = System.Windows.Forms.DockStyle.Fill;
this.arDatagridView1.Location = new System.Drawing.Point(0, 37);
this.arDatagridView1.Name = "arDatagridView1";
this.arDatagridView1.RowTemplate.Height = 23;
this.arDatagridView1.Size = new System.Drawing.Size(721, 353);
this.arDatagridView1.TabIndex = 10;
//
// wdateDataGridViewTextBoxColumn
//
this.wdateDataGridViewTextBoxColumn.DataPropertyName = "wdate";
this.wdateDataGridViewTextBoxColumn.HeaderText = "등록일";
this.wdateDataGridViewTextBoxColumn.Name = "wdateDataGridViewTextBoxColumn";
this.wdateDataGridViewTextBoxColumn.Width = 72;
//
// cateDataGridViewTextBoxColumn
//
this.cateDataGridViewTextBoxColumn.DataPropertyName = "cate";
this.cateDataGridViewTextBoxColumn.HeaderText = "구분";
this.cateDataGridViewTextBoxColumn.Name = "cateDataGridViewTextBoxColumn";
this.cateDataGridViewTextBoxColumn.Width = 57;
//
// titleDataGridViewTextBoxColumn
//
this.titleDataGridViewTextBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.titleDataGridViewTextBoxColumn.DataPropertyName = "title";
this.titleDataGridViewTextBoxColumn.HeaderText = "화면";
this.titleDataGridViewTextBoxColumn.Name = "titleDataGridViewTextBoxColumn";
//
// urlDataGridViewTextBoxColumn
//
this.urlDataGridViewTextBoxColumn.DataPropertyName = "url";
this.urlDataGridViewTextBoxColumn.HeaderText = "요청";
this.urlDataGridViewTextBoxColumn.Name = "urlDataGridViewTextBoxColumn";
this.urlDataGridViewTextBoxColumn.Width = 57;
//
// fPatchList
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1046, 575);
this.Controls.Add(this.fpSpread1);
this.ClientSize = new System.Drawing.Size(721, 669);
this.Controls.Add(this.arDatagridView1);
this.Controls.Add(this.toolStrip1);
this.Controls.Add(this.richTextBox1);
this.Controls.Add(this.bn);
@@ -331,10 +346,9 @@
this.bn.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit();
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.arDatagridView1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
@@ -357,14 +371,17 @@
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem;
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem;
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2;
private System.Windows.Forms.ToolStripButton boardBindingNavigatorSaveItem;
private System.Windows.Forms.ToolStripButton BTsAVE;
private dsMSSQLTableAdapters.BoardTableAdapter ta;
private System.Windows.Forms.RichTextBox richTextBox1;
private FarPoint.Win.Spread.FpSpread fpSpread1;
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
private System.Windows.Forms.ToolStrip toolStrip1;
private System.Windows.Forms.ToolStripButton btSearch;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator5;
private System.Windows.Forms.ToolStripButton toolStripButton2;
private arCtl.arDatagridView arDatagridView1;
private System.Windows.Forms.DataGridViewTextBoxColumn wdateDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn cateDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn titleDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn urlDataGridViewTextBoxColumn;
}
}

View File

@@ -34,14 +34,13 @@ namespace FCM0000
if (FCOMMON.info.Login.level >= 9)
{
bn.Enabled = true;
this.fpSpread1.EditMode = true;
this.fpSpread1.ActiveSheet.Protect = false;
BTsAVE.Enabled = true;
}
else
{
bn.Enabled = false;
this.fpSpread1.EditMode = false;
this.fpSpread1.ActiveSheet.Protect = true;
BTsAVE.Enabled = false;
this.arDatagridView1.EditMode = DataGridViewEditMode.EditProgrammatically;
}
refreshData();
}
@@ -64,7 +63,7 @@ namespace FCM0000
{
try
{
this.ta.Fill(this.dsMSSQL.Board,5, FCOMMON.info.Login.gcode);
this.ta.Fill(this.dsMSSQL.Board,5, "%");
}
catch (System.Exception ex)
{

View File

@@ -191,7 +191,7 @@
rkJggg==
</value>
</data>
<data name="boardBindingNavigatorSaveItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<data name="BTsAVE.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wwAADsMBx2+oZAAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo
@@ -207,12 +207,6 @@
<metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>325, 17</value>
</metadata>
<metadata name="fpSpread1_Sheet1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>387, 17</value>
</metadata>
<metadata name="fpSpread1_Sheet1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>387, 17</value>
</metadata>
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>608, 17</value>
</metadata>