Compare commits
5 Commits
6574a84c24
...
chi202506
| Author | SHA1 | Date | |
|---|---|---|---|
| eee6aeb514 | |||
| 23cf444cba | |||
| aa5f33eedb | |||
| d5aa0fe59d | |||
| 66e4392d7c |
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
||||
// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호를
|
||||
// 기본값으로 할 수 있습니다.
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("2026.01.09.2120")]
|
||||
[assembly: AssemblyFileVersion("2026.01.09.2120")]
|
||||
[assembly: AssemblyVersion("2026.01.21.2318")]
|
||||
[assembly: AssemblyFileVersion("2026.01.21.2318")]
|
||||
|
||||
@@ -352,6 +352,7 @@
|
||||
<Compile Include="마크\Help_008.Designer.cs">
|
||||
<DependentUpon>Help_008.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="마크\MacEditorParameter.cs" />
|
||||
<Compile Include="마크\Mac_List_Add.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
@@ -511,6 +512,12 @@
|
||||
<Compile Include="마크\Marc_Plan_PrintLabel.Designer.cs">
|
||||
<DependentUpon>Marc_Plan_PrintLabel.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="마크\Marc_Plan_Sub_MarcEdit2.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="마크\Marc_Plan_Sub_MarcEdit2.Designer.cs">
|
||||
<DependentUpon>Marc_Plan_Sub_MarcEdit2.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="마크\Marc_Plan_Sub_MarcEdit.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
@@ -1139,6 +1146,9 @@
|
||||
<EmbeddedResource Include="마크\Marc_Plan_PrintLabel.resx">
|
||||
<DependentUpon>Marc_Plan_PrintLabel.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="마크\Marc_Plan_Sub_MarcEdit2.resx">
|
||||
<DependentUpon>Marc_Plan_Sub_MarcEdit2.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="마크\Marc_Plan_Sub_MarcEdit.resx">
|
||||
<DependentUpon>Marc_Plan_Sub_MarcEdit.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
<ErrorReportUrlHistory />
|
||||
<FallbackCulture>ko-KR</FallbackCulture>
|
||||
<VerifyUploadedFiles>false</VerifyUploadedFiles>
|
||||
<ProjectView>ShowAllFiles</ProjectView>
|
||||
<ProjectView>ProjectFiles</ProjectView>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<EnableSecurityDebugging>false</EnableSecurityDebugging>
|
||||
|
||||
25
unimarc/unimarc/마크/MacEditorParameter.cs
Normal file
25
unimarc/unimarc/마크/MacEditorParameter.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
//using Microsoft.Office.Interop.Excel;
|
||||
namespace ExcelTest
|
||||
{
|
||||
|
||||
public class MacEditorParameter
|
||||
{
|
||||
public string ISBN13 { get; set; }
|
||||
public string URL { get; set; }
|
||||
public string MarcIdx { get; set; }
|
||||
public string Grade { get; set; }
|
||||
public string User { get; set; }
|
||||
public string SaveDate { get; set; }
|
||||
public string ListIdx { get; set; }
|
||||
|
||||
public string BookName { get; set; }
|
||||
public string Author { get; set; }
|
||||
public string Publisher { get; set; }
|
||||
public string Price { get; set; }
|
||||
|
||||
public string Remark1 { get; set; }
|
||||
public string Remark2 { get; set; }
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
136
unimarc/unimarc/마크/Mac_List.Designer.cs
generated
136
unimarc/unimarc/마크/Mac_List.Designer.cs
generated
@@ -82,9 +82,9 @@
|
||||
// label1
|
||||
//
|
||||
this.label1.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.label1.Location = new System.Drawing.Point(0, 6);
|
||||
this.label1.Location = new System.Drawing.Point(0, 5);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(72, 34);
|
||||
this.label1.Size = new System.Drawing.Size(63, 27);
|
||||
this.label1.TabIndex = 5;
|
||||
this.label1.Text = "목록 검색";
|
||||
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
@@ -93,10 +93,9 @@
|
||||
//
|
||||
this.tb_Search.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.tb_Search.Font = new System.Drawing.Font("맑은 고딕", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.tb_Search.Location = new System.Drawing.Point(72, 6);
|
||||
this.tb_Search.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
this.tb_Search.Location = new System.Drawing.Point(63, 5);
|
||||
this.tb_Search.Name = "tb_Search";
|
||||
this.tb_Search.Size = new System.Drawing.Size(307, 25);
|
||||
this.tb_Search.Size = new System.Drawing.Size(269, 25);
|
||||
this.tb_Search.TabIndex = 6;
|
||||
this.tb_Search.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_Search_KeyDown);
|
||||
//
|
||||
@@ -141,13 +140,12 @@
|
||||
this.dataGridView1.DefaultCellStyle = dataGridViewCellStyle2;
|
||||
this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.dataGridView1.Location = new System.Drawing.Point(0, 0);
|
||||
this.dataGridView1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
this.dataGridView1.MultiSelect = false;
|
||||
this.dataGridView1.Name = "dataGridView1";
|
||||
this.dataGridView1.RowHeadersWidth = 40;
|
||||
this.dataGridView1.RowTemplate.Height = 23;
|
||||
this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
||||
this.dataGridView1.Size = new System.Drawing.Size(1872, 780);
|
||||
this.dataGridView1.Size = new System.Drawing.Size(1638, 624);
|
||||
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);
|
||||
@@ -261,18 +259,17 @@
|
||||
this.cb_state.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cb_state.Font = new System.Drawing.Font("맑은 고딕", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.cb_state.FormattingEnabled = true;
|
||||
this.cb_state.Location = new System.Drawing.Point(416, 6);
|
||||
this.cb_state.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
this.cb_state.Location = new System.Drawing.Point(364, 5);
|
||||
this.cb_state.Name = "cb_state";
|
||||
this.cb_state.Size = new System.Drawing.Size(114, 25);
|
||||
this.cb_state.Size = new System.Drawing.Size(100, 25);
|
||||
this.cb_state.TabIndex = 49;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.label2.Location = new System.Drawing.Point(379, 6);
|
||||
this.label2.Location = new System.Drawing.Point(332, 5);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(37, 34);
|
||||
this.label2.Size = new System.Drawing.Size(32, 27);
|
||||
this.label2.TabIndex = 5;
|
||||
this.label2.Text = "상태";
|
||||
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
@@ -280,10 +277,10 @@
|
||||
// btn_Lookup
|
||||
//
|
||||
this.btn_Lookup.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.btn_Lookup.Location = new System.Drawing.Point(654, 6);
|
||||
this.btn_Lookup.Location = new System.Drawing.Point(586, 5);
|
||||
this.btn_Lookup.Margin = new System.Windows.Forms.Padding(1);
|
||||
this.btn_Lookup.Name = "btn_Lookup";
|
||||
this.btn_Lookup.Size = new System.Drawing.Size(70, 34);
|
||||
this.btn_Lookup.Size = new System.Drawing.Size(61, 27);
|
||||
this.btn_Lookup.TabIndex = 50;
|
||||
this.btn_Lookup.Text = "조 회";
|
||||
this.btn_Lookup.UseVisualStyleBackColor = true;
|
||||
@@ -292,10 +289,10 @@
|
||||
// btn_Excel
|
||||
//
|
||||
this.btn_Excel.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.btn_Excel.Location = new System.Drawing.Point(1693, 6);
|
||||
this.btn_Excel.Location = new System.Drawing.Point(1482, 5);
|
||||
this.btn_Excel.Margin = new System.Windows.Forms.Padding(1);
|
||||
this.btn_Excel.Name = "btn_Excel";
|
||||
this.btn_Excel.Size = new System.Drawing.Size(85, 34);
|
||||
this.btn_Excel.Size = new System.Drawing.Size(74, 27);
|
||||
this.btn_Excel.TabIndex = 50;
|
||||
this.btn_Excel.Text = "엑셀반출";
|
||||
this.btn_Excel.UseVisualStyleBackColor = true;
|
||||
@@ -304,10 +301,10 @@
|
||||
// btn_Close
|
||||
//
|
||||
this.btn_Close.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.btn_Close.Location = new System.Drawing.Point(1787, 6);
|
||||
this.btn_Close.Location = new System.Drawing.Point(1564, 5);
|
||||
this.btn_Close.Margin = new System.Windows.Forms.Padding(1);
|
||||
this.btn_Close.Name = "btn_Close";
|
||||
this.btn_Close.Size = new System.Drawing.Size(85, 34);
|
||||
this.btn_Close.Size = new System.Drawing.Size(74, 27);
|
||||
this.btn_Close.TabIndex = 50;
|
||||
this.btn_Close.Text = "닫 기";
|
||||
this.btn_Close.UseVisualStyleBackColor = true;
|
||||
@@ -316,10 +313,10 @@
|
||||
// btn_Save
|
||||
//
|
||||
this.btn_Save.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.btn_Save.Location = new System.Drawing.Point(1574, 6);
|
||||
this.btn_Save.Location = new System.Drawing.Point(1378, 5);
|
||||
this.btn_Save.Margin = new System.Windows.Forms.Padding(1);
|
||||
this.btn_Save.Name = "btn_Save";
|
||||
this.btn_Save.Size = new System.Drawing.Size(110, 34);
|
||||
this.btn_Save.Size = new System.Drawing.Size(96, 27);
|
||||
this.btn_Save.TabIndex = 50;
|
||||
this.btn_Save.Text = "체크사항저장";
|
||||
this.btn_Save.UseVisualStyleBackColor = true;
|
||||
@@ -328,10 +325,10 @@
|
||||
// btn_Merge
|
||||
//
|
||||
this.btn_Merge.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.btn_Merge.Location = new System.Drawing.Point(1198, 6);
|
||||
this.btn_Merge.Location = new System.Drawing.Point(1050, 5);
|
||||
this.btn_Merge.Margin = new System.Windows.Forms.Padding(1);
|
||||
this.btn_Merge.Name = "btn_Merge";
|
||||
this.btn_Merge.Size = new System.Drawing.Size(85, 34);
|
||||
this.btn_Merge.Size = new System.Drawing.Size(74, 27);
|
||||
this.btn_Merge.TabIndex = 51;
|
||||
this.btn_Merge.Text = "목록병합";
|
||||
this.btn_Merge.UseVisualStyleBackColor = true;
|
||||
@@ -340,10 +337,10 @@
|
||||
// btn_Progress
|
||||
//
|
||||
this.btn_Progress.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.btn_Progress.Location = new System.Drawing.Point(1292, 6);
|
||||
this.btn_Progress.Location = new System.Drawing.Point(1132, 5);
|
||||
this.btn_Progress.Margin = new System.Windows.Forms.Padding(1);
|
||||
this.btn_Progress.Name = "btn_Progress";
|
||||
this.btn_Progress.Size = new System.Drawing.Size(85, 34);
|
||||
this.btn_Progress.Size = new System.Drawing.Size(74, 27);
|
||||
this.btn_Progress.TabIndex = 51;
|
||||
this.btn_Progress.Text = "진행처리";
|
||||
this.btn_Progress.UseVisualStyleBackColor = true;
|
||||
@@ -352,10 +349,10 @@
|
||||
// btn_Completion
|
||||
//
|
||||
this.btn_Completion.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.btn_Completion.Location = new System.Drawing.Point(1386, 6);
|
||||
this.btn_Completion.Location = new System.Drawing.Point(1214, 5);
|
||||
this.btn_Completion.Margin = new System.Windows.Forms.Padding(1);
|
||||
this.btn_Completion.Name = "btn_Completion";
|
||||
this.btn_Completion.Size = new System.Drawing.Size(85, 34);
|
||||
this.btn_Completion.Size = new System.Drawing.Size(74, 27);
|
||||
this.btn_Completion.TabIndex = 51;
|
||||
this.btn_Completion.Text = "완료처리";
|
||||
this.btn_Completion.UseVisualStyleBackColor = true;
|
||||
@@ -364,10 +361,10 @@
|
||||
// btn_Delete
|
||||
//
|
||||
this.btn_Delete.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.btn_Delete.Location = new System.Drawing.Point(1480, 6);
|
||||
this.btn_Delete.Location = new System.Drawing.Point(1296, 5);
|
||||
this.btn_Delete.Margin = new System.Windows.Forms.Padding(1);
|
||||
this.btn_Delete.Name = "btn_Delete";
|
||||
this.btn_Delete.Size = new System.Drawing.Size(85, 34);
|
||||
this.btn_Delete.Size = new System.Drawing.Size(74, 27);
|
||||
this.btn_Delete.TabIndex = 51;
|
||||
this.btn_Delete.Text = "목록삭제";
|
||||
this.btn_Delete.UseVisualStyleBackColor = true;
|
||||
@@ -376,10 +373,10 @@
|
||||
// btn_AddList
|
||||
//
|
||||
this.btn_AddList.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.btn_AddList.Location = new System.Drawing.Point(1104, 6);
|
||||
this.btn_AddList.Location = new System.Drawing.Point(968, 5);
|
||||
this.btn_AddList.Margin = new System.Windows.Forms.Padding(1);
|
||||
this.btn_AddList.Name = "btn_AddList";
|
||||
this.btn_AddList.Size = new System.Drawing.Size(85, 34);
|
||||
this.btn_AddList.Size = new System.Drawing.Size(74, 27);
|
||||
this.btn_AddList.TabIndex = 50;
|
||||
this.btn_AddList.Text = "목록생성";
|
||||
this.btn_AddList.UseVisualStyleBackColor = true;
|
||||
@@ -415,18 +412,18 @@
|
||||
this.panel1.Controls.Add(this.btn_Close);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel1.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Padding = new System.Windows.Forms.Padding(0, 6, 0, 3);
|
||||
this.panel1.Size = new System.Drawing.Size(1872, 43);
|
||||
this.panel1.Padding = new System.Windows.Forms.Padding(0, 5, 0, 2);
|
||||
this.panel1.Size = new System.Drawing.Size(1638, 34);
|
||||
this.panel1.TabIndex = 52;
|
||||
//
|
||||
// panel12
|
||||
//
|
||||
this.panel12.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.panel12.Location = new System.Drawing.Point(645, 6);
|
||||
this.panel12.Location = new System.Drawing.Point(578, 5);
|
||||
this.panel12.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.panel12.Name = "panel12";
|
||||
this.panel12.Size = new System.Drawing.Size(9, 34);
|
||||
this.panel12.Size = new System.Drawing.Size(8, 27);
|
||||
this.panel12.TabIndex = 62;
|
||||
//
|
||||
// chkEditorTest
|
||||
@@ -436,10 +433,9 @@
|
||||
this.chkEditorTest.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.chkEditorTest.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.chkEditorTest.ForeColor = System.Drawing.Color.Blue;
|
||||
this.chkEditorTest.Location = new System.Drawing.Point(539, 6);
|
||||
this.chkEditorTest.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
this.chkEditorTest.Location = new System.Drawing.Point(472, 5);
|
||||
this.chkEditorTest.Name = "chkEditorTest";
|
||||
this.chkEditorTest.Size = new System.Drawing.Size(106, 34);
|
||||
this.chkEditorTest.Size = new System.Drawing.Size(106, 27);
|
||||
this.chkEditorTest.TabIndex = 52;
|
||||
this.chkEditorTest.Text = "Editor (OLD)";
|
||||
this.chkEditorTest.UseVisualStyleBackColor = false;
|
||||
@@ -447,26 +443,28 @@
|
||||
// panel13
|
||||
//
|
||||
this.panel13.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.panel13.Location = new System.Drawing.Point(530, 6);
|
||||
this.panel13.Location = new System.Drawing.Point(464, 5);
|
||||
this.panel13.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.panel13.Name = "panel13";
|
||||
this.panel13.Size = new System.Drawing.Size(9, 34);
|
||||
this.panel13.Size = new System.Drawing.Size(8, 27);
|
||||
this.panel13.TabIndex = 63;
|
||||
//
|
||||
// panel11
|
||||
//
|
||||
this.panel11.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.panel11.Location = new System.Drawing.Point(1001, 6);
|
||||
this.panel11.Location = new System.Drawing.Point(878, 5);
|
||||
this.panel11.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.panel11.Name = "panel11";
|
||||
this.panel11.Size = new System.Drawing.Size(9, 34);
|
||||
this.panel11.Size = new System.Drawing.Size(8, 27);
|
||||
this.panel11.TabIndex = 61;
|
||||
//
|
||||
// btnSearchISBN
|
||||
//
|
||||
this.btnSearchISBN.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.btnSearchISBN.Location = new System.Drawing.Point(1010, 6);
|
||||
this.btnSearchISBN.Location = new System.Drawing.Point(886, 5);
|
||||
this.btnSearchISBN.Margin = new System.Windows.Forms.Padding(1);
|
||||
this.btnSearchISBN.Name = "btnSearchISBN";
|
||||
this.btnSearchISBN.Size = new System.Drawing.Size(85, 34);
|
||||
this.btnSearchISBN.Size = new System.Drawing.Size(74, 27);
|
||||
this.btnSearchISBN.TabIndex = 50;
|
||||
this.btnSearchISBN.Text = "ISBN조회";
|
||||
this.btnSearchISBN.UseVisualStyleBackColor = true;
|
||||
@@ -475,85 +473,91 @@
|
||||
// panel10
|
||||
//
|
||||
this.panel10.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.panel10.Location = new System.Drawing.Point(1095, 6);
|
||||
this.panel10.Location = new System.Drawing.Point(960, 5);
|
||||
this.panel10.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.panel10.Name = "panel10";
|
||||
this.panel10.Size = new System.Drawing.Size(9, 34);
|
||||
this.panel10.Size = new System.Drawing.Size(8, 27);
|
||||
this.panel10.TabIndex = 60;
|
||||
//
|
||||
// panel9
|
||||
//
|
||||
this.panel9.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.panel9.Location = new System.Drawing.Point(1189, 6);
|
||||
this.panel9.Location = new System.Drawing.Point(1042, 5);
|
||||
this.panel9.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.panel9.Name = "panel9";
|
||||
this.panel9.Size = new System.Drawing.Size(9, 34);
|
||||
this.panel9.Size = new System.Drawing.Size(8, 27);
|
||||
this.panel9.TabIndex = 59;
|
||||
//
|
||||
// panel8
|
||||
//
|
||||
this.panel8.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.panel8.Location = new System.Drawing.Point(1283, 6);
|
||||
this.panel8.Location = new System.Drawing.Point(1124, 5);
|
||||
this.panel8.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.panel8.Name = "panel8";
|
||||
this.panel8.Size = new System.Drawing.Size(9, 34);
|
||||
this.panel8.Size = new System.Drawing.Size(8, 27);
|
||||
this.panel8.TabIndex = 58;
|
||||
//
|
||||
// panel7
|
||||
//
|
||||
this.panel7.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.panel7.Location = new System.Drawing.Point(1377, 6);
|
||||
this.panel7.Location = new System.Drawing.Point(1206, 5);
|
||||
this.panel7.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.panel7.Name = "panel7";
|
||||
this.panel7.Size = new System.Drawing.Size(9, 34);
|
||||
this.panel7.Size = new System.Drawing.Size(8, 27);
|
||||
this.panel7.TabIndex = 57;
|
||||
//
|
||||
// panel6
|
||||
//
|
||||
this.panel6.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.panel6.Location = new System.Drawing.Point(1471, 6);
|
||||
this.panel6.Location = new System.Drawing.Point(1288, 5);
|
||||
this.panel6.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.panel6.Name = "panel6";
|
||||
this.panel6.Size = new System.Drawing.Size(9, 34);
|
||||
this.panel6.Size = new System.Drawing.Size(8, 27);
|
||||
this.panel6.TabIndex = 56;
|
||||
//
|
||||
// panel5
|
||||
//
|
||||
this.panel5.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.panel5.Location = new System.Drawing.Point(1565, 6);
|
||||
this.panel5.Location = new System.Drawing.Point(1370, 5);
|
||||
this.panel5.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.panel5.Name = "panel5";
|
||||
this.panel5.Size = new System.Drawing.Size(9, 34);
|
||||
this.panel5.Size = new System.Drawing.Size(8, 27);
|
||||
this.panel5.TabIndex = 55;
|
||||
//
|
||||
// panel4
|
||||
//
|
||||
this.panel4.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.panel4.Location = new System.Drawing.Point(1684, 6);
|
||||
this.panel4.Location = new System.Drawing.Point(1474, 5);
|
||||
this.panel4.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.panel4.Name = "panel4";
|
||||
this.panel4.Size = new System.Drawing.Size(9, 34);
|
||||
this.panel4.Size = new System.Drawing.Size(8, 27);
|
||||
this.panel4.TabIndex = 54;
|
||||
//
|
||||
// panel3
|
||||
//
|
||||
this.panel3.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.panel3.Location = new System.Drawing.Point(1778, 6);
|
||||
this.panel3.Location = new System.Drawing.Point(1556, 5);
|
||||
this.panel3.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.panel3.Name = "panel3";
|
||||
this.panel3.Size = new System.Drawing.Size(9, 34);
|
||||
this.panel3.Size = new System.Drawing.Size(8, 27);
|
||||
this.panel3.TabIndex = 53;
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.Controls.Add(this.dataGridView1);
|
||||
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel2.Location = new System.Drawing.Point(0, 43);
|
||||
this.panel2.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
this.panel2.Location = new System.Drawing.Point(0, 34);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(1872, 780);
|
||||
this.panel2.Size = new System.Drawing.Size(1638, 624);
|
||||
this.panel2.TabIndex = 53;
|
||||
//
|
||||
// Mac_List
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1872, 823);
|
||||
this.ClientSize = new System.Drawing.Size(1638, 658);
|
||||
this.Controls.Add(this.panel2);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
this.Name = "Mac_List";
|
||||
this.ShowIcon = false;
|
||||
this.Text = "마크목록";
|
||||
|
||||
@@ -435,11 +435,11 @@ namespace ExcelTest
|
||||
MessageBox.Show("[칸채우기]가 아닌 [마크 편집] 탭에서 저장해주세요!");
|
||||
return;
|
||||
}
|
||||
if (grade == 3)
|
||||
{
|
||||
MessageBox.Show("등급을 설정해주세요. (C 이상)");
|
||||
return;
|
||||
}
|
||||
//if (grade == 3)
|
||||
//{
|
||||
// MessageBox.Show("등급을 설정해주세요. (C 이상)");
|
||||
// return;
|
||||
//}
|
||||
string table_name = "Marc";
|
||||
string BaseText = richTextBox1.Text;
|
||||
string lblisbn = lbl_ISBN.Text.Replace("[", "").Replace("]", "");
|
||||
@@ -455,9 +455,11 @@ namespace ExcelTest
|
||||
|
||||
if (BaseText.IndexOf(lblisbn) < 0)
|
||||
{
|
||||
MessageBox.Show("ISBN 상태를 확인해주세요.");
|
||||
UTIL.MsgE("저장된 ISBN이 마크데이터에 없습니다.\nISBN값이 변경되었습니다");
|
||||
//if (dlg != DialogResult.Yes) return;
|
||||
return;
|
||||
}
|
||||
|
||||
string tag056 = Tag056();
|
||||
string[] grid_data = {
|
||||
List_Book.Rows[SaveRowIdx].Cells["ISBN13"].Value.ToString(),
|
||||
@@ -469,6 +471,7 @@ namespace ExcelTest
|
||||
string date = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
|
||||
string orimarc = st.made_Ori_marc(richTextBox1).Replace(@"\", "₩");
|
||||
string Midx = List_Book.Rows[SaveRowIdx].Cells["marc_idx"].Value.ToString();
|
||||
|
||||
// 필수태그 확인
|
||||
if (!isMustTag(orimarc))
|
||||
{
|
||||
@@ -485,24 +488,11 @@ namespace ExcelTest
|
||||
// 마지막 수정일로부터 2일이 지났는지, 마지막 저장자가 사용자인지 확인
|
||||
TimeSpan sp = spspsp(SaveDate, date);
|
||||
IsCoverDate = IsCoverData(sp.Days, SaveUser);
|
||||
|
||||
// if (IsCoverDate) {
|
||||
// etc2.Text = etc2.Text.Replace(SaveDate, date);
|
||||
// }
|
||||
// else {
|
||||
// etc2.Text += string.Format("{0}\t{1}\n", date, mUserName);
|
||||
// }
|
||||
}
|
||||
//else
|
||||
//{
|
||||
// etc2.Text += string.Format("{0}\t{1}\n", date, mUserName);
|
||||
//}
|
||||
|
||||
// true일 경우 INSERT, false일 경우 UPDATE
|
||||
bool isNewData = true;
|
||||
bool isNewData = Midx != "" ? false : true;
|
||||
|
||||
if (Midx != "")
|
||||
isNewData = false;
|
||||
|
||||
if (List_Book.Rows[SaveRowIdx].DefaultCellStyle.ForeColor == Color.Orange ||
|
||||
List_Book.Rows[SaveRowIdx].DefaultCellStyle.ForeColor == Color.Red)
|
||||
@@ -540,36 +530,7 @@ namespace ExcelTest
|
||||
MessageBox.Show("ISBN 데이터가 없습니다.");
|
||||
return;
|
||||
}
|
||||
//if (grid_data[0] != null && grid_data[0] != "")
|
||||
//{
|
||||
// int marcChk = Sub_marc_chk(grid_data[0]);
|
||||
// if (IsCoverDate)
|
||||
// marcChk--;
|
||||
|
||||
// switch (marcChk)
|
||||
// {
|
||||
// case 0:
|
||||
// Edit_tbl[1] = "marc1";
|
||||
// Edit_tbl[2] = "marc_chk1";
|
||||
// Edit_tbl[3] = "marc_chk";
|
||||
// break;
|
||||
// case 1:
|
||||
// Edit_tbl[1] = "marc2";
|
||||
// Edit_tbl[2] = "marc_chk2";
|
||||
// Edit_tbl[3] = "marc_chk1";
|
||||
// break;
|
||||
// case 2:
|
||||
// Edit_tbl[1] = "marc";
|
||||
// Edit_tbl[2] = "marc_chk";
|
||||
// Edit_tbl[3] = "marc_chk2";
|
||||
// break;
|
||||
// default:
|
||||
// Edit_tbl[1] = "marc";
|
||||
// Edit_tbl[2] = "marc_chk";
|
||||
// Edit_tbl[3] = "marc_chk2";
|
||||
// break;
|
||||
// }
|
||||
//}
|
||||
string U_cmd = db.More_Update(table_name, Edit_tbl, Edit_col, Sear_tbl, Sear_col);
|
||||
PUB.log.Add("Update", string.Format("{0}({1},{2}) : {3}", mUserName, mCompidx, List_Book.Rows[SaveRowIdx].DefaultCellStyle.ForeColor, U_cmd.Replace("\r", " ").Replace("\n", " ")));
|
||||
db.DB_Send_CMD_reVoid(U_cmd);
|
||||
@@ -960,8 +921,8 @@ namespace ExcelTest
|
||||
data_book[0] = List_Book.Rows[row].Cells["ISBN13"].Value.ToString();
|
||||
data_book[1] = List_Book.Rows[row].Cells["book_name"].Value.ToString();
|
||||
data_book[2] = List_Book.Rows[row].Cells["author"].Value.ToString();
|
||||
data_book[3] = List_Book.Rows[row].Cells["book_comp"].Value.ToString();
|
||||
data_book[4] = List_Book.Rows[row].Cells["pay"].Value.ToString();
|
||||
data_book[3] = List_Book.Rows[row].Cells["book_comp"].Value.ToString(); //publichser
|
||||
data_book[4] = List_Book.Rows[row].Cells["pay"].Value.ToString(); //price
|
||||
}
|
||||
void input_picture(int row)
|
||||
{
|
||||
@@ -1268,47 +1229,48 @@ namespace ExcelTest
|
||||
|
||||
private void checkBox1_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
string name = ((CheckBox)sender).Name;
|
||||
if (((CheckBox)sender).Checked == true)
|
||||
var chk = sender as CheckBox;
|
||||
string name = chk.Name;
|
||||
if (chk.Checked == true)
|
||||
{
|
||||
switch (name)
|
||||
{
|
||||
case "checkBox1":
|
||||
((CheckBox)sender).InvokeText("회의간행물o");
|
||||
chk.InvokeText("회의간행물o");
|
||||
break;
|
||||
case "checkBox2":
|
||||
((CheckBox)sender).InvokeText("기념논문집o");
|
||||
chk.InvokeText("기념논문집o");
|
||||
break;
|
||||
case "checkBox4":
|
||||
((CheckBox)sender).InvokeText("색인o");
|
||||
chk.InvokeText("색인o");
|
||||
break;
|
||||
}
|
||||
}
|
||||
else if (((CheckBox)sender).Checked == false)
|
||||
else if (chk.Checked == false)
|
||||
{
|
||||
switch (name)
|
||||
{
|
||||
case "checkBox1":
|
||||
((CheckBox)sender).InvokeText("회의간행물x");
|
||||
chk.InvokeText("회의간행물x");
|
||||
break;
|
||||
case "checkBox2":
|
||||
((CheckBox)sender).InvokeText("기념논문집x");
|
||||
chk.InvokeText("기념논문집x");
|
||||
break;
|
||||
case "checkBox4":
|
||||
((CheckBox)sender).InvokeText("색인x");
|
||||
chk.InvokeText("색인x");
|
||||
break;
|
||||
}
|
||||
}
|
||||
switch (name)
|
||||
{
|
||||
case "checkBox1":
|
||||
Publication(checkBox1.Checked, 29);
|
||||
case "checkBox1": //회의간행물
|
||||
Publication(chk.Checked, 29);
|
||||
break;
|
||||
case "checkBox2":
|
||||
Publication(checkBox2.Checked, 30);
|
||||
case "checkBox2": //기념논문집
|
||||
Publication(chk.Checked, 30);
|
||||
break;
|
||||
case "checkBox4":
|
||||
Publication(checkBox4.Checked, 31);
|
||||
case "checkBox4": //색인
|
||||
Publication(chk.Checked, 31);
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -2266,6 +2228,7 @@ namespace ExcelTest
|
||||
str = str.Trim();
|
||||
if (TagNum == "300a")
|
||||
{
|
||||
//gu = new char[] { ',', '=', ':', ';', '/', '+', ' ' };
|
||||
gu = new char[] { '.', ',', '=', ':', ';', '/', '+', ' ' };
|
||||
for (int i = 0; i < gu.Length; i++)
|
||||
{
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
//using Microsoft.Office.Interop.Excel;
|
||||
using AR;
|
||||
using OpenQA.Selenium.DevTools.V136.Animation;
|
||||
using Org.BouncyCastle.Asn1.CryptoPro;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
@@ -44,6 +45,13 @@ namespace ExcelTest
|
||||
String_Text st = new String_Text();
|
||||
Mac_List ml;
|
||||
|
||||
//목록다시불러오기를 위해서 임시로 추가
|
||||
string p_lidx = "";
|
||||
string p_value = "";
|
||||
string p_cidx = "";
|
||||
string p_cust = "";
|
||||
string p_name = "";
|
||||
|
||||
public Marc2()
|
||||
{
|
||||
InitializeComponent();
|
||||
@@ -52,7 +60,35 @@ namespace ExcelTest
|
||||
marcEditorControl1.db = this.db;
|
||||
marcEditorControl1.BookSaved += MarcEditorControl_BookSaved;
|
||||
marcEditorControl1.FillBlankClicked += MarcEditorControl_FillBlankClicked;
|
||||
marcEditorControl1.PrevButton += MarcEditorControl1_PrevButton;
|
||||
marcEditorControl1.NextButton += MarcEditorControl1_NextButton;
|
||||
}
|
||||
|
||||
private void MarcEditorControl1_NextButton(object sender, EventArgs e)
|
||||
{
|
||||
int row_idx = List_Book.CurrentCell.RowIndex;
|
||||
int col_idx = List_Book.CurrentCell.ColumnIndex;
|
||||
if (row_idx == -1 || col_idx == -1) { return; }
|
||||
|
||||
//다음데이터가 존재한다
|
||||
if(row_idx < List_Book.RowCount-1)
|
||||
{
|
||||
List_Book.CurrentCell = List_Book.Rows[row_idx + 1].Cells[col_idx];
|
||||
}
|
||||
}
|
||||
|
||||
private void MarcEditorControl1_PrevButton(object sender, EventArgs e)
|
||||
{
|
||||
int row_idx = List_Book.CurrentCell.RowIndex;
|
||||
int col_idx = List_Book.CurrentCell.ColumnIndex;
|
||||
if (row_idx == -1 || col_idx == -1) { return; }
|
||||
|
||||
if (row_idx > 0)
|
||||
{
|
||||
List_Book.CurrentCell = List_Book.Rows[row_idx - 1].Cells[col_idx];
|
||||
}
|
||||
}
|
||||
|
||||
public Marc2(Mac_List _ml)
|
||||
{
|
||||
InitializeComponent();
|
||||
@@ -61,15 +97,48 @@ namespace ExcelTest
|
||||
marcEditorControl1.db = this.db;
|
||||
marcEditorControl1.BookSaved += MarcEditorControl_BookSaved;
|
||||
marcEditorControl1.FillBlankClicked += MarcEditorControl_FillBlankClicked;
|
||||
marcEditorControl1.PrevButton += MarcEditorControl1_PrevButton;
|
||||
marcEditorControl1.NextButton += MarcEditorControl1_NextButton;
|
||||
}
|
||||
|
||||
string l_idx = string.Empty;
|
||||
string c_idx = string.Empty;
|
||||
private void Marc_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
// 콤보박스 정렬및 필터
|
||||
string[] combo8 = { "등급", "복본" };
|
||||
comboBox8.Items.AddRange(combo8);
|
||||
|
||||
comboBox8.SelectedIndex = 0;
|
||||
}
|
||||
|
||||
public void input_list()
|
||||
{
|
||||
var dlg = UTIL.MsgQ("데이터베이스 내용을 다시 불러옵니다\n저장되지 않은 사항은 손실됩니다.다시 불러올까요?");
|
||||
if (dlg != DialogResult.Yes) return;
|
||||
input_list(p_lidx, p_value, p_cidx, p_cust, p_name);
|
||||
}
|
||||
|
||||
(string remark1, string remark2) ReadRemark(int row)
|
||||
{
|
||||
string[] sear_tbl = { "idx" };
|
||||
string[] sear_col = { List_Book.Rows[row].Cells["marc_idx"].Value.ToString() };
|
||||
string cmd = db.More_DB_Search("Marc", sear_tbl, sear_col, "`비고1`, `비고2`");
|
||||
string res = db.DB_Send_CMD_Search(cmd);
|
||||
|
||||
string[] ary = res.Split('|');
|
||||
if (res.Length < 1)
|
||||
{
|
||||
//etc1.Text = res;
|
||||
//etc2.Text = "";
|
||||
return (res, "");
|
||||
}
|
||||
//etc1.Text = ary[0];
|
||||
//etc2.Text = ary[1];
|
||||
return (ary[0], ary[1]);
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 가져온 목록을 책목록과 연동하여 Grid에 집어넣음.
|
||||
/// </summary>
|
||||
@@ -77,7 +146,14 @@ namespace ExcelTest
|
||||
/// <param name="value">목록명</param>
|
||||
public void input_list(string l_idx, string value, string C_idx, string custidx, string custname)
|
||||
{
|
||||
p_lidx = l_idx;
|
||||
p_value = value;
|
||||
p_cidx = C_idx;
|
||||
p_cust = custidx;
|
||||
p_name = custname;
|
||||
|
||||
db.DBcon();
|
||||
this.List_Book.Rows.Clear();
|
||||
if (value.isEmpty() == false)
|
||||
{
|
||||
if (value.IndexOf("]") != -1)
|
||||
@@ -142,9 +218,10 @@ namespace ExcelTest
|
||||
//}
|
||||
}
|
||||
chk_Marc();
|
||||
mLoadCompleted = true;
|
||||
|
||||
List_Book.ClearSelection();
|
||||
mLoadCompleted = true;
|
||||
|
||||
if (this.List_Book.RowCount > 0)
|
||||
List_Book.Rows[0].Selected = true;
|
||||
}
|
||||
@@ -278,8 +355,16 @@ namespace ExcelTest
|
||||
private void List_Book_SelectionChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (!mLoadCompleted) return;
|
||||
if (List_Book.CurrentCell == null) return;
|
||||
int row_idx = List_Book.CurrentCell.RowIndex;
|
||||
int col_idx = List_Book.CurrentCell.ColumnIndex;
|
||||
|
||||
if (List_Book.SelectedCells.Count > 0)
|
||||
{
|
||||
row_idx = List_Book.SelectedCells[0].RowIndex;
|
||||
col_idx = List_Book.SelectedCells[0].ColumnIndex;
|
||||
}
|
||||
|
||||
if (row_idx == -1 || col_idx == -1) { return; }
|
||||
SaveRowIdx = row_idx;
|
||||
|
||||
@@ -322,10 +407,27 @@ namespace ExcelTest
|
||||
string user = List_Book.Rows[row_idx].Cells["user"].Value?.ToString() ?? "";
|
||||
string saveDate = List_Book.Rows[row_idx].Cells["SaveDate"].Value?.ToString() ?? "";
|
||||
string listIdx = List_Book.Rows[row_idx].Cells["list_idx"].Value?.ToString() ?? ""; // verify this column name in input_list
|
||||
|
||||
marcEditorControl1.LoadBookData(isbn13, bookName, author, publisher, price, url, marcIdx, dbMarc, grade, user, saveDate, listIdx);
|
||||
var remark = ReadRemark(row_idx);
|
||||
var p = new MacEditorParameter
|
||||
{
|
||||
ISBN13 = isbn13,
|
||||
URL = url,
|
||||
Grade = grade,
|
||||
ListIdx = listIdx,
|
||||
MarcIdx = marcIdx,
|
||||
SaveDate = saveDate,
|
||||
User = user,
|
||||
BookName = bookName,
|
||||
Author = author,
|
||||
Publisher = publisher,
|
||||
Price = price,
|
||||
Remark1 = remark.remark1,
|
||||
Remark2 = remark.remark2
|
||||
};
|
||||
marcEditorControl1.LoadBookData(dbMarc, p);
|
||||
}
|
||||
|
||||
|
||||
|
||||
bool check_V(int row, int col)
|
||||
{
|
||||
string name = List_Book.Columns[col].Name;
|
||||
@@ -452,24 +554,132 @@ namespace ExcelTest
|
||||
|
||||
private void MarcEditorControl_BookSaved(object sender, ExcelTest.MarcEditorControl.BookSavedEventArgs e)
|
||||
{
|
||||
if (SaveRowIdx >= 0 && SaveRowIdx < List_Book.Rows.Count)
|
||||
{
|
||||
string currentListIdx = List_Book.Rows[SaveRowIdx].Cells["list_idx"].Value?.ToString();
|
||||
// If list_idx column name differs, check input_list. Assuming "list_idx" or "idx".
|
||||
// In input_list: grid[0] = db_data[a]; (idx).
|
||||
// And MarcEditorControl uses "list_idx" passed from List_Book_SelectionChanged.
|
||||
// We need to match what we passed.
|
||||
string table_name = "Marc";
|
||||
|
||||
// Just update based on SaveRowIdx for now, assuming modal blocking or single user interaction.
|
||||
List_Book.Rows[SaveRowIdx].Cells["grade"].Value = e.Grade;
|
||||
List_Book.Rows[SaveRowIdx].Cells["SaveDate"].Value = e.SaveDate;
|
||||
List_Book.Rows[SaveRowIdx].Cells["user"].Value = e.User;
|
||||
List_Book.Rows[SaveRowIdx].Cells["db_marc"].Value = e.DBMarc;
|
||||
List_Book.Rows[SaveRowIdx].Cells["marc_idx"].Value = e.MarcIdx;
|
||||
List_Book.Rows[SaveRowIdx].DefaultCellStyle.ForeColor = SetGradeColor(e.Grade);
|
||||
//string[] grid_data = {
|
||||
// e.griddata[0],// List_Book.Rows[SaveRowIdx].Cells["ISBN13"].Value.ToString(),
|
||||
// e.griddata[1],//List_Book.Rows[SaveRowIdx].Cells["book_name"].Value.ToString(),
|
||||
// e.griddata[2],//List_Book.Rows[SaveRowIdx].Cells["author"].Value.ToString(),
|
||||
// e.griddata[3],//List_Book.Rows[SaveRowIdx].Cells["book_comp"].Value.ToString(),
|
||||
// e.griddata[4],//List_Book.Rows[SaveRowIdx].Cells["pay"].Value.ToString(),
|
||||
// e.griddata[5]//List_Book.Rows[SaveRowIdx].Cells["url"].Value.ToString()
|
||||
//};
|
||||
string date = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
|
||||
string orimarc = e.DBMarc;// st.made_Ori_marc(richTextBox1).Replace(@"\", "₩");
|
||||
string Midx = List_Book.Rows[SaveRowIdx].Cells["marc_idx"].Value.ToString();
|
||||
|
||||
string SaveDate = List_Book.Rows[SaveRowIdx].Cells["SaveDate"].Value.ToString();
|
||||
string SaveUser = List_Book.Rows[SaveRowIdx].Cells["user"].Value.ToString();
|
||||
bool IsCoverDate = false;
|
||||
|
||||
|
||||
if (SaveDate != "")
|
||||
{
|
||||
// 마지막 수정일로부터 2일이 지났는지, 마지막 저장자가 사용자인지 확인
|
||||
TimeSpan sp = spspsp(SaveDate, date);
|
||||
IsCoverDate = IsCoverData(sp.Days, SaveUser);
|
||||
}
|
||||
|
||||
// true일 경우 INSERT, false일 경우 UPDATE
|
||||
bool isNewData = Midx != "" ? false : true;
|
||||
|
||||
|
||||
if (List_Book.Rows[SaveRowIdx].DefaultCellStyle.ForeColor == Color.Orange ||
|
||||
List_Book.Rows[SaveRowIdx].DefaultCellStyle.ForeColor == Color.Red)
|
||||
{
|
||||
string[] Insert_tbl = {
|
||||
"ISBN", "서명", "저자", "출판사",
|
||||
"가격", "marc", "비고1", "비고2", "url",
|
||||
"grade", "marc_chk", "user", "division", "008tag",
|
||||
"date", "compidx" };
|
||||
string[] Insert_col = {
|
||||
e.griddata.ISBN13, e.griddata.BookName, e.griddata.Author, e.griddata.Publisher,
|
||||
e.griddata.Price, orimarc, e.griddata.Remark1, e.griddata.Remark2, e.griddata.URL,
|
||||
e.griddata.Grade, "1", mUserName, e.tag056, e.text008,
|
||||
date, mCompidx };
|
||||
|
||||
string Incmd = db.DB_INSERT(table_name, Insert_tbl, Insert_col);
|
||||
PUB.log.Add("INSERT", string.Format("{0}({1},{2}) : {3}", mUserName, mCompidx, List_Book.Rows[SaveRowIdx].DefaultCellStyle.ForeColor, Incmd));
|
||||
db.DB_Send_CMD_reVoid(Incmd);
|
||||
isNewData = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
string[] Edit_tbl = {
|
||||
"compidx", "marc", "marc_chk", "marc1", "marc_chk1", "비고1",
|
||||
"비고2", "url", "division", "008tag", "date",
|
||||
"user", "grade" };
|
||||
string[] Edit_col = {
|
||||
mCompidx, orimarc, "1", mOldMarc , "0", e.griddata.Remark1,
|
||||
e.griddata.Remark2, e.griddata.URL, e.tag056,e.text008, date,
|
||||
mUserName, e.griddata.Grade };
|
||||
string[] Sear_tbl = { "idx", "compidx" };
|
||||
string[] Sear_col = { Midx, mCompidx };
|
||||
if (e.griddata.ISBN13 == null || e.griddata.ISBN13 == "")
|
||||
{
|
||||
MessageBox.Show("ISBN 데이터가 없습니다.");
|
||||
return;
|
||||
}
|
||||
|
||||
string U_cmd = db.More_Update(table_name, Edit_tbl, Edit_col, Sear_tbl, Sear_col);
|
||||
PUB.log.Add("Update", string.Format("{0}({1},{2}) : {3}", mUserName, mCompidx, List_Book.Rows[SaveRowIdx].DefaultCellStyle.ForeColor, U_cmd.Replace("\r", " ").Replace("\n", " ")));
|
||||
db.DB_Send_CMD_reVoid(U_cmd);
|
||||
isNewData = false;
|
||||
}
|
||||
|
||||
List_Book.Rows[SaveRowIdx].Cells["grade"].Value = e.griddata.Grade;
|
||||
List_Book.Rows[SaveRowIdx].Cells["SaveDate"].Value = e.SaveDate;
|
||||
List_Book.Rows[SaveRowIdx].Cells["user"].Value = mUserName;
|
||||
List_Book.Rows[SaveRowIdx].Cells["db_marc"].Value = e.DBMarc;
|
||||
|
||||
List_Book.Rows[SaveRowIdx].DefaultCellStyle.ForeColor = SetGradeColor(grade.ToString());
|
||||
|
||||
if (isNewData)
|
||||
{
|
||||
string MidxQuery = string.Format("SELECT `idx` FROM Marc WHERE isbn = {0} AND `compidx` = {1};", e.griddata.ISBN13, mCompidx);
|
||||
PUB.log.Add("MarcInsert", string.Format("{0}({1}) : {2}", mUserName, mCompidx, MidxQuery));
|
||||
Midx = db.DB_Send_CMD_Search(MidxQuery).Replace("|", "");
|
||||
List_Book.Rows[SaveRowIdx].Cells["marc_idx"].Value = Midx;
|
||||
}
|
||||
|
||||
string UpdateListIndex = string.Format("UPDATE `Obj_List_Book` SET `m_idx` = {0} WHERE `idx` = {1} AND 'compidx' ={2};",
|
||||
Midx, List_Book.Rows[SaveRowIdx].Cells["list_idx"].Value.ToString(), mCompidx);
|
||||
PUB.log.Add("MarcUpdate", string.Format("{0}({1}) : {2}", mUserName, mCompidx, UpdateListIndex));
|
||||
db.DB_Send_CMD_reVoid(UpdateListIndex);
|
||||
MessageBox.Show("저장되었습니다!");
|
||||
|
||||
|
||||
}
|
||||
|
||||
#region Save_Click_Sub
|
||||
|
||||
/// <summary>
|
||||
/// 마크 저장시 사용하며, 마지막 수정일과 수정자를 가져와 덮어씌울지 백업데이터를 만들지 구분
|
||||
/// </summary>
|
||||
/// <param name="TimeSpanDaysValue">저장할 마크의 마지막 수정일</param>
|
||||
/// <param name="user">저장할 마크의 마지막 수정자</param>
|
||||
/// <returns>마지막 수정일로부터 2일이 지나지않고, 마지막 수정자와 해당 유저가 동일 할 경우 true 반환</returns>
|
||||
private bool IsCoverData(int TimeSpanDaysValue, string user)
|
||||
{
|
||||
if (TimeSpanDaysValue < -1)
|
||||
return false;
|
||||
if (user != mUserName)
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
private TimeSpan spspsp(string LastDate, string SaveDate)
|
||||
{
|
||||
DateTime date1 = Convert.ToDateTime(LastDate);
|
||||
DateTime date2 = Convert.ToDateTime(SaveDate);
|
||||
|
||||
TimeSpan result = date1 - date2;
|
||||
return result;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private void MarcEditorControl_FillBlankClicked(object sender, EventArgs e)
|
||||
{
|
||||
if (List_Book.CurrentRow == null) return;
|
||||
@@ -482,7 +692,7 @@ namespace ExcelTest
|
||||
return;
|
||||
}
|
||||
|
||||
UniMarc.Marc_FillBlank fb = new UniMarc.Marc_FillBlank(this);
|
||||
var fb = new UniMarc.Marc_FillBlank(this);
|
||||
for (int a = 0; a < List_Book.Rows.Count; a++)
|
||||
{
|
||||
if (List_Book.Rows[a].DefaultCellStyle.ForeColor == Color.Red)
|
||||
@@ -504,32 +714,8 @@ namespace ExcelTest
|
||||
fb.Show();
|
||||
}
|
||||
|
||||
private void comboBox8_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
comboBox9.Items.Clear();
|
||||
|
||||
ComboBox cb = sender as ComboBox;
|
||||
if (cb.SelectedIndex == 0)
|
||||
{
|
||||
comboBox9.Enabled = true;
|
||||
string[] grade = { "전체", "A", "B", "C", "D" };
|
||||
comboBox9.Items.AddRange(grade);
|
||||
comboBox9.SelectedIndex = 0;
|
||||
}
|
||||
else
|
||||
comboBox9.Enabled = false;
|
||||
}
|
||||
|
||||
private void Radio_Sort_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
RadioButton rb = sender as RadioButton;
|
||||
string text = rb.Text;
|
||||
if (text == "정렬")
|
||||
comboBox9.Enabled = false;
|
||||
|
||||
else
|
||||
comboBox9.Enabled = true;
|
||||
}
|
||||
|
||||
|
||||
private void btn_mk_marcList_Click(object sender, EventArgs e)
|
||||
@@ -671,7 +857,7 @@ namespace ExcelTest
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
private void btn_FilterReturn_Click(object sender, EventArgs e)
|
||||
{
|
||||
rb_Filter.Checked = false;
|
||||
@@ -766,7 +952,45 @@ namespace ExcelTest
|
||||
|
||||
private void Marc2_SizeChanged(object sender, EventArgs e)
|
||||
{
|
||||
// this.toolStripStatusLabel1.Text = $"{this.Size}";
|
||||
// this.toolStripStatusLabel1.Text = $"{this.Size}";
|
||||
}
|
||||
|
||||
private void rb_Sort_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
RadioButton rb = sender as RadioButton;
|
||||
string text = rb.Text;
|
||||
if (text == "정렬")
|
||||
comboBox9.Enabled = false;
|
||||
|
||||
else
|
||||
comboBox9.Enabled = true;
|
||||
}
|
||||
|
||||
private void comboBox8_SelectedIndexChanged_1(object sender, EventArgs e)
|
||||
{
|
||||
comboBox9.Items.Clear();
|
||||
|
||||
ComboBox cb = sender as ComboBox;
|
||||
if (cb.SelectedIndex == 0)
|
||||
{
|
||||
comboBox9.Enabled = true;
|
||||
string[] grade = { "전체", "A", "B", "C", "D" };
|
||||
comboBox9.Items.AddRange(grade);
|
||||
comboBox9.SelectedIndex = 0;
|
||||
}
|
||||
else
|
||||
comboBox9.Enabled = false;
|
||||
}
|
||||
|
||||
private void marcEditorControl1_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void button1_Click_1(object sender, EventArgs e)
|
||||
{
|
||||
//re load data
|
||||
input_list();
|
||||
}
|
||||
}
|
||||
}
|
||||
207
unimarc/unimarc/마크/Marc2.designer.cs
generated
207
unimarc/unimarc/마크/Marc2.designer.cs
generated
@@ -38,10 +38,10 @@
|
||||
System.Windows.Forms.Label label25;
|
||||
System.Windows.Forms.Label label26;
|
||||
System.Windows.Forms.Label label27;
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.List_Book = new System.Windows.Forms.DataGridView();
|
||||
this.list_idx = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.ISBN13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
@@ -75,9 +75,9 @@
|
||||
this.lbl_BookList = new System.Windows.Forms.ToolStripStatusLabel();
|
||||
this.btClose = new System.Windows.Forms.Button();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.panel3 = new System.Windows.Forms.Panel();
|
||||
this.marcEditorControl1 = new ExcelTest.MarcEditorControl();
|
||||
this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();
|
||||
this.panel3 = new System.Windows.Forms.Panel();
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
label31 = new System.Windows.Forms.Label();
|
||||
label30 = new System.Windows.Forms.Label();
|
||||
label33 = new System.Windows.Forms.Label();
|
||||
@@ -170,20 +170,19 @@
|
||||
this.List_Book.AllowDrop = true;
|
||||
this.List_Book.AllowUserToAddRows = false;
|
||||
this.List_Book.AllowUserToDeleteRows = false;
|
||||
this.List_Book.AllowUserToResizeColumns = false;
|
||||
this.List_Book.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.List_Book.BackgroundColor = System.Drawing.Color.SkyBlue;
|
||||
this.List_Book.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle9.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle9.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
dataGridViewCellStyle9.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle9.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle9.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.List_Book.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle9;
|
||||
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.List_Book.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
|
||||
this.List_Book.ColumnHeadersHeight = 29;
|
||||
this.List_Book.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.list_idx,
|
||||
@@ -202,23 +201,22 @@
|
||||
this.user,
|
||||
this.SaveDate});
|
||||
this.List_Book.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically;
|
||||
this.List_Book.Location = new System.Drawing.Point(6, 91);
|
||||
this.List_Book.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
this.List_Book.Location = new System.Drawing.Point(5, 73);
|
||||
this.List_Book.MultiSelect = false;
|
||||
this.List_Book.Name = "List_Book";
|
||||
this.List_Book.ReadOnly = true;
|
||||
dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle12.BackColor = System.Drawing.SystemColors.ControlDark;
|
||||
dataGridViewCellStyle12.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
dataGridViewCellStyle12.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle12.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle12.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.List_Book.RowHeadersDefaultCellStyle = dataGridViewCellStyle12;
|
||||
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.ControlDark;
|
||||
dataGridViewCellStyle4.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.List_Book.RowHeadersDefaultCellStyle = dataGridViewCellStyle4;
|
||||
this.List_Book.RowHeadersWidth = 51;
|
||||
this.List_Book.RowTemplate.Height = 23;
|
||||
this.List_Book.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
||||
this.List_Book.Size = new System.Drawing.Size(621, 695);
|
||||
this.List_Book.Size = new System.Drawing.Size(543, 556);
|
||||
this.List_Book.TabIndex = 217;
|
||||
this.List_Book.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.List_Book_RowPostPaint);
|
||||
this.List_Book.SelectionChanged += new System.EventHandler(this.List_Book_SelectionChanged);
|
||||
@@ -328,9 +326,9 @@
|
||||
//
|
||||
// grade
|
||||
//
|
||||
dataGridViewCellStyle10.Format = "N0";
|
||||
dataGridViewCellStyle10.NullValue = null;
|
||||
this.grade.DefaultCellStyle = dataGridViewCellStyle10;
|
||||
dataGridViewCellStyle2.Format = "N0";
|
||||
dataGridViewCellStyle2.NullValue = null;
|
||||
this.grade.DefaultCellStyle = dataGridViewCellStyle2;
|
||||
this.grade.HeaderText = "등급";
|
||||
this.grade.MinimumWidth = 6;
|
||||
this.grade.Name = "grade";
|
||||
@@ -340,8 +338,8 @@
|
||||
//
|
||||
// colCheck
|
||||
//
|
||||
dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.colCheck.DefaultCellStyle = dataGridViewCellStyle11;
|
||||
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.colCheck.DefaultCellStyle = dataGridViewCellStyle3;
|
||||
this.colCheck.HeaderText = "V";
|
||||
this.colCheck.MinimumWidth = 6;
|
||||
this.colCheck.Name = "colCheck";
|
||||
@@ -369,36 +367,37 @@
|
||||
//
|
||||
// rb_Sort
|
||||
//
|
||||
this.rb_Sort.Location = new System.Drawing.Point(78, 5);
|
||||
this.rb_Sort.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
this.rb_Sort.Location = new System.Drawing.Point(68, 4);
|
||||
this.rb_Sort.Name = "rb_Sort";
|
||||
this.rb_Sort.Size = new System.Drawing.Size(55, 30);
|
||||
this.rb_Sort.Size = new System.Drawing.Size(48, 24);
|
||||
this.rb_Sort.TabIndex = 320;
|
||||
this.rb_Sort.Text = "정렬";
|
||||
this.rb_Sort.CheckedChanged += new System.EventHandler(this.rb_Sort_CheckedChanged);
|
||||
//
|
||||
// rb_Filter
|
||||
//
|
||||
this.rb_Filter.Location = new System.Drawing.Point(139, 5);
|
||||
this.rb_Filter.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
this.rb_Filter.Location = new System.Drawing.Point(122, 4);
|
||||
this.rb_Filter.Name = "rb_Filter";
|
||||
this.rb_Filter.Size = new System.Drawing.Size(55, 30);
|
||||
this.rb_Filter.Size = new System.Drawing.Size(48, 24);
|
||||
this.rb_Filter.TabIndex = 322;
|
||||
this.rb_Filter.Text = "필터";
|
||||
this.rb_Filter.CheckedChanged += new System.EventHandler(this.rb_Sort_CheckedChanged);
|
||||
//
|
||||
// comboBox8
|
||||
//
|
||||
this.comboBox8.Location = new System.Drawing.Point(201, 8);
|
||||
this.comboBox8.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
this.comboBox8.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.comboBox8.Location = new System.Drawing.Point(176, 6);
|
||||
this.comboBox8.Name = "comboBox8";
|
||||
this.comboBox8.Size = new System.Drawing.Size(122, 23);
|
||||
this.comboBox8.Size = new System.Drawing.Size(107, 20);
|
||||
this.comboBox8.TabIndex = 323;
|
||||
this.comboBox8.SelectedIndexChanged += new System.EventHandler(this.comboBox8_SelectedIndexChanged_1);
|
||||
//
|
||||
// comboBox9
|
||||
//
|
||||
this.comboBox9.Location = new System.Drawing.Point(327, 8);
|
||||
this.comboBox9.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
this.comboBox9.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.comboBox9.Location = new System.Drawing.Point(286, 6);
|
||||
this.comboBox9.Name = "comboBox9";
|
||||
this.comboBox9.Size = new System.Drawing.Size(59, 23);
|
||||
this.comboBox9.Size = new System.Drawing.Size(52, 20);
|
||||
this.comboBox9.TabIndex = 321;
|
||||
//
|
||||
// panel1
|
||||
@@ -413,18 +412,16 @@
|
||||
this.panel1.Controls.Add(this.comboBox9);
|
||||
this.panel1.Controls.Add(this.rb_Filter);
|
||||
this.panel1.Controls.Add(this.comboBox8);
|
||||
this.panel1.Location = new System.Drawing.Point(6, 43);
|
||||
this.panel1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
this.panel1.Location = new System.Drawing.Point(5, 34);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(621, 43);
|
||||
this.panel1.Size = new System.Drawing.Size(544, 35);
|
||||
this.panel1.TabIndex = 226;
|
||||
//
|
||||
// btn_mk_marcList
|
||||
//
|
||||
this.btn_mk_marcList.Location = new System.Drawing.Point(495, 6);
|
||||
this.btn_mk_marcList.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
this.btn_mk_marcList.Location = new System.Drawing.Point(433, 5);
|
||||
this.btn_mk_marcList.Name = "btn_mk_marcList";
|
||||
this.btn_mk_marcList.Size = new System.Drawing.Size(121, 29);
|
||||
this.btn_mk_marcList.Size = new System.Drawing.Size(106, 23);
|
||||
this.btn_mk_marcList.TabIndex = 227;
|
||||
this.btn_mk_marcList.Text = "마크목록생성";
|
||||
this.btn_mk_marcList.UseVisualStyleBackColor = true;
|
||||
@@ -434,10 +431,9 @@
|
||||
//
|
||||
this.btn_CopySelect.BackColor = System.Drawing.Color.Khaki;
|
||||
this.btn_CopySelect.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.btn_CopySelect.Location = new System.Drawing.Point(457, 6);
|
||||
this.btn_CopySelect.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
this.btn_CopySelect.Location = new System.Drawing.Point(400, 5);
|
||||
this.btn_CopySelect.Name = "btn_CopySelect";
|
||||
this.btn_CopySelect.Size = new System.Drawing.Size(34, 29);
|
||||
this.btn_CopySelect.Size = new System.Drawing.Size(30, 23);
|
||||
this.btn_CopySelect.TabIndex = 319;
|
||||
this.btn_CopySelect.Text = "0";
|
||||
this.btn_CopySelect.UseVisualStyleBackColor = false;
|
||||
@@ -445,10 +441,9 @@
|
||||
//
|
||||
// btn_FilterReturn
|
||||
//
|
||||
this.btn_FilterReturn.Location = new System.Drawing.Point(3, 5);
|
||||
this.btn_FilterReturn.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
this.btn_FilterReturn.Location = new System.Drawing.Point(3, 4);
|
||||
this.btn_FilterReturn.Name = "btn_FilterReturn";
|
||||
this.btn_FilterReturn.Size = new System.Drawing.Size(72, 29);
|
||||
this.btn_FilterReturn.Size = new System.Drawing.Size(63, 23);
|
||||
this.btn_FilterReturn.TabIndex = 229;
|
||||
this.btn_FilterReturn.Text = "원래대로";
|
||||
this.btn_FilterReturn.UseVisualStyleBackColor = true;
|
||||
@@ -456,10 +451,9 @@
|
||||
//
|
||||
// btn_Search
|
||||
//
|
||||
this.btn_Search.Location = new System.Drawing.Point(387, 6);
|
||||
this.btn_Search.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
this.btn_Search.Location = new System.Drawing.Point(339, 5);
|
||||
this.btn_Search.Name = "btn_Search";
|
||||
this.btn_Search.Size = new System.Drawing.Size(65, 29);
|
||||
this.btn_Search.Size = new System.Drawing.Size(57, 23);
|
||||
this.btn_Search.TabIndex = 227;
|
||||
this.btn_Search.Text = "검 색";
|
||||
this.btn_Search.UseVisualStyleBackColor = true;
|
||||
@@ -471,10 +465,9 @@
|
||||
this.checkBox3.BackColor = System.Drawing.Color.White;
|
||||
this.checkBox3.Checked = true;
|
||||
this.checkBox3.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.checkBox3.Location = new System.Drawing.Point(579, 97);
|
||||
this.checkBox3.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
this.checkBox3.Location = new System.Drawing.Point(507, 78);
|
||||
this.checkBox3.Name = "checkBox3";
|
||||
this.checkBox3.Size = new System.Drawing.Size(18, 17);
|
||||
this.checkBox3.Size = new System.Drawing.Size(15, 14);
|
||||
this.checkBox3.TabIndex = 227;
|
||||
this.checkBox3.UseVisualStyleBackColor = false;
|
||||
this.checkBox3.CheckedChanged += new System.EventHandler(this.checkBox3_CheckedChanged);
|
||||
@@ -483,10 +476,9 @@
|
||||
//
|
||||
this.tbCustName.BackColor = System.Drawing.Color.LightGray;
|
||||
this.tbCustName.Font = new System.Drawing.Font("굴림체", 14.25F, System.Drawing.FontStyle.Bold);
|
||||
this.tbCustName.Location = new System.Drawing.Point(6, 7);
|
||||
this.tbCustName.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
this.tbCustName.Location = new System.Drawing.Point(115, 6);
|
||||
this.tbCustName.Name = "tbCustName";
|
||||
this.tbCustName.Size = new System.Drawing.Size(440, 32);
|
||||
this.tbCustName.Size = new System.Drawing.Size(275, 26);
|
||||
this.tbCustName.TabIndex = 33;
|
||||
this.tbCustName.Text = " ";
|
||||
this.tbCustName.UseVisualStyleBackColor = false;
|
||||
@@ -497,9 +489,9 @@
|
||||
this.lbCustIDX.BackColor = System.Drawing.Color.LightGray;
|
||||
this.lbCustIDX.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.lbCustIDX.Font = new System.Drawing.Font("굴림체", 14.25F, System.Drawing.FontStyle.Bold);
|
||||
this.lbCustIDX.Location = new System.Drawing.Point(452, 7);
|
||||
this.lbCustIDX.Location = new System.Drawing.Point(396, 6);
|
||||
this.lbCustIDX.Name = "lbCustIDX";
|
||||
this.lbCustIDX.Size = new System.Drawing.Size(68, 32);
|
||||
this.lbCustIDX.Size = new System.Drawing.Size(60, 26);
|
||||
this.lbCustIDX.TabIndex = 319;
|
||||
this.lbCustIDX.Text = " ";
|
||||
this.lbCustIDX.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
@@ -507,10 +499,9 @@
|
||||
// btCopy
|
||||
//
|
||||
this.btCopy.ForeColor = System.Drawing.Color.Red;
|
||||
this.btCopy.Location = new System.Drawing.Point(1728, 319);
|
||||
this.btCopy.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
this.btCopy.Location = new System.Drawing.Point(1512, 255);
|
||||
this.btCopy.Name = "btCopy";
|
||||
this.btCopy.Size = new System.Drawing.Size(88, 29);
|
||||
this.btCopy.Size = new System.Drawing.Size(77, 23);
|
||||
this.btCopy.TabIndex = 321;
|
||||
this.btCopy.Text = "복 사";
|
||||
this.btCopy.UseVisualStyleBackColor = true;
|
||||
@@ -522,26 +513,25 @@
|
||||
this.statusStrip1.Font = new System.Drawing.Font("굴림체", 14.25F, System.Drawing.FontStyle.Bold);
|
||||
this.statusStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
|
||||
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.lbl_BookList,
|
||||
this.toolStripStatusLabel1});
|
||||
this.statusStrip1.Location = new System.Drawing.Point(0, 793);
|
||||
this.lbl_BookList});
|
||||
this.statusStrip1.Location = new System.Drawing.Point(0, 634);
|
||||
this.statusStrip1.Name = "statusStrip1";
|
||||
this.statusStrip1.Size = new System.Drawing.Size(1872, 30);
|
||||
this.statusStrip1.Padding = new System.Windows.Forms.Padding(1, 0, 12, 0);
|
||||
this.statusStrip1.Size = new System.Drawing.Size(1638, 24);
|
||||
this.statusStrip1.TabIndex = 322;
|
||||
this.statusStrip1.Text = "statusStrip1";
|
||||
//
|
||||
// lbl_BookList
|
||||
//
|
||||
this.lbl_BookList.Name = "lbl_BookList";
|
||||
this.lbl_BookList.Size = new System.Drawing.Size(140, 24);
|
||||
this.lbl_BookList.Size = new System.Drawing.Size(119, 19);
|
||||
this.lbl_BookList.Text = "{booklist}";
|
||||
//
|
||||
// btClose
|
||||
//
|
||||
this.btClose.Location = new System.Drawing.Point(526, 7);
|
||||
this.btClose.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
this.btClose.Location = new System.Drawing.Point(460, 6);
|
||||
this.btClose.Name = "btClose";
|
||||
this.btClose.Size = new System.Drawing.Size(101, 32);
|
||||
this.btClose.Size = new System.Drawing.Size(88, 26);
|
||||
this.btClose.TabIndex = 324;
|
||||
this.btClose.Text = "닫 기";
|
||||
this.btClose.UseVisualStyleBackColor = true;
|
||||
@@ -551,14 +541,27 @@
|
||||
//
|
||||
this.panel2.Controls.Add(this.marcEditorControl1);
|
||||
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel2.Location = new System.Drawing.Point(634, 0);
|
||||
this.panel2.Location = new System.Drawing.Point(555, 0);
|
||||
this.panel2.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(1238, 793);
|
||||
this.panel2.Size = new System.Drawing.Size(1083, 634);
|
||||
this.panel2.TabIndex = 325;
|
||||
//
|
||||
// marcEditorControl1
|
||||
//
|
||||
this.marcEditorControl1.BackColor = System.Drawing.Color.Gray;
|
||||
this.marcEditorControl1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.marcEditorControl1.Font = new System.Drawing.Font("돋움", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.marcEditorControl1.Location = new System.Drawing.Point(0, 0);
|
||||
this.marcEditorControl1.Name = "marcEditorControl1";
|
||||
this.marcEditorControl1.Size = new System.Drawing.Size(1083, 634);
|
||||
this.marcEditorControl1.TabIndex = 0;
|
||||
this.marcEditorControl1.Load += new System.EventHandler(this.marcEditorControl1_Load);
|
||||
//
|
||||
// panel3
|
||||
//
|
||||
this.panel3.BackColor = System.Drawing.Color.White;
|
||||
this.panel3.Controls.Add(this.button1);
|
||||
this.panel3.Controls.Add(this.checkBox3);
|
||||
this.panel3.Controls.Add(this.tbCustName);
|
||||
this.panel3.Controls.Add(this.panel1);
|
||||
@@ -567,50 +570,32 @@
|
||||
this.panel3.Controls.Add(this.lbCustIDX);
|
||||
this.panel3.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.panel3.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel3.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.panel3.Name = "panel3";
|
||||
this.panel3.Size = new System.Drawing.Size(634, 793);
|
||||
this.panel3.Size = new System.Drawing.Size(555, 634);
|
||||
this.panel3.TabIndex = 325;
|
||||
//
|
||||
// marcEditorControl1
|
||||
// button1
|
||||
//
|
||||
this.marcEditorControl1.BackColor = System.Drawing.Color.Gray;
|
||||
this.marcEditorControl1.CurrentAuthor = null;
|
||||
this.marcEditorControl1.CurrentBookName = null;
|
||||
this.marcEditorControl1.CurrentDBMarc = null;
|
||||
this.marcEditorControl1.CurrentGrade = null;
|
||||
this.marcEditorControl1.CurrentISBN13 = null;
|
||||
this.marcEditorControl1.CurrentListIdx = null;
|
||||
this.marcEditorControl1.CurrentMarcIdx = null;
|
||||
this.marcEditorControl1.CurrentPrice = null;
|
||||
this.marcEditorControl1.CurrentPublisher = null;
|
||||
this.marcEditorControl1.CurrentSaveDate = null;
|
||||
this.marcEditorControl1.CurrentURL = null;
|
||||
this.marcEditorControl1.CurrentUser = null;
|
||||
this.marcEditorControl1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.marcEditorControl1.Location = new System.Drawing.Point(0, 0);
|
||||
this.marcEditorControl1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
this.marcEditorControl1.Name = "marcEditorControl1";
|
||||
this.marcEditorControl1.Size = new System.Drawing.Size(1238, 793);
|
||||
this.marcEditorControl1.TabIndex = 0;
|
||||
//
|
||||
// toolStripStatusLabel1
|
||||
//
|
||||
this.toolStripStatusLabel1.Name = "toolStripStatusLabel1";
|
||||
this.toolStripStatusLabel1.Size = new System.Drawing.Size(283, 24);
|
||||
this.toolStripStatusLabel1.Text = "toolStripStatusLabel1";
|
||||
this.button1.Location = new System.Drawing.Point(9, 7);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(100, 23);
|
||||
this.button1.TabIndex = 324;
|
||||
this.button1.Text = "다시불러오기";
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
this.button1.Click += new System.EventHandler(this.button1_Click_1);
|
||||
//
|
||||
// Marc2
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackColor = System.Drawing.Color.SkyBlue;
|
||||
this.ClientSize = new System.Drawing.Size(1872, 823);
|
||||
this.ClientSize = new System.Drawing.Size(1638, 658);
|
||||
this.Controls.Add(this.panel2);
|
||||
this.Controls.Add(this.panel3);
|
||||
this.Controls.Add(this.statusStrip1);
|
||||
this.Controls.Add(this.btCopy);
|
||||
this.KeyPreview = true;
|
||||
this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
this.Name = "Marc2";
|
||||
this.Text = "마크 작성(1)";
|
||||
this.Load += new System.EventHandler(this.Marc_Load);
|
||||
@@ -662,12 +647,12 @@
|
||||
public System.Windows.Forms.Button tbCustName;
|
||||
public System.Windows.Forms.Label lbCustIDX;
|
||||
private System.Windows.Forms.Button btCopy;
|
||||
private ExcelTest.MarcEditorControl marcEditorControl1;
|
||||
private System.Windows.Forms.StatusStrip statusStrip1;
|
||||
private System.Windows.Forms.ToolStripStatusLabel lbl_BookList;
|
||||
private System.Windows.Forms.Button btClose;
|
||||
private System.Windows.Forms.Panel panel2;
|
||||
private System.Windows.Forms.Panel panel3;
|
||||
private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel1;
|
||||
private System.Windows.Forms.Button button1;
|
||||
public MarcEditorControl marcEditorControl1;
|
||||
}
|
||||
}
|
||||
229
unimarc/unimarc/마크/MarcEditorControl.Designer.cs
generated
229
unimarc/unimarc/마크/MarcEditorControl.Designer.cs
generated
@@ -28,14 +28,14 @@
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.label31 = new System.Windows.Forms.Label();
|
||||
this.label30 = new System.Windows.Forms.Label();
|
||||
this.label33 = new System.Windows.Forms.Label();
|
||||
@@ -221,6 +221,8 @@
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.btNext = new System.Windows.Forms.Button();
|
||||
this.btPrev = new System.Windows.Forms.Button();
|
||||
this.panel5 = new System.Windows.Forms.Panel();
|
||||
this.panel6 = new System.Windows.Forms.Panel();
|
||||
this.panel3.SuspendLayout();
|
||||
@@ -360,7 +362,7 @@
|
||||
this.richTextBox1.Font = new System.Drawing.Font("굴림체", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.richTextBox1.Location = new System.Drawing.Point(3, 3);
|
||||
this.richTextBox1.Name = "richTextBox1";
|
||||
this.richTextBox1.Size = new System.Drawing.Size(1003, 1021);
|
||||
this.richTextBox1.Size = new System.Drawing.Size(935, 779);
|
||||
this.richTextBox1.TabIndex = 32;
|
||||
this.richTextBox1.Text = "";
|
||||
this.richTextBox1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.richTextBox1_KeyDown);
|
||||
@@ -372,7 +374,7 @@
|
||||
this.etc1.Font = new System.Drawing.Font("굴림체", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.etc1.Location = new System.Drawing.Point(3, 3);
|
||||
this.etc1.Name = "etc1";
|
||||
this.etc1.Size = new System.Drawing.Size(386, 246);
|
||||
this.etc1.Size = new System.Drawing.Size(386, 279);
|
||||
this.etc1.TabIndex = 32;
|
||||
this.etc1.Text = "Remark1";
|
||||
this.etc1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.etc_KeyDown);
|
||||
@@ -382,9 +384,9 @@
|
||||
this.etc2.BackColor = System.Drawing.SystemColors.ScrollBar;
|
||||
this.etc2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.etc2.Font = new System.Drawing.Font("굴림체", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.etc2.Location = new System.Drawing.Point(3, 255);
|
||||
this.etc2.Location = new System.Drawing.Point(3, 288);
|
||||
this.etc2.Name = "etc2";
|
||||
this.etc2.Size = new System.Drawing.Size(386, 246);
|
||||
this.etc2.Size = new System.Drawing.Size(386, 279);
|
||||
this.etc2.TabIndex = 32;
|
||||
this.etc2.Text = "Remark2";
|
||||
this.etc2.KeyDown += new System.Windows.Forms.KeyEventHandler(this.etc_KeyDown);
|
||||
@@ -392,7 +394,7 @@
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(407, 14);
|
||||
this.label1.Location = new System.Drawing.Point(509, 13);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(63, 14);
|
||||
this.label1.TabIndex = 14;
|
||||
@@ -401,7 +403,7 @@
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(615, 14);
|
||||
this.label2.Location = new System.Drawing.Point(737, 13);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(49, 14);
|
||||
this.label2.TabIndex = 206;
|
||||
@@ -411,9 +413,9 @@
|
||||
//
|
||||
this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.comboBox1.FormattingEnabled = true;
|
||||
this.comboBox1.Location = new System.Drawing.Point(678, 10);
|
||||
this.comboBox1.Location = new System.Drawing.Point(789, 10);
|
||||
this.comboBox1.Name = "comboBox1";
|
||||
this.comboBox1.Size = new System.Drawing.Size(79, 21);
|
||||
this.comboBox1.Size = new System.Drawing.Size(116, 21);
|
||||
this.comboBox1.TabIndex = 207;
|
||||
this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
|
||||
this.comboBox1.MouseClick += new System.Windows.Forms.MouseEventHandler(this.comboBox1_MouseClick);
|
||||
@@ -421,7 +423,7 @@
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(762, 14);
|
||||
this.label3.Location = new System.Drawing.Point(515, 38);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(63, 14);
|
||||
this.label3.TabIndex = 206;
|
||||
@@ -431,7 +433,7 @@
|
||||
//
|
||||
this.comboBox2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.comboBox2.FormattingEnabled = true;
|
||||
this.comboBox2.Location = new System.Drawing.Point(826, 10);
|
||||
this.comboBox2.Location = new System.Drawing.Point(579, 35);
|
||||
this.comboBox2.Name = "comboBox2";
|
||||
this.comboBox2.Size = new System.Drawing.Size(87, 21);
|
||||
this.comboBox2.TabIndex = 207;
|
||||
@@ -441,7 +443,7 @@
|
||||
// label98
|
||||
//
|
||||
this.label98.AutoSize = true;
|
||||
this.label98.Location = new System.Drawing.Point(921, 14);
|
||||
this.label98.Location = new System.Drawing.Point(513, 62);
|
||||
this.label98.Name = "label98";
|
||||
this.label98.Size = new System.Drawing.Size(63, 14);
|
||||
this.label98.TabIndex = 14;
|
||||
@@ -451,7 +453,7 @@
|
||||
//
|
||||
this.comboBox3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.comboBox3.FormattingEnabled = true;
|
||||
this.comboBox3.Location = new System.Drawing.Point(987, 10);
|
||||
this.comboBox3.Location = new System.Drawing.Point(579, 59);
|
||||
this.comboBox3.Name = "comboBox3";
|
||||
this.comboBox3.Size = new System.Drawing.Size(118, 21);
|
||||
this.comboBox3.TabIndex = 207;
|
||||
@@ -461,7 +463,7 @@
|
||||
// label99
|
||||
//
|
||||
this.label99.AutoSize = true;
|
||||
this.label99.Location = new System.Drawing.Point(1228, 14);
|
||||
this.label99.Location = new System.Drawing.Point(826, 62);
|
||||
this.label99.Name = "label99";
|
||||
this.label99.Size = new System.Drawing.Size(35, 14);
|
||||
this.label99.TabIndex = 206;
|
||||
@@ -470,7 +472,7 @@
|
||||
// text008col
|
||||
//
|
||||
this.text008col.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.text008col.Location = new System.Drawing.Point(1266, 9);
|
||||
this.text008col.Location = new System.Drawing.Point(864, 58);
|
||||
this.text008col.Name = "text008col";
|
||||
this.text008col.Size = new System.Drawing.Size(41, 23);
|
||||
this.text008col.TabIndex = 204;
|
||||
@@ -479,7 +481,7 @@
|
||||
// label100
|
||||
//
|
||||
this.label100.AutoSize = true;
|
||||
this.label100.Location = new System.Drawing.Point(762, 40);
|
||||
this.label100.Location = new System.Drawing.Point(723, 38);
|
||||
this.label100.Name = "label100";
|
||||
this.label100.Size = new System.Drawing.Size(63, 14);
|
||||
this.label100.TabIndex = 206;
|
||||
@@ -489,9 +491,9 @@
|
||||
//
|
||||
this.comboBox4.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.comboBox4.FormattingEnabled = true;
|
||||
this.comboBox4.Location = new System.Drawing.Point(826, 36);
|
||||
this.comboBox4.Location = new System.Drawing.Point(789, 35);
|
||||
this.comboBox4.Name = "comboBox4";
|
||||
this.comboBox4.Size = new System.Drawing.Size(87, 21);
|
||||
this.comboBox4.Size = new System.Drawing.Size(116, 21);
|
||||
this.comboBox4.TabIndex = 207;
|
||||
this.comboBox4.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
|
||||
this.comboBox4.MouseClick += new System.Windows.Forms.MouseEventHandler(this.comboBox1_MouseClick);
|
||||
@@ -499,7 +501,7 @@
|
||||
// label101
|
||||
//
|
||||
this.label101.AutoSize = true;
|
||||
this.label101.Location = new System.Drawing.Point(949, 40);
|
||||
this.label101.Location = new System.Drawing.Point(541, 86);
|
||||
this.label101.Name = "label101";
|
||||
this.label101.Size = new System.Drawing.Size(35, 14);
|
||||
this.label101.TabIndex = 206;
|
||||
@@ -509,7 +511,7 @@
|
||||
//
|
||||
this.comboBox5.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.comboBox5.FormattingEnabled = true;
|
||||
this.comboBox5.Location = new System.Drawing.Point(987, 36);
|
||||
this.comboBox5.Location = new System.Drawing.Point(579, 83);
|
||||
this.comboBox5.Name = "comboBox5";
|
||||
this.comboBox5.Size = new System.Drawing.Size(97, 21);
|
||||
this.comboBox5.TabIndex = 207;
|
||||
@@ -519,7 +521,7 @@
|
||||
// label102
|
||||
//
|
||||
this.label102.AutoSize = true;
|
||||
this.label102.Location = new System.Drawing.Point(1089, 40);
|
||||
this.label102.Location = new System.Drawing.Point(681, 86);
|
||||
this.label102.Name = "label102";
|
||||
this.label102.Size = new System.Drawing.Size(35, 14);
|
||||
this.label102.TabIndex = 206;
|
||||
@@ -529,7 +531,7 @@
|
||||
//
|
||||
this.comboBox6.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.comboBox6.FormattingEnabled = true;
|
||||
this.comboBox6.Location = new System.Drawing.Point(1127, 36);
|
||||
this.comboBox6.Location = new System.Drawing.Point(719, 83);
|
||||
this.comboBox6.Name = "comboBox6";
|
||||
this.comboBox6.Size = new System.Drawing.Size(97, 21);
|
||||
this.comboBox6.TabIndex = 207;
|
||||
@@ -539,7 +541,7 @@
|
||||
// text008gov
|
||||
//
|
||||
this.text008gov.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.text008gov.Location = new System.Drawing.Point(1266, 35);
|
||||
this.text008gov.Location = new System.Drawing.Point(864, 82);
|
||||
this.text008gov.Name = "text008gov";
|
||||
this.text008gov.Size = new System.Drawing.Size(41, 23);
|
||||
this.text008gov.TabIndex = 204;
|
||||
@@ -548,7 +550,7 @@
|
||||
// label103
|
||||
//
|
||||
this.label103.AutoSize = true;
|
||||
this.label103.Location = new System.Drawing.Point(1228, 40);
|
||||
this.label103.Location = new System.Drawing.Point(826, 86);
|
||||
this.label103.Name = "label103";
|
||||
this.label103.Size = new System.Drawing.Size(35, 14);
|
||||
this.label103.TabIndex = 206;
|
||||
@@ -559,7 +561,7 @@
|
||||
this.col008res.AutoSize = true;
|
||||
this.col008res.BackColor = System.Drawing.SystemColors.ActiveBorder;
|
||||
this.col008res.ForeColor = System.Drawing.Color.Blue;
|
||||
this.col008res.Location = new System.Drawing.Point(1314, 14);
|
||||
this.col008res.Location = new System.Drawing.Point(912, 62);
|
||||
this.col008res.Name = "col008res";
|
||||
this.col008res.Size = new System.Drawing.Size(17, 14);
|
||||
this.col008res.TabIndex = 206;
|
||||
@@ -571,7 +573,7 @@
|
||||
this.gov008res.AutoSize = true;
|
||||
this.gov008res.BackColor = System.Drawing.SystemColors.ActiveBorder;
|
||||
this.gov008res.ForeColor = System.Drawing.Color.Blue;
|
||||
this.gov008res.Location = new System.Drawing.Point(1314, 40);
|
||||
this.gov008res.Location = new System.Drawing.Point(912, 86);
|
||||
this.gov008res.Name = "gov008res";
|
||||
this.gov008res.Size = new System.Drawing.Size(17, 14);
|
||||
this.gov008res.TabIndex = 206;
|
||||
@@ -581,22 +583,22 @@
|
||||
// checkBox1
|
||||
//
|
||||
this.checkBox1.AutoSize = true;
|
||||
this.checkBox1.Location = new System.Drawing.Point(404, 38);
|
||||
this.checkBox1.Location = new System.Drawing.Point(405, 11);
|
||||
this.checkBox1.Name = "checkBox1";
|
||||
this.checkBox1.Size = new System.Drawing.Size(129, 18);
|
||||
this.checkBox1.Size = new System.Drawing.Size(96, 18);
|
||||
this.checkBox1.TabIndex = 213;
|
||||
this.checkBox1.Text = "회의간행물 여부";
|
||||
this.checkBox1.Text = "회의간행물";
|
||||
this.checkBox1.UseVisualStyleBackColor = true;
|
||||
this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
|
||||
//
|
||||
// checkBox2
|
||||
//
|
||||
this.checkBox2.AutoSize = true;
|
||||
this.checkBox2.Location = new System.Drawing.Point(551, 38);
|
||||
this.checkBox2.Location = new System.Drawing.Point(405, 36);
|
||||
this.checkBox2.Name = "checkBox2";
|
||||
this.checkBox2.Size = new System.Drawing.Size(129, 18);
|
||||
this.checkBox2.Size = new System.Drawing.Size(96, 18);
|
||||
this.checkBox2.TabIndex = 213;
|
||||
this.checkBox2.Text = "기념논문집 여부";
|
||||
this.checkBox2.Text = "기념논문집";
|
||||
this.checkBox2.UseVisualStyleBackColor = true;
|
||||
this.checkBox2.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
|
||||
//
|
||||
@@ -604,7 +606,7 @@
|
||||
//
|
||||
this.comboBox7.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.comboBox7.FormattingEnabled = true;
|
||||
this.comboBox7.Location = new System.Drawing.Point(1106, 10);
|
||||
this.comboBox7.Location = new System.Drawing.Point(698, 59);
|
||||
this.comboBox7.Name = "comboBox7";
|
||||
this.comboBox7.Size = new System.Drawing.Size(118, 21);
|
||||
this.comboBox7.TabIndex = 207;
|
||||
@@ -613,9 +615,9 @@
|
||||
//
|
||||
// Btn_Memo
|
||||
//
|
||||
this.Btn_Memo.Location = new System.Drawing.Point(14, 130);
|
||||
this.Btn_Memo.Location = new System.Drawing.Point(14, 118);
|
||||
this.Btn_Memo.Name = "Btn_Memo";
|
||||
this.Btn_Memo.Size = new System.Drawing.Size(77, 30);
|
||||
this.Btn_Memo.Size = new System.Drawing.Size(77, 33);
|
||||
this.Btn_Memo.TabIndex = 215;
|
||||
this.Btn_Memo.Text = "메모장";
|
||||
this.Btn_Memo.UseVisualStyleBackColor = true;
|
||||
@@ -623,11 +625,11 @@
|
||||
//
|
||||
// btn_Save
|
||||
//
|
||||
this.btn_Save.Location = new System.Drawing.Point(14, 167);
|
||||
this.btn_Save.Location = new System.Drawing.Point(14, 153);
|
||||
this.btn_Save.Name = "btn_Save";
|
||||
this.btn_Save.Size = new System.Drawing.Size(77, 30);
|
||||
this.btn_Save.Size = new System.Drawing.Size(77, 33);
|
||||
this.btn_Save.TabIndex = 215;
|
||||
this.btn_Save.Text = "저 장";
|
||||
this.btn_Save.Text = "저장(F9)";
|
||||
this.btn_Save.UseVisualStyleBackColor = true;
|
||||
this.btn_Save.Click += new System.EventHandler(this.Btn_Save_Click);
|
||||
//
|
||||
@@ -637,7 +639,7 @@
|
||||
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(0, 0);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(40, 64);
|
||||
this.label4.Size = new System.Drawing.Size(40, 109);
|
||||
this.label4.TabIndex = 206;
|
||||
this.label4.Text = "008";
|
||||
this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
@@ -650,7 +652,7 @@
|
||||
this.text008.Location = new System.Drawing.Point(40, 0);
|
||||
this.text008.Margin = new System.Windows.Forms.Padding(3);
|
||||
this.text008.Name = "text008";
|
||||
this.text008.Size = new System.Drawing.Size(328, 64);
|
||||
this.text008.Size = new System.Drawing.Size(328, 109);
|
||||
this.text008.TabIndex = 204;
|
||||
this.text008.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
@@ -665,7 +667,7 @@
|
||||
this.panel3.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel3.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.panel3.Name = "panel3";
|
||||
this.panel3.Size = new System.Drawing.Size(398, 66);
|
||||
this.panel3.Size = new System.Drawing.Size(398, 111);
|
||||
this.panel3.TabIndex = 219;
|
||||
//
|
||||
// btn_Reflesh008
|
||||
@@ -676,16 +678,16 @@
|
||||
this.btn_Reflesh008.Location = new System.Drawing.Point(368, 0);
|
||||
this.btn_Reflesh008.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.btn_Reflesh008.Name = "btn_Reflesh008";
|
||||
this.btn_Reflesh008.Size = new System.Drawing.Size(28, 64);
|
||||
this.btn_Reflesh008.Size = new System.Drawing.Size(28, 109);
|
||||
this.btn_Reflesh008.TabIndex = 207;
|
||||
this.btn_Reflesh008.UseVisualStyleBackColor = false;
|
||||
this.btn_Reflesh008.Click += new System.EventHandler(this.btn_Reflesh008_Click);
|
||||
//
|
||||
// btn_close
|
||||
//
|
||||
this.btn_close.Location = new System.Drawing.Point(14, 241);
|
||||
this.btn_close.Location = new System.Drawing.Point(14, 223);
|
||||
this.btn_close.Name = "btn_close";
|
||||
this.btn_close.Size = new System.Drawing.Size(77, 30);
|
||||
this.btn_close.Size = new System.Drawing.Size(77, 33);
|
||||
this.btn_close.TabIndex = 215;
|
||||
this.btn_close.Text = "닫 기";
|
||||
this.btn_close.UseVisualStyleBackColor = true;
|
||||
@@ -698,7 +700,7 @@
|
||||
this.input_date.Checked = false;
|
||||
this.input_date.CustomFormat = "yyyy-MM-dd";
|
||||
this.input_date.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
|
||||
this.input_date.Location = new System.Drawing.Point(477, 9);
|
||||
this.input_date.Location = new System.Drawing.Point(579, 9);
|
||||
this.input_date.Name = "input_date";
|
||||
this.input_date.ShowCheckBox = true;
|
||||
this.input_date.Size = new System.Drawing.Size(127, 23);
|
||||
@@ -707,9 +709,9 @@
|
||||
//
|
||||
// btn_preview
|
||||
//
|
||||
this.btn_preview.Location = new System.Drawing.Point(14, 204);
|
||||
this.btn_preview.Location = new System.Drawing.Point(14, 188);
|
||||
this.btn_preview.Name = "btn_preview";
|
||||
this.btn_preview.Size = new System.Drawing.Size(77, 30);
|
||||
this.btn_preview.Size = new System.Drawing.Size(77, 33);
|
||||
this.btn_preview.TabIndex = 215;
|
||||
this.btn_preview.Text = "미리보기";
|
||||
this.btn_preview.UseVisualStyleBackColor = true;
|
||||
@@ -741,7 +743,7 @@
|
||||
//
|
||||
// btn_FillBlank
|
||||
//
|
||||
this.btn_FillBlank.Location = new System.Drawing.Point(14, 63);
|
||||
this.btn_FillBlank.Location = new System.Drawing.Point(14, 56);
|
||||
this.btn_FillBlank.Name = "btn_FillBlank";
|
||||
this.btn_FillBlank.Size = new System.Drawing.Size(77, 60);
|
||||
this.btn_FillBlank.TabIndex = 228;
|
||||
@@ -753,7 +755,6 @@
|
||||
//
|
||||
this.tabControl1.Controls.Add(this.tabPage1);
|
||||
this.tabControl1.Controls.Add(this.tabPage2);
|
||||
this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.tabControl1.Font = new System.Drawing.Font("돋움", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.tabControl1.Location = new System.Drawing.Point(0, 0);
|
||||
this.tabControl1.Multiline = true;
|
||||
@@ -767,10 +768,10 @@
|
||||
//
|
||||
this.tabPage1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.tabPage1.Controls.Add(this.richTextBox1);
|
||||
this.tabPage1.Location = new System.Drawing.Point(4, 25);
|
||||
this.tabPage1.Location = new System.Drawing.Point(4, 23);
|
||||
this.tabPage1.Name = "tabPage1";
|
||||
this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
|
||||
this.tabPage1.Size = new System.Drawing.Size(1009, 1027);
|
||||
this.tabPage1.Size = new System.Drawing.Size(941, 785);
|
||||
this.tabPage1.TabIndex = 0;
|
||||
this.tabPage1.Text = "마크 편집";
|
||||
//
|
||||
@@ -876,8 +877,8 @@
|
||||
this.GridView020.Name = "GridView020";
|
||||
this.GridView020.RowHeadersVisible = false;
|
||||
this.GridView020.RowHeadersWidth = 30;
|
||||
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.GridView020.RowsDefaultCellStyle = dataGridViewCellStyle1;
|
||||
dataGridViewCellStyle9.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.GridView020.RowsDefaultCellStyle = dataGridViewCellStyle9;
|
||||
this.GridView020.RowTemplate.Height = 23;
|
||||
this.GridView020.Size = new System.Drawing.Size(408, 80);
|
||||
this.GridView020.TabIndex = 0;
|
||||
@@ -951,8 +952,8 @@
|
||||
this.GridView505.Name = "GridView505";
|
||||
this.GridView505.RowHeadersVisible = false;
|
||||
this.GridView505.RowHeadersWidth = 30;
|
||||
dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.GridView505.RowsDefaultCellStyle = dataGridViewCellStyle2;
|
||||
dataGridViewCellStyle10.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.GridView505.RowsDefaultCellStyle = dataGridViewCellStyle10;
|
||||
this.GridView505.RowTemplate.Height = 23;
|
||||
this.GridView505.Size = new System.Drawing.Size(401, 71);
|
||||
this.GridView505.TabIndex = 2;
|
||||
@@ -1091,14 +1092,14 @@
|
||||
this.GridView246.AllowDrop = true;
|
||||
this.GridView246.AllowUserToAddRows = false;
|
||||
this.GridView246.AllowUserToResizeRows = false;
|
||||
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle3.Font = new System.Drawing.Font("돋움", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.GridView246.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle3;
|
||||
dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle11.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle11.Font = new System.Drawing.Font("돋움", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
dataGridViewCellStyle11.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle11.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle11.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle11.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.GridView246.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle11;
|
||||
this.GridView246.ColumnHeadersHeight = 29;
|
||||
this.GridView246.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.Text246Jisi,
|
||||
@@ -1111,8 +1112,8 @@
|
||||
this.GridView246.Name = "GridView246";
|
||||
this.GridView246.RowHeadersVisible = false;
|
||||
this.GridView246.RowHeadersWidth = 30;
|
||||
dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.GridView246.RowsDefaultCellStyle = dataGridViewCellStyle4;
|
||||
dataGridViewCellStyle12.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.GridView246.RowsDefaultCellStyle = dataGridViewCellStyle12;
|
||||
this.GridView246.RowTemplate.Height = 23;
|
||||
this.GridView246.Size = new System.Drawing.Size(493, 138);
|
||||
this.GridView246.TabIndex = 31;
|
||||
@@ -1271,14 +1272,14 @@
|
||||
this.GridView440.AllowDrop = true;
|
||||
this.GridView440.AllowUserToAddRows = false;
|
||||
this.GridView440.AllowUserToResizeRows = false;
|
||||
dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle5.Font = new System.Drawing.Font("돋움", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.GridView440.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle5;
|
||||
dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle13.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle13.Font = new System.Drawing.Font("돋움", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
dataGridViewCellStyle13.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle13.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle13.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle13.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.GridView440.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle13;
|
||||
this.GridView440.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.GridView440.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.text440a,
|
||||
@@ -1291,8 +1292,8 @@
|
||||
this.GridView440.Name = "GridView440";
|
||||
this.GridView440.RowHeadersVisible = false;
|
||||
this.GridView440.RowHeadersWidth = 30;
|
||||
dataGridViewCellStyle6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.GridView440.RowsDefaultCellStyle = dataGridViewCellStyle6;
|
||||
dataGridViewCellStyle14.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.GridView440.RowsDefaultCellStyle = dataGridViewCellStyle14;
|
||||
this.GridView440.RowTemplate.Height = 23;
|
||||
this.GridView440.Size = new System.Drawing.Size(597, 71);
|
||||
this.GridView440.TabIndex = 18;
|
||||
@@ -1400,14 +1401,14 @@
|
||||
this.GridView490.AllowDrop = true;
|
||||
this.GridView490.AllowUserToAddRows = false;
|
||||
this.GridView490.AllowUserToResizeRows = false;
|
||||
dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle7.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle7.Font = new System.Drawing.Font("돋움", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
dataGridViewCellStyle7.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle7.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle7.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.GridView490.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle7;
|
||||
dataGridViewCellStyle15.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle15.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle15.Font = new System.Drawing.Font("돋움", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
dataGridViewCellStyle15.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle15.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle15.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle15.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.GridView490.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle15;
|
||||
this.GridView490.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.GridView490.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.text490a,
|
||||
@@ -1416,8 +1417,8 @@
|
||||
this.GridView490.Name = "GridView490";
|
||||
this.GridView490.RowHeadersVisible = false;
|
||||
this.GridView490.RowHeadersWidth = 30;
|
||||
dataGridViewCellStyle8.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.GridView490.RowsDefaultCellStyle = dataGridViewCellStyle8;
|
||||
dataGridViewCellStyle16.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.GridView490.RowsDefaultCellStyle = dataGridViewCellStyle16;
|
||||
this.GridView490.RowTemplate.Height = 23;
|
||||
this.GridView490.Size = new System.Drawing.Size(321, 71);
|
||||
this.GridView490.TabIndex = 19;
|
||||
@@ -2237,7 +2238,7 @@
|
||||
// checkBox4
|
||||
//
|
||||
this.checkBox4.AutoSize = true;
|
||||
this.checkBox4.Location = new System.Drawing.Point(698, 38);
|
||||
this.checkBox4.Location = new System.Drawing.Point(405, 60);
|
||||
this.checkBox4.Name = "checkBox4";
|
||||
this.checkBox4.Size = new System.Drawing.Size(54, 18);
|
||||
this.checkBox4.TabIndex = 213;
|
||||
@@ -2251,9 +2252,9 @@
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.pictureBox1.BackColor = System.Drawing.SystemColors.ControlLight;
|
||||
this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
||||
this.pictureBox1.Location = new System.Drawing.Point(101, 10);
|
||||
this.pictureBox1.Location = new System.Drawing.Point(98, 10);
|
||||
this.pictureBox1.Name = "pictureBox1";
|
||||
this.pictureBox1.Size = new System.Drawing.Size(283, 287);
|
||||
this.pictureBox1.Size = new System.Drawing.Size(283, 250);
|
||||
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||
this.pictureBox1.TabIndex = 221;
|
||||
this.pictureBox1.TabStop = false;
|
||||
@@ -2264,9 +2265,9 @@
|
||||
this.panel1.Controls.Add(this.tableLayoutPanel1);
|
||||
this.panel1.Controls.Add(this.panel2);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.panel1.Location = new System.Drawing.Point(949, 66);
|
||||
this.panel1.Location = new System.Drawing.Point(949, 0);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(392, 812);
|
||||
this.panel1.Size = new System.Drawing.Size(392, 878);
|
||||
this.panel1.TabIndex = 319;
|
||||
//
|
||||
// tableLayoutPanel1
|
||||
@@ -2281,11 +2282,13 @@
|
||||
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(392, 504);
|
||||
this.tableLayoutPanel1.Size = new System.Drawing.Size(392, 570);
|
||||
this.tableLayoutPanel1.TabIndex = 0;
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.Controls.Add(this.btNext);
|
||||
this.panel2.Controls.Add(this.btPrev);
|
||||
this.panel2.Controls.Add(this.pictureBox1);
|
||||
this.panel2.Controls.Add(this.btn_Save);
|
||||
this.panel2.Controls.Add(this.btn_preview);
|
||||
@@ -2300,15 +2303,35 @@
|
||||
this.panel2.Size = new System.Drawing.Size(392, 308);
|
||||
this.panel2.TabIndex = 1;
|
||||
//
|
||||
// btNext
|
||||
//
|
||||
this.btNext.Location = new System.Drawing.Point(274, 266);
|
||||
this.btNext.Name = "btNext";
|
||||
this.btNext.Size = new System.Drawing.Size(107, 33);
|
||||
this.btNext.TabIndex = 230;
|
||||
this.btNext.Text = "다 음(F8)";
|
||||
this.btNext.UseVisualStyleBackColor = true;
|
||||
this.btNext.Click += new System.EventHandler(this.btNext_Click);
|
||||
//
|
||||
// btPrev
|
||||
//
|
||||
this.btPrev.Location = new System.Drawing.Point(98, 266);
|
||||
this.btPrev.Name = "btPrev";
|
||||
this.btPrev.Size = new System.Drawing.Size(107, 33);
|
||||
this.btPrev.TabIndex = 229;
|
||||
this.btPrev.Text = "이 전(F7)";
|
||||
this.btPrev.UseVisualStyleBackColor = true;
|
||||
this.btPrev.Click += new System.EventHandler(this.btPrev_Click);
|
||||
//
|
||||
// panel5
|
||||
//
|
||||
this.panel5.Controls.Add(this.lbl_ISBN);
|
||||
this.panel5.Controls.Add(this.lbl_SaveData);
|
||||
this.panel5.Controls.Add(this.tabControl1);
|
||||
this.panel5.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel5.Location = new System.Drawing.Point(0, 66);
|
||||
this.panel5.Location = new System.Drawing.Point(0, 111);
|
||||
this.panel5.Name = "panel5";
|
||||
this.panel5.Size = new System.Drawing.Size(949, 812);
|
||||
this.panel5.Size = new System.Drawing.Size(949, 767);
|
||||
this.panel5.TabIndex = 320;
|
||||
//
|
||||
// panel6
|
||||
@@ -2342,15 +2365,15 @@
|
||||
this.panel6.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel6.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel6.Name = "panel6";
|
||||
this.panel6.Size = new System.Drawing.Size(1341, 66);
|
||||
this.panel6.Size = new System.Drawing.Size(949, 111);
|
||||
this.panel6.TabIndex = 321;
|
||||
//
|
||||
// MarcEditorControl
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
this.Controls.Add(this.panel5);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Controls.Add(this.panel6);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Font = new System.Drawing.Font("돋움", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.Name = "MarcEditorControl";
|
||||
this.Size = new System.Drawing.Size(1341, 878);
|
||||
@@ -2592,5 +2615,7 @@
|
||||
private System.Windows.Forms.Panel panel2;
|
||||
private System.Windows.Forms.Panel panel5;
|
||||
private System.Windows.Forms.Panel panel6;
|
||||
private System.Windows.Forms.Button btNext;
|
||||
private System.Windows.Forms.Button btPrev;
|
||||
}
|
||||
}
|
||||
@@ -1,10 +1,14 @@
|
||||
//using Microsoft.Office.Interop.Excel;
|
||||
using AR;
|
||||
using Microsoft.VisualBasic.ApplicationServices;
|
||||
using Org.BouncyCastle.Pkcs;
|
||||
using Org.BouncyCastle.Tls.Crypto;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Web.UI.WebControls.WebParts;
|
||||
using System.Windows.Forms;
|
||||
using UniMarc;
|
||||
using UniMarc.ListOfValue;
|
||||
@@ -18,9 +22,8 @@ namespace ExcelTest
|
||||
/// <summary>
|
||||
/// isbn / 도서명 / 저자 / 출판사 / 가격
|
||||
/// </summary>
|
||||
string[] data_book = { "", "", "", "", "" };
|
||||
//string[] data_book = { "", "", "", "", "" };
|
||||
int SaveRowIdx = -1; // Keep for now but might be unused if we rely on properties
|
||||
public string mUserName;
|
||||
string mCompidx = UniMarc.Properties.Settings.Default.compidx;
|
||||
string mListIdx = "";
|
||||
public string find;
|
||||
@@ -30,40 +33,34 @@ namespace ExcelTest
|
||||
private bool mLoadCompleted = false;
|
||||
string tbName = "";
|
||||
public int checkCout = 0;
|
||||
// public bool gridViewChk = false; // Removed
|
||||
public Helper_DB db;// = new Helper_DB();
|
||||
Help008Tag tag008 = new Help008Tag();
|
||||
Skill_Search_Text search_Text = new Skill_Search_Text();
|
||||
String_Text st = new String_Text();
|
||||
// Mac_List ml; // Removed
|
||||
string l_idx = string.Empty;
|
||||
string c_idx = string.Empty;
|
||||
MacEditorParameter Param = null;
|
||||
//public string CurrentISBN13 { get; set; }
|
||||
|
||||
|
||||
|
||||
//public string CurrentMarcIdx { get; set; }
|
||||
|
||||
//public string CurrentUser { get; set; }
|
||||
//public string CurrentSaveDate { get; set; }
|
||||
//public string CurrentListIdx { get; set; }
|
||||
|
||||
|
||||
public event EventHandler FillBlankClicked;
|
||||
|
||||
public event EventHandler PrevButton;
|
||||
public event EventHandler NextButton;
|
||||
|
||||
// Properties to replace List_Book row access
|
||||
public string CurrentISBN13 { get; set; }
|
||||
public string CurrentBookName { get; set; }
|
||||
public string CurrentAuthor { get; set; }
|
||||
public string CurrentPublisher { get; set; }
|
||||
public string CurrentPrice { get; set; } // pay
|
||||
public string CurrentURL { get; set; } // image_url?
|
||||
public string CurrentMarcIdx { get; set; }
|
||||
public string CurrentDBMarc { get; set; } // db_marc
|
||||
public string CurrentGrade { get; set; }
|
||||
public string CurrentUser { get; set; }
|
||||
public string CurrentSaveDate { get; set; }
|
||||
public string CurrentListIdx { get; set; }
|
||||
|
||||
public MarcEditorControl()
|
||||
{
|
||||
InitializeComponent();
|
||||
mUserName = string.Empty;
|
||||
}
|
||||
|
||||
public void SetUser(string userName)
|
||||
{
|
||||
mUserName = userName;
|
||||
}
|
||||
|
||||
string l_idx = string.Empty;
|
||||
string c_idx = string.Empty;
|
||||
private void Marc_Load(object sender, EventArgs e)
|
||||
{
|
||||
#region ComboBox Item Setting
|
||||
@@ -101,202 +98,72 @@ namespace ExcelTest
|
||||
#endregion
|
||||
}
|
||||
|
||||
//public void input_list(string l_idx, string value)
|
||||
//{
|
||||
// db.DBcon();
|
||||
|
||||
// lbl_BookList.Text = value;
|
||||
|
||||
// string Area =
|
||||
// // 0 1 2 3
|
||||
// "olb.idx, olb.isbn_marc, olb.header, olb.num, " +
|
||||
// // 4 5 6 7 8 9
|
||||
// "olb.book_name, olb.author, olb.book_comp, olb.`count`, olb.price, olb.image_url, " +
|
||||
// // 10 11 12 13 14 15 16
|
||||
// "mac.idx, mac.marc, mac.marc_chk, mac.marc1, mac.marc_chk1, mac.marc2, mac.marc_chk2, " +
|
||||
// // 17 18 19 20
|
||||
// "mac.grade, mac.compidx, mac.`user`, mac.date";
|
||||
|
||||
// string CMD = string.Format("" +
|
||||
// "SELECT {0} " +
|
||||
// "FROM Obj_List_Book AS olb " +
|
||||
// "LEFT JOIN Marc AS mac " +
|
||||
// // "ON if (olb.m_idx = 0, mac.ISBN = olb.isbn_marc, mac.idx = olb.m_idx) " +
|
||||
// "ON mac.ISBN = olb.isbn_marc " +
|
||||
// "WHERE olb.l_idx = {1} " +
|
||||
// "GROUP BY olb.book_name " +
|
||||
// "ORDER BY olb.idx ASC;", Area, l_idx);
|
||||
// string db_res = db.DB_Send_CMD_Search(CMD);
|
||||
// string[] db_data = db_res.Split('|');
|
||||
|
||||
// string[] grid = {
|
||||
// "", "", "", "", "",
|
||||
// "", "", "", "", "",
|
||||
// "", "", "V", "", "" };
|
||||
|
||||
// string[] MarcData = { "", "", "", "", "", "" };
|
||||
|
||||
// for (int a = 0; a < db_data.Length; a++)
|
||||
// {
|
||||
// if (a % 21 == 00) grid[0] = db_data[a];
|
||||
// if (a % 21 == 01) grid[1] = db_data[a];
|
||||
// if (a % 21 == 02) grid[2] = db_data[a];
|
||||
// if (a % 21 == 03) grid[2] += db_data[a];
|
||||
// if (a % 21 == 04) grid[3] = db_data[a];
|
||||
// if (a % 21 == 05) grid[4] = db_data[a];
|
||||
// if (a % 21 == 06) grid[5] = db_data[a];
|
||||
// if (a % 21 == 07) grid[6] = db_data[a];
|
||||
// if (a % 21 == 08) grid[7] = db_data[a];
|
||||
// if (a % 21 == 09) grid[8] = db_data[a];
|
||||
// if (a % 21 == 10) grid[9] = db_data[a];
|
||||
// if (a % 21 == 11) MarcData[0] = db_data[a];
|
||||
// if (a % 21 == 12) MarcData[1] = db_data[a];
|
||||
// if (a % 21 == 13) MarcData[2] = db_data[a];
|
||||
// if (a % 21 == 14) MarcData[3] = db_data[a];
|
||||
// if (a % 21 == 15) MarcData[4] = db_data[a];
|
||||
// if (a % 21 == 16) MarcData[5] = db_data[a];
|
||||
// if (a % 21 == 17)
|
||||
// {
|
||||
// grid[10] = RealMarc(MarcData);
|
||||
// if (grid[10] == "") grid[11] = "3";
|
||||
// else grid[11] = db_data[a];
|
||||
// }
|
||||
// if (a % 21 == 18) {
|
||||
// if (db_data[a] == "") grid[13] = "";
|
||||
// else if (mCompidx != db_data[a]) {
|
||||
// string FindCompCmd = string.Format("SELECT `comp_name` FROM `Comp` WHERE `idx` = {0}", db_data[a]);
|
||||
// grid[13] = db.DB_Send_CMD_Search(FindCompCmd).Replace("|", "");
|
||||
// }
|
||||
// }
|
||||
// if (a % 21 == 19) {
|
||||
// if (grid[13] == "")
|
||||
// grid[13] = db_data[a];
|
||||
// }
|
||||
// if (a % 21 == 20)
|
||||
// {
|
||||
// grid[14] = db_data[a];
|
||||
// List_Book.Rows.Add(grid);
|
||||
// }
|
||||
// }
|
||||
|
||||
// for (int a = 0; a < List_Book.Rows.Count; a++)
|
||||
// {
|
||||
// string Grade = List_Book.Rows[a].Cells["grade"].Value.ToString();
|
||||
// string SaveDate = List_Book.Rows[a].Cells["SaveDate"].Value.ToString();
|
||||
// List_Book.Rows[a].DefaultCellStyle.ForeColor = SetGradeColor(Grade);
|
||||
// SaveDateCheck(SaveDate, a);
|
||||
// }
|
||||
|
||||
|
||||
//}
|
||||
|
||||
private string RealMarc(string[] MarcData)
|
||||
{
|
||||
string result = "";
|
||||
if (MarcData[1] == "1")
|
||||
result = MarcData[0];
|
||||
|
||||
if (MarcData[3] == "1")
|
||||
result = MarcData[2];
|
||||
|
||||
if (MarcData[5] == "1")
|
||||
result = MarcData[4];
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
public void LoadBookData(string isbn13, string bookName, string author, string publisher, string price, string url, string marcIdx, string dbMarc, string grade, string user, string saveDate, string listIdx)
|
||||
{
|
||||
CurrentISBN13 = isbn13;
|
||||
CurrentBookName = bookName;
|
||||
CurrentAuthor = author;
|
||||
CurrentPublisher = publisher;
|
||||
CurrentPrice = price;
|
||||
CurrentURL = url;
|
||||
CurrentMarcIdx = marcIdx;
|
||||
CurrentDBMarc = dbMarc;
|
||||
CurrentGrade = grade;
|
||||
CurrentUser = user;
|
||||
CurrentSaveDate = saveDate;
|
||||
CurrentListIdx = listIdx;
|
||||
|
||||
lbl_ISBN.Text = $"[{CurrentISBN13}]";
|
||||
|
||||
// Update data_book for Create_008 or Empty logic
|
||||
data_book[0] = CurrentISBN13;
|
||||
data_book[1] = CurrentBookName;
|
||||
data_book[2] = CurrentAuthor;
|
||||
data_book[3] = CurrentPublisher;
|
||||
data_book[4] = CurrentPrice;
|
||||
|
||||
LoadMarc(CurrentDBMarc);
|
||||
input_picture();
|
||||
|
||||
// Set 008 text if present
|
||||
// LoadMarc does this via text008.Text assignment
|
||||
|
||||
|
||||
Create_008();
|
||||
|
||||
// Check Ownership
|
||||
if (string.IsNullOrEmpty(CurrentMarcIdx) || CurrentMarcIdx == "0")
|
||||
IsMyData = true; // New record is mine
|
||||
else
|
||||
IsMyData = CheckOwner(CurrentMarcIdx);
|
||||
|
||||
ReadRemark();
|
||||
}
|
||||
|
||||
private bool CheckOwner(string marcIdx)
|
||||
{
|
||||
string query = $"SELECT `compidx` FROM `Marc` WHERE `idx` = '{marcIdx}'";
|
||||
string res = db.DB_Send_CMD_Search(query).Replace("|", "");
|
||||
return res == mCompidx;
|
||||
}
|
||||
/// <summary>
|
||||
/// 마크 유무 확인하는 함수
|
||||
/// 입력된 자료를 표시합니다.
|
||||
/// </summary>
|
||||
|
||||
|
||||
private string NewestMarc(string[] marc, string[] marc_chk)
|
||||
/// <param name="isbn13"></param>
|
||||
/// <param name="url"></param>
|
||||
/// <param name="marcIdx"></param>
|
||||
/// <param name="dbMarc"></param>
|
||||
/// <param name="grade"></param>
|
||||
/// <param name="user"></param>
|
||||
/// <param name="saveDate"></param>
|
||||
/// <param name="listIdx"></param>
|
||||
public void LoadBookData(string dbMarc,MacEditorParameter _param)
|
||||
{
|
||||
string result = "";
|
||||
int count = 0;
|
||||
foreach (string chk in marc_chk)
|
||||
mLoadCompleted = false;
|
||||
Param = _param;
|
||||
|
||||
|
||||
lbl_SaveData.Text = $"[{Param.User}] [{Param.SaveDate}]";
|
||||
lbl_ISBN.Text = $"[{Param.ISBN13}]";
|
||||
|
||||
LoadMarc(dbMarc); //여기에서도 008을 설정한다
|
||||
|
||||
try
|
||||
{
|
||||
if (chk == "1")
|
||||
result = marc[count];
|
||||
|
||||
count++;
|
||||
//픽쳐박스이미지 업데이트
|
||||
string isbn = _param.ISBN13;
|
||||
string isbn3 = isbn.Substring(isbn.Length - 3, 3);
|
||||
string tFilePath = string.Format("https://contents.kyobobook.co.kr/sih/fit-in/458x0/pdt/{0}.jpg", isbn);
|
||||
pictureBox1.ImageLocation = tFilePath;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
private Color SetGradeColor(string Grade, bool isMyData = true)
|
||||
{
|
||||
if (!isMyData)
|
||||
return Color.Orange;
|
||||
|
||||
switch (Grade)
|
||||
catch
|
||||
{
|
||||
case "0": // A
|
||||
return Color.Blue;
|
||||
|
||||
case "1": // B
|
||||
return Color.Black;
|
||||
|
||||
case "2": // C
|
||||
return Color.Gray;
|
||||
|
||||
case "3": // D
|
||||
return Color.Red;
|
||||
|
||||
default:
|
||||
return Color.Black;
|
||||
pictureBox1.Image = null;
|
||||
pictureBox1.ImageLocation = null;
|
||||
}
|
||||
finally
|
||||
{
|
||||
pictureBox1.Tag = _param.URL;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
richTextBox1.Text = "";
|
||||
|
||||
bool check_Marc = click_Marc(dbMarc); //여기안에서 또 008을 설정한다
|
||||
|
||||
if (!check_Marc)
|
||||
richTextBox1.Text = Make_Empty();
|
||||
else
|
||||
{
|
||||
etc1.Text = Param.Remark1;
|
||||
etc2.Text = Param.Remark2;
|
||||
//ReadRemark();
|
||||
}
|
||||
|
||||
|
||||
Create_008();
|
||||
st.Color_change("▼", richTextBox1);
|
||||
st.Color_change("▲", richTextBox1);
|
||||
|
||||
//자료의 등급 다시 선택
|
||||
if (int.TryParse(this.Param.Grade, out int gradeNo) == false)
|
||||
gradeNo = 2;
|
||||
cb_grade.SelectedIndex = gradeNo;
|
||||
mLoadCompleted = true;
|
||||
}
|
||||
|
||||
|
||||
private void richTextBox1_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
@@ -335,6 +202,10 @@ namespace ExcelTest
|
||||
richTextBox1.SelectedText = "▼";
|
||||
else if (e.KeyCode == Keys.F4)
|
||||
richTextBox1.SelectedText = "▲";
|
||||
else if (e.KeyCode == Keys.F8) //next
|
||||
btNext.PerformClick();
|
||||
else if (e.KeyCode == Keys.F7) //prev
|
||||
btPrev.PerformClick();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -399,45 +270,38 @@ namespace ExcelTest
|
||||
private void Btn_preview_Click(object sender, EventArgs e)
|
||||
{
|
||||
Marc_Preview mp = new Marc_Preview();
|
||||
mp.isbn = data_book[0];
|
||||
mp.isbn = Param.ISBN13;
|
||||
mp.richTextBox1.Text = richTextBox1.Text;
|
||||
mp.Show();
|
||||
}
|
||||
public class BookSavedEventArgs : EventArgs
|
||||
{
|
||||
public string ListIdx { get; set; }
|
||||
public string Grade { get; set; }
|
||||
public string SaveDate { get; set; }
|
||||
public string User { get; set; }
|
||||
public string DBMarc { get; set; }
|
||||
public string MarcIdx { get; set; }
|
||||
public string tag056 { get; set; }
|
||||
public string text008 { get; set; }
|
||||
public MacEditorParameter griddata { get; set; }
|
||||
}
|
||||
|
||||
public event EventHandler<BookSavedEventArgs> BookSaved;
|
||||
public bool IsMyData = false;
|
||||
|
||||
private void Btn_Save_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (string.IsNullOrEmpty(CurrentISBN13))
|
||||
if (string.IsNullOrEmpty(Param.ISBN13))
|
||||
{
|
||||
MessageBox.Show("마크가 선택되지않았습니다.");
|
||||
return;
|
||||
}
|
||||
int TabIndex = tabControl1.SelectedIndex;
|
||||
int grade = cb_grade.SelectedIndex;
|
||||
|
||||
if (TabIndex == 1)
|
||||
{
|
||||
MessageBox.Show("[칸채우기]가 아닌 [마크 편집] 탭에서 저장해주세요!");
|
||||
return;
|
||||
}
|
||||
if (grade == 3)
|
||||
{
|
||||
MessageBox.Show("등급을 설정해주세요. (C 이상)");
|
||||
return;
|
||||
}
|
||||
string table_name = "Marc";
|
||||
|
||||
string BaseText = richTextBox1.Text;
|
||||
string lblisbn = CurrentISBN13; // lbl_ISBN.Text.Replace("[", "").Replace("]", "");
|
||||
string lblisbn = Param.ISBN13; // lbl_ISBN.Text.Replace("[", "").Replace("]", "");
|
||||
|
||||
if (!BaseText.EndsWith("\n"))
|
||||
BaseText += "\n";
|
||||
@@ -448,22 +312,16 @@ namespace ExcelTest
|
||||
return;
|
||||
}
|
||||
|
||||
//ISBN이 변경되었다면 저장하지 못하게 한다 (경고 후 저장 가능하게 한다 26010?)
|
||||
if (BaseText.IndexOf(lblisbn) < 0)
|
||||
{
|
||||
MessageBox.Show("ISBN 상태를 확인해주세요.");
|
||||
UTIL.MsgE("저장된 ISBN이 마크데이터에 없습니다.\nISBN값이 변경되었습니다");
|
||||
return;
|
||||
}
|
||||
string tag056 = Tag056();
|
||||
string[] grid_data = {
|
||||
CurrentISBN13,
|
||||
CurrentBookName,
|
||||
CurrentAuthor,
|
||||
CurrentPublisher,
|
||||
CurrentPrice,
|
||||
CurrentURL };
|
||||
string date = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
|
||||
string orimarc = st.made_Ori_marc(richTextBox1).Replace(@"\", "₩");
|
||||
string Midx = CurrentMarcIdx;
|
||||
|
||||
// 필수태그 확인
|
||||
if (!isMustTag(orimarc))
|
||||
{
|
||||
@@ -471,120 +329,23 @@ namespace ExcelTest
|
||||
return;
|
||||
}
|
||||
|
||||
string SaveDate = CurrentSaveDate;
|
||||
string SaveUser = CurrentUser;
|
||||
bool IsCoverDate = false;
|
||||
|
||||
if (SaveDate != "")
|
||||
{
|
||||
// 마지막 수정일로부터 2일이 지났는지, 마지막 저장자가 사용자인지 확인
|
||||
TimeSpan sp = spspsp(SaveDate, date);
|
||||
IsCoverDate = IsCoverData(sp.Days, SaveUser);
|
||||
}
|
||||
|
||||
// true일 경우 INSERT, false일 경우 UPDATE
|
||||
bool isNewData = true;
|
||||
|
||||
if (Midx != "")
|
||||
isNewData = false;
|
||||
|
||||
// If not my data, or no data (implied by Midx check but explicit check helps), force Insert (Copy)
|
||||
if (!IsMyData)
|
||||
{
|
||||
string[] Insert_tbl = {
|
||||
"ISBN", "서명", "저자", "출판사",
|
||||
"가격", "marc", "비고1", "비고2", "url",
|
||||
"grade", "marc_chk", "user", "division", "008tag",
|
||||
"date", "compidx" };
|
||||
string[] Insert_col = {
|
||||
grid_data[0], grid_data[1], grid_data[2], grid_data[3],
|
||||
grid_data[4], orimarc, etc1.Text, etc2.Text, grid_data[5],
|
||||
grade.ToString(), "1", mUserName, tag056, text008.Text,
|
||||
date, mCompidx };
|
||||
|
||||
string Incmd = db.DB_INSERT(table_name, Insert_tbl, Insert_col);
|
||||
PUB.log.Add("INSERT", string.Format("{0}({1}) : {2}", mUserName, mCompidx, Incmd));
|
||||
db.DB_Send_CMD_reVoid(Incmd);
|
||||
isNewData = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
string[] Edit_tbl = {
|
||||
"compidx", "marc", "marc_chk", "marc1", "marc_chk1", "비고1",
|
||||
"비고2", "url", "division", "008tag", "date",
|
||||
"user", "grade" };
|
||||
string[] Edit_col = {
|
||||
mCompidx, orimarc, "1", CurrentDBMarc , "0", etc1.Text,
|
||||
etc2.Text, grid_data[5], tag056, text008.Text, date,
|
||||
mUserName, grade.ToString() };
|
||||
string[] Sear_tbl = { "idx", "compidx" };
|
||||
string[] Sear_col = { Midx, mCompidx };
|
||||
if (grid_data[0] == null || grid_data[0] == "")
|
||||
{
|
||||
MessageBox.Show("ISBN 데이터가 없습니다.");
|
||||
return;
|
||||
}
|
||||
|
||||
string U_cmd = db.More_Update(table_name, Edit_tbl, Edit_col, Sear_tbl, Sear_col);
|
||||
PUB.log.Add("Update", string.Format("{0}({1}) : {2}", mUserName, mCompidx, U_cmd.Replace("\r", " ").Replace("\n", " ")));
|
||||
db.DB_Send_CMD_reVoid(U_cmd);
|
||||
isNewData = false;
|
||||
}
|
||||
|
||||
if (isNewData)
|
||||
{
|
||||
string MidxQuery = string.Format("SELECT `idx` FROM Marc WHERE isbn = {0} AND `compidx` = {1};", grid_data[0], mCompidx);
|
||||
PUB.log.Add("MarcInsert", string.Format("{0}({1}) : {2}", mUserName, mCompidx, MidxQuery));
|
||||
Midx = db.DB_Send_CMD_Search(MidxQuery).Replace("|", "");
|
||||
CurrentMarcIdx = Midx; // Update local
|
||||
}
|
||||
|
||||
string UpdateListIndex = string.Format("UPDATE `Obj_List_Book` SET `m_idx` = {0} WHERE `idx` = {1} AND 'compidx' ={2};",
|
||||
Midx, CurrentListIdx, mCompidx);
|
||||
PUB.log.Add("MarcUpdate", string.Format("{0}({1}) : {2}", mUserName, mCompidx, UpdateListIndex));
|
||||
db.DB_Send_CMD_reVoid(UpdateListIndex);
|
||||
|
||||
this.Param.Grade = cb_grade.SelectedIndex.ToString();
|
||||
this.Param.Remark1 = etc1.Text;
|
||||
this.Param.Remark2 = etc2.Text;
|
||||
// Raise Event to Update List_Book in Parent
|
||||
BookSaved?.Invoke(this, new BookSavedEventArgs
|
||||
{
|
||||
ListIdx = CurrentListIdx,
|
||||
Grade = grade.ToString(),
|
||||
SaveDate = date,
|
||||
User = mUserName,
|
||||
DBMarc = orimarc,
|
||||
MarcIdx = Midx
|
||||
tag056 = tag056,
|
||||
text008 = text008.Text,
|
||||
griddata = this.Param
|
||||
});
|
||||
|
||||
MessageBox.Show("저장되었습니다!");
|
||||
}
|
||||
|
||||
#region Save_Click_Sub
|
||||
|
||||
/// <summary>
|
||||
/// 마크 저장시 사용하며, 마지막 수정일과 수정자를 가져와 덮어씌울지 백업데이터를 만들지 구분
|
||||
/// </summary>
|
||||
/// <param name="TimeSpanDaysValue">저장할 마크의 마지막 수정일</param>
|
||||
/// <param name="user">저장할 마크의 마지막 수정자</param>
|
||||
/// <returns>마지막 수정일로부터 2일이 지나지않고, 마지막 수정자와 해당 유저가 동일 할 경우 true 반환</returns>
|
||||
private bool IsCoverData(int TimeSpanDaysValue, string user)
|
||||
{
|
||||
if (TimeSpanDaysValue < -1)
|
||||
return false;
|
||||
if (user != mUserName)
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
private TimeSpan spspsp(string LastDate, string SaveDate)
|
||||
{
|
||||
DateTime date1 = Convert.ToDateTime(LastDate);
|
||||
DateTime date2 = Convert.ToDateTime(SaveDate);
|
||||
|
||||
TimeSpan result = date1 - date2;
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 마크 오류체크 (형식체크)
|
||||
/// </summary>
|
||||
@@ -801,12 +562,69 @@ namespace ExcelTest
|
||||
//}
|
||||
#region CellClick_Sub
|
||||
|
||||
void OnSaveData(int row)
|
||||
/// <summary>
|
||||
/// 마크데이터가 있는지 확인하고 메모장으로 출력
|
||||
/// </summary>
|
||||
/// <param name="row">해당 데이터의 row값</param>
|
||||
/// <returns></returns>
|
||||
bool click_Marc(string Marc_data)
|
||||
{
|
||||
|
||||
// 마크 데이터
|
||||
//string Marc_data = List_Book.Rows[row].Cells["db_marc"].Value.ToString();
|
||||
|
||||
if (Marc_data.Length < 3) return false;
|
||||
|
||||
string result = string.Empty;
|
||||
|
||||
List<string> TagNum = new List<string>(); // 태그번호
|
||||
List<string> field = new List<string>(); // 가변길이필드 저장
|
||||
|
||||
// 특수기호 육안으로 확인하기 쉽게 변환
|
||||
Marc_data = Marc_data.Replace("", "▼");
|
||||
Marc_data = Marc_data.Replace("", "▲");
|
||||
Marc_data = Marc_data.Replace("₩", "\\");
|
||||
// string leader = Marc_data.Substring(0, 24);
|
||||
|
||||
int startidx = 0;
|
||||
string[] data = Marc_data.Substring(24).Split('▲'); // 리더부를 제외한 디렉터리, 가변길이필드 저장
|
||||
|
||||
// List에 필요한 데이터 집어넣는 작업.
|
||||
for (int a = 1; a < data.Length - 1 && data[0].Length > startidx; a++)
|
||||
{
|
||||
TagNum.Add(data[0].Substring(startidx, 3));
|
||||
startidx += 12;
|
||||
field.Add(data[a] + "▲");
|
||||
}
|
||||
|
||||
// List에 들어간 데이터를 메모장에 출력시키는 작업.
|
||||
for (int a = 0; a < TagNum.Count; a++)
|
||||
{
|
||||
string res = TagNum[a];
|
||||
if (TagNum[a] == "008")
|
||||
{
|
||||
text008.Text = field[a].Replace("▲", "");
|
||||
data008 = text008.Text;
|
||||
continue;
|
||||
}
|
||||
else { }
|
||||
if (field[a].IndexOf("▼") == -1)
|
||||
{
|
||||
res += "\t \t" + field[a];
|
||||
}
|
||||
else
|
||||
{
|
||||
string temp = field[a].Insert(2, "\t");
|
||||
res += "\t" + temp;
|
||||
}
|
||||
result += res + "\n";
|
||||
}
|
||||
richTextBox1.Text = result;
|
||||
return true;
|
||||
}
|
||||
|
||||
void ReadRemark()
|
||||
{
|
||||
var CurrentMarcIdx = Param.MarcIdx;
|
||||
if (string.IsNullOrEmpty(CurrentMarcIdx) || CurrentMarcIdx == "0")
|
||||
{
|
||||
etc1.Text = "";
|
||||
@@ -869,8 +687,9 @@ namespace ExcelTest
|
||||
string res = TagNum[a];
|
||||
if (TagNum[a] == "008")
|
||||
{
|
||||
text008.Text = field[a].Replace("▲", "");
|
||||
data008 = text008.Text;
|
||||
//0008은 click_marc 에서 실제 적용되므로 제거한다 260121 - chi
|
||||
//text008.Text = field[a].Replace("▲", "");
|
||||
//data008 = text008.Text;
|
||||
continue;
|
||||
}
|
||||
else { }
|
||||
@@ -888,40 +707,8 @@ namespace ExcelTest
|
||||
richTextBox1.Text = result;
|
||||
return true;
|
||||
}
|
||||
/// <summary>
|
||||
/// 데이터 임시저장
|
||||
/// </summary>
|
||||
void Save_data()
|
||||
{
|
||||
data_book[0] = CurrentISBN13;
|
||||
data_book[1] = CurrentBookName;
|
||||
data_book[2] = CurrentAuthor;
|
||||
data_book[3] = CurrentPublisher;
|
||||
data_book[4] = CurrentPrice;
|
||||
}
|
||||
void input_picture()
|
||||
{
|
||||
try
|
||||
{
|
||||
string isbn = CurrentISBN13;
|
||||
string isbn3 = isbn.Substring(isbn.Length - 3, 3);
|
||||
string tFilePath = string.Format("https://contents.kyobobook.co.kr/sih/fit-in/458x0/pdt/{0}.jpg", isbn);
|
||||
pictureBox1.ImageLocation = tFilePath;
|
||||
//pictureBox1.ImageLocation = "http://image.kyobobook.co.kr/images/book/xlarge/" + isbn3 + "/x" + isbn + ".jpg";
|
||||
//string tFilePath = "http://image.kyobobook.co.kr/images/book/xlarge/" + isbn3 + "/x" + isbn + ".jpg";
|
||||
//WebClient tWebClient = new WebClient();
|
||||
//byte[] tBuffer = tWebClient.DownloadData(tFilePath);
|
||||
//Stream tStream = new MemoryStream();
|
||||
//tStream.Write(tBuffer,0, tBuffer.Length);
|
||||
//pictureBox1.Image = Image.FromStream(tStream);
|
||||
//Application.DoEvents();
|
||||
|
||||
}
|
||||
catch
|
||||
{
|
||||
pictureBox1.Image = null;
|
||||
}
|
||||
}
|
||||
|
||||
private string Make_Empty()
|
||||
{
|
||||
string yyMMdd = DateTime.Now.ToString("yyMMdd");
|
||||
@@ -939,7 +726,7 @@ namespace ExcelTest
|
||||
"653\t \t▼a▲\n" +
|
||||
"700\t \t▼a▲\n" +
|
||||
"950\t \t▼b\\{5}▲\n",
|
||||
Empty_008, data_book[0], data_book[1], data_book[2], data_book[3], data_book[4]);
|
||||
Empty_008, Param.ISBN13, Param.BookName, Param.Author, Param.Publisher, Param.Price);
|
||||
etc1.Text = "";
|
||||
etc2.Text = "";
|
||||
return Empty_text;
|
||||
@@ -1014,6 +801,7 @@ namespace ExcelTest
|
||||
|
||||
checkBox1.Checked = tag008.CheckBox_008(Tag008[12]); // 회의간행물
|
||||
checkBox2.Checked = tag008.CheckBox_008(Tag008[13]); // 기념논문집
|
||||
checkBox4.Checked = tag008.CheckBox_008(Tag008[14]); // 색인 260121
|
||||
|
||||
col008res.Text = Tag008[10];
|
||||
gov008res.Text = Tag008[19];
|
||||
@@ -1079,9 +867,9 @@ namespace ExcelTest
|
||||
text008.Text = tag008.Combo_Change(text008.Text, comboBox5.Name, comboBox5.SelectedIndex); // 전기 (34) v
|
||||
text008.Text = tag008.Combo_Change(text008.Text, comboBox6.Name, comboBox6.SelectedIndex); // 언어 (35-37) v
|
||||
|
||||
Publication(checkBox1.Checked, 29);// 회의간행물 (29) c
|
||||
Publication(checkBox2.Checked, 30);// 기념논문집 (30) c
|
||||
Publication(checkBox4.Checked, 31);// 색인 (31)
|
||||
Publication_008(checkBox1.Checked, 29);// 회의간행물 (29) c
|
||||
Publication_008(checkBox2.Checked, 30);// 기념논문집 (30) c
|
||||
Publication_008(checkBox4.Checked, 31);// 색인 (31)
|
||||
|
||||
textArray = text008.Text.ToCharArray();
|
||||
|
||||
@@ -1160,7 +948,7 @@ namespace ExcelTest
|
||||
int comboIdx = ((ComboBox)sender).SelectedIndex;
|
||||
|
||||
text008.Text = tag008.Combo_Change(text, comboName, comboIdx);
|
||||
Apply_Main_marc();
|
||||
Apply_Main_marc_008();
|
||||
}
|
||||
|
||||
private void col008res_TextChanged(object sender, EventArgs e)
|
||||
@@ -1185,11 +973,16 @@ namespace ExcelTest
|
||||
}
|
||||
text = new string(textArray);
|
||||
text008.Text = text;
|
||||
Apply_Main_marc();
|
||||
Apply_Main_marc_008();
|
||||
}
|
||||
|
||||
private void input_date_ValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (mLoadCompleted == false)
|
||||
{
|
||||
Console.WriteLine("초기화중이므로 처리하지 않습니다");
|
||||
return;
|
||||
}
|
||||
if (text008.Text.Length < 3) { return; }
|
||||
string date = input_date.Value.ToString();
|
||||
date = date.Substring(0, 10);
|
||||
@@ -1199,75 +992,80 @@ namespace ExcelTest
|
||||
text008.Text = text008.Text.Remove(0, 6);
|
||||
text008.Text = date + text008.Text;
|
||||
|
||||
Apply_Main_marc();
|
||||
Apply_Main_marc_008();
|
||||
}
|
||||
|
||||
private void checkBox1_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
string name = ((CheckBox)sender).Name;
|
||||
if (((CheckBox)sender).Checked == true)
|
||||
var chk = sender as CheckBox;
|
||||
string name = chk.Name;
|
||||
if (chk.Checked == true)
|
||||
{
|
||||
switch (name)
|
||||
{
|
||||
case "checkBox1":
|
||||
((CheckBox)sender).InvokeText("회의간행물o");
|
||||
chk.InvokeText("회의간행물o");
|
||||
break;
|
||||
case "checkBox2":
|
||||
((CheckBox)sender).InvokeText("기념논문집o");
|
||||
chk.InvokeText("기념논문집o");
|
||||
break;
|
||||
case "checkBox4":
|
||||
((CheckBox)sender).InvokeText("색인o");
|
||||
chk.InvokeText("색인o");
|
||||
break;
|
||||
}
|
||||
}
|
||||
else if (((CheckBox)sender).Checked == false)
|
||||
else if (chk.Checked == false)
|
||||
{
|
||||
switch (name)
|
||||
{
|
||||
case "checkBox1":
|
||||
((CheckBox)sender).InvokeText("회의간행물x");
|
||||
chk.InvokeText("회의간행물x");
|
||||
break;
|
||||
case "checkBox2":
|
||||
((CheckBox)sender).InvokeText("기념논문집x");
|
||||
chk.InvokeText("기념논문집x");
|
||||
break;
|
||||
case "checkBox4":
|
||||
((CheckBox)sender).InvokeText("색인x");
|
||||
chk.InvokeText("색인x");
|
||||
break;
|
||||
}
|
||||
}
|
||||
switch (name)
|
||||
{
|
||||
case "checkBox1":
|
||||
Publication(checkBox1.Checked, 29);
|
||||
case "checkBox1": //회의간행물
|
||||
Publication_008(chk.Checked, 29);
|
||||
break;
|
||||
case "checkBox2":
|
||||
Publication(checkBox2.Checked, 30);
|
||||
case "checkBox2": //기념논문집
|
||||
Publication_008(chk.Checked, 30);
|
||||
break;
|
||||
case "checkBox4":
|
||||
Publication(checkBox4.Checked, 31);
|
||||
case "checkBox4": //색인
|
||||
Publication_008(chk.Checked, 31);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
void Publication(bool check, int idx)
|
||||
void Publication_008(bool check, int idx)
|
||||
{
|
||||
if (text008.Text == "") { return; }
|
||||
char[] ArrayChar = text008.Text.ToCharArray();
|
||||
if (check == false) { ArrayChar[idx] = '0'; }
|
||||
else if (check == true) { ArrayChar[idx] = '1'; }
|
||||
text008.Text = new string(ArrayChar);
|
||||
Apply_Main_marc();
|
||||
Apply_Main_marc_008();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 008text가 메인 텍스트박스에 적용됨.
|
||||
/// </summary>
|
||||
private void Apply_Main_marc()
|
||||
private void Apply_Main_marc_008()
|
||||
{
|
||||
string text = text008.Text;
|
||||
richTextBox1.Text = richTextBox1.Text.Replace(data008, text);
|
||||
data008 = text;
|
||||
}
|
||||
public void SetMarcString(string marcstr)
|
||||
{
|
||||
this.richTextBox1.Text = marcstr;
|
||||
}
|
||||
#endregion
|
||||
|
||||
private void Btn_Close_Click(object sender, EventArgs e)
|
||||
@@ -1278,14 +1076,13 @@ namespace ExcelTest
|
||||
private void pictureBox1_DoubleClick(object sender, EventArgs e)
|
||||
{
|
||||
Zoom_Picture zp = new Zoom_Picture();
|
||||
var CurrentURL = pictureBox1.Tag.ToString();
|
||||
zp.url = pictureBox1.ImageLocation ?? CurrentURL;
|
||||
zp.ISBN = CurrentISBN13;
|
||||
zp.ISBN = Param.ISBN13;
|
||||
zp.Show();
|
||||
}
|
||||
|
||||
|
||||
public event EventHandler FillBlankClicked;
|
||||
|
||||
private void FillTextBox_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
TextBox tb = sender as TextBox;
|
||||
@@ -1957,7 +1754,8 @@ namespace ExcelTest
|
||||
str = str.Trim();
|
||||
if (TagNum == "300a")
|
||||
{
|
||||
gu = new char[] { '.', ',', '=', ':', ';', '/', '+', ' ' };
|
||||
gu = new char[] { ',', '=', ':', ';', '/', '+', ' ' };
|
||||
//gu = new char[] { '.', ',', '=', ':', ';', '/', '+', ' ' };
|
||||
for (int i = 0; i < gu.Length; i++)
|
||||
{
|
||||
str = str.TrimEnd(gu[i]);
|
||||
@@ -2716,19 +2514,19 @@ namespace ExcelTest
|
||||
string result = Text;
|
||||
|
||||
if (result.IndexOf(", ") > -1)
|
||||
return result + " p.";
|
||||
return result + "p.";
|
||||
if (result.IndexOf("p.p.") > -1 || result.IndexOf("p. p.") > -1)
|
||||
return result.Replace("p.p.", "p.").Replace("p. p.", "p.");
|
||||
|
||||
if (Regex.IsMatch(result, @"^[0-9]+$"))
|
||||
return result + " p.";
|
||||
return result + "p.";
|
||||
|
||||
if (!result.StartsWith("[") && !result.EndsWith("]"))
|
||||
return result;
|
||||
else if (Regex.IsMatch(GetMiddelString(result, "[", "]"), @"^[0-9]+$"))
|
||||
{
|
||||
string tTest = GetMiddelString(result, "[", "]");
|
||||
return result.Replace("p", "").Trim() + " p."; ;
|
||||
return result.Replace("p", "").Trim() + "p."; ;
|
||||
}
|
||||
|
||||
|
||||
@@ -3250,5 +3048,15 @@ namespace ExcelTest
|
||||
{
|
||||
//this.groupBox5.Text = this.Size.ToString();
|
||||
}
|
||||
|
||||
private void btPrev_Click(object sender, EventArgs e)
|
||||
{
|
||||
PrevButton?.Invoke(this, EventArgs.Empty);
|
||||
}
|
||||
|
||||
private void btNext_Click(object sender, EventArgs e)
|
||||
{
|
||||
NextButton?.Invoke(this, EventArgs.Empty);
|
||||
}
|
||||
}
|
||||
}
|
||||
1
unimarc/unimarc/마크/Marc_FillBlank.Designer.cs
generated
1
unimarc/unimarc/마크/Marc_FillBlank.Designer.cs
generated
@@ -301,6 +301,7 @@ namespace UniMarc
|
||||
this.Controls.Add(this.panel2);
|
||||
this.Name = "Marc_FillBlank";
|
||||
this.Text = "칸채우기";
|
||||
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
|
||||
this.Load += new System.EventHandler(this.Marc_FillBlank_Load);
|
||||
this.panel6.ResumeLayout(false);
|
||||
this.panel6.PerformLayout();
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using ExcelTest;
|
||||
using Org.BouncyCastle.Pkcs;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
@@ -69,7 +70,7 @@ namespace UniMarc
|
||||
private void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
|
||||
{
|
||||
tb_URL.Text = webBrowser1.Url.AbsoluteUri;
|
||||
|
||||
|
||||
if (isAll)
|
||||
{
|
||||
if (tb_URL.Text.Contains("searchResultAllList"))
|
||||
@@ -181,7 +182,7 @@ namespace UniMarc
|
||||
}
|
||||
}
|
||||
|
||||
if(!isAll)
|
||||
if (!isAll)
|
||||
richTextBox1.Text = SplitText(Text);
|
||||
else
|
||||
{
|
||||
@@ -243,16 +244,22 @@ namespace UniMarc
|
||||
private void btn_Move_Click(object sender, EventArgs e)
|
||||
{
|
||||
isAll = false;
|
||||
marc.richTextBox1.Text = "";
|
||||
|
||||
if (!tb_URL.Text.Contains("searchResultMarc")) {
|
||||
if (!tb_URL.Text.Contains("searchResultMarc"))
|
||||
{
|
||||
MessageBox.Show("코리스 마크가 있는곳으로 이동해주세요!");
|
||||
return;
|
||||
}
|
||||
SearchResultMarc();
|
||||
|
||||
string Text = richTextBox1.Text;
|
||||
marc.richTextBox1.Text = MakeMarc(Text);
|
||||
if (marc != null)
|
||||
{
|
||||
marc.richTextBox1.Text = MakeMarc(Text);
|
||||
}
|
||||
else if (mae != null)
|
||||
{
|
||||
mae.marcEditorControl1.SetMarcString(MakeMarc(Text));
|
||||
}
|
||||
}
|
||||
|
||||
private void btn_AllMove_Click(object sender, EventArgs e)
|
||||
@@ -272,7 +279,8 @@ namespace UniMarc
|
||||
int idx = Convert.ToInt32(dataGridView1.Rows[a].Cells["List_idx"].Value.ToString());
|
||||
string isbn = dataGridView1.Rows[a].Cells["ISBN13"].Value.ToString();
|
||||
|
||||
if (isbn == "") {
|
||||
if (isbn == "")
|
||||
{
|
||||
dataGridView1.Rows[a].DefaultCellStyle.ForeColor = Color.Red;
|
||||
progressBar1.Value += 1;
|
||||
continue;
|
||||
@@ -293,7 +301,11 @@ namespace UniMarc
|
||||
else
|
||||
{
|
||||
dataGridView1.Rows[a].DefaultCellStyle.ForeColor = Color.Blue;
|
||||
this.marc.List_Book.Rows[idx].Cells["db_marc"].Value = st.made_Ori_marc(MakeMarc(marc));
|
||||
|
||||
if (this.marc != null)
|
||||
this.marc.List_Book.Rows[idx].Cells["db_marc"].Value = st.made_Ori_marc(MakeMarc(marc));
|
||||
else if (this.mae != null)
|
||||
this.mae.List_Book.Rows[idx].Cells["db_marc"].Value = st.made_Ori_marc(MakeMarc(marc));
|
||||
}
|
||||
|
||||
progressBar1.Value += 1;
|
||||
@@ -320,7 +332,7 @@ namespace UniMarc
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 지연시키는 함수
|
||||
|
||||
55
unimarc/unimarc/마크/Marc_Plan.Designer.cs
generated
55
unimarc/unimarc/마크/Marc_Plan.Designer.cs
generated
@@ -53,6 +53,7 @@
|
||||
this.btn_Select_List = new System.Windows.Forms.Button();
|
||||
this.chkBox_AllowDrop = new System.Windows.Forms.CheckBox();
|
||||
this.panel3 = new System.Windows.Forms.Panel();
|
||||
this.cb_authorTypeE = new System.Windows.Forms.ComboBox();
|
||||
this.cb_authorTypeK = new System.Windows.Forms.ComboBox();
|
||||
this.cb_divType = new System.Windows.Forms.ComboBox();
|
||||
this.cb_divNum = new System.Windows.Forms.ComboBox();
|
||||
@@ -141,10 +142,10 @@
|
||||
this.search_tag2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colCheck = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
|
||||
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
|
||||
this.printDocument1 = new System.Drawing.Printing.PrintDocument();
|
||||
this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog();
|
||||
this.cb_authorTypeE = new System.Windows.Forms.ComboBox();
|
||||
this.chkEditorTest = new System.Windows.Forms.CheckBox();
|
||||
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
|
||||
this.panel1.SuspendLayout();
|
||||
this.panel4.SuspendLayout();
|
||||
this.panel3.SuspendLayout();
|
||||
@@ -333,6 +334,16 @@
|
||||
this.panel3.Size = new System.Drawing.Size(566, 49);
|
||||
this.panel3.TabIndex = 7;
|
||||
//
|
||||
// cb_authorTypeE
|
||||
//
|
||||
this.cb_authorTypeE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cb_authorTypeE.Enabled = false;
|
||||
this.cb_authorTypeE.FormattingEnabled = true;
|
||||
this.cb_authorTypeE.Location = new System.Drawing.Point(125, 26);
|
||||
this.cb_authorTypeE.Name = "cb_authorTypeE";
|
||||
this.cb_authorTypeE.Size = new System.Drawing.Size(171, 20);
|
||||
this.cb_authorTypeE.TabIndex = 2;
|
||||
//
|
||||
// cb_authorTypeK
|
||||
//
|
||||
this.cb_authorTypeK.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
@@ -496,6 +507,7 @@
|
||||
//
|
||||
// panel5
|
||||
//
|
||||
this.panel5.Controls.Add(this.chkEditorTest);
|
||||
this.panel5.Controls.Add(this.cbTag008_32);
|
||||
this.panel5.Controls.Add(this.btnTag008);
|
||||
this.panel5.Controls.Add(this.btnTag040);
|
||||
@@ -1246,15 +1258,6 @@
|
||||
this.toolStrip1.TabIndex = 3;
|
||||
this.toolStrip1.Text = "toolStrip1";
|
||||
//
|
||||
// toolStripButton1
|
||||
//
|
||||
this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
|
||||
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.toolStripButton1.Name = "toolStripButton1";
|
||||
this.toolStripButton1.Size = new System.Drawing.Size(59, 22);
|
||||
this.toolStripButton1.Text = "delete";
|
||||
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
|
||||
//
|
||||
// printDocument1
|
||||
//
|
||||
this.printDocument1.BeginPrint += new System.Drawing.Printing.PrintEventHandler(this.printDocument1_BeginPrint);
|
||||
@@ -1270,15 +1273,28 @@
|
||||
this.printPreviewDialog1.Name = "printPreviewDialog1";
|
||||
this.printPreviewDialog1.Visible = false;
|
||||
//
|
||||
// cb_authorTypeE
|
||||
// chkEditorTest
|
||||
//
|
||||
this.cb_authorTypeE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cb_authorTypeE.Enabled = false;
|
||||
this.cb_authorTypeE.FormattingEnabled = true;
|
||||
this.cb_authorTypeE.Location = new System.Drawing.Point(125, 26);
|
||||
this.cb_authorTypeE.Name = "cb_authorTypeE";
|
||||
this.cb_authorTypeE.Size = new System.Drawing.Size(171, 20);
|
||||
this.cb_authorTypeE.TabIndex = 2;
|
||||
this.chkEditorTest.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.chkEditorTest.Checked = true;
|
||||
this.chkEditorTest.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.chkEditorTest.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.chkEditorTest.ForeColor = System.Drawing.Color.Blue;
|
||||
this.chkEditorTest.Location = new System.Drawing.Point(596, 32);
|
||||
this.chkEditorTest.Name = "chkEditorTest";
|
||||
this.chkEditorTest.Size = new System.Drawing.Size(106, 27);
|
||||
this.chkEditorTest.TabIndex = 53;
|
||||
this.chkEditorTest.Text = "Editor (OLD)";
|
||||
this.chkEditorTest.UseVisualStyleBackColor = false;
|
||||
//
|
||||
// toolStripButton1
|
||||
//
|
||||
this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
|
||||
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.toolStripButton1.Name = "toolStripButton1";
|
||||
this.toolStripButton1.Size = new System.Drawing.Size(59, 22);
|
||||
this.toolStripButton1.Text = "delete";
|
||||
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
|
||||
//
|
||||
// Marc_Plan
|
||||
//
|
||||
@@ -1424,5 +1440,6 @@
|
||||
private System.Windows.Forms.ToolStrip toolStrip1;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton1;
|
||||
private System.Windows.Forms.ComboBox cb_authorTypeE;
|
||||
private System.Windows.Forms.CheckBox chkEditorTest;
|
||||
}
|
||||
}
|
||||
@@ -226,12 +226,22 @@ namespace WindowsFormsApp1.Mac
|
||||
cb_divType.Text, cb_divNum.Text
|
||||
};
|
||||
|
||||
Marc_Plan_Sub_MarcEdit me = new Marc_Plan_Sub_MarcEdit(this);
|
||||
me.row = row;
|
||||
me.UserName = main.botUserLabel.Text;
|
||||
me.Init(Marc);
|
||||
me.SetSymbolType(symbol_Type);
|
||||
me.Show();
|
||||
if (chkEditorTest.Checked)
|
||||
{
|
||||
Marc_Plan_Sub_MarcEdit me = new Marc_Plan_Sub_MarcEdit(this);
|
||||
me.row = row;
|
||||
me.UserName = main.botUserLabel.Text;
|
||||
me.Init(Marc);
|
||||
me.SetSymbolType(symbol_Type);
|
||||
me.Show();
|
||||
}
|
||||
else
|
||||
{
|
||||
UTIL.MsgE("test version");
|
||||
var f = new Marc_Plan_Sub_MarcEdit2("","");
|
||||
f.Show();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -559,7 +569,7 @@ namespace WindowsFormsApp1.Mac
|
||||
}
|
||||
|
||||
if (totalerrmsg.isEmpty() == false)
|
||||
UTIL.MsgI("경고 발생\n"+totalerrmsg);
|
||||
UTIL.MsgI("경고 발생\n" + totalerrmsg);
|
||||
|
||||
string FileName;
|
||||
SaveFileDialog saveFileDialog = new SaveFileDialog();
|
||||
@@ -594,7 +604,7 @@ namespace WindowsFormsApp1.Mac
|
||||
Set_Macro sm = new Set_Macro(this, dataGridView1);
|
||||
sm.ViewMarcArray = Make_MarcArray(out string errmessage);
|
||||
sm.Show();
|
||||
if(errmessage.isEmpty() == false)
|
||||
if (errmessage.isEmpty() == false)
|
||||
UTIL.MsgI("경고 발생\n" + errmessage);
|
||||
}
|
||||
private void btnTag040_Click(object sender, EventArgs e)
|
||||
|
||||
61
unimarc/unimarc/마크/Marc_Plan_Sub_MarcEdit2.Designer.cs
generated
Normal file
61
unimarc/unimarc/마크/Marc_Plan_Sub_MarcEdit2.Designer.cs
generated
Normal file
@@ -0,0 +1,61 @@
|
||||
|
||||
namespace UniMarc.마크
|
||||
{
|
||||
partial class Marc_Plan_Sub_MarcEdit2
|
||||
{
|
||||
/// <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.marcEditorControl1 = new ExcelTest.MarcEditorControl();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// marcEditorControl1
|
||||
//
|
||||
this.marcEditorControl1.BackColor = System.Drawing.Color.Gray;
|
||||
this.marcEditorControl1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.marcEditorControl1.Font = new System.Drawing.Font("돋움", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.marcEditorControl1.Location = new System.Drawing.Point(0, 0);
|
||||
this.marcEditorControl1.Name = "marcEditorControl1";
|
||||
this.marcEditorControl1.Size = new System.Drawing.Size(1337, 768);
|
||||
this.marcEditorControl1.TabIndex = 1;
|
||||
//
|
||||
// Marc_Plan_Sub_MarcEdit2
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1337, 768);
|
||||
this.Controls.Add(this.marcEditorControl1);
|
||||
this.Name = "Marc_Plan_Sub_MarcEdit2";
|
||||
this.Text = "마크편집";
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
public ExcelTest.MarcEditorControl marcEditorControl1;
|
||||
}
|
||||
}
|
||||
34
unimarc/unimarc/마크/Marc_Plan_Sub_MarcEdit2.cs
Normal file
34
unimarc/unimarc/마크/Marc_Plan_Sub_MarcEdit2.cs
Normal file
@@ -0,0 +1,34 @@
|
||||
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;
|
||||
using WindowsFormsApp1;
|
||||
using WindowsFormsApp1.Mac;
|
||||
using ExcelTest;
|
||||
using System.Drawing.Drawing2D;
|
||||
|
||||
namespace UniMarc.마크
|
||||
{
|
||||
public partial class Marc_Plan_Sub_MarcEdit2 : Form
|
||||
{
|
||||
string idx;
|
||||
public int row;
|
||||
public string UserName = "";
|
||||
Marc_Plan mp;
|
||||
Helper_DB db = new Helper_DB();
|
||||
String_Text st = new String_Text();
|
||||
Search_Infor si;
|
||||
Help008Tag tag008 = new Help008Tag();
|
||||
public Marc_Plan_Sub_MarcEdit2(string isbn,string marcstring)
|
||||
{
|
||||
InitializeComponent();
|
||||
db.DBcon();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
120
unimarc/unimarc/마크/Marc_Plan_Sub_MarcEdit2.resx
Normal file
120
unimarc/unimarc/마크/Marc_Plan_Sub_MarcEdit2.resx
Normal 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>
|
||||
@@ -28,6 +28,7 @@ namespace UniMarc.마크
|
||||
string.Format("http://preview.kyobobook.co.kr/preview.jsp?siteGb=INK&ejkGb=KOR&barcode={0}&loginYn=N&orderClick=JAW",
|
||||
ISBN);
|
||||
|
||||
webBrowser1.ScriptErrorsSuppressed = true;
|
||||
webBrowser1.Navigate(PreViewURL);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user