=====* ISBN 조회 *=====

Yes24 - 바뀐 예스 양식에 따라 수정

=====* unimarc *=====
- 마크 통계 -
폼작업 완료

기타 소스코드 함수 정리
This commit is contained in:
SeungHo Yang
2021-09-17 16:50:33 +09:00
parent 47eb194df7
commit 96ddd87953
38 changed files with 2174 additions and 2525 deletions

Binary file not shown.

View File

@@ -175,6 +175,12 @@
<Compile Include="마크\Mac_List_Merge.Designer.cs">
<DependentUpon>Mac_List_Merge.cs</DependentUpon>
</Compile>
<Compile Include="마크\Mac_Stat_Stat.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="마크\Mac_Stat_Stat.Designer.cs">
<DependentUpon>Mac_Stat_Stat.cs</DependentUpon>
</Compile>
<Compile Include="마크\Marc_Preview.cs">
<SubType>Form</SubType>
</Compile>
@@ -688,6 +694,9 @@
<EmbeddedResource Include="마크\Mac_List_Merge.resx">
<DependentUpon>Mac_List_Merge.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="마크\Mac_Stat_Stat.resx">
<DependentUpon>Mac_Stat_Stat.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="마크\Marc_Preview.resx">
<DependentUpon>Marc_Preview.cs</DependentUpon>
</EmbeddedResource>

View File

@@ -1 +1 @@
6d59fa7bec6f2ae03aa32507ae678637aa81eb21
78d81dd0b148e78357440a5ede6a02876a89170f

View File

@@ -120,3 +120,4 @@ C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.마크.
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.마크.All_Book_Detail.resources
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.마크.Marc_Preview.resources
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.마크.Check_ISBN_Split.resources
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.마크.Mac_Stat_Stat.resources

View File

@@ -125,8 +125,6 @@ namespace WindowsFormsApp1.Mac
dataGridView1.Rows[V_idx].Cells["set_count"].Value.ToString(),
dataGridView1.Rows[V_idx].Cells["set_price"].Value.ToString()
};
All_Book_manage_Edit edit = new All_Book_manage_Edit(this);
edit.Show();
edit.set_old(edit_data);

View File

