..
This commit is contained in:
581
Project/Dialog/PMPUpdate.Designer.cs
generated
Normal file
581
Project/Dialog/PMPUpdate.Designer.cs
generated
Normal file
@@ -0,0 +1,581 @@
|
|||||||
|
namespace Project.Dialog
|
||||||
|
{
|
||||||
|
partial class PMPUpdate
|
||||||
|
{
|
||||||
|
/// <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(PMPUpdate));
|
||||||
|
this.panel1 = new System.Windows.Forms.Panel();
|
||||||
|
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
|
||||||
|
this.textBox1 = new System.Windows.Forms.TextBox();
|
||||||
|
this.linkLabel1 = new System.Windows.Forms.LinkLabel();
|
||||||
|
this.button1 = new System.Windows.Forms.Button();
|
||||||
|
this.dsPMPDatabase = new Project.DsPMPDatabase();
|
||||||
|
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||||
|
this.ta = new Project.DsPMPDatabaseTableAdapters.SPMasterTableAdapter();
|
||||||
|
this.tam = new Project.DsPMPDatabaseTableAdapters.TableAdapterManager();
|
||||||
|
this.bn = new System.Windows.Forms.BindingNavigator(this.components);
|
||||||
|
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.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
|
||||||
|
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.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.sPMasterBindingNavigatorSaveItem = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.sPMasterDataGridView = new System.Windows.Forms.DataGridView();
|
||||||
|
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn12 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.prb1 = new System.Windows.Forms.ToolStripProgressBar();
|
||||||
|
this.panel1.SuspendLayout();
|
||||||
|
this.statusStrip1.SuspendLayout();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.dsPMPDatabase)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
|
||||||
|
this.bn.SuspendLayout();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.sPMasterDataGridView)).BeginInit();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// panel1
|
||||||
|
//
|
||||||
|
this.panel1.Controls.Add(this.button1);
|
||||||
|
this.panel1.Controls.Add(this.linkLabel1);
|
||||||
|
this.panel1.Controls.Add(this.textBox1);
|
||||||
|
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(800, 34);
|
||||||
|
this.panel1.TabIndex = 0;
|
||||||
|
//
|
||||||
|
// statusStrip1
|
||||||
|
//
|
||||||
|
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
|
this.prb1});
|
||||||
|
this.statusStrip1.Location = new System.Drawing.Point(0, 428);
|
||||||
|
this.statusStrip1.Name = "statusStrip1";
|
||||||
|
this.statusStrip1.Size = new System.Drawing.Size(800, 22);
|
||||||
|
this.statusStrip1.TabIndex = 1;
|
||||||
|
this.statusStrip1.Text = "statusStrip1";
|
||||||
|
//
|
||||||
|
// textBox1
|
||||||
|
//
|
||||||
|
this.textBox1.Location = new System.Drawing.Point(50, 6);
|
||||||
|
this.textBox1.Name = "textBox1";
|
||||||
|
this.textBox1.Size = new System.Drawing.Size(676, 21);
|
||||||
|
this.textBox1.TabIndex = 0;
|
||||||
|
this.textBox1.Text = "W:\\DB\\SPMaster.mdb";
|
||||||
|
//
|
||||||
|
// linkLabel1
|
||||||
|
//
|
||||||
|
this.linkLabel1.AutoSize = true;
|
||||||
|
this.linkLabel1.Location = new System.Drawing.Point(11, 11);
|
||||||
|
this.linkLabel1.Name = "linkLabel1";
|
||||||
|
this.linkLabel1.Size = new System.Drawing.Size(29, 12);
|
||||||
|
this.linkLabel1.TabIndex = 1;
|
||||||
|
this.linkLabel1.TabStop = true;
|
||||||
|
this.linkLabel1.Text = "파일";
|
||||||
|
//
|
||||||
|
// button1
|
||||||
|
//
|
||||||
|
this.button1.Location = new System.Drawing.Point(732, 7);
|
||||||
|
this.button1.Name = "button1";
|
||||||
|
this.button1.Size = new System.Drawing.Size(62, 19);
|
||||||
|
this.button1.TabIndex = 2;
|
||||||
|
this.button1.Text = "button1";
|
||||||
|
this.button1.UseVisualStyleBackColor = true;
|
||||||
|
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||||
|
//
|
||||||
|
// dsPMPDatabase
|
||||||
|
//
|
||||||
|
this.dsPMPDatabase.DataSetName = "DsPMPDatabase";
|
||||||
|
this.dsPMPDatabase.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
||||||
|
//
|
||||||
|
// bs
|
||||||
|
//
|
||||||
|
this.bs.DataMember = "SPMaster";
|
||||||
|
this.bs.DataSource = this.dsPMPDatabase;
|
||||||
|
//
|
||||||
|
// ta
|
||||||
|
//
|
||||||
|
this.ta.ClearBeforeFill = true;
|
||||||
|
//
|
||||||
|
// tam
|
||||||
|
//
|
||||||
|
this.tam.BackupDataSetBeforeUpdate = false;
|
||||||
|
this.tam.SPMasterTableAdapter = this.ta;
|
||||||
|
this.tam.UpdateOrder = Project.DsPMPDatabaseTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
|
||||||
|
//
|
||||||
|
// bn
|
||||||
|
//
|
||||||
|
this.bn.AddNewItem = this.bindingNavigatorAddNewItem;
|
||||||
|
this.bn.BindingSource = this.bs;
|
||||||
|
this.bn.CountItem = this.bindingNavigatorCountItem;
|
||||||
|
this.bn.DeleteItem = this.bindingNavigatorDeleteItem;
|
||||||
|
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.bindingNavigatorAddNewItem,
|
||||||
|
this.bindingNavigatorDeleteItem,
|
||||||
|
this.sPMasterBindingNavigatorSaveItem,
|
||||||
|
this.toolStripButton1});
|
||||||
|
this.bn.Location = new System.Drawing.Point(0, 403);
|
||||||
|
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(800, 25);
|
||||||
|
this.bn.TabIndex = 2;
|
||||||
|
this.bn.Text = "bindingNavigator1";
|
||||||
|
//
|
||||||
|
// 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.Name = "bindingNavigatorPositionItem";
|
||||||
|
this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
|
||||||
|
this.bindingNavigatorPositionItem.Text = "0";
|
||||||
|
this.bindingNavigatorPositionItem.ToolTipText = "현재 위치";
|
||||||
|
//
|
||||||
|
// bindingNavigatorCountItem
|
||||||
|
//
|
||||||
|
this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
|
||||||
|
this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22);
|
||||||
|
this.bindingNavigatorCountItem.Text = "/{0}";
|
||||||
|
this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수";
|
||||||
|
//
|
||||||
|
// bindingNavigatorSeparator1
|
||||||
|
//
|
||||||
|
this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator";
|
||||||
|
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 = "bindingNavigatorSeparator";
|
||||||
|
this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25);
|
||||||
|
//
|
||||||
|
// bindingNavigatorAddNewItem
|
||||||
|
//
|
||||||
|
this.bindingNavigatorAddNewItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
|
this.bindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image")));
|
||||||
|
this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem";
|
||||||
|
this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true;
|
||||||
|
this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(23, 22);
|
||||||
|
this.bindingNavigatorAddNewItem.Text = "새로 추가";
|
||||||
|
//
|
||||||
|
// bindingNavigatorDeleteItem
|
||||||
|
//
|
||||||
|
this.bindingNavigatorDeleteItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
|
this.bindingNavigatorDeleteItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image")));
|
||||||
|
this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem";
|
||||||
|
this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true;
|
||||||
|
this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(23, 22);
|
||||||
|
this.bindingNavigatorDeleteItem.Text = "삭제";
|
||||||
|
//
|
||||||
|
// sPMasterBindingNavigatorSaveItem
|
||||||
|
//
|
||||||
|
this.sPMasterBindingNavigatorSaveItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
|
this.sPMasterBindingNavigatorSaveItem.Enabled = false;
|
||||||
|
this.sPMasterBindingNavigatorSaveItem.Image = ((System.Drawing.Image)(resources.GetObject("sPMasterBindingNavigatorSaveItem.Image")));
|
||||||
|
this.sPMasterBindingNavigatorSaveItem.Name = "sPMasterBindingNavigatorSaveItem";
|
||||||
|
this.sPMasterBindingNavigatorSaveItem.Size = new System.Drawing.Size(23, 22);
|
||||||
|
this.sPMasterBindingNavigatorSaveItem.Text = "데이터 저장";
|
||||||
|
this.sPMasterBindingNavigatorSaveItem.Click += new System.EventHandler(this.sPMasterBindingNavigatorSaveItem_Click);
|
||||||
|
//
|
||||||
|
// sPMasterDataGridView
|
||||||
|
//
|
||||||
|
this.sPMasterDataGridView.AllowUserToAddRows = false;
|
||||||
|
this.sPMasterDataGridView.AllowUserToDeleteRows = false;
|
||||||
|
this.sPMasterDataGridView.AutoGenerateColumns = false;
|
||||||
|
this.sPMasterDataGridView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
|
||||||
|
this.sPMasterDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||||
|
this.sPMasterDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||||
|
this.dataGridViewTextBoxColumn1,
|
||||||
|
this.dataGridViewTextBoxColumn2,
|
||||||
|
this.dataGridViewTextBoxColumn3,
|
||||||
|
this.dataGridViewTextBoxColumn4,
|
||||||
|
this.dataGridViewTextBoxColumn5,
|
||||||
|
this.dataGridViewTextBoxColumn6,
|
||||||
|
this.dataGridViewTextBoxColumn7,
|
||||||
|
this.dataGridViewTextBoxColumn8,
|
||||||
|
this.dataGridViewTextBoxColumn9,
|
||||||
|
this.dataGridViewTextBoxColumn10,
|
||||||
|
this.dataGridViewTextBoxColumn11,
|
||||||
|
this.dataGridViewTextBoxColumn12,
|
||||||
|
this.dataGridViewTextBoxColumn13,
|
||||||
|
this.dataGridViewTextBoxColumn14,
|
||||||
|
this.dataGridViewTextBoxColumn15,
|
||||||
|
this.dataGridViewTextBoxColumn16,
|
||||||
|
this.dataGridViewTextBoxColumn17,
|
||||||
|
this.dataGridViewTextBoxColumn18,
|
||||||
|
this.dataGridViewTextBoxColumn19,
|
||||||
|
this.dataGridViewTextBoxColumn20,
|
||||||
|
this.dataGridViewTextBoxColumn21});
|
||||||
|
this.sPMasterDataGridView.DataSource = this.bs;
|
||||||
|
this.sPMasterDataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
|
this.sPMasterDataGridView.Location = new System.Drawing.Point(0, 34);
|
||||||
|
this.sPMasterDataGridView.Name = "sPMasterDataGridView";
|
||||||
|
this.sPMasterDataGridView.ReadOnly = true;
|
||||||
|
this.sPMasterDataGridView.RowTemplate.Height = 23;
|
||||||
|
this.sPMasterDataGridView.Size = new System.Drawing.Size(800, 369);
|
||||||
|
this.sPMasterDataGridView.TabIndex = 3;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn1
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn1.DataPropertyName = "ID";
|
||||||
|
this.dataGridViewTextBoxColumn1.HeaderText = "ID";
|
||||||
|
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
|
||||||
|
this.dataGridViewTextBoxColumn1.ReadOnly = true;
|
||||||
|
this.dataGridViewTextBoxColumn1.Width = 41;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn2
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn2.DataPropertyName = "CtrlNo";
|
||||||
|
this.dataGridViewTextBoxColumn2.HeaderText = "CtrlNo";
|
||||||
|
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
|
||||||
|
this.dataGridViewTextBoxColumn2.ReadOnly = true;
|
||||||
|
this.dataGridViewTextBoxColumn2.Width = 65;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn3
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn3.DataPropertyName = "SIDNo";
|
||||||
|
this.dataGridViewTextBoxColumn3.HeaderText = "SIDNo";
|
||||||
|
this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
|
||||||
|
this.dataGridViewTextBoxColumn3.ReadOnly = true;
|
||||||
|
this.dataGridViewTextBoxColumn3.Width = 65;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn4
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn4.DataPropertyName = "Storage";
|
||||||
|
this.dataGridViewTextBoxColumn4.HeaderText = "Storage";
|
||||||
|
this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
|
||||||
|
this.dataGridViewTextBoxColumn4.ReadOnly = true;
|
||||||
|
this.dataGridViewTextBoxColumn4.Width = 73;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn5
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn5.DataPropertyName = "Location";
|
||||||
|
this.dataGridViewTextBoxColumn5.HeaderText = "Location";
|
||||||
|
this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
|
||||||
|
this.dataGridViewTextBoxColumn5.ReadOnly = true;
|
||||||
|
this.dataGridViewTextBoxColumn5.Width = 78;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn6
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn6.DataPropertyName = "UseEqmt";
|
||||||
|
this.dataGridViewTextBoxColumn6.HeaderText = "UseEqmt";
|
||||||
|
this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
|
||||||
|
this.dataGridViewTextBoxColumn6.ReadOnly = true;
|
||||||
|
this.dataGridViewTextBoxColumn6.Width = 81;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn7
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn7.DataPropertyName = "PartName";
|
||||||
|
this.dataGridViewTextBoxColumn7.HeaderText = "PartName";
|
||||||
|
this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
|
||||||
|
this.dataGridViewTextBoxColumn7.ReadOnly = true;
|
||||||
|
this.dataGridViewTextBoxColumn7.Width = 86;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn8
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn8.DataPropertyName = "PartNo";
|
||||||
|
this.dataGridViewTextBoxColumn8.HeaderText = "PartNo";
|
||||||
|
this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
|
||||||
|
this.dataGridViewTextBoxColumn8.ReadOnly = true;
|
||||||
|
this.dataGridViewTextBoxColumn8.Width = 68;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn9
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn9.DataPropertyName = "Process";
|
||||||
|
this.dataGridViewTextBoxColumn9.HeaderText = "Process";
|
||||||
|
this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9";
|
||||||
|
this.dataGridViewTextBoxColumn9.ReadOnly = true;
|
||||||
|
this.dataGridViewTextBoxColumn9.Width = 77;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn10
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn10.DataPropertyName = "Supplier";
|
||||||
|
this.dataGridViewTextBoxColumn10.HeaderText = "Supplier";
|
||||||
|
this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10";
|
||||||
|
this.dataGridViewTextBoxColumn10.ReadOnly = true;
|
||||||
|
this.dataGridViewTextBoxColumn10.Width = 76;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn11
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn11.DataPropertyName = "SupplierNo";
|
||||||
|
this.dataGridViewTextBoxColumn11.HeaderText = "SupplierNo";
|
||||||
|
this.dataGridViewTextBoxColumn11.Name = "dataGridViewTextBoxColumn11";
|
||||||
|
this.dataGridViewTextBoxColumn11.ReadOnly = true;
|
||||||
|
this.dataGridViewTextBoxColumn11.Width = 92;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn12
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn12.DataPropertyName = "CurrentQty";
|
||||||
|
this.dataGridViewTextBoxColumn12.HeaderText = "CurrentQty";
|
||||||
|
this.dataGridViewTextBoxColumn12.Name = "dataGridViewTextBoxColumn12";
|
||||||
|
this.dataGridViewTextBoxColumn12.ReadOnly = true;
|
||||||
|
this.dataGridViewTextBoxColumn12.Width = 90;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn13
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn13.DataPropertyName = "MHA";
|
||||||
|
this.dataGridViewTextBoxColumn13.HeaderText = "MHA";
|
||||||
|
this.dataGridViewTextBoxColumn13.Name = "dataGridViewTextBoxColumn13";
|
||||||
|
this.dataGridViewTextBoxColumn13.ReadOnly = true;
|
||||||
|
this.dataGridViewTextBoxColumn13.Width = 57;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn14
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn14.DataPropertyName = "Division";
|
||||||
|
this.dataGridViewTextBoxColumn14.HeaderText = "Division";
|
||||||
|
this.dataGridViewTextBoxColumn14.Name = "dataGridViewTextBoxColumn14";
|
||||||
|
this.dataGridViewTextBoxColumn14.ReadOnly = true;
|
||||||
|
this.dataGridViewTextBoxColumn14.Width = 74;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn15
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn15.DataPropertyName = "BadQty";
|
||||||
|
this.dataGridViewTextBoxColumn15.HeaderText = "BadQty";
|
||||||
|
this.dataGridViewTextBoxColumn15.Name = "dataGridViewTextBoxColumn15";
|
||||||
|
this.dataGridViewTextBoxColumn15.ReadOnly = true;
|
||||||
|
this.dataGridViewTextBoxColumn15.Width = 71;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn16
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn16.DataPropertyName = "Price";
|
||||||
|
this.dataGridViewTextBoxColumn16.HeaderText = "Price";
|
||||||
|
this.dataGridViewTextBoxColumn16.Name = "dataGridViewTextBoxColumn16";
|
||||||
|
this.dataGridViewTextBoxColumn16.ReadOnly = true;
|
||||||
|
this.dataGridViewTextBoxColumn16.Width = 59;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn17
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn17.DataPropertyName = "PriceUnit";
|
||||||
|
this.dataGridViewTextBoxColumn17.HeaderText = "PriceUnit";
|
||||||
|
this.dataGridViewTextBoxColumn17.Name = "dataGridViewTextBoxColumn17";
|
||||||
|
this.dataGridViewTextBoxColumn17.ReadOnly = true;
|
||||||
|
this.dataGridViewTextBoxColumn17.Width = 80;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn18
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn18.DataPropertyName = "CostCenter";
|
||||||
|
this.dataGridViewTextBoxColumn18.HeaderText = "CostCenter";
|
||||||
|
this.dataGridViewTextBoxColumn18.Name = "dataGridViewTextBoxColumn18";
|
||||||
|
this.dataGridViewTextBoxColumn18.ReadOnly = true;
|
||||||
|
this.dataGridViewTextBoxColumn18.Width = 93;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn19
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn19.DataPropertyName = "Memo";
|
||||||
|
this.dataGridViewTextBoxColumn19.HeaderText = "Memo";
|
||||||
|
this.dataGridViewTextBoxColumn19.Name = "dataGridViewTextBoxColumn19";
|
||||||
|
this.dataGridViewTextBoxColumn19.ReadOnly = true;
|
||||||
|
this.dataGridViewTextBoxColumn19.Width = 66;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn20
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn20.DataPropertyName = "EnrDate";
|
||||||
|
this.dataGridViewTextBoxColumn20.HeaderText = "EnrDate";
|
||||||
|
this.dataGridViewTextBoxColumn20.Name = "dataGridViewTextBoxColumn20";
|
||||||
|
this.dataGridViewTextBoxColumn20.ReadOnly = true;
|
||||||
|
this.dataGridViewTextBoxColumn20.Width = 74;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn21
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn21.DataPropertyName = "Enrollee";
|
||||||
|
this.dataGridViewTextBoxColumn21.HeaderText = "Enrollee";
|
||||||
|
this.dataGridViewTextBoxColumn21.Name = "dataGridViewTextBoxColumn21";
|
||||||
|
this.dataGridViewTextBoxColumn21.ReadOnly = true;
|
||||||
|
this.dataGridViewTextBoxColumn21.Width = 76;
|
||||||
|
//
|
||||||
|
// toolStripButton1
|
||||||
|
//
|
||||||
|
this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
|
||||||
|
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||||
|
this.toolStripButton1.Name = "toolStripButton1";
|
||||||
|
this.toolStripButton1.Size = new System.Drawing.Size(65, 22);
|
||||||
|
this.toolStripButton1.Text = "Update";
|
||||||
|
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
|
||||||
|
//
|
||||||
|
// prb1
|
||||||
|
//
|
||||||
|
this.prb1.Name = "prb1";
|
||||||
|
this.prb1.Size = new System.Drawing.Size(300, 16);
|
||||||
|
//
|
||||||
|
// PMPUpdate
|
||||||
|
//
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
this.ClientSize = new System.Drawing.Size(800, 450);
|
||||||
|
this.Controls.Add(this.sPMasterDataGridView);
|
||||||
|
this.Controls.Add(this.bn);
|
||||||
|
this.Controls.Add(this.statusStrip1);
|
||||||
|
this.Controls.Add(this.panel1);
|
||||||
|
this.Name = "PMPUpdate";
|
||||||
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||||
|
this.Text = "PMPUpdate";
|
||||||
|
this.Load += new System.EventHandler(this.PMPUpdate_Load);
|
||||||
|
this.panel1.ResumeLayout(false);
|
||||||
|
this.panel1.PerformLayout();
|
||||||
|
this.statusStrip1.ResumeLayout(false);
|
||||||
|
this.statusStrip1.PerformLayout();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.dsPMPDatabase)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit();
|
||||||
|
this.bn.ResumeLayout(false);
|
||||||
|
this.bn.PerformLayout();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.sPMasterDataGridView)).EndInit();
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
this.PerformLayout();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private System.Windows.Forms.Panel panel1;
|
||||||
|
private System.Windows.Forms.StatusStrip statusStrip1;
|
||||||
|
private System.Windows.Forms.LinkLabel linkLabel1;
|
||||||
|
private System.Windows.Forms.TextBox textBox1;
|
||||||
|
private System.Windows.Forms.Button button1;
|
||||||
|
private DsPMPDatabase dsPMPDatabase;
|
||||||
|
private System.Windows.Forms.BindingSource bs;
|
||||||
|
private DsPMPDatabaseTableAdapters.SPMasterTableAdapter ta;
|
||||||
|
private DsPMPDatabaseTableAdapters.TableAdapterManager tam;
|
||||||
|
private System.Windows.Forms.BindingNavigator bn;
|
||||||
|
private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem;
|
||||||
|
private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem;
|
||||||
|
private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem;
|
||||||
|
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 sPMasterBindingNavigatorSaveItem;
|
||||||
|
private System.Windows.Forms.DataGridView sPMasterDataGridView;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn6;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn7;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn8;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn9;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn10;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn11;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn12;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn13;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn14;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn15;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn16;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn17;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn18;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn19;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn20;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn21;
|
||||||
|
private System.Windows.Forms.ToolStripButton toolStripButton1;
|
||||||
|
private System.Windows.Forms.ToolStripProgressBar prb1;
|
||||||
|
}
|
||||||
|
}
|
||||||
134
Project/Dialog/PMPUpdate.cs
Normal file
134
Project/Dialog/PMPUpdate.cs
Normal file
@@ -0,0 +1,134 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel;
|
||||||
|
using System.Data;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace Project.Dialog
|
||||||
|
{
|
||||||
|
public partial class PMPUpdate : Form
|
||||||
|
{
|
||||||
|
public PMPUpdate()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void PMPUpdate_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
// TODO: 이 코드는 데이터를 'dsPMPDatabase.SPMaster' 테이블에 로드합니다. 필요 시 이 코드를 이동하거나 제거할 수 있습니다.
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
//public DataSet convertDataReaderToDataSet(SqlClient.SqlDataReader reader)
|
||||||
|
//{
|
||||||
|
// DataSet dataSet = new DataSet();
|
||||||
|
// DataRow dataRow;
|
||||||
|
// string columnName;
|
||||||
|
// DataColumn column;
|
||||||
|
// DataTable schemaTable;
|
||||||
|
// DataTable dataTable;
|
||||||
|
|
||||||
|
// do
|
||||||
|
// {
|
||||||
|
// // Create new data table
|
||||||
|
// schemaTable = reader.GetSchemaTable;
|
||||||
|
// dataTable = new DataTable();
|
||||||
|
// if (!IsDBNull(schemaTable))
|
||||||
|
// {
|
||||||
|
// // A query returning records was executed
|
||||||
|
// int i;
|
||||||
|
// for (i = 0; i <= schemaTable.Rows.Count - 1; i++)
|
||||||
|
// {
|
||||||
|
// dataRow = schemaTable.Rows(i);
|
||||||
|
// // Create a column name that is unique in the data table
|
||||||
|
// columnName = dataRow("ColumnName");
|
||||||
|
// // Add the column definition to the data table
|
||||||
|
// column = new DataColumn(columnName, (Type)dataRow("DataType"));
|
||||||
|
// dataTable.Columns.Add(column);
|
||||||
|
// }
|
||||||
|
|
||||||
|
// dataSet.Tables.Add(dataTable);
|
||||||
|
|
||||||
|
// // Fill the data table we just created
|
||||||
|
// while (reader.Read())
|
||||||
|
// {
|
||||||
|
// dataRow = dataTable.NewRow();
|
||||||
|
// for (i = 0; i <= reader.FieldCount - 1; i++)
|
||||||
|
// dataRow(i) = reader(i);
|
||||||
|
// dataTable.Rows.Add(dataRow);
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
// else
|
||||||
|
// {
|
||||||
|
// // No records were returned
|
||||||
|
// column = new DataColumn("RowsAffected");
|
||||||
|
// dataTable.Columns.Add(column);
|
||||||
|
// dataSet.Tables.Add(dataTable);
|
||||||
|
// dataRow = dataTable.NewRow();
|
||||||
|
// dataRow(0) = reader.RecordsAffected;
|
||||||
|
// dataTable.Rows.Add(dataRow);
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
// while (reader.NextResult());
|
||||||
|
// return dataSet;
|
||||||
|
//}
|
||||||
|
|
||||||
|
private void button1_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
var cs = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source="+ textBox1.Text.Trim();
|
||||||
|
Properties.Settings.Default["PMPCS"] = cs;
|
||||||
|
var cs2 = Properties.Settings.Default.PMPCS;
|
||||||
|
try
|
||||||
|
{
|
||||||
|
this.ta.Fill(this.dsPMPDatabase.SPMaster);
|
||||||
|
}catch (Exception ex)
|
||||||
|
{
|
||||||
|
Util.MsgE(ex.Message);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void sPMasterBindingNavigatorSaveItem_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
this.Validate();
|
||||||
|
this.bs.EndEdit();
|
||||||
|
this.tam.UpdateAll(this.dsPMPDatabase);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void toolStripButton1_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
var dlg = Util.MsgQ("기존 자료가 모두 삭제되고 다시 업로드 됩니다");
|
||||||
|
if (dlg != DialogResult.Yes) return;
|
||||||
|
|
||||||
|
var taMssql = new dsMSSQLTableAdapters.SPMasterTableAdapter();
|
||||||
|
taMssql.DeleteAll();
|
||||||
|
|
||||||
|
this.prb1.Minimum = 0;
|
||||||
|
this.prb1.Maximum = this.dsPMPDatabase.SPMaster.Rows.Count;
|
||||||
|
this.prb1.Value = 0;
|
||||||
|
|
||||||
|
foreach(DsPMPDatabase.SPMasterRow src in this.dsPMPDatabase.SPMaster.Rows)
|
||||||
|
{
|
||||||
|
this.prb1.Value += 1;
|
||||||
|
|
||||||
|
var datestr = "";
|
||||||
|
if (src.IsEnrDateNull() == false) datestr = src.EnrDate.ToShortDateString();
|
||||||
|
|
||||||
|
//이 값을 MSSQL에 넣는다
|
||||||
|
taMssql.Insert(src.ID, src.CtrlNo, src.SIDNo, src.Storage, src.Location,
|
||||||
|
src.UseEqmt, src.PartName, src.PartNo, src.Process, src.SupplierNo, (int)src.CurrentQty, (int)src.MHA,
|
||||||
|
src.Division, (int)src.BadQty, (int)src.Price, src.PriceUnit, src.CostCenter, src.Memo, datestr, src.Enrollee);
|
||||||
|
}
|
||||||
|
|
||||||
|
Util.MsgI("완료");
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
226
Project/Dialog/PMPUpdate.resx
Normal file
226
Project/Dialog/PMPUpdate.resx
Normal file
@@ -0,0 +1,226 @@
|
|||||||
|
<?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="statusStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>17, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="dsPMPDatabase.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>134, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>276, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>340, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="tam.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>402, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="bn.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>475, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||||
|
<data name="bindingNavigatorAddNewItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||||
|
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAFKSURBVDhPYxi84O4C9v+35nH+vzqH6//FGbz/ocLEg+tA
|
||||||
|
jX8eNf7/87Dh/8nJAqQbcH46L9yAgz0ipBtwfJIgUHPd/z8Pqv7vaBcnbMClmTz/z07l+38SqPFIv9D/
|
||||||
|
fd0iQM3l///eK/q/vkHm/6oauf9LKxX/zy9V/j+rSBXTwFNAf/55WA/UVAvElf//3CsB4rz/f+9m/v97
|
||||||
|
J/n/39tx///djADikP+TcjQxDTjUKwx27t/7pUCNBUCN2UCNqUCNCf//3YoGagz7/+9G0P9/1/3+d6Xp
|
||||||
|
Yhqws13i/5Zmqf/rwM6V/7+kQvH/31sxQI3h/6fmafyfkKX1vztD9397qv7/5kRDwmEyG+hPkHP/3Qj4
|
||||||
|
35OhQ1gDOgD5898NfyD2+9+arE+6Ad3pumD/gnB9nBHpBrQkGfxviDf8XxNr/L8y2oR0A+gEGBgAJCPY
|
||||||
|
nnX8iGkAAAAASUVORK5CYII=
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="bindingNavigatorDeleteItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||||
|
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAFvSURBVDhPtZBNKMNhHMd3Vd5K7eKCWjkgk7yEZDKksciE
|
||||||
|
yMwkBw6LhHZxcCDlQg64SA4kJeVE4jRv89qaWn8tUtoF/7g8H2Ootb+x4nt56nm+38/v+/xUfyJcJ9Bt
|
||||||
|
BMcOH1eRiZV5RGcVwqyHrfWwELweWJoJ9rC2AL0mRLse0VEBcxOKkLeGwlwGIz2h75w6ApC6bERjAdia
|
||||||
|
gkxiyIow5cKkPWxDFYvTiMrUdxDDVnCfwVh/AOo/P2zhhccFzcWBLxmzEPV50Nfyu/Cn2N/1V85DGNKh
|
||||||
|
Rhth+EaCxkLISUDWxvOgjYXa7F/Wv7kGUz4UJeKzGODi6H25d2l+yPLsDwu8v4NWHY8lSbhL0/HtbX8F
|
||||||
|
GLXh1MQgnxwoQ3h5hkEL6JI5TlPj21gNMd6WZyC1VSN7r0Mh7G4i56pxpkQhdTWA/KQ4aUcTh+x0KACm
|
||||||
|
RpBSo3HrM0G6Uq7pl2zvhvNDBcClE8YH4HDv2/A/SKV6BYojAxyEJtLJAAAAAElFTkSuQmCC
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||||
|
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAEqSURBVDhPYxg8oHDW8/9NC57/z5z4+D9UCAOEtz/AKceQ
|
||||||
|
O/PZ/1VH3v/HpSi++8H/4IZruA3ImPL0/8J9H7Aqiu95+H/p/v///asv4DYgoefJ/2lb3mMoimi/D9ac
|
||||||
|
Oev/f6/SE7gNiOx69L939QcURaGt98CaW9cBbe/8+98l/wBuAwKbH/6vm/8Orii45e7/RXv//+8Aas6Y
|
||||||
|
8/O/Xd3P//YZ23Eb4FF1/3/+tDcoiuyKb/9Pn/P7v3/Xt/86he/+WySsx22Afend/9mTX2Mo0k85/9+k
|
||||||
|
6MV/laxP/40jl+E2wCLvzv/U/tdYFRkknfgvm/b1v27wPNwGGGbd/h/W8hKnIv3Uy/81fKfhNkAn7cZ/
|
||||||
|
v+qHeBWpeEzAbYBT7pX/IAV4FQ1CwMAAAPB2wKul5ZpwAAAAAElFTkSuQmCC
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="bindingNavigatorMovePreviousItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||||
|
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAC2SURBVDhPYxg6ILz9wX8ok3QQ3/3gf3DDNfIMiO95+H/p
|
||||||
|
/v///asvkG5ARPt9sObMWf//e5WeIM2A0NZ7YM2t64C2d/7975J/gHgDglvu/l+09///DqDmjDk//9vV
|
||||||
|
/fxvn7GdNBfYFd/+nz7n93//rm//dQrf/bdIWE96GOinnP9vUvTiv0rWp//GkctINwAEDJJO/JdN+/pf
|
||||||
|
N3geeQaAgH7q5f8avtPINwAEVDwmUGbAYAUMDADQFGCYBLpQVQAAAABJRU5ErkJggg==
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="bindingNavigatorMoveNextItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||||
|
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAACjSURBVDhPYxh8oHDW8/9QJnkgd+az/wnd98g3JGPK0//z
|
||||||
|
9v/+n9B1hzxDEnqe/J+979f/zq1//7uVXibdkMiuR/+nbPv1v2Tp3/8J0//+t8k9S5ohgc0P/7eufQ/W
|
||||||
|
bFzy5b909LX/xpHLiDfEo+r+/5K57+CaFV16SHOBfend/4Etz8jTDAIWeXf+2xRcIU8zCBhm3SZfMwjo
|
||||||
|
pN0gX/NQBAwMAKB+X6AHNEI4AAAAAElFTkSuQmCC
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="bindingNavigatorMoveLastItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||||
|
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAEsSURBVDhPYxhcoHDW8/9QJgYAyTUteP4/c+JjnGoYcmc+
|
||||||
|
+5/QfQ+rApDcqiPv/4e3P8BtQMaUp//n7f/9P6HrDoYikNzCfR/+Bzdcw21AQs+T/7P3/frfufXvf7fS
|
||||||
|
yygKQXLTtrz/7199AbcBkV2P/k/Z9ut/ydK//xOm//1vk3sWrhgk17v6w3+v0hO4DQhsfvi/de17sGbj
|
||||||
|
ki//paOv/TeOXAbWAJKrm//uv0v+AdwGeFTd/18y9x1cs6JLD1wxSC5/2pv/9hnbcRtgX3r3f2DLMwzN
|
||||||
|
IACSy578+r9FwnrcBljk3flvU3AFQzMIgORS+1/DvYQVGGbdxqoZBEByYS0v/+sGz8NtgE7aDZySIDm/
|
||||||
|
6of/NXyn4TYAH3DKvfJfxWMCGEOFBgVgYAAAvtG/s7kMTpwAAAAASUVORK5CYII=
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="sPMasterBindingNavigatorSaveItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||||
|
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAABMSURBVDhPY6AK+Pbt239SMVQrBIAFgufA8Yf3H+EYWQxE
|
||||||
|
x0zYh2kIKQaAMMwQqHbSDQBhog1AxshqaGsAMXjUgEFpADkYqp0SwMAAAPRDDFPA2mtzAAAAAElFTkSu
|
||||||
|
QmCC
|
||||||
|
</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>
|
||||||
|
</root>
|
||||||
Reference in New Issue
Block a user