..
This commit is contained in:
File diff suppressed because it is too large
Load Diff
749
Project/_Management/fEquipment.Designer.cs
generated
749
Project/_Management/fEquipment.Designer.cs
generated
@@ -30,9 +30,11 @@
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fEquipment));
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.bn = new System.Windows.Forms.BindingNavigator(this.components);
|
||||
this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bsB = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.dsEQ = new Project.dsEQ();
|
||||
this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
|
||||
this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();
|
||||
@@ -44,58 +46,78 @@
|
||||
this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.equipmentBindingNavigatorSaveItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.equipmentDataGridView = new System.Windows.Forms.DataGridView();
|
||||
this.type = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.primary = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||
this.except = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||
this.memo = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
||||
this.radprionly = new System.Windows.Forms.RadioButton();
|
||||
this.radpriall = new System.Windows.Forms.RadioButton();
|
||||
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
|
||||
this.tbFilter = new System.Windows.Forms.ToolStripTextBox();
|
||||
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
|
||||
this.dv = new System.Windows.Forms.DataGridView();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.cmbGrp = new System.Windows.Forms.ComboBox();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.cmbLine = new System.Windows.Forms.ComboBox();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.cmbManu = new System.Windows.Forms.ComboBox();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.cmbType = new System.Windows.Forms.ComboBox();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.tbSearch = new System.Windows.Forms.TextBox();
|
||||
this.btSearch = new System.Windows.Forms.Button();
|
||||
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
||||
this.radexpy = new System.Windows.Forms.RadioButton();
|
||||
this.radexpa = new System.Windows.Forms.RadioButton();
|
||||
this.radexpn = new System.Windows.Forms.RadioButton();
|
||||
this.btSearch = new System.Windows.Forms.Button();
|
||||
this.tbSearch = new System.Windows.Forms.TextBox();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.cmbType = new System.Windows.Forms.ComboBox();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.cmbManu = new System.Windows.Forms.ComboBox();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.cmbLine = new System.Windows.Forms.ComboBox();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.cmbGrp = new System.Windows.Forms.ComboBox();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
||||
this.radprionly = new System.Windows.Forms.RadioButton();
|
||||
this.radpriall = new System.Windows.Forms.RadioButton();
|
||||
this.cmbDate = new System.Windows.Forms.ComboBox();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.button5 = new System.Windows.Forms.Button();
|
||||
this.button4 = new System.Windows.Forms.Button();
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
this.groupBox3 = new System.Windows.Forms.GroupBox();
|
||||
this.radf = new System.Windows.Forms.RadioButton();
|
||||
this.radb = new System.Windows.Forms.RadioButton();
|
||||
this.rade = new System.Windows.Forms.RadioButton();
|
||||
this.taB = new Project.dsEQTableAdapters.EquipmentBTableAdapter();
|
||||
this.bsF = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.taF = new Project.dsEQTableAdapters.EquipmentFTableAdapter();
|
||||
this.tam = new Project.dsEQTableAdapters.TableAdapterManager();
|
||||
this.taME = new Project.dsEQTableAdapters.EquipmentMETableAdapter();
|
||||
this.bsME = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
|
||||
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.type = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.lineT = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.lineP = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dvc_param = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.tam = new Project.dsMSSQLTableAdapters.TableAdapterManager();
|
||||
this.dsEQ = new Project.dsEQ();
|
||||
this.ta = new Project.dsEQTableAdapters.EquipmentTableAdapter();
|
||||
this.primary = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||
this.except = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||
this.memo = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
|
||||
this.bn.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.equipmentDataGridView)).BeginInit();
|
||||
this.panel1.SuspendLayout();
|
||||
this.groupBox2.SuspendLayout();
|
||||
this.groupBox1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bsB)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsEQ)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dv)).BeginInit();
|
||||
this.groupBox1.SuspendLayout();
|
||||
this.groupBox2.SuspendLayout();
|
||||
this.panel1.SuspendLayout();
|
||||
this.groupBox3.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bsF)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bsME)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// bn
|
||||
//
|
||||
this.bn.AddNewItem = this.bindingNavigatorAddNewItem;
|
||||
this.bn.BindingSource = this.bs;
|
||||
this.bn.BindingSource = this.bsB;
|
||||
this.bn.CountItem = this.bindingNavigatorCountItem;
|
||||
this.bn.DeleteItem = this.bindingNavigatorDeleteItem;
|
||||
this.bn.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
@@ -111,7 +133,11 @@
|
||||
this.bindingNavigatorSeparator2,
|
||||
this.bindingNavigatorAddNewItem,
|
||||
this.bindingNavigatorDeleteItem,
|
||||
this.equipmentBindingNavigatorSaveItem});
|
||||
this.equipmentBindingNavigatorSaveItem,
|
||||
this.toolStripSeparator1,
|
||||
this.toolStripLabel1,
|
||||
this.tbFilter,
|
||||
this.toolStripButton1});
|
||||
this.bn.Location = new System.Drawing.Point(0, 614);
|
||||
this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
|
||||
this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem;
|
||||
@@ -132,6 +158,16 @@
|
||||
this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorAddNewItem.Text = "새로 추가";
|
||||
//
|
||||
// bsB
|
||||
//
|
||||
this.bsB.DataMember = "EquipmentB";
|
||||
this.bsB.DataSource = this.dsEQ;
|
||||
//
|
||||
// dsEQ
|
||||
//
|
||||
this.dsEQ.DataSetName = "dsEQ";
|
||||
this.dsEQ.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
||||
//
|
||||
// bindingNavigatorCountItem
|
||||
//
|
||||
this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
|
||||
@@ -217,123 +253,178 @@
|
||||
this.equipmentBindingNavigatorSaveItem.Text = "데이터 저장";
|
||||
this.equipmentBindingNavigatorSaveItem.Click += new System.EventHandler(this.equipmentBindingNavigatorSaveItem_Click);
|
||||
//
|
||||
// equipmentDataGridView
|
||||
// toolStripSeparator1
|
||||
//
|
||||
this.equipmentDataGridView.AutoGenerateColumns = false;
|
||||
this.equipmentDataGridView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
|
||||
this.equipmentDataGridView.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells;
|
||||
this.equipmentDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.equipmentDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.toolStripSeparator1.Name = "toolStripSeparator1";
|
||||
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// toolStripLabel1
|
||||
//
|
||||
this.toolStripLabel1.Name = "toolStripLabel1";
|
||||
this.toolStripLabel1.Size = new System.Drawing.Size(33, 22);
|
||||
this.toolStripLabel1.Text = "Filter";
|
||||
//
|
||||
// tbFilter
|
||||
//
|
||||
this.tbFilter.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.tbFilter.Name = "tbFilter";
|
||||
this.tbFilter.Size = new System.Drawing.Size(150, 25);
|
||||
//
|
||||
// toolStripButton1
|
||||
//
|
||||
this.toolStripButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
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(23, 22);
|
||||
this.toolStripButton1.Text = "toolStripButton1";
|
||||
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
|
||||
//
|
||||
// dv
|
||||
//
|
||||
this.dv.AutoGenerateColumns = false;
|
||||
this.dv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dv.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.dataGridViewTextBoxColumn1,
|
||||
this.dataGridViewTextBoxColumn2,
|
||||
this.dataGridViewTextBoxColumn3,
|
||||
this.dataGridViewTextBoxColumn4,
|
||||
this.type,
|
||||
this.dataGridViewTextBoxColumn8,
|
||||
this.dataGridViewTextBoxColumn5,
|
||||
this.dataGridViewTextBoxColumn6,
|
||||
this.lineT,
|
||||
this.lineP,
|
||||
this.dvc_param,
|
||||
this.dataGridViewTextBoxColumn7,
|
||||
this.dataGridViewTextBoxColumn8,
|
||||
this.primary,
|
||||
this.except,
|
||||
this.memo});
|
||||
this.equipmentDataGridView.DataSource = this.bs;
|
||||
this.equipmentDataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.equipmentDataGridView.Location = new System.Drawing.Point(0, 176);
|
||||
this.equipmentDataGridView.Name = "equipmentDataGridView";
|
||||
this.equipmentDataGridView.RowTemplate.Height = 23;
|
||||
this.equipmentDataGridView.Size = new System.Drawing.Size(1155, 438);
|
||||
this.equipmentDataGridView.TabIndex = 1;
|
||||
this.dv.DataSource = this.bsB;
|
||||
this.dv.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.dv.Location = new System.Drawing.Point(0, 221);
|
||||
this.dv.Name = "dv";
|
||||
this.dv.RowTemplate.Height = 23;
|
||||
this.dv.Size = new System.Drawing.Size(1155, 393);
|
||||
this.dv.TabIndex = 1;
|
||||
//
|
||||
// type
|
||||
// label1
|
||||
//
|
||||
this.type.DataPropertyName = "type";
|
||||
this.type.HeaderText = "type";
|
||||
this.type.Name = "type";
|
||||
this.type.Width = 54;
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(44, 42);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(25, 12);
|
||||
this.label1.TabIndex = 0;
|
||||
this.label1.Text = "Grp";
|
||||
//
|
||||
// primary
|
||||
// label6
|
||||
//
|
||||
this.primary.DataPropertyName = "primary";
|
||||
this.primary.HeaderText = "primary";
|
||||
this.primary.Name = "primary";
|
||||
this.primary.Width = 54;
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.Location = new System.Drawing.Point(16, 15);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(59, 12);
|
||||
this.label6.TabIndex = 0;
|
||||
this.label6.Text = "Paid Date";
|
||||
//
|
||||
// except
|
||||
// cmbGrp
|
||||
//
|
||||
this.except.DataPropertyName = "except";
|
||||
this.except.HeaderText = "except";
|
||||
this.except.Name = "except";
|
||||
this.except.Width = 49;
|
||||
this.cmbGrp.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
|
||||
this.cmbGrp.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
|
||||
this.cmbGrp.FormattingEnabled = true;
|
||||
this.cmbGrp.Location = new System.Drawing.Point(81, 38);
|
||||
this.cmbGrp.Name = "cmbGrp";
|
||||
this.cmbGrp.Size = new System.Drawing.Size(142, 20);
|
||||
this.cmbGrp.TabIndex = 1;
|
||||
//
|
||||
// memo
|
||||
// label2
|
||||
//
|
||||
this.memo.DataPropertyName = "memo";
|
||||
this.memo.HeaderText = "memo";
|
||||
this.memo.Name = "memo";
|
||||
this.memo.Width = 66;
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(11, 68);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(57, 12);
|
||||
this.label2.TabIndex = 2;
|
||||
this.label2.Text = "line code";
|
||||
//
|
||||
// panel1
|
||||
// cmbLine
|
||||
//
|
||||
this.panel1.Controls.Add(this.cmbDate);
|
||||
this.panel1.Controls.Add(this.groupBox2);
|
||||
this.panel1.Controls.Add(this.groupBox1);
|
||||
this.panel1.Controls.Add(this.btSearch);
|
||||
this.panel1.Controls.Add(this.tbSearch);
|
||||
this.panel1.Controls.Add(this.label5);
|
||||
this.panel1.Controls.Add(this.cmbType);
|
||||
this.panel1.Controls.Add(this.label4);
|
||||
this.panel1.Controls.Add(this.cmbManu);
|
||||
this.panel1.Controls.Add(this.label3);
|
||||
this.panel1.Controls.Add(this.cmbLine);
|
||||
this.panel1.Controls.Add(this.label2);
|
||||
this.panel1.Controls.Add(this.cmbGrp);
|
||||
this.panel1.Controls.Add(this.label6);
|
||||
this.panel1.Controls.Add(this.label1);
|
||||
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(1155, 176);
|
||||
this.panel1.TabIndex = 2;
|
||||
this.cmbLine.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
|
||||
this.cmbLine.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
|
||||
this.cmbLine.FormattingEnabled = true;
|
||||
this.cmbLine.Location = new System.Drawing.Point(81, 64);
|
||||
this.cmbLine.Name = "cmbLine";
|
||||
this.cmbLine.Size = new System.Drawing.Size(142, 20);
|
||||
this.cmbLine.TabIndex = 3;
|
||||
//
|
||||
// groupBox2
|
||||
// label3
|
||||
//
|
||||
this.groupBox2.Controls.Add(this.radprionly);
|
||||
this.groupBox2.Controls.Add(this.radpriall);
|
||||
this.groupBox2.Location = new System.Drawing.Point(738, 42);
|
||||
this.groupBox2.Name = "groupBox2";
|
||||
this.groupBox2.Size = new System.Drawing.Size(186, 51);
|
||||
this.groupBox2.TabIndex = 13;
|
||||
this.groupBox2.TabStop = false;
|
||||
this.groupBox2.Text = "primary";
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(31, 97);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(37, 12);
|
||||
this.label3.TabIndex = 4;
|
||||
this.label3.Text = "Manu";
|
||||
//
|
||||
// radprionly
|
||||
// cmbManu
|
||||
//
|
||||
this.radprionly.AutoSize = true;
|
||||
this.radprionly.Checked = true;
|
||||
this.radprionly.Location = new System.Drawing.Point(74, 21);
|
||||
this.radprionly.Name = "radprionly";
|
||||
this.radprionly.Size = new System.Drawing.Size(49, 16);
|
||||
this.radprionly.TabIndex = 13;
|
||||
this.radprionly.TabStop = true;
|
||||
this.radprionly.Text = "Only";
|
||||
this.radprionly.UseVisualStyleBackColor = true;
|
||||
this.cmbManu.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
|
||||
this.cmbManu.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
|
||||
this.cmbManu.FormattingEnabled = true;
|
||||
this.cmbManu.Location = new System.Drawing.Point(81, 90);
|
||||
this.cmbManu.Name = "cmbManu";
|
||||
this.cmbManu.Size = new System.Drawing.Size(142, 20);
|
||||
this.cmbManu.TabIndex = 5;
|
||||
//
|
||||
// radpriall
|
||||
// label4
|
||||
//
|
||||
this.radpriall.AutoSize = true;
|
||||
this.radpriall.Location = new System.Drawing.Point(20, 21);
|
||||
this.radpriall.Name = "radpriall";
|
||||
this.radpriall.Size = new System.Drawing.Size(36, 16);
|
||||
this.radpriall.TabIndex = 14;
|
||||
this.radpriall.Text = "all";
|
||||
this.radpriall.UseVisualStyleBackColor = true;
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Location = new System.Drawing.Point(34, 120);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(34, 12);
|
||||
this.label4.TabIndex = 6;
|
||||
this.label4.Text = "Type";
|
||||
//
|
||||
// cmbType
|
||||
//
|
||||
this.cmbType.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
|
||||
this.cmbType.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
|
||||
this.cmbType.FormattingEnabled = true;
|
||||
this.cmbType.Location = new System.Drawing.Point(81, 116);
|
||||
this.cmbType.Name = "cmbType";
|
||||
this.cmbType.Size = new System.Drawing.Size(142, 20);
|
||||
this.cmbType.TabIndex = 7;
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.Location = new System.Drawing.Point(234, 16);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(44, 12);
|
||||
this.label5.TabIndex = 8;
|
||||
this.label5.Text = "search";
|
||||
//
|
||||
// tbSearch
|
||||
//
|
||||
this.tbSearch.Location = new System.Drawing.Point(296, 11);
|
||||
this.tbSearch.Name = "tbSearch";
|
||||
this.tbSearch.Size = new System.Drawing.Size(138, 21);
|
||||
this.tbSearch.TabIndex = 9;
|
||||
//
|
||||
// btSearch
|
||||
//
|
||||
this.btSearch.Location = new System.Drawing.Point(439, 90);
|
||||
this.btSearch.Name = "btSearch";
|
||||
this.btSearch.Size = new System.Drawing.Size(123, 57);
|
||||
this.btSearch.TabIndex = 10;
|
||||
this.btSearch.Text = "search";
|
||||
this.btSearch.UseVisualStyleBackColor = true;
|
||||
this.btSearch.Click += new System.EventHandler(this.btSearch_Click);
|
||||
//
|
||||
// groupBox1
|
||||
//
|
||||
this.groupBox1.Controls.Add(this.radexpy);
|
||||
this.groupBox1.Controls.Add(this.radexpa);
|
||||
this.groupBox1.Controls.Add(this.radexpn);
|
||||
this.groupBox1.Location = new System.Drawing.Point(738, 99);
|
||||
this.groupBox1.Location = new System.Drawing.Point(247, 99);
|
||||
this.groupBox1.Name = "groupBox1";
|
||||
this.groupBox1.Size = new System.Drawing.Size(186, 48);
|
||||
this.groupBox1.TabIndex = 13;
|
||||
@@ -374,134 +465,197 @@
|
||||
this.radexpn.Text = "No";
|
||||
this.radexpn.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// btSearch
|
||||
// groupBox2
|
||||
//
|
||||
this.btSearch.Location = new System.Drawing.Point(930, 51);
|
||||
this.btSearch.Name = "btSearch";
|
||||
this.btSearch.Size = new System.Drawing.Size(123, 96);
|
||||
this.btSearch.TabIndex = 10;
|
||||
this.btSearch.Text = "search";
|
||||
this.btSearch.UseVisualStyleBackColor = true;
|
||||
this.btSearch.Click += new System.EventHandler(this.btSearch_Click);
|
||||
this.groupBox2.Controls.Add(this.radprionly);
|
||||
this.groupBox2.Controls.Add(this.radpriall);
|
||||
this.groupBox2.Location = new System.Drawing.Point(247, 42);
|
||||
this.groupBox2.Name = "groupBox2";
|
||||
this.groupBox2.Size = new System.Drawing.Size(186, 51);
|
||||
this.groupBox2.TabIndex = 13;
|
||||
this.groupBox2.TabStop = false;
|
||||
this.groupBox2.Text = "primary";
|
||||
//
|
||||
// tbSearch
|
||||
// radprionly
|
||||
//
|
||||
this.tbSearch.Location = new System.Drawing.Point(582, 38);
|
||||
this.tbSearch.Name = "tbSearch";
|
||||
this.tbSearch.Size = new System.Drawing.Size(138, 21);
|
||||
this.tbSearch.TabIndex = 9;
|
||||
this.radprionly.AutoSize = true;
|
||||
this.radprionly.Checked = true;
|
||||
this.radprionly.Location = new System.Drawing.Point(74, 21);
|
||||
this.radprionly.Name = "radprionly";
|
||||
this.radprionly.Size = new System.Drawing.Size(49, 16);
|
||||
this.radprionly.TabIndex = 13;
|
||||
this.radprionly.TabStop = true;
|
||||
this.radprionly.Text = "Only";
|
||||
this.radprionly.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// label5
|
||||
// radpriall
|
||||
//
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.Location = new System.Drawing.Point(520, 43);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(44, 12);
|
||||
this.label5.TabIndex = 8;
|
||||
this.label5.Text = "search";
|
||||
this.radpriall.AutoSize = true;
|
||||
this.radpriall.Location = new System.Drawing.Point(20, 21);
|
||||
this.radpriall.Name = "radpriall";
|
||||
this.radpriall.Size = new System.Drawing.Size(36, 16);
|
||||
this.radpriall.TabIndex = 14;
|
||||
this.radpriall.Text = "all";
|
||||
this.radpriall.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// cmbType
|
||||
//
|
||||
this.cmbType.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
|
||||
this.cmbType.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
|
||||
this.cmbType.FormattingEnabled = true;
|
||||
this.cmbType.Location = new System.Drawing.Point(363, 125);
|
||||
this.cmbType.Name = "cmbType";
|
||||
this.cmbType.Size = new System.Drawing.Size(142, 20);
|
||||
this.cmbType.TabIndex = 7;
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Location = new System.Drawing.Point(316, 129);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(34, 12);
|
||||
this.label4.TabIndex = 6;
|
||||
this.label4.Text = "Type";
|
||||
//
|
||||
// cmbManu
|
||||
//
|
||||
this.cmbManu.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
|
||||
this.cmbManu.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
|
||||
this.cmbManu.FormattingEnabled = true;
|
||||
this.cmbManu.Location = new System.Drawing.Point(363, 99);
|
||||
this.cmbManu.Name = "cmbManu";
|
||||
this.cmbManu.Size = new System.Drawing.Size(142, 20);
|
||||
this.cmbManu.TabIndex = 5;
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(313, 106);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(37, 12);
|
||||
this.label3.TabIndex = 4;
|
||||
this.label3.Text = "Manu";
|
||||
//
|
||||
// cmbLine
|
||||
//
|
||||
this.cmbLine.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
|
||||
this.cmbLine.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
|
||||
this.cmbLine.FormattingEnabled = true;
|
||||
this.cmbLine.Location = new System.Drawing.Point(363, 73);
|
||||
this.cmbLine.Name = "cmbLine";
|
||||
this.cmbLine.Size = new System.Drawing.Size(142, 20);
|
||||
this.cmbLine.TabIndex = 3;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(293, 77);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(57, 12);
|
||||
this.label2.TabIndex = 2;
|
||||
this.label2.Text = "line code";
|
||||
//
|
||||
// cmbGrp
|
||||
//
|
||||
this.cmbGrp.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
|
||||
this.cmbGrp.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
|
||||
this.cmbGrp.FormattingEnabled = true;
|
||||
this.cmbGrp.Location = new System.Drawing.Point(363, 47);
|
||||
this.cmbGrp.Name = "cmbGrp";
|
||||
this.cmbGrp.Size = new System.Drawing.Size(142, 20);
|
||||
this.cmbGrp.TabIndex = 1;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(326, 51);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(25, 12);
|
||||
this.label1.TabIndex = 0;
|
||||
this.label1.Text = "Grp";
|
||||
//
|
||||
// comboBox1
|
||||
// cmbDate
|
||||
//
|
||||
this.cmbDate.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
|
||||
this.cmbDate.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
|
||||
this.cmbDate.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cmbDate.FormattingEnabled = true;
|
||||
this.cmbDate.Location = new System.Drawing.Point(81, 12);
|
||||
this.cmbDate.Name = "comboBox1";
|
||||
this.cmbDate.Name = "cmbDate";
|
||||
this.cmbDate.Size = new System.Drawing.Size(142, 20);
|
||||
this.cmbDate.TabIndex = 14;
|
||||
//
|
||||
// label6
|
||||
// panel1
|
||||
//
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.Location = new System.Drawing.Point(16, 15);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(59, 12);
|
||||
this.label6.TabIndex = 0;
|
||||
this.label6.Text = "Paid Date";
|
||||
this.panel1.Controls.Add(this.button5);
|
||||
this.panel1.Controls.Add(this.button4);
|
||||
this.panel1.Controls.Add(this.button1);
|
||||
this.panel1.Controls.Add(this.groupBox3);
|
||||
this.panel1.Controls.Add(this.cmbDate);
|
||||
this.panel1.Controls.Add(this.groupBox2);
|
||||
this.panel1.Controls.Add(this.groupBox1);
|
||||
this.panel1.Controls.Add(this.btSearch);
|
||||
this.panel1.Controls.Add(this.tbSearch);
|
||||
this.panel1.Controls.Add(this.label5);
|
||||
this.panel1.Controls.Add(this.cmbType);
|
||||
this.panel1.Controls.Add(this.label4);
|
||||
this.panel1.Controls.Add(this.cmbManu);
|
||||
this.panel1.Controls.Add(this.label3);
|
||||
this.panel1.Controls.Add(this.cmbLine);
|
||||
this.panel1.Controls.Add(this.label2);
|
||||
this.panel1.Controls.Add(this.cmbGrp);
|
||||
this.panel1.Controls.Add(this.label6);
|
||||
this.panel1.Controls.Add(this.label1);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel1.Location = new System.Drawing.Point(0, 25);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(1155, 196);
|
||||
this.panel1.TabIndex = 2;
|
||||
//
|
||||
// button5
|
||||
//
|
||||
this.button5.Location = new System.Drawing.Point(584, 22);
|
||||
this.button5.Name = "button5";
|
||||
this.button5.Size = new System.Drawing.Size(123, 57);
|
||||
this.button5.TabIndex = 18;
|
||||
this.button5.Text = "Macro Apply";
|
||||
this.button5.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// button4
|
||||
//
|
||||
this.button4.Location = new System.Drawing.Point(455, 26);
|
||||
this.button4.Name = "button4";
|
||||
this.button4.Size = new System.Drawing.Size(123, 57);
|
||||
this.button4.TabIndex = 17;
|
||||
this.button4.Text = "Macro Edit";
|
||||
this.button4.UseVisualStyleBackColor = true;
|
||||
this.button4.Click += new System.EventHandler(this.button4_Click);
|
||||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.Location = new System.Drawing.Point(568, 90);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(123, 57);
|
||||
this.button1.TabIndex = 16;
|
||||
this.button1.Text = "report";
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||
//
|
||||
// groupBox3
|
||||
//
|
||||
this.groupBox3.Controls.Add(this.radf);
|
||||
this.groupBox3.Controls.Add(this.radb);
|
||||
this.groupBox3.Controls.Add(this.rade);
|
||||
this.groupBox3.Location = new System.Drawing.Point(37, 142);
|
||||
this.groupBox3.Name = "groupBox3";
|
||||
this.groupBox3.Size = new System.Drawing.Size(186, 48);
|
||||
this.groupBox3.TabIndex = 15;
|
||||
this.groupBox3.TabStop = false;
|
||||
this.groupBox3.Text = "data";
|
||||
//
|
||||
// radf
|
||||
//
|
||||
this.radf.AutoSize = true;
|
||||
this.radf.Location = new System.Drawing.Point(63, 19);
|
||||
this.radf.Name = "radf";
|
||||
this.radf.Size = new System.Drawing.Size(36, 16);
|
||||
this.radf.TabIndex = 12;
|
||||
this.radf.TabStop = true;
|
||||
this.radf.Text = "fol";
|
||||
this.radf.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// radb
|
||||
//
|
||||
this.radb.AutoSize = true;
|
||||
this.radb.Location = new System.Drawing.Point(14, 21);
|
||||
this.radb.Name = "radb";
|
||||
this.radb.Size = new System.Drawing.Size(55, 16);
|
||||
this.radb.TabIndex = 12;
|
||||
this.radb.TabStop = true;
|
||||
this.radb.Text = "bump";
|
||||
this.radb.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// rade
|
||||
//
|
||||
this.rade.AutoSize = true;
|
||||
this.rade.Checked = true;
|
||||
this.rade.Location = new System.Drawing.Point(118, 21);
|
||||
this.rade.Name = "rade";
|
||||
this.rade.Size = new System.Drawing.Size(40, 16);
|
||||
this.rade.TabIndex = 12;
|
||||
this.rade.TabStop = true;
|
||||
this.rade.Text = "eol";
|
||||
this.rade.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// taB
|
||||
//
|
||||
this.taB.ClearBeforeFill = true;
|
||||
//
|
||||
// bsF
|
||||
//
|
||||
this.bsF.DataMember = "EquipmentF";
|
||||
this.bsF.DataSource = this.dsEQ;
|
||||
//
|
||||
// taF
|
||||
//
|
||||
this.taF.ClearBeforeFill = true;
|
||||
//
|
||||
// tam
|
||||
//
|
||||
this.tam.BackupDataSetBeforeUpdate = false;
|
||||
this.tam.EquipmentBTableAdapter = this.taB;
|
||||
this.tam.EquipmentFilterTableAdapter = null;
|
||||
this.tam.EquipmentFTableAdapter = this.taF;
|
||||
this.tam.EquipmentMETableAdapter = this.taME;
|
||||
this.tam.UpdateOrder = Project.dsEQTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
|
||||
//
|
||||
// taME
|
||||
//
|
||||
this.taME.ClearBeforeFill = true;
|
||||
//
|
||||
// bsME
|
||||
//
|
||||
this.bsME.DataMember = "EquipmentME";
|
||||
this.bsME.DataSource = this.dsEQ;
|
||||
//
|
||||
// toolStrip1
|
||||
//
|
||||
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
|
||||
this.toolStrip1.Name = "toolStrip1";
|
||||
this.toolStrip1.Size = new System.Drawing.Size(1155, 25);
|
||||
this.toolStrip1.TabIndex = 3;
|
||||
this.toolStrip1.Text = "toolStrip1";
|
||||
//
|
||||
// dataGridViewTextBoxColumn1
|
||||
//
|
||||
this.dataGridViewTextBoxColumn1.DataPropertyName = "idx";
|
||||
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle2;
|
||||
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle1;
|
||||
this.dataGridViewTextBoxColumn1.HeaderText = "idx";
|
||||
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
|
||||
this.dataGridViewTextBoxColumn1.ReadOnly = true;
|
||||
@@ -512,6 +666,7 @@
|
||||
this.dataGridViewTextBoxColumn2.DataPropertyName = "pdate";
|
||||
this.dataGridViewTextBoxColumn2.HeaderText = "pdate";
|
||||
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
|
||||
this.dataGridViewTextBoxColumn2.Visible = false;
|
||||
this.dataGridViewTextBoxColumn2.Width = 61;
|
||||
//
|
||||
// dataGridViewTextBoxColumn3
|
||||
@@ -528,6 +683,20 @@
|
||||
this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
|
||||
this.dataGridViewTextBoxColumn4.Width = 48;
|
||||
//
|
||||
// type
|
||||
//
|
||||
this.type.DataPropertyName = "type";
|
||||
this.type.HeaderText = "type";
|
||||
this.type.Name = "type";
|
||||
this.type.Width = 54;
|
||||
//
|
||||
// dataGridViewTextBoxColumn8
|
||||
//
|
||||
this.dataGridViewTextBoxColumn8.DataPropertyName = "manu";
|
||||
this.dataGridViewTextBoxColumn8.HeaderText = "manu";
|
||||
this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
|
||||
this.dataGridViewTextBoxColumn8.Width = 62;
|
||||
//
|
||||
// dataGridViewTextBoxColumn5
|
||||
//
|
||||
this.dataGridViewTextBoxColumn5.DataPropertyName = "model";
|
||||
@@ -542,6 +711,24 @@
|
||||
this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
|
||||
this.dataGridViewTextBoxColumn6.Width = 78;
|
||||
//
|
||||
// lineT
|
||||
//
|
||||
this.lineT.DataPropertyName = "lineT";
|
||||
this.lineT.HeaderText = "Team";
|
||||
this.lineT.Name = "lineT";
|
||||
//
|
||||
// lineP
|
||||
//
|
||||
this.lineP.DataPropertyName = "lineP";
|
||||
this.lineP.HeaderText = "Part";
|
||||
this.lineP.Name = "lineP";
|
||||
//
|
||||
// dvc_param
|
||||
//
|
||||
this.dvc_param.DataPropertyName = "param1";
|
||||
this.dvc_param.HeaderText = "Wafer Size";
|
||||
this.dvc_param.Name = "dvc_param";
|
||||
//
|
||||
// dataGridViewTextBoxColumn7
|
||||
//
|
||||
this.dataGridViewTextBoxColumn7.DataPropertyName = "serial";
|
||||
@@ -549,60 +736,55 @@
|
||||
this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
|
||||
this.dataGridViewTextBoxColumn7.Width = 61;
|
||||
//
|
||||
// dataGridViewTextBoxColumn8
|
||||
// primary
|
||||
//
|
||||
this.dataGridViewTextBoxColumn8.DataPropertyName = "manu";
|
||||
this.dataGridViewTextBoxColumn8.HeaderText = "manu";
|
||||
this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
|
||||
this.dataGridViewTextBoxColumn8.Width = 62;
|
||||
this.primary.DataPropertyName = "primary";
|
||||
this.primary.HeaderText = "primary";
|
||||
this.primary.Name = "primary";
|
||||
this.primary.Width = 54;
|
||||
//
|
||||
// bs
|
||||
// except
|
||||
//
|
||||
this.bs.DataMember = "Equipment";
|
||||
this.bs.DataSource = this.dsEQ;
|
||||
this.except.DataPropertyName = "except";
|
||||
this.except.HeaderText = "except";
|
||||
this.except.Name = "except";
|
||||
this.except.Width = 49;
|
||||
//
|
||||
// tam
|
||||
// memo
|
||||
//
|
||||
this.tam.BackupDataSetBeforeUpdate = false;
|
||||
this.tam.InventoryTableAdapter = null;
|
||||
this.tam.ItemsTableAdapter = null;
|
||||
this.tam.LineCodeTableAdapter = null;
|
||||
this.tam.ProjectsTableAdapter = null;
|
||||
this.tam.UpdateOrder = Project.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
|
||||
this.tam.UsersTableAdapter = null;
|
||||
//
|
||||
// dsEQ
|
||||
//
|
||||
this.dsEQ.DataSetName = "dsEQ";
|
||||
this.dsEQ.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
||||
//
|
||||
// ta
|
||||
//
|
||||
this.ta.ClearBeforeFill = true;
|
||||
this.memo.DataPropertyName = "memo";
|
||||
this.memo.HeaderText = "memo";
|
||||
this.memo.Name = "memo";
|
||||
this.memo.Width = 66;
|
||||
//
|
||||
// fEquipment
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1155, 639);
|
||||
this.Controls.Add(this.equipmentDataGridView);
|
||||
this.Controls.Add(this.dv);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Controls.Add(this.bn);
|
||||
this.Controls.Add(this.toolStrip1);
|
||||
this.Name = "fEquipment";
|
||||
this.Text = "fEquipment";
|
||||
this.Load += new System.EventHandler(this.__Load);
|
||||
this.Load += new System.EventHandler(this.@__Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit();
|
||||
this.bn.ResumeLayout(false);
|
||||
this.bn.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.equipmentDataGridView)).EndInit();
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel1.PerformLayout();
|
||||
this.groupBox2.ResumeLayout(false);
|
||||
this.groupBox2.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bsB)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsEQ)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dv)).EndInit();
|
||||
this.groupBox1.ResumeLayout(false);
|
||||
this.groupBox1.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsEQ)).EndInit();
|
||||
this.groupBox2.ResumeLayout(false);
|
||||
this.groupBox2.PerformLayout();
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel1.PerformLayout();
|
||||
this.groupBox3.ResumeLayout(false);
|
||||
this.groupBox3.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bsF)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bsME)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
@@ -610,8 +792,7 @@
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.BindingSource bs;
|
||||
private dsMSSQLTableAdapters.TableAdapterManager tam;
|
||||
private System.Windows.Forms.BindingSource bsB;
|
||||
private System.Windows.Forms.BindingNavigator bn;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem;
|
||||
private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem;
|
||||
@@ -625,41 +806,61 @@
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2;
|
||||
private System.Windows.Forms.ToolStripButton equipmentBindingNavigatorSaveItem;
|
||||
private System.Windows.Forms.DataGridView equipmentDataGridView;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.DataGridView dv;
|
||||
private dsEQ dsEQ;
|
||||
private dsEQTableAdapters.EquipmentBTableAdapter taB;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.ComboBox cmbLine;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.Label label6;
|
||||
private System.Windows.Forms.ComboBox cmbGrp;
|
||||
private System.Windows.Forms.ComboBox cmbManu;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.ComboBox cmbLine;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.ComboBox cmbType;
|
||||
private System.Windows.Forms.ComboBox cmbManu;
|
||||
private System.Windows.Forms.Label label4;
|
||||
private System.Windows.Forms.ComboBox cmbType;
|
||||
private System.Windows.Forms.Label label5;
|
||||
private System.Windows.Forms.TextBox tbSearch;
|
||||
private System.Windows.Forms.Button btSearch;
|
||||
private System.Windows.Forms.RadioButton radexpn;
|
||||
private System.Windows.Forms.GroupBox groupBox1;
|
||||
private System.Windows.Forms.RadioButton radexpy;
|
||||
private System.Windows.Forms.RadioButton radexpa;
|
||||
private System.Windows.Forms.RadioButton radexpn;
|
||||
private System.Windows.Forms.GroupBox groupBox2;
|
||||
private System.Windows.Forms.RadioButton radprionly;
|
||||
private System.Windows.Forms.RadioButton radpriall;
|
||||
private System.Windows.Forms.GroupBox groupBox1;
|
||||
private System.Windows.Forms.ComboBox cmbDate;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.GroupBox groupBox3;
|
||||
private System.Windows.Forms.RadioButton radf;
|
||||
private System.Windows.Forms.RadioButton radb;
|
||||
private System.Windows.Forms.RadioButton rade;
|
||||
private System.Windows.Forms.BindingSource bsF;
|
||||
private dsEQTableAdapters.EquipmentFTableAdapter taF;
|
||||
private dsEQTableAdapters.TableAdapterManager tam;
|
||||
private dsEQTableAdapters.EquipmentMETableAdapter taME;
|
||||
private System.Windows.Forms.BindingSource bsME;
|
||||
private System.Windows.Forms.Button button1;
|
||||
private System.Windows.Forms.Button button4;
|
||||
private System.Windows.Forms.Button button5;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
|
||||
private System.Windows.Forms.ToolStripLabel toolStripLabel1;
|
||||
private System.Windows.Forms.ToolStripTextBox tbFilter;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton1;
|
||||
private System.Windows.Forms.ToolStrip toolStrip1;
|
||||
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 type;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn8;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn6;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn lineT;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn lineP;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dvc_param;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn7;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn8;
|
||||
private System.Windows.Forms.DataGridViewCheckBoxColumn primary;
|
||||
private System.Windows.Forms.DataGridViewCheckBoxColumn except;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn memo;
|
||||
private System.Windows.Forms.ComboBox cmbDate;
|
||||
private System.Windows.Forms.Label label6;
|
||||
private dsEQ dsEQ;
|
||||
private dsEQTableAdapters.EquipmentTableAdapter ta;
|
||||
}
|
||||
}
|
||||
@@ -6,52 +6,85 @@ using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using System.CodeDom.Compiler;
|
||||
using System.Reflection;
|
||||
using Microsoft.CSharp;
|
||||
|
||||
namespace Project._Management
|
||||
{
|
||||
public partial class fEquipment : Form
|
||||
{
|
||||
public fEquipment()
|
||||
public enum eTabletype
|
||||
{
|
||||
MOLD,
|
||||
FOL,
|
||||
BUMP
|
||||
}
|
||||
string tableName = string.Empty;
|
||||
|
||||
public fEquipment(eTabletype type)
|
||||
{
|
||||
InitializeComponent();
|
||||
this.dsEQ.Equipment.TableNewRow += Equipment_TableNewRow;
|
||||
|
||||
if (type == eTabletype.MOLD)
|
||||
{
|
||||
rade.Checked = true;
|
||||
tableName = "EquipmentME";
|
||||
this.dsEQ.EquipmentME.TableNewRow += Equipment_TableNewRow;
|
||||
dvc_param.Visible = false;
|
||||
}
|
||||
else if (type == eTabletype.FOL)
|
||||
{
|
||||
radf.Checked = true;
|
||||
tableName = "EquipmentF";
|
||||
this.dsEQ.EquipmentF.TableNewRow += Equipment_TableNewRow;
|
||||
dvc_param.Visible = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
radb.Checked = true;
|
||||
tableName = "EquipmentB";
|
||||
this.dsEQ.EquipmentB.TableNewRow += Equipment_TableNewRow;
|
||||
dvc_param.Visible = true;
|
||||
}
|
||||
this.FormClosed += fEquipment_FormClosed;
|
||||
}
|
||||
|
||||
private void equipmentBindingNavigatorSaveItem_Click(object sender, EventArgs e)
|
||||
void fEquipment_FormClosed(object sender, FormClosedEventArgs e)
|
||||
{
|
||||
this.Validate();
|
||||
this.bs.EndEdit();
|
||||
try
|
||||
{
|
||||
this.ta.Update(this.dsEQ.Equipment);
|
||||
this.dsEQ.Equipment.AcceptChanges();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Util.MsgE(ex.Message);
|
||||
}
|
||||
var form = this as Form;
|
||||
Pub.SetFormStatus(ref form, this.Name + this.tableName, false);
|
||||
}
|
||||
|
||||
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
var form = this as Form;
|
||||
Pub.SetFormStatus(ref form, this.Name + this.tableName,true);
|
||||
this.Show();
|
||||
Application.DoEvents();
|
||||
|
||||
//등록된 날짜 목록을 가져온다.
|
||||
dsEQTableAdapters.EqDateListTableAdapter taDate = new dsEQTableAdapters.EqDateListTableAdapter();
|
||||
var dateList = taDate.GetData();
|
||||
if (dateList != null)
|
||||
var taDateList = new dsEQTableAdapters.EqDateListTableAdapter();
|
||||
DataTable dtList = null;
|
||||
if (radb.Checked) dtList = taDateList.GetDateListB();
|
||||
else if (radf.Checked) dtList = taDateList.GetDateListF();
|
||||
else dtList = taDateList.GetDateListME();
|
||||
|
||||
if (dtList != null)
|
||||
{
|
||||
foreach(dsEQ.EqDateListRow dr in dateList.Rows)
|
||||
foreach (DataRow dr in dtList.Rows)
|
||||
{
|
||||
this.cmbDate.Items.Add(dr.pdate);
|
||||
this.cmbDate.Items.Add(dr["pdate"].ToString());
|
||||
}
|
||||
}
|
||||
if (this.cmbDate.Items.Count > 0) this.cmbDate.SelectedIndex = 0;
|
||||
|
||||
//목록을 가져온다.
|
||||
var grpList = Manager.DatabaseManager.getEQGroupLiist("grp");
|
||||
var lcList = Manager.DatabaseManager.getEQGroupLiist("linecode");
|
||||
var manuList = Manager.DatabaseManager.getEQGroupLiist("manu");
|
||||
var typeList = Manager.DatabaseManager.getEQGroupLiist("type");
|
||||
var grpList = Manager.DatabaseManager.getEQGroupLiist("grp", this.tableName);
|
||||
var lcList = Manager.DatabaseManager.getEQGroupLiist("linecode", this.tableName);
|
||||
var manuList = Manager.DatabaseManager.getEQGroupLiist("manu", this.tableName);
|
||||
var typeList = Manager.DatabaseManager.getEQGroupLiist("type", this.tableName);
|
||||
|
||||
cmbGrp.Items.Add("-- All --");
|
||||
cmbLine.Items.Add("-- All --");
|
||||
@@ -63,13 +96,42 @@ namespace Project._Management
|
||||
foreach (var item in manuList) this.cmbManu.Items.Add(item);
|
||||
foreach (var item in typeList) this.cmbType.Items.Add(item);
|
||||
|
||||
cmbGrp.SelectedIndex = 0;
|
||||
cmbLine.SelectedIndex = 0;
|
||||
cmbManu.SelectedIndex = 0;
|
||||
cmbType.SelectedIndex = 0;
|
||||
if (this.cmbGrp.Items.Count > 0) cmbGrp.SelectedIndex = 0;
|
||||
if (this.cmbLine.Items.Count > 0) cmbLine.SelectedIndex = 0;
|
||||
if (this.cmbManu.Items.Count > 0) cmbManu.SelectedIndex = 0;
|
||||
if (this.cmbType.Items.Count > 0) cmbType.SelectedIndex = 0;
|
||||
|
||||
}
|
||||
|
||||
private void equipmentBindingNavigatorSaveItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Validate();
|
||||
this.bsB.EndEdit();
|
||||
this.bsF.EndEdit();
|
||||
this.bsME.EndEdit();
|
||||
try
|
||||
{
|
||||
if (radb.Checked)
|
||||
{
|
||||
this.taB.Update(this.dsEQ.EquipmentB);
|
||||
}
|
||||
else if (rade.Checked)
|
||||
{
|
||||
this.taME.Update(this.dsEQ.EquipmentME);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.taF.Update(this.dsEQ.EquipmentF);
|
||||
}
|
||||
this.dsEQ.AcceptChanges();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Util.MsgE(ex.Message);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void Equipment_TableNewRow(object sender, DataTableNewRowEventArgs e)
|
||||
{
|
||||
e.Row["wuid"] = Pub.Login.no;
|
||||
@@ -78,16 +140,16 @@ namespace Project._Management
|
||||
|
||||
private void btSearch_Click(object sender, EventArgs e)
|
||||
{
|
||||
if(cmbDate.SelectedIndex < 0)
|
||||
if (cmbDate.SelectedIndex < 0)
|
||||
{
|
||||
Util.MsgE("No Date");
|
||||
return;
|
||||
}
|
||||
//select command
|
||||
if (this.ta.Adapter.SelectCommand == null) this.ta.Adapter.SelectCommand = new System.Data.SqlClient.SqlCommand();
|
||||
|
||||
|
||||
|
||||
//select query
|
||||
string newSQL = "select * from Equipment";
|
||||
string newSQL = "select * from {0}";
|
||||
string newWhere = string.Empty;
|
||||
if (cmbGrp.SelectedIndex != 0 && !cmbGrp.Text.isEmpty())
|
||||
{
|
||||
@@ -129,13 +191,122 @@ namespace Project._Management
|
||||
if (!newWhere.isEmpty()) newWhere += " and ";
|
||||
newWhere += string.Format("isnull([primary],0) = 1");
|
||||
}
|
||||
if (newWhere.isEmpty()) ta.Adapter.SelectCommand.CommandText = newSQL;
|
||||
else ta.Adapter.SelectCommand.CommandText = newSQL + " where " + newWhere;
|
||||
|
||||
//refresh data
|
||||
this.dsEQ.Equipment.Clear();
|
||||
ta.Fill(this.dsEQ.Equipment, this.cmbDate.Text);
|
||||
this.dsEQ.Equipment.AcceptChanges();
|
||||
string CommandText = newSQL;
|
||||
if (!newWhere.isEmpty()) CommandText += " where " + newWhere;
|
||||
|
||||
if (radb.Checked)
|
||||
{
|
||||
//select command
|
||||
if (this.taB.Adapter.SelectCommand == null)
|
||||
this.taB.Adapter.SelectCommand = new System.Data.SqlClient.SqlCommand();
|
||||
this.taB.Adapter.SelectCommand.CommandText = string.Format(CommandText, "equipmentB");
|
||||
this.dsEQ.EquipmentB.Clear();
|
||||
taB.Fill(this.dsEQ.EquipmentB, this.cmbDate.Text);
|
||||
this.dsEQ.EquipmentB.AcceptChanges();
|
||||
dv.DataSource = bsB;
|
||||
bn.BindingSource = bsB;
|
||||
}
|
||||
else if (radf.Checked)
|
||||
{
|
||||
//select command
|
||||
if (this.taF.Adapter.SelectCommand == null)
|
||||
this.taF.Adapter.SelectCommand = new System.Data.SqlClient.SqlCommand();
|
||||
this.taF.Adapter.SelectCommand.CommandText = string.Format(CommandText, "equipmentF");
|
||||
this.dsEQ.EquipmentF.Clear();
|
||||
taF.Fill(this.dsEQ.EquipmentF, this.cmbDate.Text);
|
||||
this.dsEQ.EquipmentF.AcceptChanges();
|
||||
dv.DataSource = bsF;
|
||||
bn.BindingSource = bsF;
|
||||
}
|
||||
else
|
||||
{
|
||||
//select command
|
||||
if (this.taME.Adapter.SelectCommand == null)
|
||||
this.taME.Adapter.SelectCommand = new System.Data.SqlClient.SqlCommand();
|
||||
this.taME.Adapter.SelectCommand.CommandText = string.Format(CommandText, "equipmentME");
|
||||
this.dsEQ.EquipmentME.Clear();
|
||||
taME.Fill(this.dsEQ.EquipmentME, this.cmbDate.Text);
|
||||
this.dsEQ.EquipmentME.AcceptChanges();
|
||||
dv.DataSource = bsME;
|
||||
bn.BindingSource = bsME;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
_Management.rpt_equipmentB f = new _Management.rpt_equipmentB(this.cmbDate.Text);
|
||||
f.Show();
|
||||
}
|
||||
|
||||
private void button4_Click(object sender, EventArgs e)
|
||||
{
|
||||
_Management.EQfilter f = new EQfilter(this.tableName);
|
||||
if(f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||
{
|
||||
var filter = f.filter;
|
||||
var apply = f.apply;
|
||||
if (filter.isEmpty() || apply.isEmpty())
|
||||
{
|
||||
Util.MsgE("no data");
|
||||
return;
|
||||
}
|
||||
|
||||
var dlg = Util.MsgQ("다음 매크로를 적용 하시겠습니까?\nFilter:" + filter + "\n" +
|
||||
"apply : " + apply);
|
||||
if (dlg != System.Windows.Forms.DialogResult.Yes) return;
|
||||
|
||||
var cnt = applyFilter(filter, apply);
|
||||
if (cnt == -1) Util.MsgE("오류로 인해 실행되지 않았습니다.");
|
||||
else Util.MsgI(cnt.ToString() + "건의 자료가 변경되었습니다.");
|
||||
}
|
||||
}
|
||||
|
||||
private int applyFilter(string filter, string apply)
|
||||
{
|
||||
if (filter.isEmpty() || apply.isEmpty()) return -1;
|
||||
|
||||
try
|
||||
{
|
||||
var dRows = this.dsEQ.EquipmentB.Select(filter);
|
||||
int cnt = 0;
|
||||
foreach(dsEQ.EquipmentBRow dr in dRows)
|
||||
{
|
||||
var appList = apply.Split(';');
|
||||
foreach (var item in appList)
|
||||
{
|
||||
if(item.isEmpty()) continue;
|
||||
var field = item.Split('=')[0].Trim();
|
||||
var value = item.Split('=')[1].Trim();
|
||||
dr[field] =value;
|
||||
}
|
||||
cnt += 1;
|
||||
}
|
||||
//this.bsB.Filter = filter;
|
||||
//Util.MsgI(string.Format("{0} 건의 자료가 업데이트 되었습니다.",cnt));
|
||||
return cnt;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Util.MsgE(ex.Message);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
private void toolStripButton1_Click(object sender, EventArgs e)
|
||||
{
|
||||
try
|
||||
{
|
||||
this.bsB.Filter = tbFilter.Text;
|
||||
if (tbFilter.Text.isEmpty()) tbFilter.BackColor = Color.White;
|
||||
else tbFilter.BackColor = Color.Lime;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Util.MsgE(ex.Message);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -118,7 +118,7 @@
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="bn.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>154, 17</value>
|
||||
<value>81, 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">
|
||||
@@ -133,11 +133,11 @@
|
||||
rkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<metadata name="bsB.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="dsEQ.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>220, 17</value>
|
||||
<value>147, 17</value>
|
||||
</metadata>
|
||||
<data name="bindingNavigatorDeleteItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
@@ -196,11 +196,35 @@
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo
|
||||
dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
|
||||
YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9
|
||||
0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
|
||||
bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc
|
||||
VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9
|
||||
c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32
|
||||
Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo
|
||||
mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+
|
||||
kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D
|
||||
TgDQASA1MVpwzwAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="type.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="lineT.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="lineP.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="dvc_param.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="primary.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
@@ -210,10 +234,25 @@
|
||||
<metadata name="memo.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="tam.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>81, 17</value>
|
||||
<metadata name="taB.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>227, 17</value>
|
||||
</metadata>
|
||||
<metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>300, 17</value>
|
||||
<metadata name="bsF.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>289, 17</value>
|
||||
</metadata>
|
||||
<metadata name="taF.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>359, 17</value>
|
||||
</metadata>
|
||||
<metadata name="tam.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>427, 17</value>
|
||||
</metadata>
|
||||
<metadata name="taME.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>582, 17</value>
|
||||
</metadata>
|
||||
<metadata name="bsME.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>500, 17</value>
|
||||
</metadata>
|
||||
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>662, 17</value>
|
||||
</metadata>
|
||||
</root>
|
||||
121
Project/_Management/fImpEquipment.Designer.cs
generated
121
Project/_Management/fImpEquipment.Designer.cs
generated
@@ -32,22 +32,28 @@
|
||||
this.linkLabel1 = new System.Windows.Forms.LinkLabel();
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
this.dataGridView1 = new System.Windows.Forms.DataGridView();
|
||||
this.button2 = new System.Windows.Forms.Button();
|
||||
this.button3 = new System.Windows.Forms.Button();
|
||||
this.radB = new System.Windows.Forms.RadioButton();
|
||||
this.radF = new System.Windows.Forms.RadioButton();
|
||||
this.radE = new System.Windows.Forms.RadioButton();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker();
|
||||
this.progressBar1 = new System.Windows.Forms.ProgressBar();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
||||
this.panel1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// textBox1
|
||||
//
|
||||
this.textBox1.Location = new System.Drawing.Point(42, 13);
|
||||
this.textBox1.Location = new System.Drawing.Point(81, 34);
|
||||
this.textBox1.Name = "textBox1";
|
||||
this.textBox1.Size = new System.Drawing.Size(100, 21);
|
||||
this.textBox1.Size = new System.Drawing.Size(222, 21);
|
||||
this.textBox1.TabIndex = 0;
|
||||
//
|
||||
// linkLabel1
|
||||
//
|
||||
this.linkLabel1.AutoSize = true;
|
||||
this.linkLabel1.Location = new System.Drawing.Point(181, 22);
|
||||
this.linkLabel1.Location = new System.Drawing.Point(12, 37);
|
||||
this.linkLabel1.Name = "linkLabel1";
|
||||
this.linkLabel1.Size = new System.Drawing.Size(59, 12);
|
||||
this.linkLabel1.TabIndex = 1;
|
||||
@@ -57,59 +63,113 @@
|
||||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.Location = new System.Drawing.Point(297, 8);
|
||||
this.button1.Location = new System.Drawing.Point(396, 15);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(114, 25);
|
||||
this.button1.TabIndex = 3;
|
||||
this.button1.Text = "run";
|
||||
this.button1.Text = "View";
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||
//
|
||||
// dataGridView1
|
||||
//
|
||||
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dataGridView1.Location = new System.Drawing.Point(47, 57);
|
||||
this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.dataGridView1.Location = new System.Drawing.Point(0, 87);
|
||||
this.dataGridView1.Name = "dataGridView1";
|
||||
this.dataGridView1.RowTemplate.Height = 23;
|
||||
this.dataGridView1.Size = new System.Drawing.Size(744, 413);
|
||||
this.dataGridView1.Size = new System.Drawing.Size(825, 329);
|
||||
this.dataGridView1.TabIndex = 4;
|
||||
//
|
||||
// button2
|
||||
//
|
||||
this.button2.Location = new System.Drawing.Point(417, 9);
|
||||
this.button2.Name = "button2";
|
||||
this.button2.Size = new System.Drawing.Size(114, 25);
|
||||
this.button2.TabIndex = 5;
|
||||
this.button2.Text = "make line code";
|
||||
this.button2.UseVisualStyleBackColor = true;
|
||||
this.button2.Click += new System.EventHandler(this.button2_Click);
|
||||
//
|
||||
// button3
|
||||
//
|
||||
this.button3.Location = new System.Drawing.Point(537, 8);
|
||||
this.button3.Location = new System.Drawing.Point(636, 15);
|
||||
this.button3.Name = "button3";
|
||||
this.button3.Size = new System.Drawing.Size(114, 25);
|
||||
this.button3.TabIndex = 6;
|
||||
this.button3.Text = "make equp ment";
|
||||
this.button3.Text = "Save";
|
||||
this.button3.UseVisualStyleBackColor = true;
|
||||
this.button3.Click += new System.EventHandler(this.button3_Click);
|
||||
//
|
||||
// radB
|
||||
//
|
||||
this.radB.AutoSize = true;
|
||||
this.radB.Location = new System.Drawing.Point(83, 11);
|
||||
this.radB.Name = "radB";
|
||||
this.radB.Size = new System.Drawing.Size(58, 16);
|
||||
this.radB.TabIndex = 7;
|
||||
this.radB.TabStop = true;
|
||||
this.radB.Text = "BUMP";
|
||||
this.radB.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// radF
|
||||
//
|
||||
this.radF.AutoSize = true;
|
||||
this.radF.Location = new System.Drawing.Point(145, 11);
|
||||
this.radF.Name = "radF";
|
||||
this.radF.Size = new System.Drawing.Size(46, 16);
|
||||
this.radF.TabIndex = 7;
|
||||
this.radF.TabStop = true;
|
||||
this.radF.Text = "FOL";
|
||||
this.radF.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// radE
|
||||
//
|
||||
this.radE.AutoSize = true;
|
||||
this.radE.Location = new System.Drawing.Point(197, 11);
|
||||
this.radE.Name = "radE";
|
||||
this.radE.Size = new System.Drawing.Size(90, 16);
|
||||
this.radE.TabIndex = 7;
|
||||
this.radE.TabStop = true;
|
||||
this.radE.Text = "MOLD & EOL";
|
||||
this.radE.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Controls.Add(this.dateTimePicker1);
|
||||
this.panel1.Controls.Add(this.button3);
|
||||
this.panel1.Controls.Add(this.radE);
|
||||
this.panel1.Controls.Add(this.textBox1);
|
||||
this.panel1.Controls.Add(this.radF);
|
||||
this.panel1.Controls.Add(this.linkLabel1);
|
||||
this.panel1.Controls.Add(this.radB);
|
||||
this.panel1.Controls.Add(this.button1);
|
||||
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(825, 87);
|
||||
this.panel1.TabIndex = 10;
|
||||
//
|
||||
// dateTimePicker1
|
||||
//
|
||||
this.dateTimePicker1.Location = new System.Drawing.Point(83, 60);
|
||||
this.dateTimePicker1.Name = "dateTimePicker1";
|
||||
this.dateTimePicker1.Size = new System.Drawing.Size(221, 21);
|
||||
this.dateTimePicker1.TabIndex = 8;
|
||||
//
|
||||
// progressBar1
|
||||
//
|
||||
this.progressBar1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.progressBar1.Location = new System.Drawing.Point(0, 416);
|
||||
this.progressBar1.Name = "progressBar1";
|
||||
this.progressBar1.Size = new System.Drawing.Size(825, 21);
|
||||
this.progressBar1.TabIndex = 11;
|
||||
//
|
||||
// fImpEquipment
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(836, 551);
|
||||
this.Controls.Add(this.button3);
|
||||
this.Controls.Add(this.button2);
|
||||
this.ClientSize = new System.Drawing.Size(825, 437);
|
||||
this.Controls.Add(this.dataGridView1);
|
||||
this.Controls.Add(this.button1);
|
||||
this.Controls.Add(this.linkLabel1);
|
||||
this.Controls.Add(this.textBox1);
|
||||
this.Controls.Add(this.progressBar1);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Name = "fImpEquipment";
|
||||
this.Text = "fImpEquipment";
|
||||
this.Load += new System.EventHandler(this.__Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel1.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
@@ -119,7 +179,12 @@
|
||||
private System.Windows.Forms.LinkLabel linkLabel1;
|
||||
private System.Windows.Forms.Button button1;
|
||||
private System.Windows.Forms.DataGridView dataGridView1;
|
||||
private System.Windows.Forms.Button button2;
|
||||
private System.Windows.Forms.Button button3;
|
||||
private System.Windows.Forms.RadioButton radB;
|
||||
private System.Windows.Forms.RadioButton radF;
|
||||
private System.Windows.Forms.RadioButton radE;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.DateTimePicker dateTimePicker1;
|
||||
private System.Windows.Forms.ProgressBar progressBar1;
|
||||
}
|
||||
}
|
||||
@@ -11,15 +11,25 @@ namespace Project._Management
|
||||
{
|
||||
public partial class fImpEquipment : Form
|
||||
{
|
||||
DataTable dtExcel = new DataTable();
|
||||
|
||||
public fImpEquipment()
|
||||
{
|
||||
InitializeComponent();
|
||||
this.FormClosed += fImpEquipment_FormClosed;
|
||||
}
|
||||
|
||||
void fImpEquipment_FormClosed(object sender, FormClosedEventArgs e)
|
||||
{
|
||||
var form = this as Form;
|
||||
Pub.SetFormStatus(ref form, this.Name, false);
|
||||
}
|
||||
|
||||
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
||||
{
|
||||
OpenFileDialog od = new OpenFileDialog();
|
||||
od.Filter = "csv|*.csv|excel|*.xls|all files|*.*";
|
||||
od.Filter = "excel|*.xlsx|all files|*.*";
|
||||
od.InitialDirectory = Util.CurrentPath + "model";
|
||||
od.FilterIndex = 1;
|
||||
od.RestoreDirectory = true;
|
||||
if (od.ShowDialog() != System.Windows.Forms.DialogResult.OK) return;
|
||||
@@ -33,9 +43,9 @@ namespace Project._Management
|
||||
int c = 0;
|
||||
System.Text.StringBuilder sb = new StringBuilder();
|
||||
Boolean findCom = false;
|
||||
foreach(var ch in charlist)
|
||||
foreach (var ch in charlist)
|
||||
{
|
||||
if(ch == '"')
|
||||
if (ch == '"')
|
||||
{
|
||||
if (findCom == false)
|
||||
findCom = true;
|
||||
@@ -43,7 +53,7 @@ namespace Project._Management
|
||||
}
|
||||
else if (ch == ',')
|
||||
{
|
||||
if(findCom)
|
||||
if (findCom)
|
||||
{
|
||||
sb.Append(ch);
|
||||
}
|
||||
@@ -53,7 +63,7 @@ namespace Project._Management
|
||||
sb.Clear();
|
||||
findCom = false;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
else sb.Append(ch);
|
||||
}
|
||||
@@ -62,70 +72,42 @@ namespace Project._Management
|
||||
System.Data.DataTable dt = new DataTable();
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
//데이터를 모두 읽어서 처리한다.
|
||||
|
||||
//엑셀파일을 읽어서 처리한다.
|
||||
if(textBox1.Text.EndsWith("CSV"))
|
||||
libxl.Book book;// = new libxl.BinBook();
|
||||
book = new libxl.XmlBook();
|
||||
book.setKey("Amkor Technology korea, Inc", "windows-282b2b0800c5e0016bb06a6fafjfd6o8");
|
||||
book.load(textBox1.Text);
|
||||
|
||||
var sheet = book.getSheet(0);
|
||||
var MaxRow = sheet.lastRow();
|
||||
var MinRow = sheet.firstRow();
|
||||
List<string> cols = new List<string>();
|
||||
for (int r = MinRow; r <= MaxRow; r++)
|
||||
{
|
||||
var lines = System.IO.File.ReadAllLines(textBox1.Text, System.Text.Encoding.Default);
|
||||
int rowNum = 0;
|
||||
foreach(var line in lines)
|
||||
DataRow dr = null;
|
||||
if (r > 0) dr = dtExcel.NewRow();
|
||||
|
||||
for (int c = sheet.firstCol(); c <= sheet.lastCol(); c++)
|
||||
{
|
||||
var buf = getCSVFormat(line);//.Split(',');
|
||||
if(rowNum == 0)
|
||||
var strVallue = sheet.readStr(r, c);
|
||||
if (r == 0)
|
||||
{
|
||||
foreach(var colname in buf)
|
||||
{
|
||||
dt.Columns.Add(colname);
|
||||
}
|
||||
cols.Add(strVallue);
|
||||
this.dtExcel.Columns.Add(strVallue);
|
||||
}
|
||||
else
|
||||
{
|
||||
var newdr = dt.NewRow();
|
||||
for(int c=0; c< buf.Length;c++)
|
||||
{
|
||||
if(c < dt.Columns.Count)
|
||||
newdr[c] = buf[c];
|
||||
|
||||
}
|
||||
dt.Rows.Add(newdr);
|
||||
}
|
||||
rowNum += 1;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
libxl.Book book;// = new libxl.BinBook();
|
||||
if (textBox1.Text.EndsWith("xlsx")) book = new libxl.XmlBook();
|
||||
else book = new libxl.BinBook();
|
||||
|
||||
book.load(textBox1.Text);
|
||||
|
||||
|
||||
var sheet = book.getSheet(0);
|
||||
for (int r = sheet.firstRow(); r <= sheet.lastRow(); r++)
|
||||
{
|
||||
for (int c = sheet.firstCol(); c <= sheet.lastCol(); c++)
|
||||
{
|
||||
var strVallue = sheet.readStr(r, c);
|
||||
// //var numValue = sheet.readNum(r, c);
|
||||
if (r == 0)
|
||||
{
|
||||
//column row
|
||||
dt.Columns.Add(strVallue);
|
||||
}
|
||||
if (!cols[c].isEmpty())
|
||||
dr[cols[c]] = strVallue;
|
||||
}
|
||||
}
|
||||
//
|
||||
book = null;
|
||||
if (dr != null) dtExcel.Rows.Add(dr);
|
||||
}
|
||||
|
||||
this.dataGridView1.DataSource = dt;
|
||||
|
||||
dtExcel.AcceptChanges();
|
||||
//
|
||||
book = null;
|
||||
|
||||
|
||||
|
||||
this.dataGridView1.DataSource = dtExcel;
|
||||
}
|
||||
|
||||
private void button2_Click(object sender, EventArgs e)
|
||||
@@ -134,12 +116,12 @@ namespace Project._Management
|
||||
var lineTd = ta.GetData();
|
||||
lineTd.AcceptChanges();
|
||||
//12,13
|
||||
foreach(DataRow dr in dt.Rows)
|
||||
foreach (DataRow dr in dt.Rows)
|
||||
{
|
||||
var linecode = dr[12].ToString();
|
||||
var linedesc = dr[13].ToString();
|
||||
var codeDrows = lineTd.Select("code='" + linecode + "'");
|
||||
if(codeDrows.Length == 0)
|
||||
if (codeDrows.Length == 0)
|
||||
{
|
||||
var newdr = lineTd.NewLineCodeRow();
|
||||
newdr.code = linecode;
|
||||
@@ -154,7 +136,7 @@ namespace Project._Management
|
||||
{
|
||||
newdr.team = linedesc;
|
||||
}
|
||||
|
||||
|
||||
newdr.wuid = Pub.Login.no;
|
||||
newdr.wdate = DateTime.Now;
|
||||
lineTd.AddLineCodeRow(newdr);
|
||||
@@ -163,40 +145,130 @@ namespace Project._Management
|
||||
ta.Update(lineTd);
|
||||
lineTd.AcceptChanges();
|
||||
Util.MsgE("test");
|
||||
|
||||
|
||||
}
|
||||
|
||||
private void button3_Click(object sender, EventArgs e)
|
||||
{
|
||||
dsMSSQLTableAdapters.EquipmentTableAdapter ta = new dsMSSQLTableAdapters.EquipmentTableAdapter();
|
||||
var lineTd = ta.GetData();
|
||||
lineTd.AcceptChanges();
|
||||
//12,13
|
||||
foreach (DataRow dr in dt.Rows)
|
||||
if(radB.Checked==false && radE.Checked==false && radF.Checked==false)
|
||||
{
|
||||
Util.MsgE("파일형태를 선택하세요(bump/bold&eol/fol)");
|
||||
return;
|
||||
}
|
||||
|
||||
//라인코드를 읽어서 값을 기록해준다.
|
||||
var taLine = new dsMSSQLTableAdapters.LineCodeTableAdapter();
|
||||
var lineTd = taLine.GetData();
|
||||
lineTd.AcceptChanges();
|
||||
|
||||
var dateStr = this.dateTimePicker1.Value.ToShortDateString();
|
||||
|
||||
|
||||
DataTable dt = null;
|
||||
if (radB.Checked) dt = new dsEQ.EquipmentBDataTable();
|
||||
else if (radE.Checked) dt = new dsEQ.EquipmentMEDataTable();
|
||||
else dt = new dsEQ.EquipmentFDataTable();
|
||||
|
||||
this.progressBar1.Value = 0;
|
||||
this.progressBar1.Maximum = dtExcel.Rows.Count;
|
||||
|
||||
//12,13
|
||||
foreach (DataRow dr in dtExcel.Rows)
|
||||
{
|
||||
this.progressBar1.Value +=1;
|
||||
|
||||
var linecode = dr[12].ToString();
|
||||
var linedesc = dr[13].ToString();
|
||||
var codeDrows = lineTd.Select("asset='" + dr[6].ToString() + "' and serial = '"+ dr[7].ToString() +"'");
|
||||
if (codeDrows.Length == 0)
|
||||
var lineT = string.Empty;
|
||||
var lineP = string.Empty;
|
||||
|
||||
//없는 라인코드는 추가
|
||||
var lineDrows = lineTd.Select("code='" + linecode + "'");
|
||||
if (lineDrows.Length == 0)
|
||||
{
|
||||
var newdr = lineTd.NewEquipmentRow();
|
||||
newdr.pdate = DateTime.Now.ToShortDateString();
|
||||
newdr.asset = dr[6].ToString();
|
||||
newdr.grp = dr[0].ToString();
|
||||
newdr.type = dr[2].ToString();
|
||||
newdr.model = dr[3].ToString();
|
||||
newdr.linecode = linecode;
|
||||
newdr.serial = dr[7].ToString();
|
||||
newdr.manu = dr[9].ToString();
|
||||
newdr.primary = true;
|
||||
newdr.wuid = Pub.Login.no;
|
||||
newdr.wdate = DateTime.Now;
|
||||
lineTd.AddEquipmentRow(newdr);
|
||||
var linebuf = linedesc.Split('-');
|
||||
if (linebuf.Length > 1)
|
||||
{
|
||||
lineT = linebuf[0];
|
||||
lineP = linebuf[1];
|
||||
}
|
||||
else
|
||||
{
|
||||
lineT = linedesc;
|
||||
lineP = string.Empty;
|
||||
}
|
||||
|
||||
|
||||
var newli = lineTd.NewLineCodeRow();
|
||||
newli.code = linecode;
|
||||
newli.team = lineT;
|
||||
newli.part = lineP;
|
||||
newli.memo = linedesc;
|
||||
newli.except = false;
|
||||
newli.wuid = Pub.Login.no;
|
||||
newli.wdate = DateTime.Now;
|
||||
lineTd.AddLineCodeRow(newli);
|
||||
}
|
||||
else
|
||||
{
|
||||
var lineDr = lineDrows[0] as dsMSSQL.LineCodeRow;
|
||||
lineT = lineDr.team;
|
||||
lineP = lineDr.part;
|
||||
}
|
||||
|
||||
//데이터추가
|
||||
var newdr = dt.NewRow();
|
||||
newdr["pdate"] = dateTimePicker1.Value.ToShortDateString();
|
||||
newdr["asset"] = dr[6].ToString();
|
||||
newdr["grp"] = dr[0].ToString();
|
||||
newdr["type"] = dr[2].ToString();
|
||||
newdr["model"] = dr[3].ToString();
|
||||
newdr["linecode"] = linecode;
|
||||
newdr["lineT"] = lineT;
|
||||
newdr["lineP"] = lineP;
|
||||
newdr["serial"] = dr[7].ToString();
|
||||
newdr["manu"] = dr[9].ToString();
|
||||
newdr["primary"] = true;
|
||||
newdr["wuid"] = Pub.Login.no;
|
||||
newdr["wdate"] = DateTime.Now;
|
||||
newdr["except"] = false;
|
||||
newdr["memo"] = string.Empty;
|
||||
if (radB.Checked) newdr["param1"] = "8\"";
|
||||
else newdr["param1"] = string.Empty;
|
||||
dt.Rows.Add(newdr);
|
||||
}
|
||||
ta.Update(lineTd);
|
||||
|
||||
taLine.Update(lineTd);
|
||||
lineTd.AcceptChanges();
|
||||
|
||||
if(radE.Checked)
|
||||
{
|
||||
var taE = new dsEQTableAdapters.EquipmentMETableAdapter();
|
||||
taE.DeleteData(dateStr);
|
||||
taE.Update((dsEQ.EquipmentMEDataTable)dt);
|
||||
}
|
||||
else if (radF.Checked)
|
||||
{
|
||||
var taF = new dsEQTableAdapters.EquipmentFTableAdapter();
|
||||
taF.DeleteData(dateStr);
|
||||
taF.Update((dsEQ.EquipmentFDataTable)dt);
|
||||
}
|
||||
else
|
||||
{
|
||||
var taB = new dsEQTableAdapters.EquipmentBTableAdapter();
|
||||
taB.DeleteData(dateStr);
|
||||
taB.Update((dsEQ.EquipmentBDataTable)dt);
|
||||
}
|
||||
dt.AcceptChanges();
|
||||
Util.MsgE("test");
|
||||
}
|
||||
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
var form = this as Form;
|
||||
Pub.SetFormStatus(ref form, this.Name , true);
|
||||
this.Show();
|
||||
Application.DoEvents();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
128
Project/_Management/fLineCode.Designer.cs
generated
128
Project/_Management/fLineCode.Designer.cs
generated
@@ -31,23 +31,21 @@
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fLineCode));
|
||||
this.bn = new System.Windows.Forms.BindingNavigator(this.components);
|
||||
this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.dsMSSQL = new Project.dsMSSQL();
|
||||
this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
|
||||
this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox();
|
||||
this.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.lineCodeBindingNavigatorSaveItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.lineCodeDataGridView = new System.Windows.Forms.DataGridView();
|
||||
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.dsMSSQL = new Project.dsMSSQL();
|
||||
this.ta = new Project.dsMSSQLTableAdapters.LineCodeTableAdapter();
|
||||
this.tam = new Project.dsMSSQLTableAdapters.TableAdapterManager();
|
||||
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
@@ -56,11 +54,13 @@
|
||||
this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.ta = new Project.dsMSSQLTableAdapters.LineCodeTableAdapter();
|
||||
this.tam = new Project.dsMSSQLTableAdapters.TableAdapterManager();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
|
||||
this.bn.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.lineCodeDataGridView)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.lineCodeDataGridView)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// bn
|
||||
@@ -89,10 +89,45 @@
|
||||
this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
|
||||
this.bn.Name = "bn";
|
||||
this.bn.PositionItem = this.bindingNavigatorPositionItem;
|
||||
this.bn.Size = new System.Drawing.Size(876, 25);
|
||||
this.bn.Size = new System.Drawing.Size(574, 25);
|
||||
this.bn.TabIndex = 0;
|
||||
this.bn.Text = "bindingNavigator1";
|
||||
//
|
||||
// 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 = "새로 추가";
|
||||
//
|
||||
// bs
|
||||
//
|
||||
this.bs.DataMember = "LineCode";
|
||||
this.bs.DataSource = this.dsMSSQL;
|
||||
//
|
||||
// dsMSSQL
|
||||
//
|
||||
this.dsMSSQL.DataSetName = "dsMSSQL";
|
||||
this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
||||
//
|
||||
// bindingNavigatorCountItem
|
||||
//
|
||||
this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
|
||||
this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22);
|
||||
this.bindingNavigatorCountItem.Text = "/{0}";
|
||||
this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수";
|
||||
//
|
||||
// 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 = "삭제";
|
||||
//
|
||||
// bindingNavigatorMoveFirstItem
|
||||
//
|
||||
this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
@@ -125,16 +160,9 @@
|
||||
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.Name = "bindingNavigatorSeparator1";
|
||||
this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// bindingNavigatorMoveNextItem
|
||||
@@ -157,27 +185,9 @@
|
||||
//
|
||||
// bindingNavigatorSeparator2
|
||||
//
|
||||
this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator";
|
||||
this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
|
||||
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 = "삭제";
|
||||
//
|
||||
// lineCodeBindingNavigatorSaveItem
|
||||
//
|
||||
this.lineCodeBindingNavigatorSaveItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
@@ -207,34 +217,9 @@
|
||||
this.lineCodeDataGridView.Location = new System.Drawing.Point(0, 25);
|
||||
this.lineCodeDataGridView.Name = "lineCodeDataGridView";
|
||||
this.lineCodeDataGridView.RowTemplate.Height = 23;
|
||||
this.lineCodeDataGridView.Size = new System.Drawing.Size(876, 528);
|
||||
this.lineCodeDataGridView.Size = new System.Drawing.Size(574, 520);
|
||||
this.lineCodeDataGridView.TabIndex = 1;
|
||||
//
|
||||
// bs
|
||||
//
|
||||
this.bs.DataMember = "LineCode";
|
||||
this.bs.DataSource = this.dsMSSQL;
|
||||
//
|
||||
// dsMSSQL
|
||||
//
|
||||
this.dsMSSQL.DataSetName = "dsMSSQL";
|
||||
this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
||||
//
|
||||
// ta
|
||||
//
|
||||
this.ta.ClearBeforeFill = true;
|
||||
//
|
||||
// tam
|
||||
//
|
||||
this.tam.BackupDataSetBeforeUpdate = false;
|
||||
this.tam.EquipmentTableAdapter = null;
|
||||
this.tam.InventoryTableAdapter = null;
|
||||
this.tam.ItemsTableAdapter = null;
|
||||
this.tam.LineCodeTableAdapter = this.ta;
|
||||
this.tam.ProjectsTableAdapter = null;
|
||||
this.tam.UpdateOrder = Project.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
|
||||
this.tam.UsersTableAdapter = null;
|
||||
//
|
||||
// dataGridViewTextBoxColumn1
|
||||
//
|
||||
this.dataGridViewTextBoxColumn1.DataPropertyName = "idx";
|
||||
@@ -292,11 +277,26 @@
|
||||
this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
|
||||
this.dataGridViewTextBoxColumn7.Width = 64;
|
||||
//
|
||||
// ta
|
||||
//
|
||||
this.ta.ClearBeforeFill = true;
|
||||
//
|
||||
// tam
|
||||
//
|
||||
this.tam.BackupDataSetBeforeUpdate = false;
|
||||
this.tam.EquipmentTableAdapter = null;
|
||||
this.tam.InventoryTableAdapter = null;
|
||||
this.tam.ItemsTableAdapter = null;
|
||||
this.tam.LineCodeTableAdapter = this.ta;
|
||||
this.tam.ProjectsTableAdapter = null;
|
||||
this.tam.UpdateOrder = Project.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
|
||||
this.tam.UsersTableAdapter = null;
|
||||
//
|
||||
// fLineCode
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(876, 553);
|
||||
this.ClientSize = new System.Drawing.Size(574, 545);
|
||||
this.Controls.Add(this.lineCodeDataGridView);
|
||||
this.Controls.Add(this.bn);
|
||||
this.Name = "fLineCode";
|
||||
@@ -305,9 +305,9 @@
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit();
|
||||
this.bn.ResumeLayout(false);
|
||||
this.bn.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.lineCodeDataGridView)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.lineCodeDataGridView)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
|
||||
@@ -198,12 +198,12 @@
|
||||
dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="except.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="except.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>186, 17</value>
|
||||
</metadata>
|
||||
|
||||
89
Project/_Management/rpt_equipment.Designer.cs
generated
89
Project/_Management/rpt_equipment.Designer.cs
generated
@@ -1,89 +0,0 @@
|
||||
namespace Project._Management
|
||||
{
|
||||
partial class rpt_equipment
|
||||
{
|
||||
/// <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();
|
||||
Microsoft.Reporting.WinForms.ReportDataSource reportDataSource1 = new Microsoft.Reporting.WinForms.ReportDataSource();
|
||||
this.reportViewer1 = new Microsoft.Reporting.WinForms.ReportViewer();
|
||||
this.dsMSSQL = new Project.dsMSSQL();
|
||||
this.vEquStockBindingSource = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.vEquStockTableAdapter = new Project.dsMSSQLTableAdapters.vEquStockTableAdapter();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.vEquStockBindingSource)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// reportViewer1
|
||||
//
|
||||
this.reportViewer1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
reportDataSource1.Name = "DataSet1";
|
||||
reportDataSource1.Value = this.vEquStockBindingSource;
|
||||
this.reportViewer1.LocalReport.DataSources.Add(reportDataSource1);
|
||||
this.reportViewer1.LocalReport.ReportEmbeddedResource = "Project._Management.Report1.rdlc";
|
||||
this.reportViewer1.Location = new System.Drawing.Point(0, 0);
|
||||
this.reportViewer1.Name = "reportViewer1";
|
||||
this.reportViewer1.Size = new System.Drawing.Size(1238, 731);
|
||||
this.reportViewer1.TabIndex = 0;
|
||||
//
|
||||
// dsMSSQL
|
||||
//
|
||||
this.dsMSSQL.DataSetName = "dsMSSQL";
|
||||
this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
||||
//
|
||||
// vEquStockBindingSource
|
||||
//
|
||||
this.vEquStockBindingSource.DataMember = "vEquStock";
|
||||
this.vEquStockBindingSource.DataSource = this.dsMSSQL;
|
||||
//
|
||||
// vEquStockTableAdapter
|
||||
//
|
||||
this.vEquStockTableAdapter.ClearBeforeFill = true;
|
||||
//
|
||||
// rpt_equipment
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1238, 731);
|
||||
this.Controls.Add(this.reportViewer1);
|
||||
this.Name = "rpt_equipment";
|
||||
this.Text = "rpt_equipment";
|
||||
this.Load += new System.EventHandler(this.rpt_equipment_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.vEquStockBindingSource)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private Microsoft.Reporting.WinForms.ReportViewer reportViewer1;
|
||||
private dsMSSQL dsMSSQL;
|
||||
private System.Windows.Forms.BindingSource vEquStockBindingSource;
|
||||
private dsMSSQLTableAdapters.vEquStockTableAdapter vEquStockTableAdapter;
|
||||
}
|
||||
}
|
||||
@@ -1,26 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace Project._Management
|
||||
{
|
||||
public partial class rpt_equipment : Form
|
||||
{
|
||||
public rpt_equipment()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void rpt_equipment_Load(object sender, EventArgs e)
|
||||
{
|
||||
// TODO: 이 코드는 데이터를 'dsMSSQL.vEquStock' 테이블에 로드합니다. 필요한 경우 이 코드를 이동하거나 제거할 수 있습니다.
|
||||
this.vEquStockTableAdapter.Fill(this.dsMSSQL.vEquStock);
|
||||
this.reportViewer1.RefreshReport();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,129 +0,0 @@
|
||||
<?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="vEquStockBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>122, 17</value>
|
||||
</metadata>
|
||||
<metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="vEquStockTableAdapter.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>312, 17</value>
|
||||
</metadata>
|
||||
</root>
|
||||
Reference in New Issue
Block a user