@@ -22,7 +22,7 @@ namespace WindowsFormsApp1.Mac
InitializeComponent();
main = _main;
compidx = main.com_idx;
user_name = main.User_Name;
user_name = main.toolStripLabel1.Text;
}
private void Mac_List_Load(object sender, EventArgs e)
{

View File

@@ -28,33 +28,304 @@
/// </summary>
private void InitializeComponent()
{
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
this.dataGridView1 = new System.Windows.Forms.DataGridView();
this.idx = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ISBN = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.book_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.author = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.book_comp = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.tag008 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.charge = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.date = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.panel2 = new System.Windows.Forms.Panel();
this.btn_Close = new System.Windows.Forms.Button();
this.btn_Stats = new System.Windows.Forms.Button();
this.End_Date = new System.Windows.Forms.DateTimePicker();
this.Start_Date = new System.Windows.Forms.DateTimePicker();
this.tb_Search = new System.Windows.Forms.TextBox();
this.cb_Charge = new System.Windows.Forms.ComboBox();
this.cb_Sort = new System.Windows.Forms.ComboBox();
this.label4 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.cb_Search = new System.Windows.Forms.ComboBox();
this.label1 = new System.Windows.Forms.Label();
this.btn_Lookup = new System.Windows.Forms.Button();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
this.panel2.SuspendLayout();
this.SuspendLayout();
//
// dataGridView1
//
this.dataGridView1.AllowUserToAddRows = false;
this.dataGridView1.AllowUserToDeleteRows = false;
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle1.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.idx,
this.ISBN,
this.book_name,
this.author,
this.book_comp,
this.tag008,
this.charge,
this.date});
this.dataGridView1.Location = new System.Drawing.Point(13, 53);
this.dataGridView1.Name = "dataGridView1";
this.dataGridView1.RowTemplate.Height = 23;
this.dataGridView1.Size = new System.Drawing.Size(1105, 430);
this.dataGridView1.TabIndex = 8;
this.dataGridView1.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dataGridView1_RowPostPaint);
//
// idx
//
this.idx.HeaderText = "idx";
this.idx.Name = "idx";
this.idx.Visible = false;
//
// ISBN
//
this.ISBN.HeaderText = "ISBN";
this.ISBN.Name = "ISBN";
//
// book_name
//
this.book_name.HeaderText = "도서명";
this.book_name.Name = "book_name";
this.book_name.Width = 300;
//
// author
//
this.author.HeaderText = "저자";
this.author.Name = "author";
//
// book_comp
//
this.book_comp.HeaderText = "출판사";
this.book_comp.Name = "book_comp";
//
// tag008
//
this.tag008.HeaderText = "008_TAG";
this.tag008.Name = "tag008";
this.tag008.Width = 220;
//
// charge
//
this.charge.HeaderText = "입력자";
this.charge.Name = "charge";
this.charge.Width = 70;
//
// date
//
this.date.HeaderText = "입력시간";
this.date.Name = "date";
this.date.Width = 150;
//
// panel2
//
this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel2.Controls.Add(this.btn_Close);
this.panel2.Controls.Add(this.btn_Lookup);
this.panel2.Controls.Add(this.btn_Stats);
this.panel2.Controls.Add(this.End_Date);
this.panel2.Controls.Add(this.Start_Date);
this.panel2.Controls.Add(this.tb_Search);
this.panel2.Controls.Add(this.cb_Charge);
this.panel2.Controls.Add(this.cb_Sort);
this.panel2.Controls.Add(this.label4);
this.panel2.Controls.Add(this.label5);
this.panel2.Controls.Add(this.label3);
this.panel2.Controls.Add(this.label2);
this.panel2.Controls.Add(this.cb_Search);
this.panel2.Controls.Add(this.label1);
this.panel2.Location = new System.Drawing.Point(12, 12);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(1106, 34);
this.panel2.TabIndex = 7;
//
// btn_Close
//
this.btn_Close.Location = new System.Drawing.Point(1021, 5);
this.btn_Close.Name = "btn_Close";
this.btn_Close.Size = new System.Drawing.Size(75, 23);
this.btn_Close.TabIndex = 222;
this.btn_Close.Text = "닫 기";
this.btn_Close.UseVisualStyleBackColor = true;
this.btn_Close.Click += new System.EventHandler(this.btn_Close_Click);
//
// btn_Stats
//
this.btn_Stats.Location = new System.Drawing.Point(940, 5);
this.btn_Stats.Name = "btn_Stats";
this.btn_Stats.Size = new System.Drawing.Size(75, 23);
this.btn_Stats.TabIndex = 222;
this.btn_Stats.Text = "통 계";
this.btn_Stats.UseVisualStyleBackColor = true;
this.btn_Stats.Click += new System.EventHandler(this.btn_Stats_Click);
//
// End_Date
//
this.End_Date.CustomFormat = "yyyy-MM-dd";
this.End_Date.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
this.End_Date.Location = new System.Drawing.Point(625, 6);
this.End_Date.Name = "End_Date";
this.End_Date.ShowCheckBox = true;
this.End_Date.Size = new System.Drawing.Size(99, 21);
this.End_Date.TabIndex = 221;
//
// Start_Date
//
this.Start_Date.CustomFormat = "yyyy-MM-dd";
this.Start_Date.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
this.Start_Date.Location = new System.Drawing.Point(507, 6);
this.Start_Date.Name = "Start_Date";
this.Start_Date.ShowCheckBox = true;
this.Start_Date.Size = new System.Drawing.Size(99, 21);
this.Start_Date.TabIndex = 221;
//
// tb_Search
//
this.tb_Search.Location = new System.Drawing.Point(125, 6);
this.tb_Search.Name = "tb_Search";
this.tb_Search.Size = new System.Drawing.Size(184, 21);
this.tb_Search.TabIndex = 2;
this.tb_Search.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_Search_KeyDown);
//
// cb_Charge
//
this.cb_Charge.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cb_Charge.FormattingEnabled = true;
this.cb_Charge.Location = new System.Drawing.Point(781, 6);
this.cb_Charge.Name = "cb_Charge";
this.cb_Charge.Size = new System.Drawing.Size(72, 20);
this.cb_Charge.TabIndex = 1;
//
// cb_Sort
//
this.cb_Sort.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cb_Sort.FormattingEnabled = true;
this.cb_Sort.Location = new System.Drawing.Point(355, 6);
this.cb_Sort.Name = "cb_Sort";
this.cb_Sort.Size = new System.Drawing.Size(82, 20);
this.cb_Sort.TabIndex = 1;
//
// label4
//
this.label4.AutoSize = true;
this.label4.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.label4.Location = new System.Drawing.Point(608, 10);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(15, 12);
this.label4.TabIndex = 0;
this.label4.Text = "~";
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(738, 10);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(41, 12);
this.label5.TabIndex = 0;
this.label5.Text = "입력자";
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(449, 10);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(53, 12);
this.label3.TabIndex = 0;
this.label3.Text = "저장일자";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(324, 10);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(29, 12);
this.label2.TabIndex = 0;
this.label2.Text = "정렬";
//
// cb_Search
//
this.cb_Search.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cb_Search.FormattingEnabled = true;
this.cb_Search.Location = new System.Drawing.Point(38, 6);
this.cb_Search.Name = "cb_Search";
this.cb_Search.Size = new System.Drawing.Size(81, 20);
this.cb_Search.TabIndex = 1;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(371, 219);
this.label1.Location = new System.Drawing.Point(7, 10);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(107, 12);
this.label1.TabIndex = 5;
this.label1.Text = "마크관리_마크통계";
this.label1.Size = new System.Drawing.Size(29, 12);
this.label1.TabIndex = 0;
this.label1.Text = "검색";
//
// btn_Lookup
//
this.btn_Lookup.Location = new System.Drawing.Point(859, 5);
this.btn_Lookup.Name = "btn_Lookup";
this.btn_Lookup.Size = new System.Drawing.Size(75, 23);
this.btn_Lookup.TabIndex = 222;
this.btn_Lookup.Text = "조 회";
this.btn_Lookup.UseVisualStyleBackColor = true;
this.btn_Lookup.Click += new System.EventHandler(this.btn_Lookup_Click);
//
// Mac_Stat
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this.label1);
this.ClientSize = new System.Drawing.Size(1130, 495);
this.Controls.Add(this.dataGridView1);
this.Controls.Add(this.panel2);
this.Name = "Mac_Stat";
this.Text = "마크통계";
this.Text = "마크 통계";
this.Load += new System.EventHandler(this.Mac_Stat_Load);
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
this.panel2.ResumeLayout(false);
this.panel2.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.DataGridView dataGridView1;
private System.Windows.Forms.DataGridViewTextBoxColumn idx;
private System.Windows.Forms.DataGridViewTextBoxColumn ISBN;
private System.Windows.Forms.DataGridViewTextBoxColumn book_name;
private System.Windows.Forms.DataGridViewTextBoxColumn author;
private System.Windows.Forms.DataGridViewTextBoxColumn book_comp;
private System.Windows.Forms.DataGridViewTextBoxColumn tag008;
private System.Windows.Forms.DataGridViewTextBoxColumn charge;
private System.Windows.Forms.DataGridViewTextBoxColumn date;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Button btn_Close;
private System.Windows.Forms.Button btn_Stats;
private System.Windows.Forms.DateTimePicker End_Date;
private System.Windows.Forms.DateTimePicker Start_Date;
private System.Windows.Forms.TextBox tb_Search;
private System.Windows.Forms.ComboBox cb_Charge;
private System.Windows.Forms.ComboBox cb_Sort;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.ComboBox cb_Search;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Button btn_Lookup;
}
}

View File

