Compare commits
2 Commits
e4b8ead056
...
77646f0e66
| Author | SHA1 | Date | |
|---|---|---|---|
| 77646f0e66 | |||
| 0a034954ff |
@@ -222,6 +222,8 @@ namespace WindowsFormsApp1
|
||||
}
|
||||
public void DB_Send_CMD_reVoid(string cmd)
|
||||
{
|
||||
|
||||
|
||||
//using (conn)
|
||||
{
|
||||
conn.Open();
|
||||
|
||||
33
unimarc/unimarc/Helper_DB2.cs
Normal file
33
unimarc/unimarc/Helper_DB2.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO.Ports;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using MySql.Data.MySqlClient;
|
||||
using Renci.SshNet;
|
||||
using UniMarc.Properties;
|
||||
using System.Data;
|
||||
using AR;
|
||||
using UniMarc;
|
||||
|
||||
namespace WindowsFormsApp1
|
||||
{
|
||||
public static class DB2
|
||||
{
|
||||
public static DataTable GetDT(string tableName, string columns="*" , string wheres="", string orders="")
|
||||
{
|
||||
var sql = $"select {columns} from {tableName}";
|
||||
if (wheres.isEmpty() == false) sql += " where " + wheres;
|
||||
if (orders.isEmpty() == false) sql += " order by " + orders;
|
||||
Helper_DB db = new Helper_DB();
|
||||
var cn = db.CreateConnection();
|
||||
var da = new MySql.Data.MySqlClient.MySqlDataAdapter(sql, cn);
|
||||
var dt = new DataTable();
|
||||
da.Fill(dt);
|
||||
dt.AcceptChanges();
|
||||
return dt;
|
||||
}
|
||||
}
|
||||
}
|
||||
233
unimarc/unimarc/ListOfValue/fSelectDT.Designer.cs
generated
Normal file
233
unimarc/unimarc/ListOfValue/fSelectDT.Designer.cs
generated
Normal file
@@ -0,0 +1,233 @@
|
||||
namespace UniMarc.ListOfValue
|
||||
{
|
||||
partial class fSelectDT
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fSelectDT));
|
||||
this.dv1 = new System.Windows.Forms.DataGridView();
|
||||
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.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.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();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dv1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
|
||||
this.bn.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// dataGridView1
|
||||
//
|
||||
this.dv1.AllowUserToAddRows = false;
|
||||
this.dv1.AllowUserToDeleteRows = false;
|
||||
this.dv1.AllowUserToResizeRows = false;
|
||||
this.dv1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
|
||||
dataGridViewCellStyle1.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
dataGridViewCellStyle1.Padding = new System.Windows.Forms.Padding(0, 3, 0, 3);
|
||||
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dv1.DefaultCellStyle = dataGridViewCellStyle1;
|
||||
this.dv1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.dv1.Location = new System.Drawing.Point(0, 0);
|
||||
this.dv1.MultiSelect = false;
|
||||
this.dv1.Name = "dataGridView1";
|
||||
this.dv1.ReadOnly = true;
|
||||
this.dv1.RowTemplate.Height = 23;
|
||||
this.dv1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
||||
this.dv1.Size = new System.Drawing.Size(768, 423);
|
||||
this.dv1.TabIndex = 0;
|
||||
//
|
||||
// bn
|
||||
//
|
||||
this.bn.AddNewItem = this.bindingNavigatorAddNewItem;
|
||||
this.bn.BindingSource = this.bs;
|
||||
this.bn.CountItem = this.bindingNavigatorCountItem;
|
||||
this.bn.DeleteItem = this.bindingNavigatorDeleteItem;
|
||||
this.bn.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.bindingNavigatorMoveFirstItem,
|
||||
this.bindingNavigatorMovePreviousItem,
|
||||
this.bindingNavigatorSeparator,
|
||||
this.bindingNavigatorPositionItem,
|
||||
this.bindingNavigatorCountItem,
|
||||
this.bindingNavigatorSeparator1,
|
||||
this.bindingNavigatorMoveNextItem,
|
||||
this.bindingNavigatorMoveLastItem,
|
||||
this.bindingNavigatorSeparator2,
|
||||
this.bindingNavigatorAddNewItem,
|
||||
this.bindingNavigatorDeleteItem});
|
||||
this.bn.Location = new System.Drawing.Point(0, 423);
|
||||
this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
|
||||
this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem;
|
||||
this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem;
|
||||
this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
|
||||
this.bn.Name = "bn";
|
||||
this.bn.PositionItem = this.bindingNavigatorPositionItem;
|
||||
this.bn.Size = new System.Drawing.Size(768, 25);
|
||||
this.bn.TabIndex = 1;
|
||||
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 = "새로 추가";
|
||||
//
|
||||
// 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;
|
||||
this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image")));
|
||||
this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
|
||||
this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동";
|
||||
//
|
||||
// bindingNavigatorMovePreviousItem
|
||||
//
|
||||
this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image")));
|
||||
this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
|
||||
this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동";
|
||||
//
|
||||
// bindingNavigatorSeparator
|
||||
//
|
||||
this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
|
||||
this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// bindingNavigatorPositionItem
|
||||
//
|
||||
this.bindingNavigatorPositionItem.AccessibleName = "위치";
|
||||
this.bindingNavigatorPositionItem.AutoSize = false;
|
||||
this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
|
||||
this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
|
||||
this.bindingNavigatorPositionItem.Text = "0";
|
||||
this.bindingNavigatorPositionItem.ToolTipText = "현재 위치";
|
||||
//
|
||||
// bindingNavigatorSeparator1
|
||||
//
|
||||
this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1";
|
||||
this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// bindingNavigatorMoveNextItem
|
||||
//
|
||||
this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image")));
|
||||
this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
|
||||
this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMoveNextItem.Text = "다음으로 이동";
|
||||
//
|
||||
// bindingNavigatorMoveLastItem
|
||||
//
|
||||
this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image")));
|
||||
this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
|
||||
this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동";
|
||||
//
|
||||
// bindingNavigatorSeparator2
|
||||
//
|
||||
this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
|
||||
this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// fSelectDT
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(768, 448);
|
||||
this.Controls.Add(this.dv1);
|
||||
this.Controls.Add(this.bn);
|
||||
this.KeyPreview = true;
|
||||
this.Name = "fSelectDT";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "fSelectDT";
|
||||
this.Load += new System.EventHandler(this.fSelectDT_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.dv1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit();
|
||||
this.bn.ResumeLayout(false);
|
||||
this.bn.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.DataGridView dv1;
|
||||
private System.Windows.Forms.BindingNavigator bn;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem;
|
||||
private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator;
|
||||
private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2;
|
||||
private System.Windows.Forms.BindingSource bs;
|
||||
}
|
||||
}
|
||||
38
unimarc/unimarc/ListOfValue/fSelectDT.cs
Normal file
38
unimarc/unimarc/ListOfValue/fSelectDT.cs
Normal file
@@ -0,0 +1,38 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace UniMarc.ListOfValue
|
||||
{
|
||||
public partial class fSelectDT : Form
|
||||
{
|
||||
public fSelectDT(DataTable dt)
|
||||
{
|
||||
InitializeComponent();
|
||||
this.KeyDown += (s1, e1) =>
|
||||
{
|
||||
if (e1.KeyCode == Keys.Escape) Close();
|
||||
};
|
||||
this.bs.DataSource = dt;
|
||||
this.bn.BindingSource = this.bs;
|
||||
this.dv1.DataSource = this.bs;
|
||||
this.dv1.MultiSelect=false;
|
||||
this.dv1.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
||||
this.dv1.EditMode = DataGridViewEditMode.EditProgrammatically;
|
||||
}
|
||||
|
||||
private void fSelectDT_Load(object sender, EventArgs e)
|
||||
{
|
||||
this.Show();
|
||||
Application.DoEvents();
|
||||
this.dv1.AutoResizeColumns();
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
191
unimarc/unimarc/ListOfValue/fSelectDT.resx
Normal file
191
unimarc/unimarc/ListOfValue/fSelectDT.resx
Normal file
@@ -0,0 +1,191 @@
|
||||
<?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="bn.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="bindingNavigatorAddNewItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wgAADsIBFShKgAAAAVdJREFUOE/Nz0tLAmEUBmB3kWRoCUVEISFUJGb1OywiKrDsIpZdkJAkDUvDQkij
|
||||
UKSbVIvatKhNi9oERRAGEQXhjJdp7Hd83/eGs2jhLGQ20QtndTgP71Gp/m0KZ1XInlTjM6XG+4EG5fuK
|
||||
yaTUIN8bIMUQ0gmtcuBtX/MLPMT0yoHnuA6kuA4iruI20lAZ+DiswWuyFum4Dk+7dbiP6kHEFVDBg+tQ
|
||||
My4DLbjwG3DqbcORxygHXxJakGIQRFwDEf0gwjKI4AYtzIHmHaA5Oxg/CsYPIb7YIQced+qluvTLCyIs
|
||||
gRYWQPNO0NwkWNYGxg+DcYNgGSu2Z0xy4C7SiJtwE66kuq049xlAs2Ng/AiS7nbszXci6jIh4jQjPGWR
|
||||
A+U59hiluowbQMzVVfmgPKU/GdcPxlmx5TArB6KzJunf0gTtPcqBzeluhCYsCIz3wm/rUw78WX4AJCPY
|
||||
nlwVm9EAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>171, 17</value>
|
||||
</metadata>
|
||||
<data name="bindingNavigatorDeleteItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wgAADsIBFShKgAAAAWtJREFUOE+1kE0ow2Ecx/9X5a2UiwtKOSCTmJBMhuQlMo3IvCUHDouEXHZwIOVC
|
||||
DrhIDiQl5USy07zNa2tKf2laaRf84/J8xBCetab4XL/f76fn+SnKX4DrGLqrwbHDzywkWJlHdJYjLEbY
|
||||
Wg8q4eYKlma+d1hbgF4TotWIaC+FuYmAktcXCksx2HrknBOHX1KbiTDngrXhW0kMdSBM2TA5Io+/wuI0
|
||||
oiz5TcRwB7hPYazfLx3rDz7+gCsXNBb4v1SdgajTQ19TaOMP2NtFmPSIilSo0v1y7FHBnAdZMWi6aO51
|
||||
kVCTGZoEzzWYciA/Dl9bBZwfvh3XmxIJy7PBJdx5odnAQ2E87qJUfPbtzwGjVpxJEWjH+4ElPD/BYBsY
|
||||
EjhKicW3sSoVb0vSUFsq0W6upUxhdxMtOxZnYhhqVz1oj3JJUZSdpCg0p0POmLKhJofjNqaDeikX3tFG
|
||||
uuHsQM65cML4ABzY5fA/eQGKIwMcVjm2bAAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wgAADsIBFShKgAAAATFJREFUOE9jYBg0oHDW8/9NC57/z5z4+D+6HAyEtz/AKceQO/PZ/1VH3v/HpSi+
|
||||
+8H/4IZrWOXAIGPK0/8L933Aqii+5+H/pfv///evvoAhBwcJPU/+T9vyHkNRRPt9sObMWf//e5WewG1A
|
||||
ZNej/72rP6AoCm29B9bcuu7/f//Ov/9d8g/gNiCw+eH/uvnv4IqCW+7+X7T3//+Odf//Z8z5+d+u7ud/
|
||||
+4ztuA3wqLr/P3/aGxRFdsW3/6fP+f3fv+vbf53Cd/8tEtbjNsC+9O7/7MmvMRTpp5z/b1L04r9K1qf/
|
||||
xpHLcBtgkXfnf2r/a6yKDJJO/JdN+/pfN3gehhwcGGbd/h/W8hKnIv3Uy/81fKdhlQMDnbQb//2qH+JV
|
||||
pOIxAaccg1Pulf8gBXgVDUoAAPB2wKtYlLYeAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMovePreviousItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wgAADsIBFShKgAAAALtJREFUOE9jYBgyILz9wX90MaJBfPeD/8EN18gzIL7n4f+l+///96++QLoBEe33
|
||||
wZozZ/3/71V6gjQDQlvvgTW3rvv/37/z73+X/APEGxDccvf/or3//3es+/8/Y87P/3Z1P//bZ2wn3gAQ
|
||||
sCu+/T99zu///l3f/usUvvtvkbCeNANAQD/l/H+Tohf/VbI+/TeOXEa6ASBgkHTiv2za1/+6wfPIMwAE
|
||||
9FMv/9fwnUa+ASCg4jGBMgMGLwAA0BRgmCws/7cAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMoveNextItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wgAADsIBFShKgAAAAKRJREFUOE9jYBh0oHDW8//oYiSB3JnP/id03yPfkIwpT//P2//7f0LXHfIMSeh5
|
||||
8n/2vl//O7f+/e9Wepl0QyK7Hv2fsu3X/5Klf/8nTP/73yb3LGmGBDY//N+69j1Ys3HJl//S0df+G0cu
|
||||
I94Qj6r7/0vmvoNrVnTpIV4zCNiX3v0f2PKMPM0gYJF3579NwRXyNIOAYdZt8jWDgE7aDfI1D00AAKB+
|
||||
X6Bjq5qXAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMoveLastItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wgAADsIBFShKgAAAAStJREFUOE9jYBhUoHDW8//oYjAAkmta8Px/5sTHONUw5M589j+h+x5WBSC5VUfe
|
||||
/w9vf4BVHgwypjz9P2//7/8JXXcwFIHkFu778D+44RqGHBwk9Dz5P3vfr/+dW//+dyu9jKIQJDdty/v/
|
||||
/tUXcBsQ2fXo/5Rtv/6XLP37P2H63/82uWfhikFyvas//PcqPYHbgMDmh/9b174HazYu+fJfOvraf+PI
|
||||
ZWANILm6+e/+u+QfwG2AR9X9/yVz38E1K7r0wBWD5PKnvflvn7EdtwH2pXf/B7Y8w9AMk8ue/Pq/RcJ6
|
||||
3AZY5N35b1NwBUMzTC61/zXcS1iBYdZtrJpBACQX1vLyv27wPKzyYKCTdgOnJEjOr/rhfw3faTjV4AVO
|
||||
uVf+q3hMAGN0uYEFAL7Rv7NmXVYYAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -224,7 +224,14 @@
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Reference.svcmap</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Helper_DB2.cs" />
|
||||
<Compile Include="Helper_LibraryDelaySettings.cs" />
|
||||
<Compile Include="ListOfValue\fSelectDT.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="ListOfValue\fSelectDT.Designer.cs">
|
||||
<DependentUpon>fSelectDT.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="PUB.cs" />
|
||||
<Compile Include="SearchModel\AnsanLibSearcher.cs" />
|
||||
<Compile Include="SearchModel\BookSearchService.cs" />
|
||||
@@ -997,6 +1004,9 @@
|
||||
<Compile Include="작업일지\Work_Log.Designer.cs">
|
||||
<DependentUpon>Work_Log.cs</DependentUpon>
|
||||
</Compile>
|
||||
<EmbeddedResource Include="ListOfValue\fSelectDT.resx">
|
||||
<DependentUpon>fSelectDT.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="개발자용\fDevDB.resx">
|
||||
<DependentUpon>fDevDB.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
|
||||
142
unimarc/unimarc/마크/Mac_List.Designer.cs
generated
142
unimarc/unimarc/마크/Mac_List.Designer.cs
generated
@@ -46,20 +46,21 @@
|
||||
this.btn_Delete = new System.Windows.Forms.Button();
|
||||
this.btn_AddList = new System.Windows.Forms.Button();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.btnSearchISBN = new System.Windows.Forms.Button();
|
||||
this.check = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.charge = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.etc = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.state = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.unstock = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.stock = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.count = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.work_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.list_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.end_date = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.start_date = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.idx = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.start_date = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.end_date = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.list_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.work_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.count = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.stock = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.unstock = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.state = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.etc = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.charge = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.check = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dvc_custom = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
||||
this.panel1.SuspendLayout();
|
||||
this.panel2.SuspendLayout();
|
||||
@@ -110,7 +111,8 @@
|
||||
this.state,
|
||||
this.etc,
|
||||
this.charge,
|
||||
this.check});
|
||||
this.check,
|
||||
this.dvc_custom});
|
||||
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
|
||||
dataGridViewCellStyle2.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
@@ -126,7 +128,7 @@
|
||||
this.dataGridView1.RowHeadersWidth = 40;
|
||||
this.dataGridView1.RowTemplate.Height = 23;
|
||||
this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
||||
this.dataGridView1.Size = new System.Drawing.Size(1124, 623);
|
||||
this.dataGridView1.Size = new System.Drawing.Size(1179, 623);
|
||||
this.dataGridView1.TabIndex = 48;
|
||||
this.dataGridView1.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellDoubleClick);
|
||||
this.dataGridView1.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dataGridView1_RowPostPaint);
|
||||
@@ -268,18 +270,9 @@
|
||||
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(1124, 38);
|
||||
this.panel1.Size = new System.Drawing.Size(1179, 38);
|
||||
this.panel1.TabIndex = 52;
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.Controls.Add(this.dataGridView1);
|
||||
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel2.Location = new System.Drawing.Point(0, 38);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(1124, 623);
|
||||
this.panel2.TabIndex = 53;
|
||||
//
|
||||
// btnSearchISBN
|
||||
//
|
||||
this.btnSearchISBN.Location = new System.Drawing.Point(547, 2);
|
||||
@@ -291,36 +284,47 @@
|
||||
this.btnSearchISBN.UseVisualStyleBackColor = true;
|
||||
this.btnSearchISBN.Click += new System.EventHandler(this.btnSearchISBN_Click);
|
||||
//
|
||||
// check
|
||||
// panel2
|
||||
//
|
||||
this.check.HeaderText = "V";
|
||||
this.check.Name = "check";
|
||||
this.check.Width = 35;
|
||||
this.panel2.Controls.Add(this.dataGridView1);
|
||||
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel2.Location = new System.Drawing.Point(0, 38);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(1179, 623);
|
||||
this.panel2.TabIndex = 53;
|
||||
//
|
||||
// charge
|
||||
// idx
|
||||
//
|
||||
this.charge.HeaderText = "담당자";
|
||||
this.charge.Name = "charge";
|
||||
this.charge.Width = 70;
|
||||
this.idx.HeaderText = "idx";
|
||||
this.idx.Name = "idx";
|
||||
this.idx.Visible = false;
|
||||
//
|
||||
// etc
|
||||
// start_date
|
||||
//
|
||||
this.etc.HeaderText = "비고";
|
||||
this.etc.Name = "etc";
|
||||
this.etc.Width = 280;
|
||||
this.start_date.HeaderText = "목록일자";
|
||||
this.start_date.Name = "start_date";
|
||||
//
|
||||
// state
|
||||
// end_date
|
||||
//
|
||||
this.state.HeaderText = "상태";
|
||||
this.state.Name = "state";
|
||||
this.state.Width = 70;
|
||||
this.end_date.HeaderText = "완료일자";
|
||||
this.end_date.Name = "end_date";
|
||||
//
|
||||
// unstock
|
||||
// list_name
|
||||
//
|
||||
this.unstock.HeaderText = "미입고";
|
||||
this.unstock.Name = "unstock";
|
||||
this.unstock.Visible = false;
|
||||
this.unstock.Width = 70;
|
||||
this.list_name.HeaderText = "목록명";
|
||||
this.list_name.Name = "list_name";
|
||||
this.list_name.Width = 200;
|
||||
//
|
||||
// work_name
|
||||
//
|
||||
this.work_name.HeaderText = "작업명";
|
||||
this.work_name.Name = "work_name";
|
||||
//
|
||||
// count
|
||||
//
|
||||
this.count.HeaderText = "수량";
|
||||
this.count.Name = "count";
|
||||
this.count.Width = 80;
|
||||
//
|
||||
// stock
|
||||
//
|
||||
@@ -329,44 +333,47 @@
|
||||
this.stock.Visible = false;
|
||||
this.stock.Width = 70;
|
||||
//
|
||||
// count
|
||||
// unstock
|
||||
//
|
||||
this.count.HeaderText = "수량";
|
||||
this.count.Name = "count";
|
||||
this.count.Width = 80;
|
||||
this.unstock.HeaderText = "미입고";
|
||||
this.unstock.Name = "unstock";
|
||||
this.unstock.Visible = false;
|
||||
this.unstock.Width = 70;
|
||||
//
|
||||
// work_name
|
||||
// state
|
||||
//
|
||||
this.work_name.HeaderText = "작업명";
|
||||
this.work_name.Name = "work_name";
|
||||
this.state.HeaderText = "상태";
|
||||
this.state.Name = "state";
|
||||
this.state.Width = 70;
|
||||
//
|
||||
// list_name
|
||||
// etc
|
||||
//
|
||||
this.list_name.HeaderText = "목록명";
|
||||
this.list_name.Name = "list_name";
|
||||
this.list_name.Width = 200;
|
||||
this.etc.HeaderText = "비고";
|
||||
this.etc.Name = "etc";
|
||||
this.etc.Width = 280;
|
||||
//
|
||||
// end_date
|
||||
// charge
|
||||
//
|
||||
this.end_date.HeaderText = "완료일자";
|
||||
this.end_date.Name = "end_date";
|
||||
this.charge.HeaderText = "담당자";
|
||||
this.charge.Name = "charge";
|
||||
this.charge.Width = 70;
|
||||
//
|
||||
// start_date
|
||||
// check
|
||||
//
|
||||
this.start_date.HeaderText = "목록일자";
|
||||
this.start_date.Name = "start_date";
|
||||
this.check.HeaderText = "V";
|
||||
this.check.Name = "check";
|
||||
this.check.Width = 35;
|
||||
//
|
||||
// idx
|
||||
// dvc_custom
|
||||
//
|
||||
this.idx.HeaderText = "idx";
|
||||
this.idx.Name = "idx";
|
||||
this.idx.Visible = false;
|
||||
this.dvc_custom.HeaderText = "납품처";
|
||||
this.dvc_custom.Name = "dvc_custom";
|
||||
//
|
||||
// Mac_List
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1124, 661);
|
||||
this.ClientSize = new System.Drawing.Size(1179, 661);
|
||||
this.Controls.Add(this.panel2);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Name = "Mac_List";
|
||||
@@ -413,5 +420,6 @@
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn etc;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn charge;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn check;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dvc_custom;
|
||||
}
|
||||
}
|
||||
@@ -57,7 +57,7 @@ namespace WindowsFormsApp1.Mac
|
||||
* 마크담당자 */
|
||||
string Area = "`idx`, `date`, `date_res`, `list_name`, `work_name`, " +
|
||||
"`vol`, `stock`, `unstock`, `state`, `m_etc`, " +
|
||||
"`m_charge`";
|
||||
"`m_charge`,`customer`";
|
||||
string search = tb_Search.Text;
|
||||
string state = cb_state.Text;
|
||||
|
||||
@@ -89,8 +89,8 @@ namespace WindowsFormsApp1.Mac
|
||||
|
||||
string[] grid = { "", "", "", "", "",
|
||||
"", "", "", "", "",
|
||||
"", "" };
|
||||
int area_count = 11;
|
||||
"", "" ,"",""};
|
||||
int area_count = 12;
|
||||
dataGridView1.Rows.Clear();
|
||||
for (int a = 0; a < data.Length; a++)
|
||||
{
|
||||
@@ -104,7 +104,9 @@ namespace WindowsFormsApp1.Mac
|
||||
if (a % area_count == 7) { grid[7] = data[a]; }
|
||||
if (a % area_count == 8) { grid[8] = data[a]; }
|
||||
if (a % area_count == 9) { grid[9] = data[a]; }
|
||||
if (a % area_count == 10) { grid[10] = data[a];
|
||||
if (a % area_count == 10) { grid[10] = data[a]; }
|
||||
if (a % area_count == 11) {
|
||||
grid[11] = data[a];
|
||||
dataGridView1.Rows.Add(grid);
|
||||
}
|
||||
}
|
||||
@@ -129,7 +131,7 @@ namespace WindowsFormsApp1.Mac
|
||||
if (dataGridView1.Rows[a].Cells["check"].Value.ToString() == "V") {
|
||||
string[] edit_col = {
|
||||
"date", "date_res", "list_name", "work_name", "vol",
|
||||
"stock", "unstock", "state", "m_etc", "m_charge"
|
||||
"stock", "unstock", "state", "m_etc", "m_charge","customer"
|
||||
};
|
||||
string[] edit_tbl = {
|
||||
dataGridView1.Rows[a].Cells["start_date"].Value.ToString(),
|
||||
@@ -141,7 +143,8 @@ namespace WindowsFormsApp1.Mac
|
||||
dataGridView1.Rows[a].Cells["unstock"].Value.ToString(),
|
||||
dataGridView1.Rows[a].Cells["state"].Value.ToString(),
|
||||
dataGridView1.Rows[a].Cells["etc"].Value.ToString(),
|
||||
dataGridView1.Rows[a].Cells["charge"].Value.ToString()
|
||||
dataGridView1.Rows[a].Cells["charge"].Value.ToString(),
|
||||
dataGridView1.Rows[a].Cells["customer"].Value.ToString()
|
||||
};
|
||||
string[] sear_col = { "idx", "comp_num" };
|
||||
string[] sear_tbl = { dataGridView1.Rows[a].Cells["idx"].Value.ToString(), compidx };
|
||||
@@ -161,7 +164,7 @@ namespace WindowsFormsApp1.Mac
|
||||
string[] Excel_title = {
|
||||
"NO", "목록일자", "완료일자", "목록명", "마크담당자",
|
||||
//"작업명", "수량", "입고", "미입고", "상태", "비고" };
|
||||
"작업명", "수량", "상태", "비고" };
|
||||
"작업명", "수량", "상태", "비고","납품처코드" };
|
||||
int rowCount = dataGridView1.RowCount;
|
||||
// string[,] inputExcel = new string[rowCount, 11];
|
||||
string[,] inputExcel = new string[rowCount, 9];
|
||||
@@ -180,6 +183,8 @@ namespace WindowsFormsApp1.Mac
|
||||
inputExcel[a, 7] = dataGridView1.Rows[a].Cells["state"].Value.ToString();
|
||||
inputExcel[a, 8] = dataGridView1.Rows[a].Cells["etc"].Value.ToString();
|
||||
|
||||
inputExcel[a, 9] = dataGridView1.Rows[a].Cells["customer"]?.Value.ToString() ?? "";
|
||||
|
||||
// inputExcel[a, 7] = dataGridView1.Rows[a].Cells["stock"].Value.ToString();
|
||||
// inputExcel[a, 8] = dataGridView1.Rows[a].Cells["unstock"].Value.ToString();
|
||||
// inputExcel[a, 9] = dataGridView1.Rows[a].Cells["state"].Value.ToString();
|
||||
|
||||
@@ -153,6 +153,9 @@
|
||||
<metadata name="check.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="dvc_custom.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="saveFileDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
|
||||
1
unimarc/unimarc/마크/Mac_List_Add.Designer.cs
generated
1
unimarc/unimarc/마크/Mac_List_Add.Designer.cs
generated
@@ -205,6 +205,7 @@ namespace UniMarc.마크
|
||||
this.label1.Size = new System.Drawing.Size(41, 12);
|
||||
this.label1.TabIndex = 9;
|
||||
this.label1.Text = "납품처";
|
||||
this.label1.Click += new System.EventHandler(this.label1_Click);
|
||||
//
|
||||
// tb_ExpectList
|
||||
//
|
||||
|
||||
@@ -11,6 +11,8 @@ using System.Windows.Forms;
|
||||
using WindowsFormsApp1;
|
||||
using WindowsFormsApp1.Mac;
|
||||
using System.IO;
|
||||
using Microsoft.Office.Interop.Excel;
|
||||
using UniMarc.ListOfValue;
|
||||
|
||||
namespace UniMarc.마크
|
||||
{
|
||||
@@ -252,5 +254,12 @@ namespace UniMarc.마크
|
||||
{
|
||||
sg.Excel_to_DataGridView(sender, e);
|
||||
}
|
||||
|
||||
private void label1_Click(object sender, EventArgs e)
|
||||
{
|
||||
var dt = DB2.GetDT("Client", columns: "idx,c_sangho", orders: "c_sangho");
|
||||
using(var f = new fSelectDT(dt))
|
||||
f.ShowDialog();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,6 +19,7 @@ namespace AuthorSymbol
|
||||
/// </summary>
|
||||
public string[] authorFirst = { "첫음", "초성" };
|
||||
|
||||
public string[] authorFour = { "서명+출판사","출판사+서명" };
|
||||
/// <summary>
|
||||
/// 저자기호표
|
||||
/// </summary>
|
||||
|
||||
215
unimarc/unimarc/홈/Transaction_manage.Designer.cs
generated
215
unimarc/unimarc/홈/Transaction_manage.Designer.cs
generated
@@ -110,6 +110,14 @@
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.panel3 = new System.Windows.Forms.Panel();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.panel9 = new System.Windows.Forms.Panel();
|
||||
this.cb_authorTypeK = new System.Windows.Forms.ComboBox();
|
||||
this.cb_divType = new System.Windows.Forms.ComboBox();
|
||||
this.cb_divNum = new System.Windows.Forms.ComboBox();
|
||||
this.cb_FirstBook = new System.Windows.Forms.ComboBox();
|
||||
this.cb_FirstAuthor = new System.Windows.Forms.ComboBox();
|
||||
this.label20 = new System.Windows.Forms.Label();
|
||||
this.label21 = new System.Windows.Forms.Label();
|
||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.label19 = new System.Windows.Forms.Label();
|
||||
this.tbSearch = new System.Windows.Forms.TextBox();
|
||||
@@ -135,19 +143,16 @@
|
||||
this.panel7 = new System.Windows.Forms.Panel();
|
||||
this.panel6 = new System.Windows.Forms.Panel();
|
||||
this.panel5 = new System.Windows.Forms.Panel();
|
||||
this.panel9 = new System.Windows.Forms.Panel();
|
||||
this.cb_authorType = new System.Windows.Forms.ComboBox();
|
||||
this.cb_divType = new System.Windows.Forms.ComboBox();
|
||||
this.cb_divNum = new System.Windows.Forms.ComboBox();
|
||||
this.cb_FirstBook = new System.Windows.Forms.ComboBox();
|
||||
this.cb_FirstAuthor = new System.Windows.Forms.ComboBox();
|
||||
this.label20 = new System.Windows.Forms.Label();
|
||||
this.label21 = new System.Windows.Forms.Label();
|
||||
this.cb_authorTypeE = new System.Windows.Forms.ComboBox();
|
||||
this.label22 = new System.Windows.Forms.Label();
|
||||
this.cb_author_four = new System.Windows.Forms.ComboBox();
|
||||
this.chk_pijunja = new System.Windows.Forms.CheckBox();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dv1)).BeginInit();
|
||||
this.contextMenuStrip1.SuspendLayout();
|
||||
this.panel1.SuspendLayout();
|
||||
this.panel3.SuspendLayout();
|
||||
this.panel2.SuspendLayout();
|
||||
this.panel9.SuspendLayout();
|
||||
this.tableLayoutPanel1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.marcGrid)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.gearGrid)).BeginInit();
|
||||
@@ -156,7 +161,6 @@
|
||||
this.panel7.SuspendLayout();
|
||||
this.panel6.SuspendLayout();
|
||||
this.panel5.SuspendLayout();
|
||||
this.panel9.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// NameLabel
|
||||
@@ -886,6 +890,90 @@
|
||||
this.panel2.Size = new System.Drawing.Size(967, 417);
|
||||
this.panel2.TabIndex = 48;
|
||||
//
|
||||
// panel9
|
||||
//
|
||||
this.panel9.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.panel9.Controls.Add(this.chk_pijunja);
|
||||
this.panel9.Controls.Add(this.cb_author_four);
|
||||
this.panel9.Controls.Add(this.label22);
|
||||
this.panel9.Controls.Add(this.cb_authorTypeE);
|
||||
this.panel9.Controls.Add(this.cb_authorTypeK);
|
||||
this.panel9.Controls.Add(this.cb_divType);
|
||||
this.panel9.Controls.Add(this.cb_divNum);
|
||||
this.panel9.Controls.Add(this.cb_FirstBook);
|
||||
this.panel9.Controls.Add(this.cb_FirstAuthor);
|
||||
this.panel9.Controls.Add(this.label20);
|
||||
this.panel9.Controls.Add(this.label21);
|
||||
this.panel9.Location = new System.Drawing.Point(844, 124);
|
||||
this.panel9.Name = "panel9";
|
||||
this.panel9.Size = new System.Drawing.Size(118, 269);
|
||||
this.panel9.TabIndex = 45;
|
||||
//
|
||||
// cb_authorTypeK
|
||||
//
|
||||
this.cb_authorTypeK.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cb_authorTypeK.FormattingEnabled = true;
|
||||
this.cb_authorTypeK.Location = new System.Drawing.Point(4, 49);
|
||||
this.cb_authorTypeK.Name = "cb_authorTypeK";
|
||||
this.cb_authorTypeK.Size = new System.Drawing.Size(104, 20);
|
||||
this.cb_authorTypeK.TabIndex = 1;
|
||||
this.cb_authorTypeK.SelectedIndexChanged += new System.EventHandler(this.cb_authorTypeK_SelectedIndexChanged);
|
||||
this.cb_authorTypeK.Click += new System.EventHandler(this.cb_authorTypeK_Click);
|
||||
//
|
||||
// cb_divType
|
||||
//
|
||||
this.cb_divType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cb_divType.FormattingEnabled = true;
|
||||
this.cb_divType.Location = new System.Drawing.Point(4, 145);
|
||||
this.cb_divType.Name = "cb_divType";
|
||||
this.cb_divType.Size = new System.Drawing.Size(104, 20);
|
||||
this.cb_divType.TabIndex = 1;
|
||||
//
|
||||
// cb_divNum
|
||||
//
|
||||
this.cb_divNum.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cb_divNum.FormattingEnabled = true;
|
||||
this.cb_divNum.Location = new System.Drawing.Point(4, 171);
|
||||
this.cb_divNum.Name = "cb_divNum";
|
||||
this.cb_divNum.Size = new System.Drawing.Size(104, 20);
|
||||
this.cb_divNum.TabIndex = 1;
|
||||
//
|
||||
// cb_FirstBook
|
||||
//
|
||||
this.cb_FirstBook.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cb_FirstBook.FormattingEnabled = true;
|
||||
this.cb_FirstBook.Location = new System.Drawing.Point(4, 99);
|
||||
this.cb_FirstBook.Name = "cb_FirstBook";
|
||||
this.cb_FirstBook.Size = new System.Drawing.Size(104, 20);
|
||||
this.cb_FirstBook.TabIndex = 1;
|
||||
//
|
||||
// cb_FirstAuthor
|
||||
//
|
||||
this.cb_FirstAuthor.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cb_FirstAuthor.FormattingEnabled = true;
|
||||
this.cb_FirstAuthor.Location = new System.Drawing.Point(4, 24);
|
||||
this.cb_FirstAuthor.Name = "cb_FirstAuthor";
|
||||
this.cb_FirstAuthor.Size = new System.Drawing.Size(104, 20);
|
||||
this.cb_FirstAuthor.TabIndex = 1;
|
||||
//
|
||||
// label20
|
||||
//
|
||||
this.label20.AutoSize = true;
|
||||
this.label20.Location = new System.Drawing.Point(2, 130);
|
||||
this.label20.Name = "label20";
|
||||
this.label20.Size = new System.Drawing.Size(29, 12);
|
||||
this.label20.TabIndex = 1;
|
||||
this.label20.Text = "구분";
|
||||
//
|
||||
// label21
|
||||
//
|
||||
this.label21.AutoSize = true;
|
||||
this.label21.Location = new System.Drawing.Point(2, 7);
|
||||
this.label21.Name = "label21";
|
||||
this.label21.Size = new System.Drawing.Size(53, 12);
|
||||
this.label21.TabIndex = 1;
|
||||
this.label21.Text = "저자기호";
|
||||
//
|
||||
// tableLayoutPanel1
|
||||
//
|
||||
this.tableLayoutPanel1.CellBorderStyle = System.Windows.Forms.TableLayoutPanelCellBorderStyle.Single;
|
||||
@@ -1187,83 +1275,42 @@
|
||||
this.panel5.Size = new System.Drawing.Size(830, 35);
|
||||
this.panel5.TabIndex = 51;
|
||||
//
|
||||
// panel9
|
||||
// cb_authorTypeE
|
||||
//
|
||||
this.panel9.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.panel9.Controls.Add(this.cb_authorType);
|
||||
this.panel9.Controls.Add(this.cb_divType);
|
||||
this.panel9.Controls.Add(this.cb_divNum);
|
||||
this.panel9.Controls.Add(this.cb_FirstBook);
|
||||
this.panel9.Controls.Add(this.cb_FirstAuthor);
|
||||
this.panel9.Controls.Add(this.label20);
|
||||
this.panel9.Controls.Add(this.label21);
|
||||
this.panel9.Location = new System.Drawing.Point(844, 124);
|
||||
this.panel9.Name = "panel9";
|
||||
this.panel9.Size = new System.Drawing.Size(118, 174);
|
||||
this.panel9.TabIndex = 45;
|
||||
this.cb_authorTypeE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cb_authorTypeE.FormattingEnabled = true;
|
||||
this.cb_authorTypeE.Location = new System.Drawing.Point(4, 74);
|
||||
this.cb_authorTypeE.Name = "cb_authorTypeE";
|
||||
this.cb_authorTypeE.Size = new System.Drawing.Size(104, 20);
|
||||
this.cb_authorTypeE.TabIndex = 2;
|
||||
//
|
||||
// cb_authorType
|
||||
// label22
|
||||
//
|
||||
this.cb_authorType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cb_authorType.FormattingEnabled = true;
|
||||
this.cb_authorType.Location = new System.Drawing.Point(4, 50);
|
||||
this.cb_authorType.Name = "cb_authorType";
|
||||
this.cb_authorType.Size = new System.Drawing.Size(104, 20);
|
||||
this.cb_authorType.TabIndex = 1;
|
||||
this.label22.AutoSize = true;
|
||||
this.label22.Location = new System.Drawing.Point(5, 198);
|
||||
this.label22.Name = "label22";
|
||||
this.label22.Size = new System.Drawing.Size(79, 12);
|
||||
this.label22.TabIndex = 3;
|
||||
this.label22.Text = "4인 이상 저자";
|
||||
//
|
||||
// cb_divType
|
||||
// cb_author_four
|
||||
//
|
||||
this.cb_divType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cb_divType.FormattingEnabled = true;
|
||||
this.cb_divType.Location = new System.Drawing.Point(4, 119);
|
||||
this.cb_divType.Name = "cb_divType";
|
||||
this.cb_divType.Size = new System.Drawing.Size(104, 20);
|
||||
this.cb_divType.TabIndex = 1;
|
||||
this.cb_author_four.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cb_author_four.FormattingEnabled = true;
|
||||
this.cb_author_four.Location = new System.Drawing.Point(4, 213);
|
||||
this.cb_author_four.Name = "cb_author_four";
|
||||
this.cb_author_four.Size = new System.Drawing.Size(104, 20);
|
||||
this.cb_author_four.TabIndex = 4;
|
||||
//
|
||||
// cb_divNum
|
||||
// chk_pijunja
|
||||
//
|
||||
this.cb_divNum.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cb_divNum.FormattingEnabled = true;
|
||||
this.cb_divNum.Location = new System.Drawing.Point(4, 145);
|
||||
this.cb_divNum.Name = "cb_divNum";
|
||||
this.cb_divNum.Size = new System.Drawing.Size(104, 20);
|
||||
this.cb_divNum.TabIndex = 1;
|
||||
//
|
||||
// cb_FirstBook
|
||||
//
|
||||
this.cb_FirstBook.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cb_FirstBook.FormattingEnabled = true;
|
||||
this.cb_FirstBook.Location = new System.Drawing.Point(4, 74);
|
||||
this.cb_FirstBook.Name = "cb_FirstBook";
|
||||
this.cb_FirstBook.Size = new System.Drawing.Size(104, 20);
|
||||
this.cb_FirstBook.TabIndex = 1;
|
||||
//
|
||||
// cb_FirstAuthor
|
||||
//
|
||||
this.cb_FirstAuthor.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cb_FirstAuthor.FormattingEnabled = true;
|
||||
this.cb_FirstAuthor.Location = new System.Drawing.Point(4, 24);
|
||||
this.cb_FirstAuthor.Name = "cb_FirstAuthor";
|
||||
this.cb_FirstAuthor.Size = new System.Drawing.Size(104, 20);
|
||||
this.cb_FirstAuthor.TabIndex = 1;
|
||||
//
|
||||
// label20
|
||||
//
|
||||
this.label20.AutoSize = true;
|
||||
this.label20.Location = new System.Drawing.Point(2, 104);
|
||||
this.label20.Name = "label20";
|
||||
this.label20.Size = new System.Drawing.Size(29, 12);
|
||||
this.label20.TabIndex = 1;
|
||||
this.label20.Text = "구분";
|
||||
//
|
||||
// label21
|
||||
//
|
||||
this.label21.AutoSize = true;
|
||||
this.label21.Location = new System.Drawing.Point(2, 7);
|
||||
this.label21.Name = "label21";
|
||||
this.label21.Size = new System.Drawing.Size(53, 12);
|
||||
this.label21.TabIndex = 1;
|
||||
this.label21.Text = "저자기호";
|
||||
this.chk_pijunja.AutoSize = true;
|
||||
this.chk_pijunja.Location = new System.Drawing.Point(7, 241);
|
||||
this.chk_pijunja.Name = "chk_pijunja";
|
||||
this.chk_pijunja.Size = new System.Drawing.Size(88, 16);
|
||||
this.chk_pijunja.TabIndex = 5;
|
||||
this.chk_pijunja.Text = "피전자 적용";
|
||||
this.chk_pijunja.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// Transaction_manage
|
||||
//
|
||||
@@ -1281,6 +1328,8 @@
|
||||
this.panel3.ResumeLayout(false);
|
||||
this.panel2.ResumeLayout(false);
|
||||
this.panel2.PerformLayout();
|
||||
this.panel9.ResumeLayout(false);
|
||||
this.panel9.PerformLayout();
|
||||
this.tableLayoutPanel1.ResumeLayout(false);
|
||||
this.tableLayoutPanel1.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.marcGrid)).EndInit();
|
||||
@@ -1292,8 +1341,6 @@
|
||||
this.panel6.ResumeLayout(false);
|
||||
this.panel5.ResumeLayout(false);
|
||||
this.panel5.PerformLayout();
|
||||
this.panel9.ResumeLayout(false);
|
||||
this.panel9.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
@@ -1399,12 +1446,16 @@
|
||||
private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
|
||||
private System.Windows.Forms.ToolStripMenuItem btExportList;
|
||||
private System.Windows.Forms.Panel panel9;
|
||||
private System.Windows.Forms.ComboBox cb_authorType;
|
||||
private System.Windows.Forms.ComboBox cb_authorTypeK;
|
||||
private System.Windows.Forms.ComboBox cb_divType;
|
||||
private System.Windows.Forms.ComboBox cb_divNum;
|
||||
private System.Windows.Forms.ComboBox cb_FirstBook;
|
||||
private System.Windows.Forms.ComboBox cb_FirstAuthor;
|
||||
private System.Windows.Forms.Label label20;
|
||||
private System.Windows.Forms.Label label21;
|
||||
private System.Windows.Forms.ComboBox cb_authorTypeE;
|
||||
private System.Windows.Forms.Label label22;
|
||||
private System.Windows.Forms.ComboBox cb_author_four;
|
||||
private System.Windows.Forms.CheckBox chk_pijunja;
|
||||
}
|
||||
}
|
||||
@@ -44,8 +44,10 @@ namespace WindowsFormsApp1.Home
|
||||
//저자기호 셋팅값 251022
|
||||
AuthorSymbol.Symbol sb = new AuthorSymbol.Symbol();
|
||||
cb_FirstAuthor.Items.AddRange(sb.authorBook);
|
||||
cb_authorType.Items.AddRange(sb.authorType);
|
||||
cb_authorTypeK.Items.AddRange(sb.authorType);
|
||||
cb_authorTypeE.Items.AddRange(sb.authorType);
|
||||
cb_FirstBook.Items.AddRange(sb.authorFirst);
|
||||
cb_author_four.Items.AddRange(sb.authorFour);
|
||||
|
||||
string[] divType = { "KDC", "DDC" };
|
||||
cb_divType.Items.AddRange(divType);
|
||||
@@ -55,10 +57,13 @@ namespace WindowsFormsApp1.Home
|
||||
|
||||
//저자기호 관련 컬럼추가
|
||||
dv1.Columns.Add(new DataGridViewTextBoxColumn() { Name = "dvc_author_first", HeaderText = "dvc_author_first", Visible = false });
|
||||
dv1.Columns.Add(new DataGridViewTextBoxColumn() { Name = "dvc_author_type", HeaderText = "dvc_author_type", Visible = false });
|
||||
dv1.Columns.Add(new DataGridViewTextBoxColumn() { Name = "dvc_author_typeK", HeaderText = "dvc_author_typeK", Visible = false });
|
||||
dv1.Columns.Add(new DataGridViewTextBoxColumn() { Name = "dvc_author_typeE", HeaderText = "dvc_author_typeE", Visible = false });
|
||||
dv1.Columns.Add(new DataGridViewTextBoxColumn() { Name = "dvc_author_firstbook", HeaderText = "dvc_author_firstbook", Visible = false });
|
||||
dv1.Columns.Add(new DataGridViewTextBoxColumn() { Name = "dvc_author_divtype", HeaderText = "dvc_author_divtype", Visible = false });
|
||||
dv1.Columns.Add(new DataGridViewTextBoxColumn() { Name = "dvc_author_divnum", HeaderText = "dvc_author_divnum", Visible = false });
|
||||
dv1.Columns.Add(new DataGridViewTextBoxColumn() { Name = "dvc_author_four", HeaderText = "dvc_author_four", Visible = false });
|
||||
dv1.Columns.Add(new DataGridViewTextBoxColumn() { Name = "dvc_pijunja", HeaderText = "dvc_pijunja", Visible = false });
|
||||
|
||||
|
||||
}
|
||||
@@ -68,7 +73,7 @@ namespace WindowsFormsApp1.Home
|
||||
"`c_uptae`, `c_jongmok`, `c_tel`, `c_fax`, `c_email`, " +
|
||||
"`c_man`, `c_mantel`, `c_user`, `c_zip`, `c_addr`, " +
|
||||
"`c_dlsArea`, `c_dlsID`, `c_dlsPW`, `c_division`, `c_label`, " +
|
||||
"`c_program`, `c_etc`";//, `c_author_first`, `c_author_type`, `c_author_firstbook`, `c_author_divtype`, `c_author_divnum`";
|
||||
"`c_program`, `c_etc`";
|
||||
string cmd = db.DB_Select_Search(seartempdb, "Client", "campanyidx", compidx);
|
||||
string db_res = db.DB_Send_CMD_Search(cmd);
|
||||
dv1.Rows.Clear();
|
||||
@@ -127,11 +132,14 @@ namespace WindowsFormsApp1.Home
|
||||
tb_program.Text = "";
|
||||
rtb_etc.Text = "";
|
||||
cb_gubun1.SelectedIndex = 0;
|
||||
cb_authorType.SelectedIndex = -1;
|
||||
cb_authorTypeK.SelectedIndex = -1;
|
||||
cb_authorTypeE.SelectedIndex = -1;
|
||||
cb_FirstAuthor.SelectedIndex = -1;
|
||||
cb_FirstBook.SelectedIndex = -1;
|
||||
cb_divNum.SelectedIndex = -1;
|
||||
cb_divType.SelectedIndex = -1;
|
||||
cb_author_four.SelectedIndex = -1;
|
||||
chk_pijunja.Checked = false;
|
||||
}
|
||||
private bool Check_Data(string pText)
|
||||
{
|
||||
@@ -189,13 +197,15 @@ namespace WindowsFormsApp1.Home
|
||||
"c_mantel", "c_user", "c_zip", "c_addr", "c_dlsID",
|
||||
"c_dlsPW", "c_division", "c_label", "c_program", "c_etc",
|
||||
"campanyidx", "c_dlsArea" ,
|
||||
"c_author_first", "c_author_type", "c_author_firstbook", "c_author_divtype", "c_author_divnum"};
|
||||
"c_author_first", "c_author_typeK","c_author_typeE", "c_author_firstbook",
|
||||
"c_author_divtype", "c_author_divnum","c_author_four","c_pijunja"};
|
||||
|
||||
string[] tmpdb1 = { tb_sangho.Text, cb_gubun2.Text, tb_boss.Text, tb_bubin.Text, tb_uptae.Text,
|
||||
tb_jongmok.Text, tb_tel.Text, tb_fax.Text, tb_mail.Text, tb_man.Text,
|
||||
tb_man1.Text, tb_user.Text, tb_zip.Text, tb_addr.Text, tb_id.Text,
|
||||
tb_pw.Text, tb_division.Text, tb_label.Text, tb_program.Text, rtb_etc.Text,
|
||||
compidx, cb_dlsArea.Text, cb_FirstAuthor.Text, cb_authorType.Text, cb_FirstBook.Text, cb_divType.Text, cb_divNum.Text };
|
||||
compidx, cb_dlsArea.Text, cb_FirstAuthor.Text, cb_authorTypeK.Text,
|
||||
cb_authorTypeE.Text,cb_FirstBook.Text, cb_divType.Text, cb_divNum.Text ,cb_author_four.Text,(chk_pijunja.Checked ? "1":"0") };
|
||||
string[] tOldData = {
|
||||
};
|
||||
string Incmd = db.DB_INSERT("Client", tmpdb, tmpdb1);
|
||||
@@ -249,14 +259,16 @@ namespace WindowsFormsApp1.Home
|
||||
"c_mantel", "c_user", "c_zip", "c_addr", "c_dlsID",
|
||||
"c_dlsPW", "c_division", "c_label", "c_program", "c_etc",
|
||||
"c_dlsArea" ,
|
||||
"c_author_first", "c_author_type", "c_author_firstbook", "c_author_divtype", "c_author_divnum"};
|
||||
"c_author_first", "c_author_typeK", "c_author_typeE","c_author_firstbook",
|
||||
"c_author_divtype", "c_author_divnum","c_author_four","c_pijunja"};
|
||||
|
||||
string[] editname = { tb_sangho.Text, cb_gubun2.Text, tb_boss.Text, tb_bubin.Text, tb_uptae.Text,
|
||||
tb_jongmok.Text, tb_tel.Text, tb_fax.Text, tb_mail.Text, tb_man.Text,
|
||||
tb_man1.Text, tb_user.Text, tb_zip.Text, tb_addr.Text, tb_id.Text,
|
||||
tb_pw.Text, tb_division.Text, tb_label.Text, tb_program.Text, rtb_etc.Text,
|
||||
cb_dlsArea.Text,
|
||||
cb_FirstAuthor.Text, cb_authorType.Text, cb_FirstBook.Text, cb_divType.Text, cb_divNum.Text };
|
||||
cb_FirstAuthor.Text, cb_authorTypeK.Text,cb_authorTypeE.Text, cb_FirstBook.Text,
|
||||
cb_divType.Text, cb_divNum.Text ,cb_author_four.Text,(chk_pijunja.Checked ? "1":"0") };
|
||||
|
||||
string[] searchcol = { "idx", "campanyidx" };
|
||||
string[] searchname = { lbl_idx.Text, compidx };
|
||||
@@ -349,22 +361,30 @@ namespace WindowsFormsApp1.Home
|
||||
|
||||
//저자기호값 셋팅
|
||||
var author_first = dv1.Rows[RowIndex].Cells["dvc_author_first"].Value?.ToString() ?? string.Empty;
|
||||
var author_type = dv1.Rows[RowIndex].Cells["dvc_author_type"].Value?.ToString() ?? string.Empty;
|
||||
var author_typeK = dv1.Rows[RowIndex].Cells["dvc_author_typeK"].Value?.ToString() ?? string.Empty;
|
||||
var author_typeE = dv1.Rows[RowIndex].Cells["dvc_author_typeE"].Value?.ToString() ?? string.Empty;
|
||||
var author_firstbook = dv1.Rows[RowIndex].Cells["dvc_author_firstbook"].Value?.ToString() ?? string.Empty;
|
||||
var author_divtype = dv1.Rows[RowIndex].Cells["dvc_author_divtype"].Value?.ToString() ?? string.Empty;
|
||||
var author_divnum = dv1.Rows[RowIndex].Cells["dvc_author_divnum"].Value?.ToString() ?? string.Empty;
|
||||
var author_four = dv1.Rows[RowIndex].Cells["dvc_author_four"].Value?.ToString() ?? string.Empty;
|
||||
var pijunja = dv1.Rows[RowIndex].Cells["dvc_pijunja"].Value?.ToString() ?? "0";
|
||||
|
||||
if (author_typeK.isEmpty() == false) cb_authorTypeK.Text = author_typeK;
|
||||
else cb_authorTypeK.SelectedIndex = -1;
|
||||
if (author_typeE.isEmpty() == false) cb_authorTypeE.Text = author_typeE;
|
||||
else cb_authorTypeE.SelectedIndex = -1;
|
||||
if (author_first.isEmpty() == false) cb_FirstAuthor.Text = author_first;
|
||||
else cb_FirstAuthor.SelectedIndex = -1;
|
||||
if (author_type.isEmpty() == false) cb_authorType.Text = author_type;
|
||||
else cb_authorType.SelectedIndex = -1;
|
||||
if (author_firstbook.isEmpty() == false) cb_FirstBook.Text = author_firstbook;
|
||||
else cb_FirstBook.SelectedIndex = -1;
|
||||
if (author_divtype.isEmpty() == false) cb_divType.Text = author_divtype;
|
||||
else cb_divType.SelectedIndex = -1;
|
||||
if (author_divnum.isEmpty() == false) cb_divNum.Text = author_divnum;
|
||||
else cb_divNum.SelectedIndex = -1;
|
||||
if (author_four.isEmpty() == false) cb_author_four.Text = author_four;
|
||||
else cb_author_four.SelectedIndex = -1;
|
||||
|
||||
|
||||
chk_pijunja.Checked = pijunja == "1";
|
||||
Select_Gubun(RowIndex);
|
||||
}
|
||||
private void Select_Gubun(int pRowIndex)
|
||||
@@ -436,7 +456,8 @@ namespace WindowsFormsApp1.Home
|
||||
"`c_man`, `c_mantel`, `c_user`, `c_zip`, `c_addr`, " +
|
||||
"`c_dlsArea`, `c_dlsID`, `c_dlsPW`, `c_division`, `c_label`," +
|
||||
"`c_program`, `c_etc`," +
|
||||
"`c_author_first`, `c_author_type`, `c_author_firstbook`, `c_author_divtype`, `c_author_divnum`";
|
||||
"`c_author_first`, `c_author_typeK`, `c_author_typeE`,`c_author_firstbook`, " +
|
||||
"`c_author_divtype`, `c_author_divnum`, `c_author_four`, `c_pijunja`";
|
||||
string cmd = db.DB_Contains("Client", compidx, "c_sangho", tbSearch.Text, search);
|
||||
db.DB_Send_CMD_Search_ApplyGrid(cmd, dv1);
|
||||
|
||||
@@ -626,5 +647,20 @@ namespace WindowsFormsApp1.Home
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void cb_authorTypeK_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void cb_authorTypeK_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
this.cb_authorTypeE.SelectedIndex = cb_authorTypeK.SelectedIndex;
|
||||
if (cb_authorTypeK.Text.Contains("장일세"))
|
||||
{
|
||||
cb_FirstAuthor.Text = "초성";
|
||||
cb_FirstBook.Text = "초성";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user