@@ -7,16 +7,166 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using UniMarc.;
namespace WindowsFormsApp1.Mac
{
public partial class Mac_Stat : Form
{
Helper_DB db = new Helper_DB();
string compidx;
Main main;
public Mac_Stat(Main _main)
{
InitializeComponent();
main = _main;
compidx = main.com_idx;
}
private void Mac_Stat_Load(object sender, EventArgs e)
{
db.DBcon();
string[] com1 = { "도서명", "출판사", "ISBN", "전체" };
cb_Search.Items.AddRange(com1);
cb_Search.SelectedIndex = 0;
string[] com2 = { "도서명", "ISBN", "IDX", "출판사" };
cb_Sort.Items.AddRange(com2);
cb_Sort.SelectedIndex = 0;
string cmd = string.Format("SELECT `name` FROM `User_Data` WHERE `affil` = (SELECT `comp_name` FROM `Comp` WHERE `idx` = {0})", compidx);
string res = db.self_Made_Cmd(cmd);
string[] User = res.Split('|');
User[User.Length - 1] = "전체";
cb_Charge.Items.AddRange(User);
cb_Charge.SelectedIndex = 0;
Start_Date.Checked = false;
End_Date.Checked = false;
}
private void tb_Search_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Enter)
{
btn_Lookup_Click(null, null);
}
}
private void btn_Lookup_Click(object sender, EventArgs e)
{
dataGridView1.Rows.Clear();
string cmd = Make_CMD();
string res = db.DB_Send_CMD_Search(cmd);
string[] ary_res = res.Split('|');
string[] grid = { "", "", "", "", "", "", "", "" };
int cout = grid.Length;
for (int a = 0; a < ary_res.Length; a++)
{
if (a % cout == 0) { grid[0] = ary_res[a]; }
if (a % cout == 1) { grid[1] = ary_res[a]; }
if (a % cout == 2) { grid[2] = ary_res[a]; }
if (a % cout == 3) { grid[3] = ary_res[a]; }
if (a % cout == 4) { grid[4] = ary_res[a]; }
if (a % cout == 5) { grid[5] = ary_res[a]; }
if (a % cout == 6) { grid[6] = ary_res[a]; }
if (a % cout == 7)
{
grid[7] = ary_res[a];
dataGridView1.Rows.Add(grid);
}
}
}
#region Button1_Click_Sub
/// <summary>
/// 필터링을 하면서 DB에 건네줄 CMD를 만들어냄
/// </summary>
/// <returns>DB CMD</returns>
string Make_CMD()
{
string Area = "`idx`, `ISBN`, `서명`, `저자`, `출판사`, `008tag`, `user`, `date`";
string cmd = string.Format("SELECT {0} FROM `Marc` WHERE `compidx` = {1}", Area, compidx);
if (tb_Search.Text != "")
{
// 필터
switch (cb_Search.SelectedIndex)
{
case 0: // 도서명
cmd += string.Format(" AND `서명` LIKE '%{0}%'", tb_Search.Text);
break;
case 1: // 출판사
cmd += string.Format(" AND `출판사` LIKE '%{0}%'", tb_Search.Text);
break;
case 2: // ISBN
cmd += string.Format(" AND `ISBN` LIKE '%{0}%'", tb_Search.Text);
break;
case 3: // 전체
break;
default:
break;
}
}
if (cb_Charge.Text != "전체")
{
cmd += string.Format(" AND `user` = '{0}'", cb_Charge.Text);
}
if (Start_Date.Checked)
{
string start_Date = Start_Date.Value.ToString("yyyy-MM-dd");
start_Date += " 00:00:00";
cmd += string.Format(" AND `date` > '{0}'", start_Date);
}
if (End_Date.Checked)
{
string end_Date = End_Date.Value.ToString("yyyy-MM-dd");
end_Date += " 23:59:59";
cmd += string.Format(" AND `date` <= '{0}'", end_Date);
}
switch (cb_Sort.SelectedIndex)
{
case 0: // 도서명
cmd += string.Format(" ORDER BY '서명'");
break;
case 1: // ISBN
cmd += string.Format(" ORDER BY 'ISBN'");
break;
case 2: // IDX
cmd += string.Format(" ORDER BY 'idx'");
break;
case 3: // 출판사
cmd += string.Format(" ORDER BY '출판사'");
break;
default:
break;
}
return cmd + ";";
}
#endregion
private void btn_Stats_Click(object sender, EventArgs e)
{
Mac_Stat_Stat mss = new Mac_Stat_Stat(this);
mss.compidx = compidx;
mss.Show();
}
private void btn_Close_Click(object sender, EventArgs e)
{
this.Close();
}
private void dataGridView1_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e)
{
Skill_Grid sg = new Skill_Grid();
sg.Print_Grid_Num(sender, e);
}
}
}

View File

@@ -117,4 +117,28 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="idx.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ISBN.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="book_name.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="author.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="book_comp.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="tag008.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="charge.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="date.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
</root>

View File

@@ -0,0 +1,829 @@

namespace UniMarc.
{
partial class Mac_Stat_Stat
{
/// <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.tabControl1 = new System.Windows.Forms.TabControl();
this.tabPage1 = new System.Windows.Forms.TabPage();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.label7 = new System.Windows.Forms.Label();
this.label8 = new System.Windows.Forms.Label();
this.label9 = new System.Windows.Forms.Label();
this.label10 = new System.Windows.Forms.Label();
this.label11 = new System.Windows.Forms.Label();
this.lbl_total = new System.Windows.Forms.Label();
this.lbl_9 = new System.Windows.Forms.Label();
this.lbl_8 = new System.Windows.Forms.Label();
this.lbl_7 = new System.Windows.Forms.Label();
this.lbl_6 = new System.Windows.Forms.Label();
this.lbl_5 = new System.Windows.Forms.Label();
this.lbl_4 = new System.Windows.Forms.Label();
this.lbl_3 = new System.Windows.Forms.Label();
this.lbl_2 = new System.Windows.Forms.Label();
this.lbl_1 = new System.Windows.Forms.Label();
this.lbl_0 = new System.Windows.Forms.Label();
this.button4 = new System.Windows.Forms.Button();
this.button1 = new System.Windows.Forms.Button();
this.tabPage2 = new System.Windows.Forms.TabPage();
this.button3 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
this.label13 = new System.Windows.Forms.Label();
this.label14 = new System.Windows.Forms.Label();
this.label15 = new System.Windows.Forms.Label();
this.label16 = new System.Windows.Forms.Label();
this.label17 = new System.Windows.Forms.Label();
this.label18 = new System.Windows.Forms.Label();
this.lbl_kor_s = new System.Windows.Forms.Label();
this.lbl_kor_a = new System.Windows.Forms.Label();
this.lbl_kor_t = new System.Windows.Forms.Label();
this.lbl_log_s = new System.Windows.Forms.Label();
this.lbl_log_a = new System.Windows.Forms.Label();
this.lbl_log_t = new System.Windows.Forms.Label();
this.lbl_s_total = new System.Windows.Forms.Label();
this.lbl_a_total = new System.Windows.Forms.Label();
this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker();
this.tabControl1.SuspendLayout();
this.tabPage1.SuspendLayout();
this.tableLayoutPanel1.SuspendLayout();
this.tabPage2.SuspendLayout();
this.tableLayoutPanel2.SuspendLayout();
this.SuspendLayout();
//
// tabControl1
//
this.tabControl1.Controls.Add(this.tabPage1);
this.tabControl1.Controls.Add(this.tabPage2);
this.tabControl1.Location = new System.Drawing.Point(12, 12);
this.tabControl1.Name = "tabControl1";
this.tabControl1.SelectedIndex = 0;
this.tabControl1.Size = new System.Drawing.Size(895, 218);
this.tabControl1.TabIndex = 1;
//
// tabPage1
//
this.tabPage1.Controls.Add(this.tableLayoutPanel1);
this.tabPage1.Controls.Add(this.button4);
this.tabPage1.Controls.Add(this.button1);
this.tabPage1.Location = new System.Drawing.Point(4, 22);
this.tabPage1.Name = "tabPage1";
this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
this.tabPage1.Size = new System.Drawing.Size(887, 192);
this.tabPage1.TabIndex = 0;
this.tabPage1.Text = "분류";
this.tabPage1.UseVisualStyleBackColor = true;
//
// tableLayoutPanel1
//
this.tableLayoutPanel1.CellBorderStyle = System.Windows.Forms.TableLayoutPanelCellBorderStyle.InsetDouble;
this.tableLayoutPanel1.ColumnCount = 11;
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 9.090908F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 9.090908F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 9.090908F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 9.090908F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 9.090908F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 9.090908F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 9.090908F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 9.090908F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 9.090908F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 9.090908F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 9.090908F));
this.tableLayoutPanel1.Controls.Add(this.label1, 0, 0);
this.tableLayoutPanel1.Controls.Add(this.label2, 1, 0);
this.tableLayoutPanel1.Controls.Add(this.label3, 2, 0);
this.tableLayoutPanel1.Controls.Add(this.label4, 3, 0);
this.tableLayoutPanel1.Controls.Add(this.label5, 4, 0);
this.tableLayoutPanel1.Controls.Add(this.label6, 5, 0);
this.tableLayoutPanel1.Controls.Add(this.label7, 6, 0);
this.tableLayoutPanel1.Controls.Add(this.label8, 7, 0);
this.tableLayoutPanel1.Controls.Add(this.label9, 8, 0);
this.tableLayoutPanel1.Controls.Add(this.label10, 9, 0);
this.tableLayoutPanel1.Controls.Add(this.label11, 10, 0);
this.tableLayoutPanel1.Controls.Add(this.lbl_total, 10, 1);
this.tableLayoutPanel1.Controls.Add(this.lbl_9, 9, 1);
this.tableLayoutPanel1.Controls.Add(this.lbl_8, 8, 1);
this.tableLayoutPanel1.Controls.Add(this.lbl_7, 7, 1);
this.tableLayoutPanel1.Controls.Add(this.lbl_6, 6, 1);
this.tableLayoutPanel1.Controls.Add(this.lbl_5, 5, 1);
this.tableLayoutPanel1.Controls.Add(this.lbl_4, 4, 1);
this.tableLayoutPanel1.Controls.Add(this.lbl_3, 3, 1);
this.tableLayoutPanel1.Controls.Add(this.lbl_2, 2, 1);
this.tableLayoutPanel1.Controls.Add(this.lbl_1, 1, 1);
this.tableLayoutPanel1.Controls.Add(this.lbl_0, 0, 1);
this.tableLayoutPanel1.Location = new System.Drawing.Point(6, 35);
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
this.tableLayoutPanel1.RowCount = 2;
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.tableLayoutPanel1.Size = new System.Drawing.Size(877, 152);
this.tableLayoutPanel1.TabIndex = 2;
//
// label1
//
this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.label1.AutoSize = true;
this.label1.BackColor = System.Drawing.SystemColors.GradientInactiveCaption;
this.label1.Location = new System.Drawing.Point(6, 3);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(70, 71);
this.label1.TabIndex = 0;
this.label1.Text = "총류";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label2
//
this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.label2.AutoSize = true;
this.label2.BackColor = System.Drawing.SystemColors.GradientInactiveCaption;
this.label2.Location = new System.Drawing.Point(85, 3);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(70, 71);
this.label2.TabIndex = 0;
this.label2.Text = "철학";
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label3
//
this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.label3.AutoSize = true;
this.label3.BackColor = System.Drawing.SystemColors.GradientInactiveCaption;
this.label3.Location = new System.Drawing.Point(164, 3);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(70, 71);
this.label3.TabIndex = 0;
this.label3.Text = "종교";
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label4
//
this.label4.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.label4.AutoSize = true;
this.label4.BackColor = System.Drawing.SystemColors.GradientInactiveCaption;
this.label4.Location = new System.Drawing.Point(243, 3);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(70, 71);
this.label4.TabIndex = 0;
this.label4.Text = "사회과학";
this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label5
//
this.label5.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.label5.AutoSize = true;
this.label5.BackColor = System.Drawing.SystemColors.GradientInactiveCaption;
this.label5.Location = new System.Drawing.Point(322, 3);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(70, 71);
this.label5.TabIndex = 0;
this.label5.Text = "자연과학";
this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label6
//
this.label6.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.label6.AutoSize = true;
this.label6.BackColor = System.Drawing.SystemColors.GradientInactiveCaption;
this.label6.Location = new System.Drawing.Point(401, 3);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(70, 71);
this.label6.TabIndex = 0;
this.label6.Text = "기술과학";
this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label7
//
this.label7.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.label7.AutoSize = true;
this.label7.BackColor = System.Drawing.SystemColors.GradientInactiveCaption;
this.label7.Location = new System.Drawing.Point(480, 3);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(70, 71);
this.label7.TabIndex = 0;
this.label7.Text = "예술";
this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label8
//
this.label8.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.label8.AutoSize = true;
this.label8.BackColor = System.Drawing.SystemColors.GradientInactiveCaption;
this.label8.Location = new System.Drawing.Point(559, 3);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(70, 71);
this.label8.TabIndex = 0;
this.label8.Text = "언어";
this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label9
//
this.label9.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.label9.AutoSize = true;
this.label9.BackColor = System.Drawing.SystemColors.GradientInactiveCaption;
this.label9.Location = new System.Drawing.Point(638, 3);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(70, 71);
this.label9.TabIndex = 0;
this.label9.Text = "문학";
this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label10
//
this.label10.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.label10.AutoSize = true;
this.label10.BackColor = System.Drawing.SystemColors.GradientInactiveCaption;
this.label10.Location = new System.Drawing.Point(717, 3);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(70, 71);
this.label10.TabIndex = 0;
this.label10.Text = "역사";
this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label11
//
this.label11.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.label11.AutoSize = true;
this.label11.BackColor = System.Drawing.SystemColors.GradientInactiveCaption;
this.label11.Location = new System.Drawing.Point(796, 3);
this.label11.Name = "label11";
this.label11.Size = new System.Drawing.Size(75, 71);
this.label11.TabIndex = 0;
this.label11.Text = "합계";
this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// lbl_total
//
this.lbl_total.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.lbl_total.AutoSize = true;
this.lbl_total.BackColor = System.Drawing.Color.PapayaWhip;
this.lbl_total.Location = new System.Drawing.Point(796, 77);
this.lbl_total.Name = "lbl_total";
this.lbl_total.Size = new System.Drawing.Size(75, 72);
this.lbl_total.TabIndex = 0;
this.lbl_total.Text = "0";
this.lbl_total.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// lbl_9
//
this.lbl_9.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.lbl_9.AutoSize = true;
this.lbl_9.BackColor = System.Drawing.Color.PapayaWhip;
this.lbl_9.Location = new System.Drawing.Point(717, 77);
this.lbl_9.Name = "lbl_9";
this.lbl_9.Size = new System.Drawing.Size(70, 72);
this.lbl_9.TabIndex = 0;
this.lbl_9.Text = "0";
this.lbl_9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// lbl_8
//
this.lbl_8.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.lbl_8.AutoSize = true;
this.lbl_8.BackColor = System.Drawing.Color.PapayaWhip;
this.lbl_8.Location = new System.Drawing.Point(638, 77);
this.lbl_8.Name = "lbl_8";
this.lbl_8.Size = new System.Drawing.Size(70, 72);
this.lbl_8.TabIndex = 0;
this.lbl_8.Text = "0";
this.lbl_8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// lbl_7
//
this.lbl_7.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.lbl_7.AutoSize = true;
this.lbl_7.BackColor = System.Drawing.Color.PapayaWhip;
this.lbl_7.Location = new System.Drawing.Point(559, 77);
this.lbl_7.Name = "lbl_7";
this.lbl_7.Size = new System.Drawing.Size(70, 72);
this.lbl_7.TabIndex = 0;
this.lbl_7.Text = "0";
this.lbl_7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// lbl_6
//
this.lbl_6.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.lbl_6.AutoSize = true;
this.lbl_6.BackColor = System.Drawing.Color.PapayaWhip;
this.lbl_6.Location = new System.Drawing.Point(480, 77);
this.lbl_6.Name = "lbl_6";
this.lbl_6.Size = new System.Drawing.Size(70, 72);
this.lbl_6.TabIndex = 0;
this.lbl_6.Text = "0";
this.lbl_6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// lbl_5
//
this.lbl_5.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.lbl_5.AutoSize = true;
this.lbl_5.BackColor = System.Drawing.Color.PapayaWhip;
this.lbl_5.Location = new System.Drawing.Point(401, 77);
this.lbl_5.Name = "lbl_5";
this.lbl_5.Size = new System.Drawing.Size(70, 72);
this.lbl_5.TabIndex = 0;
this.lbl_5.Text = "0";
this.lbl_5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// lbl_4
//
this.lbl_4.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.lbl_4.AutoSize = true;
this.lbl_4.BackColor = System.Drawing.Color.PapayaWhip;
this.lbl_4.Location = new System.Drawing.Point(322, 77);
this.lbl_4.Name = "lbl_4";
this.lbl_4.Size = new System.Drawing.Size(70, 72);
this.lbl_4.TabIndex = 0;
this.lbl_4.Text = "0";
this.lbl_4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// lbl_3
//
this.lbl_3.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.lbl_3.AutoSize = true;
this.lbl_3.BackColor = System.Drawing.Color.PapayaWhip;
this.lbl_3.Location = new System.Drawing.Point(243, 77);
this.lbl_3.Name = "lbl_3";
this.lbl_3.Size = new System.Drawing.Size(70, 72);
this.lbl_3.TabIndex = 0;
this.lbl_3.Text = "0";
this.lbl_3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// lbl_2
//
this.lbl_2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.lbl_2.AutoSize = true;
this.lbl_2.BackColor = System.Drawing.Color.PapayaWhip;
this.lbl_2.Location = new System.Drawing.Point(164, 77);
this.lbl_2.Name = "lbl_2";
this.lbl_2.Size = new System.Drawing.Size(70, 72);
this.lbl_2.TabIndex = 0;
this.lbl_2.Text = "0";
this.lbl_2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// lbl_1
//
this.lbl_1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.lbl_1.AutoSize = true;
this.lbl_1.BackColor = System.Drawing.Color.PapayaWhip;
this.lbl_1.Location = new System.Drawing.Point(85, 77);
this.lbl_1.Name = "lbl_1";
this.lbl_1.Size = new System.Drawing.Size(70, 72);
this.lbl_1.TabIndex = 0;
this.lbl_1.Text = "0";
this.lbl_1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// lbl_0
//
this.lbl_0.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.lbl_0.AutoSize = true;
this.lbl_0.BackColor = System.Drawing.Color.PapayaWhip;
this.lbl_0.Location = new System.Drawing.Point(6, 77);
this.lbl_0.Name = "lbl_0";
this.lbl_0.Size = new System.Drawing.Size(70, 72);
this.lbl_0.TabIndex = 0;
this.lbl_0.Text = "0";
this.lbl_0.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// button4
//
this.button4.Location = new System.Drawing.Point(811, 6);
this.button4.Name = "button4";
this.button4.Size = new System.Drawing.Size(70, 23);
this.button4.TabIndex = 1;
this.button4.Text = "닫 기";
this.button4.UseVisualStyleBackColor = true;
this.button4.Click += new System.EventHandler(this.button3_Click);
//
// button1
//
this.button1.Location = new System.Drawing.Point(735, 6);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(70, 23);
this.button1.TabIndex = 1;
this.button1.Text = "조 회";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// tabPage2
//
this.tabPage2.Controls.Add(this.button3);
this.tabPage2.Controls.Add(this.button2);
this.tabPage2.Controls.Add(this.tableLayoutPanel2);
this.tabPage2.Controls.Add(this.dateTimePicker1);
this.tabPage2.Location = new System.Drawing.Point(4, 22);
this.tabPage2.Name = "tabPage2";
this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
this.tabPage2.Size = new System.Drawing.Size(887, 192);
this.tabPage2.TabIndex = 1;
this.tabPage2.Text = "수량";
this.tabPage2.UseVisualStyleBackColor = true;
//
// button3
//
this.button3.Location = new System.Drawing.Point(806, 4);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(75, 23);
this.button3.TabIndex = 2;
this.button3.Text = "닫 기";
this.button3.UseVisualStyleBackColor = true;
this.button3.Click += new System.EventHandler(this.button3_Click);
//
// button2
//
this.button2.Location = new System.Drawing.Point(725, 4);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(75, 23);
this.button2.TabIndex = 2;
this.button2.Text = "조 회";
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.button2_Click);
//
// tableLayoutPanel2
//
this.tableLayoutPanel2.CellBorderStyle = System.Windows.Forms.TableLayoutPanelCellBorderStyle.InsetDouble;
this.tableLayoutPanel2.ColumnCount = 4;
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel2.Controls.Add(this.label13, 1, 0);
this.tableLayoutPanel2.Controls.Add(this.label14, 2, 0);
this.tableLayoutPanel2.Controls.Add(this.label15, 3, 0);
this.tableLayoutPanel2.Controls.Add(this.label16, 0, 1);
this.tableLayoutPanel2.Controls.Add(this.label17, 0, 2);
this.tableLayoutPanel2.Controls.Add(this.label18, 0, 3);
this.tableLayoutPanel2.Controls.Add(this.lbl_kor_s, 1, 1);
this.tableLayoutPanel2.Controls.Add(this.lbl_kor_a, 2, 1);
this.tableLayoutPanel2.Controls.Add(this.lbl_kor_t, 3, 1);
this.tableLayoutPanel2.Controls.Add(this.lbl_log_s, 1, 2);
this.tableLayoutPanel2.Controls.Add(this.lbl_log_a, 2, 2);
this.tableLayoutPanel2.Controls.Add(this.lbl_log_t, 3, 2);
this.tableLayoutPanel2.Controls.Add(this.lbl_s_total, 1, 3);
this.tableLayoutPanel2.Controls.Add(this.lbl_a_total, 2, 3);
this.tableLayoutPanel2.Location = new System.Drawing.Point(6, 31);
this.tableLayoutPanel2.Name = "tableLayoutPanel2";
this.tableLayoutPanel2.RowCount = 4;
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel2.Size = new System.Drawing.Size(877, 156);
this.tableLayoutPanel2.TabIndex = 1;
//
// label13
//
this.label13.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.label13.AutoSize = true;
this.label13.BackColor = System.Drawing.Color.BlanchedAlmond;
this.label13.Font = new System.Drawing.Font("굴림", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.label13.Location = new System.Drawing.Point(224, 3);
this.label13.Name = "label13";
this.label13.Size = new System.Drawing.Size(209, 35);
this.label13.TabIndex = 0;
this.label13.Text = "누적 소장";
this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label14
//
this.label14.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.label14.AutoSize = true;
this.label14.BackColor = System.Drawing.Color.BlanchedAlmond;
this.label14.Font = new System.Drawing.Font("굴림", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.label14.Location = new System.Drawing.Point(442, 3);
this.label14.Name = "label14";
this.label14.Size = new System.Drawing.Size(209, 35);
this.label14.TabIndex = 0;
this.label14.Text = "소장 추가";
this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label15
//
this.label15.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.label15.AutoSize = true;
this.label15.BackColor = System.Drawing.Color.BlanchedAlmond;
this.label15.Font = new System.Drawing.Font("굴림", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.label15.Location = new System.Drawing.Point(660, 3);
this.label15.Name = "label15";
this.label15.Size = new System.Drawing.Size(211, 35);
this.label15.TabIndex = 0;
this.label15.Text = "합 계";
this.label15.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label16
//
this.label16.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.label16.AutoSize = true;
this.label16.BackColor = System.Drawing.SystemColors.GradientInactiveCaption;
this.label16.Font = new System.Drawing.Font("굴림", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.label16.Location = new System.Drawing.Point(6, 41);
this.label16.Name = "label16";
this.label16.Size = new System.Drawing.Size(209, 35);
this.label16.TabIndex = 0;
this.label16.Text = "국내서";
this.label16.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label17
//
this.label17.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.label17.AutoSize = true;
this.label17.BackColor = System.Drawing.SystemColors.GradientInactiveCaption;
this.label17.Font = new System.Drawing.Font("굴림", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.label17.Location = new System.Drawing.Point(6, 79);
this.label17.Name = "label17";
this.label17.Size = new System.Drawing.Size(209, 35);
this.label17.TabIndex = 0;
this.label17.Text = "서양서";
this.label17.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label18
//
this.label18.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.label18.AutoSize = true;
this.label18.BackColor = System.Drawing.SystemColors.GradientInactiveCaption;
this.label18.Font = new System.Drawing.Font("굴림", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.label18.Location = new System.Drawing.Point(6, 117);
this.label18.Name = "label18";
this.label18.Size = new System.Drawing.Size(209, 36);
this.label18.TabIndex = 0;
this.label18.Text = "합 계";
this.label18.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// lbl_kor_s
//
this.lbl_kor_s.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.lbl_kor_s.AutoSize = true;
this.lbl_kor_s.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.lbl_kor_s.Location = new System.Drawing.Point(224, 41);
this.lbl_kor_s.Name = "lbl_kor_s";
this.lbl_kor_s.Size = new System.Drawing.Size(209, 35);
this.lbl_kor_s.TabIndex = 0;
this.lbl_kor_s.Text = "0";
this.lbl_kor_s.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// lbl_kor_a
//
this.lbl_kor_a.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.lbl_kor_a.AutoSize = true;
this.lbl_kor_a.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.lbl_kor_a.Location = new System.Drawing.Point(442, 41);
this.lbl_kor_a.Name = "lbl_kor_a";
this.lbl_kor_a.Size = new System.Drawing.Size(209, 35);
this.lbl_kor_a.TabIndex = 0;
this.lbl_kor_a.Text = "0";
this.lbl_kor_a.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// lbl_kor_t
//
this.lbl_kor_t.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.lbl_kor_t.AutoSize = true;
this.lbl_kor_t.BackColor = System.Drawing.Color.BlanchedAlmond;
this.lbl_kor_t.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.lbl_kor_t.Location = new System.Drawing.Point(660, 41);
this.lbl_kor_t.Name = "lbl_kor_t";
this.lbl_kor_t.Size = new System.Drawing.Size(211, 35);
this.lbl_kor_t.TabIndex = 0;
this.lbl_kor_t.Text = "0";
this.lbl_kor_t.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// lbl_log_s
//
this.lbl_log_s.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.lbl_log_s.AutoSize = true;
this.lbl_log_s.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.lbl_log_s.Location = new System.Drawing.Point(224, 79);
this.lbl_log_s.Name = "lbl_log_s";
this.lbl_log_s.Size = new System.Drawing.Size(209, 35);
this.lbl_log_s.TabIndex = 0;
this.lbl_log_s.Text = "0";
this.lbl_log_s.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// lbl_log_a
//
this.lbl_log_a.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.lbl_log_a.AutoSize = true;
this.lbl_log_a.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.lbl_log_a.Location = new System.Drawing.Point(442, 79);
this.lbl_log_a.Name = "lbl_log_a";
this.lbl_log_a.Size = new System.Drawing.Size(209, 35);
this.lbl_log_a.TabIndex = 0;
this.lbl_log_a.Text = "0";
this.lbl_log_a.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// lbl_log_t
//
this.lbl_log_t.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.lbl_log_t.AutoSize = true;
this.lbl_log_t.BackColor = System.Drawing.Color.BlanchedAlmond;
this.lbl_log_t.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.lbl_log_t.Location = new System.Drawing.Point(660, 79);
this.lbl_log_t.Name = "lbl_log_t";
this.lbl_log_t.Size = new System.Drawing.Size(211, 35);
this.lbl_log_t.TabIndex = 0;
this.lbl_log_t.Text = "0";
this.lbl_log_t.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// lbl_s_total
//
this.lbl_s_total.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.lbl_s_total.AutoSize = true;
this.lbl_s_total.BackColor = System.Drawing.SystemColors.GradientInactiveCaption;
this.lbl_s_total.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.lbl_s_total.Location = new System.Drawing.Point(224, 117);
this.lbl_s_total.Name = "lbl_s_total";
this.lbl_s_total.Size = new System.Drawing.Size(209, 36);
this.lbl_s_total.TabIndex = 0;
this.lbl_s_total.Text = "0";
this.lbl_s_total.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// lbl_a_total
//
this.lbl_a_total.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.lbl_a_total.AutoSize = true;
this.lbl_a_total.BackColor = System.Drawing.SystemColors.GradientInactiveCaption;
this.lbl_a_total.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.lbl_a_total.Location = new System.Drawing.Point(442, 117);
this.lbl_a_total.Name = "lbl_a_total";
this.lbl_a_total.Size = new System.Drawing.Size(209, 36);
this.lbl_a_total.TabIndex = 0;
this.lbl_a_total.Text = "0";
this.lbl_a_total.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// dateTimePicker1
//
this.dateTimePicker1.Location = new System.Drawing.Point(506, 5);
this.dateTimePicker1.Name = "dateTimePicker1";
this.dateTimePicker1.Size = new System.Drawing.Size(200, 21);
this.dateTimePicker1.TabIndex = 0;
//
// Mac_Stat_Stat
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(913, 240);
this.Controls.Add(this.tabControl1);
this.Name = "Mac_Stat_Stat";
this.Text = "마크 통계";
this.Load += new System.EventHandler(this.Mac_Stat_Stat_Load);
this.tabControl1.ResumeLayout(false);
this.tabPage1.ResumeLayout(false);
this.tableLayoutPanel1.ResumeLayout(false);
this.tableLayoutPanel1.PerformLayout();
this.tabPage2.ResumeLayout(false);
this.tableLayoutPanel2.ResumeLayout(false);
this.tableLayoutPanel2.PerformLayout();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.TabControl tabControl1;
private System.Windows.Forms.TabPage tabPage1;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.Label label10;
private System.Windows.Forms.Label label11;
private System.Windows.Forms.Label lbl_total;
private System.Windows.Forms.Label lbl_9;
private System.Windows.Forms.Label lbl_8;
private System.Windows.Forms.Label lbl_7;
private System.Windows.Forms.Label lbl_6;
private System.Windows.Forms.Label lbl_5;
private System.Windows.Forms.Label lbl_4;
private System.Windows.Forms.Label lbl_3;
private System.Windows.Forms.Label lbl_2;
private System.Windows.Forms.Label lbl_1;
private System.Windows.Forms.Label lbl_0;
private System.Windows.Forms.Button button4;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.TabPage tabPage2;
private System.Windows.Forms.Button button3;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
private System.Windows.Forms.Label label13;
private System.Windows.Forms.Label label14;
private System.Windows.Forms.Label label15;
private System.Windows.Forms.Label label16;
private System.Windows.Forms.Label label17;
private System.Windows.Forms.Label label18;
private System.Windows.Forms.Label lbl_kor_s;
private System.Windows.Forms.Label lbl_kor_a;
private System.Windows.Forms.Label lbl_kor_t;
private System.Windows.Forms.Label lbl_log_s;
private System.Windows.Forms.Label lbl_log_a;
private System.Windows.Forms.Label lbl_log_t;
private System.Windows.Forms.Label lbl_s_total;
private System.Windows.Forms.Label lbl_a_total;
private System.Windows.Forms.DateTimePicker dateTimePicker1;
}
}

View File

@@ -0,0 +1,119 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Windows.Forms;
using WindowsFormsApp1;
using WindowsFormsApp1.Mac;
namespace UniMarc.
{
public partial class Mac_Stat_Stat : Form
{
Mac_Stat stat;
Helper_DB db = new Helper_DB();
public string compidx;
public Mac_Stat_Stat(Mac_Stat _stat)
{
InitializeComponent();
stat = _stat;
}
private void Mac_Stat_Stat_Load(object sender, EventArgs e)
{
db.DBcon();
}
private void button1_Click(object sender, EventArgs e)
{
Label[] label = {
lbl_0, lbl_1, lbl_2, lbl_3, lbl_4,
lbl_5, lbl_6, lbl_7, lbl_8, lbl_9
};
for (int a = 0; a < label.Length; a++)
{
string m_cmd = string.Format("SELECT COUNT(*) from `Marc` WHERE LEFT(`division`,1) = '{0}' AND `compidx` = {1};",
a, compidx);
string cmd = db.self_Made_Cmd(m_cmd);
cmd = cmd.Replace("|", "");
label[a].Text = cmd;
lbl_total.Text = tab1_total(cmd);
}
}
#region button1_Click_Sub
string tab1_total(string text)
{
int lbl = Convert.ToInt32(lbl_total.Text);
text = Regex.Replace(text, @"[^0-9_]", "", RegexOptions.Singleline);
int target = Convert.ToInt32(text);
int res = lbl + target;
return res.ToString();
}
#endregion
private void button2_Click(object sender, EventArgs e)
{
string date = dateTimePicker1.Value.ToString("yyyy-MM-dd");
string kor = "MID(`008tag`, 36, 3) = 'kor'";
string nkor = "MID(`008tag`, 36, 3) != 'kor'";
// 국내도서 누적소장
string cmd = string.Format(
"SELECT COUNT(*) from `Marc` WHERE `compidx` = {0} AND '{1} 00:00:00' > `date` AND {2};", compidx, date, kor);
lbl_kor_s.Text = db.self_Made_Cmd(cmd).Replace("|", "");
// 외국도서 누적소장
cmd = string.Format(
"SELECT COUNT(*) from `Marc` WHERE `compidx` = {0} AND '{1} 00:00:00' > `date` AND {2};", compidx, date, nkor);
lbl_log_s.Text = db.self_Made_Cmd(cmd).Replace("|", "");
// 국내도서 소장추가
cmd = string.Format(
"SELECT COUNT(*) from `Marc` WHERE `compidx` = {0} AND '{1} 23:59:59' > `date` AND `date` > '{1} 00:00:00' AND {2};",
compidx, date, kor);
lbl_kor_a.Text = db.self_Made_Cmd(cmd).Replace("|", "");
// 국내도서 소장추가
cmd = string.Format(
"SELECT COUNT(*) from `Marc` WHERE `compidx` = {0} AND '{0} 23:59:59' > `date` AND `date` > '{1} 00:00:00' AND {2};",
compidx, date, nkor);
lbl_log_a.Text = db.self_Made_Cmd(cmd).Replace("|", "");
Label[] k_lbl = { lbl_kor_s, lbl_kor_a, lbl_kor_t }; // 국내서 라벨
Label[] l_lbl = { lbl_log_s, lbl_log_a, lbl_log_t }; // 서양서 라벨
Label[] s_lbl = { lbl_kor_s, lbl_log_s, lbl_s_total }; // 소장 라벨
Label[] a_lbl = { lbl_kor_a, lbl_log_a, lbl_a_total }; // 추가 라벨
tab2_total1(k_lbl);
tab2_total1(l_lbl);
tab2_total1(s_lbl);
tab2_total1(a_lbl);
}
#region button2_Click_Sub
void tab2_total1(Label[] lbl)
{
string str_stock = Regex.Replace(lbl[0].Text, @"[^0-9_]", "", RegexOptions.Singleline);
int stock = Convert.ToInt32(str_stock);
string str_add = Regex.Replace(lbl[1].Text, @"[^0-9_]", "", RegexOptions.Singleline);
int add = Convert.ToInt32(str_add);
int res = stock + add;
lbl[2].Text = res.ToString();
}
#endregion
private void button3_Click(object sender, EventArgs e)
{
this.Close();
}
}
}

View File

@@ -0,0 +1,120 @@
<?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>
</root>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -117,84 +117,6 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="Column4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column10.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column5.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column6.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column9.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column7.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column8.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column11.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column12.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="text440a.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="text440n.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="text440p.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="text440v.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column13.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="text440x.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="text490a.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="text490v.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="text505n.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="text505t.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="text505d.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="text505e.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="list_idx.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>