Compare commits

15 Commits

Author SHA1 Message Date
eee6aeb514 prev, next 기능 활성화 2026-01-21 23:55:00 +09:00
23cf444cba 마크편집화면 : 색인, 등급 업데이트 오류 수정 및 불필요 코드 정리 작업, 중복실행코드 제거 2026-01-21 23:20:16 +09:00
aa5f33eedb Marc2 화면에서 저장시 사용자 이름이 저장되도록 함
미소장 마크 코리스 창 채우기 기능 오류 수정 완료
마크정리화면에 에디터창 붙이기 작업시작(컨트롤 정리작업 중)
2026-01-20 22:13:56 +09:00
d5aa0fe59d [NewEditor] 저장기능 확인, 목록다시불러오기 기능추가
[2601152030] v- 마크편집 마크칸 채우기를 왔다갔다 하면 300 p.에 .이 없어져서 p로만 남음 (300 p. <-> 300) ,  p. 에 공백없게
[2601152030] v- 미소장마크 불러오기 할때 코리스에서 보이는 창 넓게(부차적)
[2601152030] v- D등급 저장이 필요 -> 그냥 저장할 수 있게 -> 데이터가 부족하더라도 저장이 되게
[2601152030] v- db에 저장된 isbn과 마크에 저장된 이 다를 경우 저장을 하면 저장 전에 오류표시 및 저장 가능하게
[2601152030] v- 사진 더블클릭시 미리보기 나오게, 오류창 제거요망
2026-01-15 21:28:17 +09:00
66e4392d7c 정렬필터기능복원(23:10~23:40) 2026-01-14 23:44:11 +09:00
6574a84c24 마크편집기 폼입력 화면에ㅓㅅ dpi auto scale 해제 후 크기 조정 작업 2026-01-09 22:15:46 +09:00
2bc502d7db 닫기버튼 추가 2026-01-09 20:11:23 +09:00
d75585cf26 mareditor 분리작업중 2026-01-09 00:14:59 +09:00
d48440f8bd mdiparent 추가 폼 추가 2026-01-08 22:42:54 +09:00
e14fb633fb 메인 화면의 서브폼을 탭메뉴 형태로 표시하도록 함
마크목록에서 창이 다중으로 열리게  하고, 제목줄도 내용에 맞도록 변경
전체 창 닫기 메뉴 추가
2026-01-08 22:29:00 +09:00
ChiKyun Kim
ef2f8537fb 데모기간 26년으로 변경 2026-01-08 10:31:17 +09:00
cdecb76faf 복사임시기능 추가 2026-01-07 22:57:27 +09:00
d9223c4e61 마크->마크작업->마크목록 더블클릭시 나오는 마크작성화면의 이름을 마크작성(1) 로 변경(PPT-10p)
마크->마크작업->마크작성 이름을  마크작성(2) 로 변경
마크->마크작업->마크작성(2)의 메뉴 이름을 신규마크작성 으로 변경
마크->마크작업 메뉴에 마크작성(1) 추가
마크 편집창 별도 분리 작업 진행 중 - (기존 코드와  연결관련 분석 필요 - 시간 많이 필요 할듯)
마크 편집창 내에서 복사 버튼 추가 (관련 코드 점검 필요)
2026-01-07 22:41:04 +09:00
40c2acd7de 마크생성화면 전체 컨트롤 탭순서 조정
마크목록생성시 납품처 정보가 저장되지 않는 현상 수정
2025-12-29 22:16:17 +09:00
c2e1ed7246 탭순서변경 2025-12-26 19:53:06 +09:00
44 changed files with 10267 additions and 2508 deletions

View File

@@ -14,7 +14,7 @@ namespace WindowsFormsApp1
/// <summary> /// <summary>
/// DB접속을 도와주는 클래스 /// DB접속을 도와주는 클래스
/// </summary> /// </summary>
class Helper_DB public class Helper_DB
{ {
// 접속 // 접속
MySqlConnection conn; MySqlConnection conn;

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호를 // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호를
// 기본값으로 할 수 있습니다. // 기본값으로 할 수 있습니다.
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2025.12.25.2200")] [assembly: AssemblyVersion("2026.01.21.2318")]
[assembly: AssemblyFileVersion("2025.12.25.2200")] [assembly: AssemblyFileVersion("2026.01.21.2318")]

View File

@@ -352,6 +352,7 @@
<Compile Include="마크\Help_008.Designer.cs"> <Compile Include="마크\Help_008.Designer.cs">
<DependentUpon>Help_008.cs</DependentUpon> <DependentUpon>Help_008.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="마크\MacEditorParameter.cs" />
<Compile Include="마크\Mac_List_Add.cs"> <Compile Include="마크\Mac_List_Add.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
@@ -364,6 +365,18 @@
<Compile Include="마크\MarcCopySelect.Designer.cs"> <Compile Include="마크\MarcCopySelect.Designer.cs">
<DependentUpon>MarcCopySelect.cs</DependentUpon> <DependentUpon>MarcCopySelect.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="마크\MarcEditorControl.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="마크\MarcEditorControl.Designer.cs">
<DependentUpon>MarcEditorControl.cs</DependentUpon>
</Compile>
<Compile Include="마크\Marc.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="마크\Marc.designer.cs">
<DependentUpon>Marc.cs</DependentUpon>
</Compile>
<Compile Include="마크\Marc_FillBlank.cs"> <Compile Include="마크\Marc_FillBlank.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
@@ -499,6 +512,12 @@
<Compile Include="마크\Marc_Plan_PrintLabel.Designer.cs"> <Compile Include="마크\Marc_Plan_PrintLabel.Designer.cs">
<DependentUpon>Marc_Plan_PrintLabel.cs</DependentUpon> <DependentUpon>Marc_Plan_PrintLabel.cs</DependentUpon>
</Compile> </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"> <Compile Include="마크\Marc_Plan_Sub_MarcEdit.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
@@ -535,11 +554,11 @@
<Compile Include="마크\Make_Document.Designer.cs"> <Compile Include="마크\Make_Document.Designer.cs">
<DependentUpon>Make_Document.cs</DependentUpon> <DependentUpon>Make_Document.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="마크\Marc.cs"> <Compile Include="마크\Marc2.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
<Compile Include="마크\Marc.designer.cs"> <Compile Include="마크\Marc2.designer.cs">
<DependentUpon>Marc.cs</DependentUpon> <DependentUpon>Marc2.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="마크\Marc_memo.cs"> <Compile Include="마크\Marc_memo.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
@@ -1055,6 +1074,12 @@
<EmbeddedResource Include="마크\MarcCopySelect.resx"> <EmbeddedResource Include="마크\MarcCopySelect.resx">
<DependentUpon>MarcCopySelect.cs</DependentUpon> <DependentUpon>MarcCopySelect.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="마크\Marc.resx">
<DependentUpon>Marc.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="마크\MarcEditorControl.resx">
<DependentUpon>MarcEditorControl.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="마크\Marc_FillBlank.resx"> <EmbeddedResource Include="마크\Marc_FillBlank.resx">
<DependentUpon>Marc_FillBlank.cs</DependentUpon> <DependentUpon>Marc_FillBlank.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
@@ -1121,6 +1146,9 @@
<EmbeddedResource Include="마크\Marc_Plan_PrintLabel.resx"> <EmbeddedResource Include="마크\Marc_Plan_PrintLabel.resx">
<DependentUpon>Marc_Plan_PrintLabel.cs</DependentUpon> <DependentUpon>Marc_Plan_PrintLabel.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="마크\Marc_Plan_Sub_MarcEdit2.resx">
<DependentUpon>Marc_Plan_Sub_MarcEdit2.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="마크\Marc_Plan_Sub_MarcEdit.resx"> <EmbeddedResource Include="마크\Marc_Plan_Sub_MarcEdit.resx">
<DependentUpon>Marc_Plan_Sub_MarcEdit.cs</DependentUpon> <DependentUpon>Marc_Plan_Sub_MarcEdit.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
@@ -1139,8 +1167,8 @@
<EmbeddedResource Include="마크\Make_Document.resx"> <EmbeddedResource Include="마크\Make_Document.resx">
<DependentUpon>Make_Document.cs</DependentUpon> <DependentUpon>Make_Document.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="마크\Marc.resx"> <EmbeddedResource Include="마크\Marc2.resx">
<DependentUpon>Marc.cs</DependentUpon> <DependentUpon>Marc2.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="마크\Marc_memo.resx"> <EmbeddedResource Include="마크\Marc_memo.resx">
<DependentUpon>Marc_memo.cs</DependentUpon> <DependentUpon>Marc_memo.cs</DependentUpon>

View File

@@ -583,13 +583,10 @@ namespace WindowsFormsApp1.Delivery
if (e.ColumnIndex != 2 || e.ColumnIndex != 4 || e.ColumnIndex != 5 || if (e.ColumnIndex != 2 || e.ColumnIndex != 4 || e.ColumnIndex != 5 ||
e.ColumnIndex != 6 || e.ColumnIndex != 15) e.ColumnIndex != 6 || e.ColumnIndex != 15)
{ {
List_Lookup list_l = new List_Lookup(this) var list_l = main.OpenFormInTab(() => new List_Lookup(this)
{ {
call_base = dataGridView1.Rows[e.RowIndex].Cells["list_name"].Value.ToString() call_base = dataGridView1.Rows[e.RowIndex].Cells["list_name"].Value.ToString()
}; });
list_l.MdiParent = main;
list_l.WindowState = FormWindowState.Maximized;
list_l.Show();
} }
} }
private void dataGridView1_CellClick(object sender, DataGridViewCellEventArgs e) private void dataGridView1_CellClick(object sender, DataGridViewCellEventArgs e)

View File

@@ -2321,7 +2321,7 @@ namespace UniMarc.마크
this.Controls.Add(this.panel2); this.Controls.Add(this.panel2);
this.Controls.Add(this.panel1); this.Controls.Add(this.panel1);
this.Name = "AddMarc"; this.Name = "AddMarc";
this.Text = "마크 작성"; this.Text = "마크 작성(2)";
this.Load += new System.EventHandler(this.AddMarc_Load); this.Load += new System.EventHandler(this.AddMarc_Load);
this.groupBox1.ResumeLayout(false); this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout(); this.groupBox1.PerformLayout();

View File

@@ -123,37 +123,38 @@
iVBORw0KGgoAAAANSUhEUgAAAOEAAADhCAMAAAAJbSJIAAAABGdBTUEAALGPC/xhBQAAAIFQTFRF//// iVBORw0KGgoAAAANSUhEUgAAAOEAAADhCAMAAAAJbSJIAAAABGdBTUEAALGPC/xhBQAAAIFQTFRF////
AAAAlJSU4ODgU1NT6enp+Pj4w8PDxMTEkpKS/Pz81tbW5eXlRERE3NzcmZmZzMzMZGRkTU1Nb29vg4OD AAAAlJSU4ODgU1NT6enp+Pj4w8PDxMTEkpKS/Pz81tbW5eXlRERE3NzcmZmZzMzMZGRkTU1Nb29vg4OD
urq6KioqW1tb8vLyf39/sbGxEhISPz8/i4uL0NDQZmZmIyMjoqKiNTU1tLS0GRkZp6end3d3Li4uOjo6 urq6KioqW1tb8vLyf39/sbGxEhISPz8/i4uL0NDQZmZmIyMjoqKiNTU1tLS0GRkZp6end3d3Li4uOjo6
Dg4OJSUlLUB5vgAABwxJREFUeF7tnX97ojAMx6ceIqDi/DXndJ47vZt7/y/wFOMUSKG0SWE8+fxz9zxl Dg4OJSUlLUB5vgAABzdJREFUeF7tne12ojAQhosuIqBiRa212q7dult7/xe4R6wKwwRCMhMoZ56fPSnj
ZN8BaZq26ZMgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCELrWHnDsb8+7uNuvD+u/fHQW0GLOT34t276kb99 K8l8BeLDgyAIgiAIgiAIgiAIgiAIgiAIgiAIgiAIQt/Y+JNZsD0ekkFyOG6D2cTfwCGNGcI/tMQoDvaP
nn51siynu60f9eEqA7Zb+E+d9P1g9AaKcN42gR/C1dUIOl34X12E43gDMsrYxGP4IX26nZoVRtt/8Ovr iy8Psl687YN4BIfrs9/Dv7TAKAinL1BagZddGETw37QIvQH8k2OiWbKDehTskhn871oGXssK4/0/qKOS
8bmtJvIssE6Fq/3n9feuxOao73wuAutTGD0nv7AJM80HmQisS6E/TaybMh3AfYq4CqxH4ULXuagp1wgC z30zkQOvVYWbwydUoMHuqO98zgLbUxg/ws+uTap5IzOBbSkMFvBjN2IxhhdEuAhsR+FK17moqdf4LbAN
61A4MPn88kzf4X44N4HuFQ5/gWV7dh7cE+FboGuF/S3YpSFWhQF3gY4VTqp1f+V8RnDnNA8C3Sr8C0Yp hWOT5Vdm8QovXOAq0L3Cya/iB7XgzYcXv3MT6FrhaF/4jLYkqjTgLtCxwnmz8FfPZwxNZOQEulX4N2eY
wcLOR4EuFUYnsEnLMjd4SAl0qDAGi/SswQKQFuhMYWgewpTzF4wkZAS6Ujj8DfZ4+LzHqlmBjhROwBob CiztzAt0qTA+5Q2TsS4VDwWBDhUmBbuUbIuGigKdKYzMU5h6/uYtAYGuFE5+A7u0fN5zVSjQkcI5NEvN
p1uomhPoRuEajJUzms3jtT+JxtHEP3bnM/3w7hrF5QU6UbgHW8V8BAsvl60I+8M/2w+4opjF+XJEoAuF 6ZqqlgS6UbiFVpVM02WyDebxLJ4Hx8Ey1U/vLllcWaAThQdoFOU9XPmlbkU0mvzZv8OhKCtcoAuFmFnA
mNkMy3lhIB0uZhrf8RG3xK8wAEtKvrZ4YJJmMitO5ZzB3TW7wrIn+OLrJtJWa73XNQO3wpJvcFYtmzkY elmZSEerVGMdH3FL/ApDaBLytccTkyLztLqV43ke7q7ZFaLfa46noDQ1FWy2etMVwK2wZg2mpYSkkvEU
wc9VgFnhHzCDMysY/iiYVNbIq/AdrKC8VE8OXlhUHJ+wKvTACMZJJ9WCEpb6rhScCsN8kv6bV7MU9pVe XqAeZoV/oL0CaUX5o2DeWCOvwldoLs+TZrsFsGpYn7Aq9KG1HKdK71lFVOu7CnAqjMpN+hvPqtpVh6F+
lTwPp8IZ2MhzmMAlpmj0sTcYFard6LP9jNKktHe8wadwDBbyBHCFFStdp8qnUBlnGbuYDJo5ETaFr2Ag IsCrMIXGbnzM4diG1HnoHIwK1W70Ub+pq2JeGx2v8CmcQVM3QjjUhI2uU+VTqMyzjF0MQLMnwqbwGVr6
y5tOiKaHnk/lUqjqCQ9DuIACrUELk8JQEUIe7H3MI8Uh0xUmhQpvTixQK7vFo1ARzLxRvqJntHpFHoU7 5kUnRdNDz6dyKVRFwo8JHGmBeqXnYFIYKVLID3sfk6c6ZbrApFDhzYkFanW3eBQqkpkXyimq/h6L8Ch8
uHsGOieToNftsyhUuBkfmonQjGtYFOLTn8SmdAM3DoV47vAZWonQFciiEH2ExG5UWyCHQvwR2o4m0ugL g2Yu0DmZDC2BPAoVbiaA4+zQE8ijEN/+JDalKZDabAbeO3yEw+zQFciiEL2FxG5UWyCHQvwW2lYTRfQF
5FD4ArdO8QqNNFQQyKCwB3dOcbIZ8OaoIpBBIRryU40nEioJpFfYhxuneIFGEqoJpFeIzsKYZdVwKgqk cih8gjbOPMNRVjQQyKBwCE2cOdkUvCWaCGRQiKb8VPVERiOB9ApH0MKZJzjKhmYC6RWiuzBmXTWchgLp
V4h1FTNoo6CqQHKFqJ+pnvhVUi2TeIFaITaeIXyElZ8gvUIsP0S30tpAILVCbGBI50hNBFIrPMJtHyEb FWKhIoWDLGgqkFwh6meaN36V6FW9eagVYvUM4S1sfAfpFWL9oWZ7E1UYCKRWiBWGdI7URCC1wiO8PmXR
NBkJpFaIRGxLi4X2KcwEUiuEuz5CtRvAUCCxQmxwT5S6MBVIrBD5DP9BkyXGAokVIp/hHJrsMBdIrBCZ ZCSQWiGSsa119wfrMBNIrRBeXvFYlgmGAokVYsU9UevCVCCxQmQZ/oNjzDAWSKwQWYZLOMYIc4HECpG9
qyAZVVSPZO6QKhzCTR+BJitsBNIqRBzNBppssHhFz5AqRBwNwVyhnUBahcjw/rLazA6rV/QMqULElVoP CpKqonkmc4dU4QRe3fM8OMYEG4G0ChFHs4NjDLCYotQKEUdDsFdoJ5BWIVLen582s8NqilIrRFypdeFk
nGwF0sw430AGFrYhWzjuWUKZp10dQNadETS1BGToRJm/aABId0gT0TQGJEcTQ1NLQCYsMlshfjoLkPUA K5BiFt1BCgvblC2aDS2h7NNuPqA+bwrH/GyQ0omw+O0CSDikyWg6A9KjSeCYnw2yYQFehfjprKA+wvq+
8aRo3SAKaWecagdJdxPP3NcNEpZSpvMbQPufYfu/w/b70vb3h+2Padofl7Z/bNH+8SHHGL9hcORpmgVL GyAKaXecWgdpdxOVv10BSUsp2/kdoP/3sP/rEFHYM1/a/3jY/5ym/3lp/2uL/teHHDV+x+Do03QLll5b
rq1R8ORLmwRTzrtBcM1bNAiuuafmwDZ/2BgQV7OEppbAOI/fFEDVI+5e02D6Kwc00YFs+idbT1PGCqnw p0ASU9JOV/sw9bw7BBIQSfYtOgTX3lN3QJxpz7IaxNWs4ZifDeJq+lYEQ3lOp2m4+FUCjrEGeemf7Hma
k6rrQgLyITob52PbvOhDKt51bcVgiwYZ3h9sAa2bKrARWHuEeBdLAvP60gKQvpglTcS9RliJO8Pc67xV OjbICT+Fc11IQBaiszofe82LPqVCCijC59qqQfJ+jsQfe4CW7tnEKmJolv4tlgzm50srQGIxS5sI6dW4
YKVbdtBGC/tafRx0QyBPTMy/3wIFqzd5gjZq0D0z3H0ikm7nS9Zig0TifU850BenQ7yt+g7mton3rmVB KaHcGcamqYubiHhx7w0OIgFpfLto7mO5BlNOzP++BQp23uQJDiICKfT5YyLSbudr1mJFIvF7TyXQieNR
3xv6iO2Gi/2HaQZgIw1joOFiD+kjWMjN1VVccbIP+AH0s+DtodCHyJZYxAv3cj5CRffL1WWgHUWnQ1y+ PmdSAHPbxO+uQdB5Q5+xXUG2L5h3ocbQWAZjooEFDOp3SPNgKTdXqLiA30SODOoCuix4IxR6E9kai/jB
IYubmgoJir8md2ZBURfjRP+HRQPuM+yJBcXKZXKH6inKRfHProeKuuvEEhXvSmcK7ZwoPg/aAi69/JTs vZy3UBF+uUIGGig8j/j4BoibMxUyFN8md2cBKxPPUZH+i0UTbp7CsIjiyWVyh+orjoviKJuKRIpz14kl
FSdZBQd1opTlsx2tj1DW+qLqNHy4Xw5X813qem00+wPUi/idzTuz1txb4aHaBYfTzuq6iW+2I42Jysdw KuaKt4ADGVAsD9oDXIblLdkLjMH+joNzopTHZ3Ol3ABkD+MCVdAI4IWvuNrvUp/XRvN+gPohfpbeBYb6
j9MyLMEoglXty1Dlxs64Xd+i6q4unMwdjl9wBMHB8fIWVa+YYFiDdqz+As84X7JLXkfYQxMW39Qwp05b JC6CM/c2eKp2hr5HqkR9buKLbaUxV/kY7joNsIbW71idfRmp3Jjz51tU4erMydzhBCofeg647MlMEVVU
C7qndl4JtazeKds9qF/PO/QL388zR7jSMaXb677mOoFcNC+tAb2HS52jsQe0pK7+02Be0PHcqOkJXtAq zDA8g3amXoHcNRMGtltyx+AcYR9tWNzg6R9WonaoGQ3Pgh6qnVeGQzd6R5GD39A/zzsKKudndip7K6gj
M9r5xM5GeOp7i0Cv8nOtC64rnW/RPSbnW7z763g+0y0WXPua+cJ+kYTa17R4BcXLCfjgSzdrEyrSbyQ0 8zdfS51ELl7WngF9gP/jirq7WH+u/sN4WRF4rrR0B8/UrMVvPrHfRngY+atQ7+Rn/pKwAnS3BmWaLgfH
ZDU533lPNTrRNJF6xGPD7ybtHiuOKc1wOhwsh/zsvI/GbR0jPv8w4J1aNmNYFj7r88I8+2LMwP6c1Quj 7PctXoNtskyxfV0c8/BKQmVcJEFnKbPiVxxeTsC7fSpvTaRov5HgYgdWA2yHn4YWnWiRWF3x2PDbeSpa
Ju9tJDhLdtT0jRy+fsCJMao5CtXC5kznn7Kw2tubvKyb+EdtpYo0z8W7sdRKBzSLcBzrfpIf8biJ3Z8O QXVOaYbTcrAe8t/Oe7ctpckh/v3D0KaO5mJSlz7r80TZe6VkrJeF1THt3ATNQfBbstNWSsEGBPoJJ8a0
fT8YFR/9c9gE2gmrptKP/O3zNJ+N+Zrutovop6u7s/KG48H6uI+78X6/9qOh14ChrSAIgiAIgiAIgiAI 5SxUC5vfdG49CdXEP5hM1l3SvLnTIrHm7+JdWWu1A7pFNEt0l+R7Muti+NNhFIRTxV7uNx+7ULth1VVG
giAIgiAIgiAIgiAIAilPT/8BzuZT5uV+S2QAAAAASUVORK5CYII= cbB/XJS7MV+Lt/0q/unq7mz8yWy8PR6SQXI4bIN44negtBUEQRAEQRAEQRAEQRAEQRAEQRAEQRAEQSDm
P87mU+ZvyRQDAAAAAElFTkSuQmCC
</value> </value>
</data> </data>
<metadata name="text505n.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="text505n.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">

View File

@@ -31,7 +31,7 @@ namespace WindowsFormsApp1.Mac
{ {
get get
{ {
return (DateTime.Now <= new DateTime(2025, 12, 30)); return (DateTime.Now <= new DateTime(2026, 12, 30));
} }
} }

View File

@@ -43,6 +43,8 @@
this.chk_spChar = new System.Windows.Forms.CheckBox(); this.chk_spChar = new System.Windows.Forms.CheckBox();
this.btn_ApplyFilter = new System.Windows.Forms.Button(); this.btn_ApplyFilter = new System.Windows.Forms.Button();
this.panel3 = new System.Windows.Forms.Panel(); this.panel3 = new System.Windows.Forms.Panel();
this.label3 = new System.Windows.Forms.Label();
this.nudAddDelay = new System.Windows.Forms.NumericUpDown();
this.chkShowBrowser = new System.Windows.Forms.CheckBox(); this.chkShowBrowser = new System.Windows.Forms.CheckBox();
this.label2 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label();
this.rBtn_ISBN = new System.Windows.Forms.RadioButton(); this.rBtn_ISBN = new System.Windows.Forms.RadioButton();
@@ -59,25 +61,23 @@
this.tb_SearchClient = new System.Windows.Forms.TextBox(); this.tb_SearchClient = new System.Windows.Forms.TextBox();
this.statusStrip1 = new System.Windows.Forms.StatusStrip(); this.statusStrip1 = new System.Windows.Forms.StatusStrip();
this.lblStatus = new System.Windows.Forms.ToolStripLabel(); this.lblStatus = new System.Windows.Forms.ToolStripLabel();
this.label3 = new System.Windows.Forms.Label(); this.btn_Close = new System.Windows.Forms.Button();
this.nudAddDelay = new System.Windows.Forms.NumericUpDown();
this.panel1.SuspendLayout(); this.panel1.SuspendLayout();
this.panel8.SuspendLayout(); this.panel8.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dv1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dv1)).BeginInit();
this.panel5.SuspendLayout(); this.panel5.SuspendLayout();
this.panel3.SuspendLayout(); this.panel3.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.nudAddDelay)).BeginInit();
this.panel2.SuspendLayout(); this.panel2.SuspendLayout();
this.statusStrip1.SuspendLayout(); this.statusStrip1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.nudAddDelay)).BeginInit();
this.SuspendLayout(); this.SuspendLayout();
// //
// label1 // label1
// //
this.label1.AutoSize = true; this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(8, 6); this.label1.Location = new System.Drawing.Point(7, 5);
this.label1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.label1.Name = "label1"; this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(88, 31); this.label1.Size = new System.Drawing.Size(77, 25);
this.label1.TabIndex = 0; this.label1.TabIndex = 0;
this.label1.Text = "납품처명"; this.label1.Text = "납품처명";
this.label1.Click += new System.EventHandler(this.label1_Click); this.label1.Click += new System.EventHandler(this.label1_Click);
@@ -91,19 +91,17 @@
this.panel1.Controls.Add(this.panel2); this.panel1.Controls.Add(this.panel2);
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel1.Location = new System.Drawing.Point(0, 0); 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.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(731, 879); this.panel1.Size = new System.Drawing.Size(640, 699);
this.panel1.TabIndex = 1; this.panel1.TabIndex = 1;
// //
// panel8 // panel8
// //
this.panel8.Controls.Add(this.dv1); this.panel8.Controls.Add(this.dv1);
this.panel8.Dock = System.Windows.Forms.DockStyle.Fill; this.panel8.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel8.Location = new System.Drawing.Point(0, 127); this.panel8.Location = new System.Drawing.Point(0, 103);
this.panel8.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.panel8.Name = "panel8"; this.panel8.Name = "panel8";
this.panel8.Size = new System.Drawing.Size(729, 750); this.panel8.Size = new System.Drawing.Size(638, 594);
this.panel8.TabIndex = 5; this.panel8.TabIndex = 5;
// //
// dv1 // dv1
@@ -118,11 +116,10 @@
this.dvc_Remark}); this.dvc_Remark});
this.dv1.Dock = System.Windows.Forms.DockStyle.Fill; this.dv1.Dock = System.Windows.Forms.DockStyle.Fill;
this.dv1.Location = new System.Drawing.Point(0, 0); this.dv1.Location = new System.Drawing.Point(0, 0);
this.dv1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.dv1.Name = "dv1"; this.dv1.Name = "dv1";
this.dv1.RowHeadersWidth = 31; this.dv1.RowHeadersWidth = 31;
this.dv1.RowTemplate.Height = 23; this.dv1.RowTemplate.Height = 23;
this.dv1.Size = new System.Drawing.Size(729, 750); this.dv1.Size = new System.Drawing.Size(638, 594);
this.dv1.TabIndex = 0; this.dv1.TabIndex = 0;
this.dv1.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dataGridView1_RowPostPaint); this.dv1.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dataGridView1_RowPostPaint);
this.dv1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dataGridView1_KeyDown); this.dv1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dataGridView1_KeyDown);
@@ -165,18 +162,16 @@
this.panel5.Controls.Add(this.chk_spChar); this.panel5.Controls.Add(this.chk_spChar);
this.panel5.Controls.Add(this.btn_ApplyFilter); this.panel5.Controls.Add(this.btn_ApplyFilter);
this.panel5.Dock = System.Windows.Forms.DockStyle.Top; this.panel5.Dock = System.Windows.Forms.DockStyle.Top;
this.panel5.Location = new System.Drawing.Point(0, 84); this.panel5.Location = new System.Drawing.Point(0, 68);
this.panel5.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.panel5.Name = "panel5"; this.panel5.Name = "panel5";
this.panel5.Size = new System.Drawing.Size(729, 43); this.panel5.Size = new System.Drawing.Size(638, 35);
this.panel5.TabIndex = 4; this.panel5.TabIndex = 4;
// //
// btn_ResultEmpty // btn_ResultEmpty
// //
this.btn_ResultEmpty.Location = new System.Drawing.Point(546, 5); this.btn_ResultEmpty.Location = new System.Drawing.Point(478, 4);
this.btn_ResultEmpty.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.btn_ResultEmpty.Name = "btn_ResultEmpty"; this.btn_ResultEmpty.Name = "btn_ResultEmpty";
this.btn_ResultEmpty.Size = new System.Drawing.Size(86, 30); this.btn_ResultEmpty.Size = new System.Drawing.Size(75, 24);
this.btn_ResultEmpty.TabIndex = 6; this.btn_ResultEmpty.TabIndex = 6;
this.btn_ResultEmpty.Text = "결과 비움"; this.btn_ResultEmpty.Text = "결과 비움";
this.btn_ResultEmpty.UseVisualStyleBackColor = true; this.btn_ResultEmpty.UseVisualStyleBackColor = true;
@@ -184,10 +179,9 @@
// //
// btn_GridReset // btn_GridReset
// //
this.btn_GridReset.Location = new System.Drawing.Point(634, 5); this.btn_GridReset.Location = new System.Drawing.Point(555, 4);
this.btn_GridReset.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.btn_GridReset.Name = "btn_GridReset"; this.btn_GridReset.Name = "btn_GridReset";
this.btn_GridReset.Size = new System.Drawing.Size(86, 30); this.btn_GridReset.Size = new System.Drawing.Size(75, 24);
this.btn_GridReset.TabIndex = 7; this.btn_GridReset.TabIndex = 7;
this.btn_GridReset.Text = "표 비우기"; this.btn_GridReset.Text = "표 비우기";
this.btn_GridReset.UseVisualStyleBackColor = true; this.btn_GridReset.UseVisualStyleBackColor = true;
@@ -196,10 +190,9 @@
// chk_RemoveBrit // chk_RemoveBrit
// //
this.chk_RemoveBrit.AutoSize = true; this.chk_RemoveBrit.AutoSize = true;
this.chk_RemoveBrit.Location = new System.Drawing.Point(133, 10); this.chk_RemoveBrit.Location = new System.Drawing.Point(116, 8);
this.chk_RemoveBrit.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.chk_RemoveBrit.Name = "chk_RemoveBrit"; this.chk_RemoveBrit.Name = "chk_RemoveBrit";
this.chk_RemoveBrit.Size = new System.Drawing.Size(159, 19); this.chk_RemoveBrit.Size = new System.Drawing.Size(128, 16);
this.chk_RemoveBrit.TabIndex = 3; this.chk_RemoveBrit.TabIndex = 3;
this.chk_RemoveBrit.Text = "괄호안의 문자 제거"; this.chk_RemoveBrit.Text = "괄호안의 문자 제거";
this.chk_RemoveBrit.UseVisualStyleBackColor = true; this.chk_RemoveBrit.UseVisualStyleBackColor = true;
@@ -207,10 +200,9 @@
// chk_spChar // chk_spChar
// //
this.chk_spChar.AutoSize = true; this.chk_spChar.AutoSize = true;
this.chk_spChar.Location = new System.Drawing.Point(11, 10); this.chk_spChar.Location = new System.Drawing.Point(10, 8);
this.chk_spChar.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.chk_spChar.Name = "chk_spChar"; this.chk_spChar.Name = "chk_spChar";
this.chk_spChar.Size = new System.Drawing.Size(124, 19); this.chk_spChar.Size = new System.Drawing.Size(100, 16);
this.chk_spChar.TabIndex = 4; this.chk_spChar.TabIndex = 4;
this.chk_spChar.Text = "특수문자 제거"; this.chk_spChar.Text = "특수문자 제거";
this.chk_spChar.UseVisualStyleBackColor = true; this.chk_spChar.UseVisualStyleBackColor = true;
@@ -218,10 +210,9 @@
// btn_ApplyFilter // btn_ApplyFilter
// //
this.btn_ApplyFilter.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btn_ApplyFilter.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btn_ApplyFilter.Location = new System.Drawing.Point(295, 5); this.btn_ApplyFilter.Location = new System.Drawing.Point(258, 4);
this.btn_ApplyFilter.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.btn_ApplyFilter.Name = "btn_ApplyFilter"; this.btn_ApplyFilter.Name = "btn_ApplyFilter";
this.btn_ApplyFilter.Size = new System.Drawing.Size(86, 30); this.btn_ApplyFilter.Size = new System.Drawing.Size(75, 24);
this.btn_ApplyFilter.TabIndex = 5; this.btn_ApplyFilter.TabIndex = 5;
this.btn_ApplyFilter.Text = "필터적용"; this.btn_ApplyFilter.Text = "필터적용";
this.btn_ApplyFilter.UseVisualStyleBackColor = true; this.btn_ApplyFilter.UseVisualStyleBackColor = true;
@@ -239,22 +230,37 @@
this.panel3.Controls.Add(this.btn_Search); this.panel3.Controls.Add(this.btn_Search);
this.panel3.Controls.Add(this.rBtn_BookName); this.panel3.Controls.Add(this.rBtn_BookName);
this.panel3.Dock = System.Windows.Forms.DockStyle.Top; this.panel3.Dock = System.Windows.Forms.DockStyle.Top;
this.panel3.Location = new System.Drawing.Point(0, 41); this.panel3.Location = new System.Drawing.Point(0, 33);
this.panel3.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.panel3.Name = "panel3"; this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(729, 43); this.panel3.Size = new System.Drawing.Size(638, 35);
this.panel3.TabIndex = 4; this.panel3.TabIndex = 4;
// //
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(517, 10);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(53, 12);
this.label3.TabIndex = 211;
this.label3.Text = "추가지연";
//
// nudAddDelay
//
this.nudAddDelay.Location = new System.Drawing.Point(576, 6);
this.nudAddDelay.Name = "nudAddDelay";
this.nudAddDelay.Size = new System.Drawing.Size(56, 21);
this.nudAddDelay.TabIndex = 210;
this.nudAddDelay.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// chkShowBrowser // chkShowBrowser
// //
this.chkShowBrowser.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.chkShowBrowser.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.chkShowBrowser.AutoSize = true; this.chkShowBrowser.AutoSize = true;
this.chkShowBrowser.Checked = true; this.chkShowBrowser.Checked = true;
this.chkShowBrowser.CheckState = System.Windows.Forms.CheckState.Checked; this.chkShowBrowser.CheckState = System.Windows.Forms.CheckState.Checked;
this.chkShowBrowser.Location = new System.Drawing.Point(395, 11); this.chkShowBrowser.Location = new System.Drawing.Point(354, 9);
this.chkShowBrowser.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.chkShowBrowser.Name = "chkShowBrowser"; this.chkShowBrowser.Name = "chkShowBrowser";
this.chkShowBrowser.Size = new System.Drawing.Size(119, 19); this.chkShowBrowser.Size = new System.Drawing.Size(96, 16);
this.chkShowBrowser.TabIndex = 209; this.chkShowBrowser.TabIndex = 209;
this.chkShowBrowser.Text = "브라우저표시"; this.chkShowBrowser.Text = "브라우저표시";
this.chkShowBrowser.UseVisualStyleBackColor = true; this.chkShowBrowser.UseVisualStyleBackColor = true;
@@ -262,9 +268,9 @@
// label2 // label2
// //
this.label2.AutoSize = true; this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(8, 14); this.label2.Location = new System.Drawing.Point(7, 11);
this.label2.Name = "label2"; this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(67, 15); this.label2.Size = new System.Drawing.Size(53, 12);
this.label2.TabIndex = 3; this.label2.TabIndex = 3;
this.label2.Text = "검색조건"; this.label2.Text = "검색조건";
// //
@@ -272,10 +278,9 @@
// //
this.rBtn_ISBN.AutoSize = true; this.rBtn_ISBN.AutoSize = true;
this.rBtn_ISBN.Checked = true; this.rBtn_ISBN.Checked = true;
this.rBtn_ISBN.Location = new System.Drawing.Point(175, 11); this.rBtn_ISBN.Location = new System.Drawing.Point(153, 9);
this.rBtn_ISBN.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.rBtn_ISBN.Name = "rBtn_ISBN"; this.rBtn_ISBN.Name = "rBtn_ISBN";
this.rBtn_ISBN.Size = new System.Drawing.Size(60, 19); this.rBtn_ISBN.Size = new System.Drawing.Size(51, 16);
this.rBtn_ISBN.TabIndex = 4; this.rBtn_ISBN.TabIndex = 4;
this.rBtn_ISBN.TabStop = true; this.rBtn_ISBN.TabStop = true;
this.rBtn_ISBN.Text = "ISBN"; this.rBtn_ISBN.Text = "ISBN";
@@ -283,10 +288,9 @@
// //
// btnStop // btnStop
// //
this.btnStop.Location = new System.Drawing.Point(323, 6); this.btnStop.Location = new System.Drawing.Point(283, 5);
this.btnStop.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.btnStop.Name = "btnStop"; this.btnStop.Name = "btnStop";
this.btnStop.Size = new System.Drawing.Size(74, 29); this.btnStop.Size = new System.Drawing.Size(65, 23);
this.btnStop.TabIndex = 2; this.btnStop.TabIndex = 2;
this.btnStop.Text = "중 지"; this.btnStop.Text = "중 지";
this.btnStop.UseVisualStyleBackColor = true; this.btnStop.UseVisualStyleBackColor = true;
@@ -294,10 +298,9 @@
// //
// btn_Search // btn_Search
// //
this.btn_Search.Location = new System.Drawing.Point(248, 6); this.btn_Search.Location = new System.Drawing.Point(217, 5);
this.btn_Search.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.btn_Search.Name = "btn_Search"; this.btn_Search.Name = "btn_Search";
this.btn_Search.Size = new System.Drawing.Size(74, 29); this.btn_Search.Size = new System.Drawing.Size(65, 23);
this.btn_Search.TabIndex = 2; this.btn_Search.TabIndex = 2;
this.btn_Search.Text = "검 색"; this.btn_Search.Text = "검 색";
this.btn_Search.UseVisualStyleBackColor = true; this.btn_Search.UseVisualStyleBackColor = true;
@@ -306,10 +309,9 @@
// rBtn_BookName // rBtn_BookName
// //
this.rBtn_BookName.AutoSize = true; this.rBtn_BookName.AutoSize = true;
this.rBtn_BookName.Location = new System.Drawing.Point(78, 11); this.rBtn_BookName.Location = new System.Drawing.Point(68, 9);
this.rBtn_BookName.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.rBtn_BookName.Name = "rBtn_BookName"; this.rBtn_BookName.Name = "rBtn_BookName";
this.rBtn_BookName.Size = new System.Drawing.Size(73, 19); this.rBtn_BookName.Size = new System.Drawing.Size(59, 16);
this.rBtn_BookName.TabIndex = 4; this.rBtn_BookName.TabIndex = 4;
this.rBtn_BookName.Text = "도서명"; this.rBtn_BookName.Text = "도서명";
this.rBtn_BookName.UseVisualStyleBackColor = true; this.rBtn_BookName.UseVisualStyleBackColor = true;
@@ -317,6 +319,7 @@
// panel2 // panel2
// //
this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel2.Controls.Add(this.btn_Close);
this.panel2.Controls.Add(this.btn_SiteDenote); this.panel2.Controls.Add(this.btn_SiteDenote);
this.panel2.Controls.Add(this.btn_Connect); this.panel2.Controls.Add(this.btn_Connect);
this.panel2.Controls.Add(this.lbl_PW); this.panel2.Controls.Add(this.lbl_PW);
@@ -327,18 +330,16 @@
this.panel2.Controls.Add(this.tb_SearchClient); this.panel2.Controls.Add(this.tb_SearchClient);
this.panel2.Dock = System.Windows.Forms.DockStyle.Top; this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
this.panel2.Location = new System.Drawing.Point(0, 0); this.panel2.Location = new System.Drawing.Point(0, 0);
this.panel2.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.panel2.Name = "panel2"; this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(729, 41); this.panel2.Size = new System.Drawing.Size(638, 33);
this.panel2.TabIndex = 3; this.panel2.TabIndex = 3;
// //
// btn_SiteDenote // btn_SiteDenote
// //
this.btn_SiteDenote.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btn_SiteDenote.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btn_SiteDenote.Location = new System.Drawing.Point(634, 6); this.btn_SiteDenote.Location = new System.Drawing.Point(479, 5);
this.btn_SiteDenote.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.btn_SiteDenote.Name = "btn_SiteDenote"; this.btn_SiteDenote.Name = "btn_SiteDenote";
this.btn_SiteDenote.Size = new System.Drawing.Size(88, 29); this.btn_SiteDenote.Size = new System.Drawing.Size(77, 23);
this.btn_SiteDenote.TabIndex = 6; this.btn_SiteDenote.TabIndex = 6;
this.btn_SiteDenote.Text = "사이트 표출"; this.btn_SiteDenote.Text = "사이트 표출";
this.btn_SiteDenote.UseVisualStyleBackColor = true; this.btn_SiteDenote.UseVisualStyleBackColor = true;
@@ -347,10 +348,9 @@
// btn_Connect // btn_Connect
// //
this.btn_Connect.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btn_Connect.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btn_Connect.Location = new System.Drawing.Point(547, 6); this.btn_Connect.Location = new System.Drawing.Point(406, 5);
this.btn_Connect.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.btn_Connect.Name = "btn_Connect"; this.btn_Connect.Name = "btn_Connect";
this.btn_Connect.Size = new System.Drawing.Size(80, 29); this.btn_Connect.Size = new System.Drawing.Size(70, 23);
this.btn_Connect.TabIndex = 5; this.btn_Connect.TabIndex = 5;
this.btn_Connect.Text = "접속"; this.btn_Connect.Text = "접속";
this.btn_Connect.UseVisualStyleBackColor = true; this.btn_Connect.UseVisualStyleBackColor = true;
@@ -359,36 +359,36 @@
// lbl_PW // lbl_PW
// //
this.lbl_PW.AutoSize = true; this.lbl_PW.AutoSize = true;
this.lbl_PW.Location = new System.Drawing.Point(339, 46); this.lbl_PW.Location = new System.Drawing.Point(297, 37);
this.lbl_PW.Name = "lbl_PW"; this.lbl_PW.Name = "lbl_PW";
this.lbl_PW.Size = new System.Drawing.Size(31, 15); this.lbl_PW.Size = new System.Drawing.Size(23, 12);
this.lbl_PW.TabIndex = 3; this.lbl_PW.TabIndex = 3;
this.lbl_PW.Text = "PW"; this.lbl_PW.Text = "PW";
// //
// lbl_Area // lbl_Area
// //
this.lbl_Area.AutoSize = true; this.lbl_Area.AutoSize = true;
this.lbl_Area.Location = new System.Drawing.Point(111, 46); this.lbl_Area.Location = new System.Drawing.Point(97, 37);
this.lbl_Area.Name = "lbl_Area"; this.lbl_Area.Name = "lbl_Area";
this.lbl_Area.Size = new System.Drawing.Size(36, 15); this.lbl_Area.Size = new System.Drawing.Size(31, 12);
this.lbl_Area.TabIndex = 3; this.lbl_Area.TabIndex = 3;
this.lbl_Area.Text = "Area"; this.lbl_Area.Text = "Area";
// //
// lbl_ID // lbl_ID
// //
this.lbl_ID.AutoSize = true; this.lbl_ID.AutoSize = true;
this.lbl_ID.Location = new System.Drawing.Point(211, 46); this.lbl_ID.Location = new System.Drawing.Point(185, 37);
this.lbl_ID.Name = "lbl_ID"; this.lbl_ID.Name = "lbl_ID";
this.lbl_ID.Size = new System.Drawing.Size(20, 15); this.lbl_ID.Size = new System.Drawing.Size(16, 12);
this.lbl_ID.TabIndex = 3; this.lbl_ID.TabIndex = 3;
this.lbl_ID.Text = "ID"; this.lbl_ID.Text = "ID";
// //
// lbl_Client // lbl_Client
// //
this.lbl_Client.AutoSize = true; this.lbl_Client.AutoSize = true;
this.lbl_Client.Location = new System.Drawing.Point(8, 46); this.lbl_Client.Location = new System.Drawing.Point(7, 37);
this.lbl_Client.Name = "lbl_Client"; this.lbl_Client.Name = "lbl_Client";
this.lbl_Client.Size = new System.Drawing.Size(43, 15); this.lbl_Client.Size = new System.Drawing.Size(37, 12);
this.lbl_Client.TabIndex = 3; this.lbl_Client.TabIndex = 3;
this.lbl_Client.Text = "Client"; this.lbl_Client.Text = "Client";
// //
@@ -397,10 +397,9 @@
this.tb_SearchClient.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) this.tb_SearchClient.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right))); | System.Windows.Forms.AnchorStyles.Right)));
this.tb_SearchClient.ImeMode = System.Windows.Forms.ImeMode.Hangul; this.tb_SearchClient.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.tb_SearchClient.Location = new System.Drawing.Point(87, 8); this.tb_SearchClient.Location = new System.Drawing.Point(76, 6);
this.tb_SearchClient.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.tb_SearchClient.Name = "tb_SearchClient"; this.tb_SearchClient.Name = "tb_SearchClient";
this.tb_SearchClient.Size = new System.Drawing.Size(453, 25); this.tb_SearchClient.Size = new System.Drawing.Size(326, 21);
this.tb_SearchClient.TabIndex = 1; this.tb_SearchClient.TabIndex = 1;
this.tb_SearchClient.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_SearchClient_KeyDown); this.tb_SearchClient.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_SearchClient_KeyDown);
// //
@@ -409,46 +408,36 @@
this.statusStrip1.ImageScalingSize = new System.Drawing.Size(20, 20); this.statusStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.lblStatus}); this.lblStatus});
this.statusStrip1.Location = new System.Drawing.Point(0, 879); this.statusStrip1.Location = new System.Drawing.Point(0, 699);
this.statusStrip1.Name = "statusStrip1"; this.statusStrip1.Name = "statusStrip1";
this.statusStrip1.Padding = new System.Windows.Forms.Padding(1, 0, 16, 0); this.statusStrip1.Size = new System.Drawing.Size(640, 22);
this.statusStrip1.Size = new System.Drawing.Size(731, 22);
this.statusStrip1.TabIndex = 3; this.statusStrip1.TabIndex = 3;
this.statusStrip1.Text = "statusStrip1"; this.statusStrip1.Text = "statusStrip1";
// //
// lblStatus // lblStatus
// //
this.lblStatus.Name = "lblStatus"; this.lblStatus.Name = "lblStatus";
this.lblStatus.Size = new System.Drawing.Size(34, 20); this.lblStatus.Size = new System.Drawing.Size(27, 20);
this.lblStatus.Text = "WD"; this.lblStatus.Text = "WD";
this.lblStatus.Click += new System.EventHandler(this.lblStatus_Click); this.lblStatus.Click += new System.EventHandler(this.lblStatus_Click);
// //
// label3 // btn_Close
// //
this.label3.AutoSize = true; this.btn_Close.Location = new System.Drawing.Point(559, 4);
this.label3.Location = new System.Drawing.Point(591, 13); this.btn_Close.Name = "btn_Close";
this.label3.Name = "label3"; this.btn_Close.Size = new System.Drawing.Size(75, 24);
this.label3.Size = new System.Drawing.Size(67, 15); this.btn_Close.TabIndex = 7;
this.label3.TabIndex = 211; this.btn_Close.Text = "닫 기";
this.label3.Text = "추가지연"; this.btn_Close.UseVisualStyleBackColor = true;
// this.btn_Close.Click += new System.EventHandler(this.btn_Close_Click);
// nudAddDelay
//
this.nudAddDelay.Location = new System.Drawing.Point(658, 8);
this.nudAddDelay.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.nudAddDelay.Name = "nudAddDelay";
this.nudAddDelay.Size = new System.Drawing.Size(64, 25);
this.nudAddDelay.TabIndex = 210;
this.nudAddDelay.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
// //
// DLS_Copy // DLS_Copy
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F); this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(731, 901); this.ClientSize = new System.Drawing.Size(640, 721);
this.Controls.Add(this.panel1); this.Controls.Add(this.panel1);
this.Controls.Add(this.statusStrip1); this.Controls.Add(this.statusStrip1);
this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.Name = "DLS_Copy"; this.Name = "DLS_Copy";
this.Text = "DLS 복본조사"; this.Text = "DLS 복본조사";
this.Load += new System.EventHandler(this.DLS_Copy_Load); this.Load += new System.EventHandler(this.DLS_Copy_Load);
@@ -459,11 +448,11 @@
this.panel5.PerformLayout(); this.panel5.PerformLayout();
this.panel3.ResumeLayout(false); this.panel3.ResumeLayout(false);
this.panel3.PerformLayout(); this.panel3.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.nudAddDelay)).EndInit();
this.panel2.ResumeLayout(false); this.panel2.ResumeLayout(false);
this.panel2.PerformLayout(); this.panel2.PerformLayout();
this.statusStrip1.ResumeLayout(false); this.statusStrip1.ResumeLayout(false);
this.statusStrip1.PerformLayout(); this.statusStrip1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.nudAddDelay)).EndInit();
this.ResumeLayout(false); this.ResumeLayout(false);
this.PerformLayout(); this.PerformLayout();
@@ -504,5 +493,6 @@
private System.Windows.Forms.DataGridViewTextBoxColumn dvc_Remark; private System.Windows.Forms.DataGridViewTextBoxColumn dvc_Remark;
private System.Windows.Forms.Label label3; private System.Windows.Forms.Label label3;
private System.Windows.Forms.NumericUpDown nudAddDelay; private System.Windows.Forms.NumericUpDown nudAddDelay;
private System.Windows.Forms.Button btn_Close;
} }
} }

View File

@@ -412,5 +412,10 @@ namespace WindowsFormsApp1.Mac
dv1.Rows[a].Cells[booknamecol].Value = st.RemoveWordInBracket(Target).Trim(); dv1.Rows[a].Cells[booknamecol].Value = st.RemoveWordInBracket(Target).Trim();
} }
} }
private void btn_Close_Click(object sender, EventArgs e)
{
this.Close();
}
} }
} }

View File

@@ -129,6 +129,18 @@
<metadata name="dvc_Remark.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="dvc_Remark.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value> <value>True</value>
</metadata> </metadata>
<metadata name="Book_name.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ISBN.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dvc_count.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dvc_Remark.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="statusStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="statusStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value> <value>17, 17</value>
</metadata> </metadata>

View File

@@ -18,6 +18,18 @@ namespace ExcelTest
public string call = ""; public string call = "";
Marc mac; Marc mac;
Marc_Plan_Sub_MarcEdit me; Marc_Plan_Sub_MarcEdit me;
Marc2 mae;
MarcEditorControl mec;
public Helper008(MarcEditorControl _mae)
{
InitializeComponent();
mec = _mae;
}
public Helper008(Marc2 _mae)
{
InitializeComponent();
mae = _mae;
}
public Helper008(Marc _mac) public Helper008(Marc _mac)
{ {
InitializeComponent(); InitializeComponent();

View 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; }
}
}

View File

@@ -33,21 +33,6 @@
this.label1 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label();
this.tb_Search = new System.Windows.Forms.TextBox(); this.tb_Search = new System.Windows.Forms.TextBox();
this.dataGridView1 = new System.Windows.Forms.DataGridView(); this.dataGridView1 = new System.Windows.Forms.DataGridView();
this.cb_state = new System.Windows.Forms.ComboBox();
this.label2 = new System.Windows.Forms.Label();
this.btn_Lookup = new System.Windows.Forms.Button();
this.btn_Excel = new System.Windows.Forms.Button();
this.btn_Close = new System.Windows.Forms.Button();
this.btn_Save = new System.Windows.Forms.Button();
this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog();
this.btn_Merge = new System.Windows.Forms.Button();
this.btn_Progress = new System.Windows.Forms.Button();
this.btn_Completion = new System.Windows.Forms.Button();
this.btn_Delete = new System.Windows.Forms.Button();
this.btn_AddList = new System.Windows.Forms.Button();
this.panel1 = new System.Windows.Forms.Panel();
this.btnSearchISBN = new System.Windows.Forms.Button();
this.panel2 = new System.Windows.Forms.Panel();
this.idx = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.idx = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.start_date = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.start_date = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.end_date = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.end_date = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -62,6 +47,33 @@
this.charge = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.charge = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dvc_cust = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dvc_cust = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.check = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.check = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.cb_state = new System.Windows.Forms.ComboBox();
this.label2 = new System.Windows.Forms.Label();
this.btn_Lookup = new System.Windows.Forms.Button();
this.btn_Excel = new System.Windows.Forms.Button();
this.btn_Close = new System.Windows.Forms.Button();
this.btn_Save = new System.Windows.Forms.Button();
this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog();
this.btn_Merge = new System.Windows.Forms.Button();
this.btn_Progress = new System.Windows.Forms.Button();
this.btn_Completion = new System.Windows.Forms.Button();
this.btn_Delete = new System.Windows.Forms.Button();
this.btn_AddList = new System.Windows.Forms.Button();
this.panel1 = new System.Windows.Forms.Panel();
this.panel12 = new System.Windows.Forms.Panel();
this.chkEditorTest = new System.Windows.Forms.CheckBox();
this.panel13 = new System.Windows.Forms.Panel();
this.panel11 = new System.Windows.Forms.Panel();
this.btnSearchISBN = new System.Windows.Forms.Button();
this.panel10 = new System.Windows.Forms.Panel();
this.panel9 = new System.Windows.Forms.Panel();
this.panel8 = new System.Windows.Forms.Panel();
this.panel7 = new System.Windows.Forms.Panel();
this.panel6 = new System.Windows.Forms.Panel();
this.panel5 = new System.Windows.Forms.Panel();
this.panel4 = new System.Windows.Forms.Panel();
this.panel3 = new System.Windows.Forms.Panel();
this.panel2 = new System.Windows.Forms.Panel();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
this.panel1.SuspendLayout(); this.panel1.SuspendLayout();
this.panel2.SuspendLayout(); this.panel2.SuspendLayout();
@@ -69,18 +81,21 @@
// //
// label1 // label1
// //
this.label1.AutoSize = true; this.label1.Dock = System.Windows.Forms.DockStyle.Left;
this.label1.Location = new System.Drawing.Point(14, 13); this.label1.Location = new System.Drawing.Point(0, 5);
this.label1.Name = "label1"; this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(57, 12); this.label1.Size = new System.Drawing.Size(63, 27);
this.label1.TabIndex = 5; this.label1.TabIndex = 5;
this.label1.Text = "목록 검색"; this.label1.Text = "목록 검색";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
// //
// tb_Search // tb_Search
// //
this.tb_Search.Location = new System.Drawing.Point(73, 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(63, 5);
this.tb_Search.Name = "tb_Search"; this.tb_Search.Name = "tb_Search";
this.tb_Search.Size = new System.Drawing.Size(241, 21); this.tb_Search.Size = new System.Drawing.Size(269, 25);
this.tb_Search.TabIndex = 6; this.tb_Search.TabIndex = 6;
this.tb_Search.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_Search_KeyDown); this.tb_Search.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_Search_KeyDown);
// //
@@ -130,212 +145,66 @@
this.dataGridView1.RowHeadersWidth = 40; this.dataGridView1.RowHeadersWidth = 40;
this.dataGridView1.RowTemplate.Height = 23; this.dataGridView1.RowTemplate.Height = 23;
this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dataGridView1.Size = new System.Drawing.Size(1179, 623); this.dataGridView1.Size = new System.Drawing.Size(1638, 624);
this.dataGridView1.TabIndex = 48; this.dataGridView1.TabIndex = 48;
this.dataGridView1.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellDoubleClick); this.dataGridView1.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellDoubleClick);
this.dataGridView1.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dataGridView1_RowPostPaint); this.dataGridView1.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dataGridView1_RowPostPaint);
this.dataGridView1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dataGridView1_KeyDown); this.dataGridView1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dataGridView1_KeyDown);
// //
// cb_state
//
this.cb_state.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cb_state.FormattingEnabled = true;
this.cb_state.Location = new System.Drawing.Point(354, 9);
this.cb_state.Name = "cb_state";
this.cb_state.Size = new System.Drawing.Size(74, 20);
this.cb_state.TabIndex = 49;
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(323, 13);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(29, 12);
this.label2.TabIndex = 5;
this.label2.Text = "상태";
//
// btn_Lookup
//
this.btn_Lookup.Location = new System.Drawing.Point(484, 2);
this.btn_Lookup.Margin = new System.Windows.Forms.Padding(1);
this.btn_Lookup.Name = "btn_Lookup";
this.btn_Lookup.Size = new System.Drawing.Size(61, 32);
this.btn_Lookup.TabIndex = 50;
this.btn_Lookup.Text = "조 회";
this.btn_Lookup.UseVisualStyleBackColor = true;
this.btn_Lookup.Click += new System.EventHandler(this.btn_Lookup_Click);
//
// btn_Excel
//
this.btn_Excel.Location = new System.Drawing.Point(990, 2);
this.btn_Excel.Margin = new System.Windows.Forms.Padding(1);
this.btn_Excel.Name = "btn_Excel";
this.btn_Excel.Size = new System.Drawing.Size(61, 32);
this.btn_Excel.TabIndex = 50;
this.btn_Excel.Text = "엑셀반출";
this.btn_Excel.UseVisualStyleBackColor = true;
this.btn_Excel.Click += new System.EventHandler(this.btn_Excel_Click);
//
// btn_Close
//
this.btn_Close.Location = new System.Drawing.Point(1053, 2);
this.btn_Close.Margin = new System.Windows.Forms.Padding(1);
this.btn_Close.Name = "btn_Close";
this.btn_Close.Size = new System.Drawing.Size(61, 32);
this.btn_Close.TabIndex = 50;
this.btn_Close.Text = "닫 기";
this.btn_Close.UseVisualStyleBackColor = true;
this.btn_Close.Click += new System.EventHandler(this.btn_Close_Click);
//
// btn_Save
//
this.btn_Save.Location = new System.Drawing.Point(927, 2);
this.btn_Save.Margin = new System.Windows.Forms.Padding(1);
this.btn_Save.Name = "btn_Save";
this.btn_Save.Size = new System.Drawing.Size(61, 32);
this.btn_Save.TabIndex = 50;
this.btn_Save.Text = "체크사항\r\n저장";
this.btn_Save.UseVisualStyleBackColor = true;
this.btn_Save.Click += new System.EventHandler(this.btn_Save_Click);
//
// btn_Merge
//
this.btn_Merge.Location = new System.Drawing.Point(673, 2);
this.btn_Merge.Margin = new System.Windows.Forms.Padding(1);
this.btn_Merge.Name = "btn_Merge";
this.btn_Merge.Size = new System.Drawing.Size(61, 32);
this.btn_Merge.TabIndex = 51;
this.btn_Merge.Text = "목록병합";
this.btn_Merge.UseVisualStyleBackColor = true;
this.btn_Merge.Click += new System.EventHandler(this.btn_Merge_Click);
//
// btn_Progress
//
this.btn_Progress.Location = new System.Drawing.Point(738, 2);
this.btn_Progress.Margin = new System.Windows.Forms.Padding(1);
this.btn_Progress.Name = "btn_Progress";
this.btn_Progress.Size = new System.Drawing.Size(61, 32);
this.btn_Progress.TabIndex = 51;
this.btn_Progress.Text = "진행처리";
this.btn_Progress.UseVisualStyleBackColor = true;
this.btn_Progress.Click += new System.EventHandler(this.btn_Progress_Click);
//
// btn_Completion
//
this.btn_Completion.Location = new System.Drawing.Point(801, 2);
this.btn_Completion.Margin = new System.Windows.Forms.Padding(1);
this.btn_Completion.Name = "btn_Completion";
this.btn_Completion.Size = new System.Drawing.Size(61, 32);
this.btn_Completion.TabIndex = 51;
this.btn_Completion.Text = "완료처리";
this.btn_Completion.UseVisualStyleBackColor = true;
this.btn_Completion.Click += new System.EventHandler(this.btn_Completion_Click);
//
// btn_Delete
//
this.btn_Delete.Location = new System.Drawing.Point(864, 2);
this.btn_Delete.Margin = new System.Windows.Forms.Padding(1);
this.btn_Delete.Name = "btn_Delete";
this.btn_Delete.Size = new System.Drawing.Size(61, 32);
this.btn_Delete.TabIndex = 51;
this.btn_Delete.Text = "목록삭제";
this.btn_Delete.UseVisualStyleBackColor = true;
this.btn_Delete.Click += new System.EventHandler(this.btn_Delete_Click);
//
// btn_AddList
//
this.btn_AddList.Location = new System.Drawing.Point(610, 2);
this.btn_AddList.Margin = new System.Windows.Forms.Padding(1);
this.btn_AddList.Name = "btn_AddList";
this.btn_AddList.Size = new System.Drawing.Size(61, 32);
this.btn_AddList.TabIndex = 50;
this.btn_AddList.Text = "목록생성";
this.btn_AddList.UseVisualStyleBackColor = true;
this.btn_AddList.Click += new System.EventHandler(this.btn_AddList_Click);
//
// panel1
//
this.panel1.Controls.Add(this.label1);
this.panel1.Controls.Add(this.btn_Delete);
this.panel1.Controls.Add(this.label2);
this.panel1.Controls.Add(this.btn_Completion);
this.panel1.Controls.Add(this.tb_Search);
this.panel1.Controls.Add(this.btn_Progress);
this.panel1.Controls.Add(this.cb_state);
this.panel1.Controls.Add(this.btn_Merge);
this.panel1.Controls.Add(this.btnSearchISBN);
this.panel1.Controls.Add(this.btn_Lookup);
this.panel1.Controls.Add(this.btn_Close);
this.panel1.Controls.Add(this.btn_AddList);
this.panel1.Controls.Add(this.btn_Excel);
this.panel1.Controls.Add(this.btn_Save);
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(1179, 38);
this.panel1.TabIndex = 52;
//
// btnSearchISBN
//
this.btnSearchISBN.Location = new System.Drawing.Point(547, 2);
this.btnSearchISBN.Margin = new System.Windows.Forms.Padding(1);
this.btnSearchISBN.Name = "btnSearchISBN";
this.btnSearchISBN.Size = new System.Drawing.Size(61, 32);
this.btnSearchISBN.TabIndex = 50;
this.btnSearchISBN.Text = "ISBN 조회";
this.btnSearchISBN.UseVisualStyleBackColor = true;
this.btnSearchISBN.Click += new System.EventHandler(this.btnSearchISBN_Click);
//
// panel2
//
this.panel2.Controls.Add(this.dataGridView1);
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel2.Location = new System.Drawing.Point(0, 38);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(1179, 623);
this.panel2.TabIndex = 53;
//
// idx // idx
// //
this.idx.HeaderText = "idx"; this.idx.HeaderText = "idx";
this.idx.MinimumWidth = 6;
this.idx.Name = "idx"; this.idx.Name = "idx";
this.idx.Visible = false; this.idx.Visible = false;
this.idx.Width = 125;
// //
// start_date // start_date
// //
this.start_date.HeaderText = "목록일자"; this.start_date.HeaderText = "목록일자";
this.start_date.MinimumWidth = 6;
this.start_date.Name = "start_date"; this.start_date.Name = "start_date";
this.start_date.Width = 125;
// //
// end_date // end_date
// //
this.end_date.HeaderText = "완료일자"; this.end_date.HeaderText = "완료일자";
this.end_date.MinimumWidth = 6;
this.end_date.Name = "end_date"; this.end_date.Name = "end_date";
this.end_date.Width = 125;
// //
// dvc_custname // dvc_custname
// //
this.dvc_custname.HeaderText = "납품처"; this.dvc_custname.HeaderText = "납품처";
this.dvc_custname.MinimumWidth = 6;
this.dvc_custname.Name = "dvc_custname"; this.dvc_custname.Name = "dvc_custname";
this.dvc_custname.Width = 125;
// //
// list_name // list_name
// //
this.list_name.HeaderText = "목록명"; this.list_name.HeaderText = "목록명";
this.list_name.MinimumWidth = 6;
this.list_name.Name = "list_name"; this.list_name.Name = "list_name";
this.list_name.Width = 200; this.list_name.Width = 200;
// //
// work_name // work_name
// //
this.work_name.HeaderText = "작업명"; this.work_name.HeaderText = "작업명";
this.work_name.MinimumWidth = 6;
this.work_name.Name = "work_name"; this.work_name.Name = "work_name";
this.work_name.Width = 125;
// //
// count // count
// //
this.count.HeaderText = "수량"; this.count.HeaderText = "수량";
this.count.MinimumWidth = 6;
this.count.Name = "count"; this.count.Name = "count";
this.count.Width = 80; this.count.Width = 80;
// //
// stock // stock
// //
this.stock.HeaderText = "입고"; this.stock.HeaderText = "입고";
this.stock.MinimumWidth = 6;
this.stock.Name = "stock"; this.stock.Name = "stock";
this.stock.Visible = false; this.stock.Visible = false;
this.stock.Width = 70; this.stock.Width = 70;
@@ -343,6 +212,7 @@
// unstock // unstock
// //
this.unstock.HeaderText = "미입고"; this.unstock.HeaderText = "미입고";
this.unstock.MinimumWidth = 6;
this.unstock.Name = "unstock"; this.unstock.Name = "unstock";
this.unstock.Visible = false; this.unstock.Visible = false;
this.unstock.Width = 70; this.unstock.Width = 70;
@@ -350,38 +220,342 @@
// state // state
// //
this.state.HeaderText = "상태"; this.state.HeaderText = "상태";
this.state.MinimumWidth = 6;
this.state.Name = "state"; this.state.Name = "state";
this.state.Width = 70; this.state.Width = 70;
// //
// etc // etc
// //
this.etc.HeaderText = "비고"; this.etc.HeaderText = "비고";
this.etc.MinimumWidth = 6;
this.etc.Name = "etc"; this.etc.Name = "etc";
this.etc.Width = 280; this.etc.Width = 280;
// //
// charge // charge
// //
this.charge.HeaderText = "담당자"; this.charge.HeaderText = "담당자";
this.charge.MinimumWidth = 6;
this.charge.Name = "charge"; this.charge.Name = "charge";
this.charge.Width = 70; this.charge.Width = 70;
// //
// dvc_cust // dvc_cust
// //
this.dvc_cust.HeaderText = "CustomerIDX"; this.dvc_cust.HeaderText = "CustomerIDX";
this.dvc_cust.MinimumWidth = 6;
this.dvc_cust.Name = "dvc_cust"; this.dvc_cust.Name = "dvc_cust";
this.dvc_cust.Visible = false; this.dvc_cust.Visible = false;
this.dvc_cust.Width = 125;
// //
// check // check
// //
this.check.HeaderText = "V"; this.check.HeaderText = "V";
this.check.MinimumWidth = 6;
this.check.Name = "check"; this.check.Name = "check";
this.check.Width = 35; this.check.Width = 35;
// //
// cb_state
//
this.cb_state.Dock = System.Windows.Forms.DockStyle.Left;
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(364, 5);
this.cb_state.Name = "cb_state";
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(332, 5);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(32, 27);
this.label2.TabIndex = 5;
this.label2.Text = "상태";
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// btn_Lookup
//
this.btn_Lookup.Dock = System.Windows.Forms.DockStyle.Left;
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(61, 27);
this.btn_Lookup.TabIndex = 50;
this.btn_Lookup.Text = "조 회";
this.btn_Lookup.UseVisualStyleBackColor = true;
this.btn_Lookup.Click += new System.EventHandler(this.btn_Lookup_Click);
//
// btn_Excel
//
this.btn_Excel.Dock = System.Windows.Forms.DockStyle.Right;
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(74, 27);
this.btn_Excel.TabIndex = 50;
this.btn_Excel.Text = "엑셀반출";
this.btn_Excel.UseVisualStyleBackColor = true;
this.btn_Excel.Click += new System.EventHandler(this.btn_Excel_Click);
//
// btn_Close
//
this.btn_Close.Dock = System.Windows.Forms.DockStyle.Right;
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(74, 27);
this.btn_Close.TabIndex = 50;
this.btn_Close.Text = "닫 기";
this.btn_Close.UseVisualStyleBackColor = true;
this.btn_Close.Click += new System.EventHandler(this.btn_Close_Click);
//
// btn_Save
//
this.btn_Save.Dock = System.Windows.Forms.DockStyle.Right;
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(96, 27);
this.btn_Save.TabIndex = 50;
this.btn_Save.Text = "체크사항저장";
this.btn_Save.UseVisualStyleBackColor = true;
this.btn_Save.Click += new System.EventHandler(this.btn_Save_Click);
//
// btn_Merge
//
this.btn_Merge.Dock = System.Windows.Forms.DockStyle.Right;
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(74, 27);
this.btn_Merge.TabIndex = 51;
this.btn_Merge.Text = "목록병합";
this.btn_Merge.UseVisualStyleBackColor = true;
this.btn_Merge.Click += new System.EventHandler(this.btn_Merge_Click);
//
// btn_Progress
//
this.btn_Progress.Dock = System.Windows.Forms.DockStyle.Right;
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(74, 27);
this.btn_Progress.TabIndex = 51;
this.btn_Progress.Text = "진행처리";
this.btn_Progress.UseVisualStyleBackColor = true;
this.btn_Progress.Click += new System.EventHandler(this.btn_Progress_Click);
//
// btn_Completion
//
this.btn_Completion.Dock = System.Windows.Forms.DockStyle.Right;
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(74, 27);
this.btn_Completion.TabIndex = 51;
this.btn_Completion.Text = "완료처리";
this.btn_Completion.UseVisualStyleBackColor = true;
this.btn_Completion.Click += new System.EventHandler(this.btn_Completion_Click);
//
// btn_Delete
//
this.btn_Delete.Dock = System.Windows.Forms.DockStyle.Right;
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(74, 27);
this.btn_Delete.TabIndex = 51;
this.btn_Delete.Text = "목록삭제";
this.btn_Delete.UseVisualStyleBackColor = true;
this.btn_Delete.Click += new System.EventHandler(this.btn_Delete_Click);
//
// btn_AddList
//
this.btn_AddList.Dock = System.Windows.Forms.DockStyle.Right;
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(74, 27);
this.btn_AddList.TabIndex = 50;
this.btn_AddList.Text = "목록생성";
this.btn_AddList.UseVisualStyleBackColor = true;
this.btn_AddList.Click += new System.EventHandler(this.btn_AddList_Click);
//
// panel1
//
this.panel1.Controls.Add(this.btn_Lookup);
this.panel1.Controls.Add(this.panel12);
this.panel1.Controls.Add(this.chkEditorTest);
this.panel1.Controls.Add(this.panel13);
this.panel1.Controls.Add(this.cb_state);
this.panel1.Controls.Add(this.label2);
this.panel1.Controls.Add(this.tb_Search);
this.panel1.Controls.Add(this.panel11);
this.panel1.Controls.Add(this.btnSearchISBN);
this.panel1.Controls.Add(this.panel10);
this.panel1.Controls.Add(this.btn_AddList);
this.panel1.Controls.Add(this.panel9);
this.panel1.Controls.Add(this.btn_Merge);
this.panel1.Controls.Add(this.panel8);
this.panel1.Controls.Add(this.btn_Progress);
this.panel1.Controls.Add(this.panel7);
this.panel1.Controls.Add(this.btn_Completion);
this.panel1.Controls.Add(this.panel6);
this.panel1.Controls.Add(this.btn_Delete);
this.panel1.Controls.Add(this.panel5);
this.panel1.Controls.Add(this.btn_Save);
this.panel1.Controls.Add(this.panel4);
this.panel1.Controls.Add(this.btn_Excel);
this.panel1.Controls.Add(this.panel3);
this.panel1.Controls.Add(this.label1);
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.Name = "panel1";
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(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(8, 27);
this.panel12.TabIndex = 62;
//
// chkEditorTest
//
this.chkEditorTest.AutoSize = true;
this.chkEditorTest.BackColor = System.Drawing.SystemColors.Control;
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(472, 5);
this.chkEditorTest.Name = "chkEditorTest";
this.chkEditorTest.Size = new System.Drawing.Size(106, 27);
this.chkEditorTest.TabIndex = 52;
this.chkEditorTest.Text = "Editor (OLD)";
this.chkEditorTest.UseVisualStyleBackColor = false;
//
// panel13
//
this.panel13.Dock = System.Windows.Forms.DockStyle.Left;
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(8, 27);
this.panel13.TabIndex = 63;
//
// panel11
//
this.panel11.Dock = System.Windows.Forms.DockStyle.Right;
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(8, 27);
this.panel11.TabIndex = 61;
//
// btnSearchISBN
//
this.btnSearchISBN.Dock = System.Windows.Forms.DockStyle.Right;
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(74, 27);
this.btnSearchISBN.TabIndex = 50;
this.btnSearchISBN.Text = "ISBN조회";
this.btnSearchISBN.UseVisualStyleBackColor = true;
this.btnSearchISBN.Click += new System.EventHandler(this.btnSearchISBN_Click);
//
// panel10
//
this.panel10.Dock = System.Windows.Forms.DockStyle.Right;
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(8, 27);
this.panel10.TabIndex = 60;
//
// panel9
//
this.panel9.Dock = System.Windows.Forms.DockStyle.Right;
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(8, 27);
this.panel9.TabIndex = 59;
//
// panel8
//
this.panel8.Dock = System.Windows.Forms.DockStyle.Right;
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(8, 27);
this.panel8.TabIndex = 58;
//
// panel7
//
this.panel7.Dock = System.Windows.Forms.DockStyle.Right;
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(8, 27);
this.panel7.TabIndex = 57;
//
// panel6
//
this.panel6.Dock = System.Windows.Forms.DockStyle.Right;
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(8, 27);
this.panel6.TabIndex = 56;
//
// panel5
//
this.panel5.Dock = System.Windows.Forms.DockStyle.Right;
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(8, 27);
this.panel5.TabIndex = 55;
//
// panel4
//
this.panel4.Dock = System.Windows.Forms.DockStyle.Right;
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(8, 27);
this.panel4.TabIndex = 54;
//
// panel3
//
this.panel3.Dock = System.Windows.Forms.DockStyle.Right;
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(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, 34);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(1638, 624);
this.panel2.TabIndex = 53;
//
// Mac_List // Mac_List
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1179, 661); this.ClientSize = new System.Drawing.Size(1638, 658);
this.Controls.Add(this.panel2); this.Controls.Add(this.panel2);
this.Controls.Add(this.panel1); this.Controls.Add(this.panel1);
this.Name = "Mac_List"; this.Name = "Mac_List";
@@ -430,5 +604,17 @@
private System.Windows.Forms.DataGridViewTextBoxColumn charge; private System.Windows.Forms.DataGridViewTextBoxColumn charge;
private System.Windows.Forms.DataGridViewTextBoxColumn dvc_cust; private System.Windows.Forms.DataGridViewTextBoxColumn dvc_cust;
private System.Windows.Forms.DataGridViewTextBoxColumn check; private System.Windows.Forms.DataGridViewTextBoxColumn check;
private System.Windows.Forms.CheckBox chkEditorTest;
private System.Windows.Forms.Panel panel12;
private System.Windows.Forms.Panel panel11;
private System.Windows.Forms.Panel panel10;
private System.Windows.Forms.Panel panel9;
private System.Windows.Forms.Panel panel8;
private System.Windows.Forms.Panel panel7;
private System.Windows.Forms.Panel panel6;
private System.Windows.Forms.Panel panel5;
private System.Windows.Forms.Panel panel4;
private System.Windows.Forms.Panel panel3;
private System.Windows.Forms.Panel panel13;
} }
} }

View File

@@ -312,19 +312,27 @@ namespace WindowsFormsApp1.Mac
int idx_col = e.ColumnIndex; int idx_col = e.ColumnIndex;
if (3 <= idx_col && idx_col <= 8) if (3 <= idx_col && idx_col <= 8)
{ {
ExcelTest.Marc marc = new ExcelTest.Marc(this); if (chkEditorTest.Checked == false)
marc.MdiParent = main; {
marc.WindowState = FormWindowState.Maximized; var marc = this.main.OpenFormInTab(() => new ExcelTest.Marc2(this), allowMultiple: true);
marc.Show();
marc.input_list( marc.input_list(
dataGridView1.Rows[idx_row].Cells["idx"].Value.ToString(), dataGridView1.Rows[idx_row].Cells["idx"].Value.ToString(),
dataGridView1.Rows[idx_row].Cells["list_name"].Value.ToString(), compidx, dataGridView1.Rows[idx_row].Cells["list_name"].Value.ToString(), compidx,
(dataGridView1.Rows[idx_row].Cells["dvc_cust"]?.Value.ToString() ?? string.Empty), (dataGridView1.Rows[idx_row].Cells["dvc_cust"]?.Value.ToString() ?? string.Empty),
(dataGridView1.Rows[idx_row].Cells["dvc_custname"]?.Value.ToString() ?? string.Empty) (dataGridView1.Rows[idx_row].Cells["dvc_custname"]?.Value.ToString() ?? string.Empty)
); );
/// marc.input_list( }
/// dataGridView1.Rows[idx_row].Cells["idx"].Value.ToString(), else
/// dataGridView1.Rows[idx_row].Cells["list_name"].Value.ToString()); {
var marc = this.main.OpenFormInTab(() => new ExcelTest.Marc(this), allowMultiple: true);
marc.input_list(
dataGridView1.Rows[idx_row].Cells["idx"].Value.ToString(),
dataGridView1.Rows[idx_row].Cells["list_name"].Value.ToString(), compidx,
(dataGridView1.Rows[idx_row].Cells["dvc_cust"]?.Value.ToString() ?? string.Empty),
(dataGridView1.Rows[idx_row].Cells["dvc_custname"]?.Value.ToString() ?? string.Empty)
);
}
} }
if (((DataGridView)sender).Columns[idx_col].Name == "check") if (((DataGridView)sender).Columns[idx_col].Name == "check")
{ {
@@ -360,25 +368,15 @@ namespace WindowsFormsApp1.Mac
Skill_Grid sg = new Skill_Grid(); Skill_Grid sg = new Skill_Grid();
sg.Print_Grid_Num(sender, e); sg.Print_Grid_Num(sender, e);
} }
private Check_ISBN mMac_check_ISBN;
private void btnSearchISBN_Click(object sender, EventArgs e) private void btnSearchISBN_Click(object sender, EventArgs e)
{ {
if (this.dataGridView1.RowCount < 1) return;
if (dataGridView1.SelectedRows[0].Index < 0) return; if (dataGridView1.SelectedRows[0].Index < 0) return;
string tSearchText = dataGridView1.SelectedRows[0].Cells["list_name"].Value.ToString(); string tSearchText = dataGridView1.SelectedRows[0].Cells["list_name"].Value.ToString();
string tSearchIDX = dataGridView1.SelectedRows[0].Cells["idx"].Value.ToString(); string tSearchIDX = dataGridView1.SelectedRows[0].Cells["idx"].Value.ToString();
if (mMac_check_ISBN != null) var isbn = main.OpenFormInTab(() => new Check_ISBN(main, tSearchText, tSearchIDX));
{ isbn.tb_list_name.Enabled = true;
mMac_check_ISBN.Focus();
}
else
{
mMac_check_ISBN = new Check_ISBN(main, tSearchText, tSearchIDX);
mMac_check_ISBN.MdiParent = main;
mMac_check_ISBN.WindowState = FormWindowState.Maximized;
mMac_check_ISBN.FormClosed += (o, ea) => mMac_check_ISBN = null;
mMac_check_ISBN.tb_list_name.Enabled = true;
mMac_check_ISBN.Show();
}
} }
} }
} }

View File

@@ -163,6 +163,6 @@
<value>17, 17</value> <value>17, 17</value>
</metadata> </metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>51</value> <value>55</value>
</metadata> </metadata>
</root> </root>

View File

@@ -29,13 +29,13 @@ namespace UniMarc.마크
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
this.panel1 = new System.Windows.Forms.Panel(); this.panel1 = new System.Windows.Forms.Panel();
this.tbCustomIDX = new System.Windows.Forms.TextBox(); this.tbCustomIDX = new System.Windows.Forms.TextBox();
this.label5 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label();
@@ -43,9 +43,9 @@ namespace UniMarc.마크
this.btn_DelRow = new System.Windows.Forms.Button(); this.btn_DelRow = new System.Windows.Forms.Button();
this.btn_Upload = new System.Windows.Forms.Button(); this.btn_Upload = new System.Windows.Forms.Button();
this.cb_User = new System.Windows.Forms.ComboBox(); this.cb_User = new System.Windows.Forms.ComboBox();
this.btn_Close = new System.Windows.Forms.Button(); this.btClose = new System.Windows.Forms.Button();
this.btn_Empty = new System.Windows.Forms.Button(); this.btn_Empty = new System.Windows.Forms.Button();
this.btn_AddList = new System.Windows.Forms.Button(); this.btSave = new System.Windows.Forms.Button();
this.label3 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label();
@@ -79,9 +79,9 @@ namespace UniMarc.마크
this.panel1.Controls.Add(this.btn_DelRow); this.panel1.Controls.Add(this.btn_DelRow);
this.panel1.Controls.Add(this.btn_Upload); this.panel1.Controls.Add(this.btn_Upload);
this.panel1.Controls.Add(this.cb_User); this.panel1.Controls.Add(this.cb_User);
this.panel1.Controls.Add(this.btn_Close); this.panel1.Controls.Add(this.btClose);
this.panel1.Controls.Add(this.btn_Empty); this.panel1.Controls.Add(this.btn_Empty);
this.panel1.Controls.Add(this.btn_AddList); this.panel1.Controls.Add(this.btSave);
this.panel1.Controls.Add(this.label3); this.panel1.Controls.Add(this.label3);
this.panel1.Controls.Add(this.label2); this.panel1.Controls.Add(this.label2);
this.panel1.Controls.Add(this.label4); this.panel1.Controls.Add(this.label4);
@@ -91,16 +91,18 @@ namespace UniMarc.마크
this.panel1.Controls.Add(this.tb_divComp); this.panel1.Controls.Add(this.tb_divComp);
this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
this.panel1.Location = new System.Drawing.Point(0, 0); 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.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(897, 59); this.panel1.Size = new System.Drawing.Size(1025, 73);
this.panel1.TabIndex = 0; this.panel1.TabIndex = 0;
// //
// tbCustomIDX // tbCustomIDX
// //
this.tbCustomIDX.Location = new System.Drawing.Point(175, 5); this.tbCustomIDX.Location = new System.Drawing.Point(200, 6);
this.tbCustomIDX.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.tbCustomIDX.Name = "tbCustomIDX"; this.tbCustomIDX.Name = "tbCustomIDX";
this.tbCustomIDX.ReadOnly = true; this.tbCustomIDX.ReadOnly = true;
this.tbCustomIDX.Size = new System.Drawing.Size(66, 21); this.tbCustomIDX.Size = new System.Drawing.Size(75, 25);
this.tbCustomIDX.TabIndex = 15; this.tbCustomIDX.TabIndex = 15;
this.tbCustomIDX.TabStop = false; this.tbCustomIDX.TabStop = false;
this.tbCustomIDX.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.tbCustomIDX.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
@@ -108,9 +110,9 @@ namespace UniMarc.마크
// label5 // label5
// //
this.label5.AutoSize = true; this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(592, 35); this.label5.Location = new System.Drawing.Point(677, 44);
this.label5.Name = "label5"; this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(53, 12); this.label5.Size = new System.Drawing.Size(67, 15);
this.label5.TabIndex = 14; this.label5.TabIndex = 14;
this.label5.Text = "쉼표구분"; this.label5.Text = "쉼표구분";
// //
@@ -118,16 +120,18 @@ namespace UniMarc.마크
// //
this.cb_Gubun.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cb_Gubun.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cb_Gubun.FormattingEnabled = true; this.cb_Gubun.FormattingEnabled = true;
this.cb_Gubun.Location = new System.Drawing.Point(647, 31); this.cb_Gubun.Location = new System.Drawing.Point(739, 39);
this.cb_Gubun.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.cb_Gubun.Name = "cb_Gubun"; this.cb_Gubun.Name = "cb_Gubun";
this.cb_Gubun.Size = new System.Drawing.Size(75, 20); this.cb_Gubun.Size = new System.Drawing.Size(85, 23);
this.cb_Gubun.TabIndex = 6; this.cb_Gubun.TabIndex = 6;
// //
// btn_DelRow // btn_DelRow
// //
this.btn_DelRow.Location = new System.Drawing.Point(560, 4); this.btn_DelRow.Location = new System.Drawing.Point(640, 5);
this.btn_DelRow.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.btn_DelRow.Name = "btn_DelRow"; this.btn_DelRow.Name = "btn_DelRow";
this.btn_DelRow.Size = new System.Drawing.Size(81, 23); this.btn_DelRow.Size = new System.Drawing.Size(93, 29);
this.btn_DelRow.TabIndex = 5; this.btn_DelRow.TabIndex = 5;
this.btn_DelRow.Text = "선택 셀 삭제"; this.btn_DelRow.Text = "선택 셀 삭제";
this.btn_DelRow.UseVisualStyleBackColor = true; this.btn_DelRow.UseVisualStyleBackColor = true;
@@ -135,9 +139,10 @@ namespace UniMarc.마크
// //
// btn_Upload // btn_Upload
// //
this.btn_Upload.Location = new System.Drawing.Point(728, 30); this.btn_Upload.Location = new System.Drawing.Point(832, 38);
this.btn_Upload.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.btn_Upload.Name = "btn_Upload"; this.btn_Upload.Name = "btn_Upload";
this.btn_Upload.Size = new System.Drawing.Size(75, 23); this.btn_Upload.Size = new System.Drawing.Size(86, 29);
this.btn_Upload.TabIndex = 7; this.btn_Upload.TabIndex = 7;
this.btn_Upload.Text = "txt불러오기"; this.btn_Upload.Text = "txt불러오기";
this.btn_Upload.UseVisualStyleBackColor = true; this.btn_Upload.UseVisualStyleBackColor = true;
@@ -147,74 +152,79 @@ namespace UniMarc.마크
// //
this.cb_User.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cb_User.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cb_User.FormattingEnabled = true; this.cb_User.FormattingEnabled = true;
this.cb_User.Location = new System.Drawing.Point(452, 5); this.cb_User.Location = new System.Drawing.Point(517, 6);
this.cb_User.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.cb_User.Name = "cb_User"; this.cb_User.Name = "cb_User";
this.cb_User.Size = new System.Drawing.Size(82, 20); this.cb_User.Size = new System.Drawing.Size(93, 23);
this.cb_User.TabIndex = 2; this.cb_User.TabIndex = 2;
// //
// btn_Close // btClose
// //
this.btn_Close.Location = new System.Drawing.Point(809, 4); this.btClose.Location = new System.Drawing.Point(925, 5);
this.btn_Close.Name = "btn_Close"; this.btClose.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.btn_Close.Size = new System.Drawing.Size(75, 23); this.btClose.Name = "btClose";
this.btn_Close.TabIndex = 8; this.btClose.Size = new System.Drawing.Size(86, 29);
this.btn_Close.Text = "닫 기"; this.btClose.TabIndex = 8;
this.btn_Close.UseVisualStyleBackColor = true; this.btClose.Text = "닫 기";
this.btn_Close.Click += new System.EventHandler(this.btn_Close_Click); this.btClose.UseVisualStyleBackColor = true;
this.btClose.Click += new System.EventHandler(this.btn_Close_Click);
// //
// btn_Empty // btn_Empty
// //
this.btn_Empty.Location = new System.Drawing.Point(647, 4); this.btn_Empty.Location = new System.Drawing.Point(739, 5);
this.btn_Empty.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.btn_Empty.Name = "btn_Empty"; this.btn_Empty.Name = "btn_Empty";
this.btn_Empty.Size = new System.Drawing.Size(75, 23); this.btn_Empty.Size = new System.Drawing.Size(86, 29);
this.btn_Empty.TabIndex = 4; this.btn_Empty.TabIndex = 4;
this.btn_Empty.Text = "비 우 기"; this.btn_Empty.Text = "비 우 기";
this.btn_Empty.UseVisualStyleBackColor = true; this.btn_Empty.UseVisualStyleBackColor = true;
this.btn_Empty.Click += new System.EventHandler(this.btn_Empty_Click); this.btn_Empty.Click += new System.EventHandler(this.btn_Empty_Click);
// //
// btn_AddList // btSave
// //
this.btn_AddList.Location = new System.Drawing.Point(728, 4); this.btSave.Location = new System.Drawing.Point(832, 5);
this.btn_AddList.Name = "btn_AddList"; this.btSave.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.btn_AddList.Size = new System.Drawing.Size(75, 23); this.btSave.Name = "btSave";
this.btn_AddList.TabIndex = 3; this.btSave.Size = new System.Drawing.Size(86, 29);
this.btn_AddList.Text = "저 장"; this.btSave.TabIndex = 3;
this.btn_AddList.UseVisualStyleBackColor = true; this.btSave.Text = "저 장";
this.btn_AddList.Click += new System.EventHandler(this.btn_AddList_Click); this.btSave.UseVisualStyleBackColor = true;
this.btSave.Click += new System.EventHandler(this.btn_AddList_Click);
// //
// label3 // label3
// //
this.label3.AutoSize = true; this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(409, 9); this.label3.Location = new System.Drawing.Point(467, 11);
this.label3.Name = "label3"; this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(41, 12); this.label3.Size = new System.Drawing.Size(52, 15);
this.label3.TabIndex = 13; this.label3.TabIndex = 13;
this.label3.Text = "담당자"; this.label3.Text = "담당자";
// //
// label2 // label2
// //
this.label2.AutoSize = true; this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(257, 9); this.label2.Location = new System.Drawing.Point(294, 11);
this.label2.Name = "label2"; this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(41, 12); this.label2.Size = new System.Drawing.Size(52, 15);
this.label2.TabIndex = 11; this.label2.TabIndex = 11;
this.label2.Text = "납품명"; this.label2.Text = "납품명";
// //
// label4 // label4
// //
this.label4.AutoSize = true; this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(27, 35); this.label4.Location = new System.Drawing.Point(31, 44);
this.label4.Name = "label4"; this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(81, 12); this.label4.Size = new System.Drawing.Size(102, 15);
this.label4.TabIndex = 10; this.label4.TabIndex = 10;
this.label4.Text = "생성될 목록명"; this.label4.Text = "생성될 목록명";
// //
// btCustom // btCustom
// //
this.btCustom.AutoSize = true; this.btCustom.AutoSize = true;
this.btCustom.Location = new System.Drawing.Point(5, 4); this.btCustom.Location = new System.Drawing.Point(6, 5);
this.btCustom.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.btCustom.Name = "btCustom"; this.btCustom.Name = "btCustom";
this.btCustom.Size = new System.Drawing.Size(61, 22); this.btCustom.Size = new System.Drawing.Size(71, 31);
this.btCustom.TabIndex = 9; this.btCustom.TabIndex = 9;
this.btCustom.Text = "납품처"; this.btCustom.Text = "납품처";
this.btCustom.Click += new System.EventHandler(this.label1_Click); this.btCustom.Click += new System.EventHandler(this.label1_Click);
@@ -222,24 +232,27 @@ namespace UniMarc.마크
// tb_ExpectList // tb_ExpectList
// //
this.tb_ExpectList.Enabled = false; this.tb_ExpectList.Enabled = false;
this.tb_ExpectList.Location = new System.Drawing.Point(114, 31); this.tb_ExpectList.Location = new System.Drawing.Point(130, 39);
this.tb_ExpectList.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.tb_ExpectList.Name = "tb_ExpectList"; this.tb_ExpectList.Name = "tb_ExpectList";
this.tb_ExpectList.Size = new System.Drawing.Size(250, 21); this.tb_ExpectList.Size = new System.Drawing.Size(285, 25);
this.tb_ExpectList.TabIndex = 12; this.tb_ExpectList.TabIndex = 12;
// //
// tb_divName // tb_divName
// //
this.tb_divName.Location = new System.Drawing.Point(300, 5); this.tb_divName.Location = new System.Drawing.Point(343, 6);
this.tb_divName.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.tb_divName.Name = "tb_divName"; this.tb_divName.Name = "tb_divName";
this.tb_divName.Size = new System.Drawing.Size(100, 21); this.tb_divName.Size = new System.Drawing.Size(114, 25);
this.tb_divName.TabIndex = 1; this.tb_divName.TabIndex = 1;
this.tb_divName.TextChanged += new System.EventHandler(this.Delivery_TextChanged); this.tb_divName.TextChanged += new System.EventHandler(this.Delivery_TextChanged);
// //
// tb_divComp // tb_divComp
// //
this.tb_divComp.Location = new System.Drawing.Point(69, 5); this.tb_divComp.Location = new System.Drawing.Point(79, 6);
this.tb_divComp.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.tb_divComp.Name = "tb_divComp"; this.tb_divComp.Name = "tb_divComp";
this.tb_divComp.Size = new System.Drawing.Size(100, 21); this.tb_divComp.Size = new System.Drawing.Size(114, 25);
this.tb_divComp.TabIndex = 0; this.tb_divComp.TabIndex = 0;
this.tb_divComp.TextChanged += new System.EventHandler(this.Delivery_TextChanged); this.tb_divComp.TextChanged += new System.EventHandler(this.Delivery_TextChanged);
this.tb_divComp.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_divComp_KeyDown); this.tb_divComp.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_divComp_KeyDown);
@@ -248,9 +261,10 @@ namespace UniMarc.마크
// //
this.panel2.Controls.Add(this.dataGridView1); this.panel2.Controls.Add(this.dataGridView1);
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel2.Location = new System.Drawing.Point(0, 59); this.panel2.Location = new System.Drawing.Point(0, 73);
this.panel2.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.panel2.Name = "panel2"; this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(897, 621); this.panel2.Size = new System.Drawing.Size(1025, 777);
this.panel2.TabIndex = 1; this.panel2.TabIndex = 1;
// //
// dataGridView1 // dataGridView1
@@ -258,14 +272,14 @@ namespace UniMarc.마크
this.dataGridView1.BackgroundColor = System.Drawing.SystemColors.Control; this.dataGridView1.BackgroundColor = System.Drawing.SystemColors.Control;
this.dataGridView1.BorderStyle = System.Windows.Forms.BorderStyle.None; this.dataGridView1.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.dataGridView1.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single; this.dataGridView1.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Control; dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle8.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); dataGridViewCellStyle1.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
dataGridViewCellStyle8.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle8.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.True; dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle8; this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.header, this.header,
this.num, this.num,
@@ -278,9 +292,10 @@ namespace UniMarc.마크
this.ISBN}); this.ISBN});
this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill; this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
this.dataGridView1.Location = new System.Drawing.Point(0, 0); this.dataGridView1.Location = new System.Drawing.Point(0, 0);
this.dataGridView1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.dataGridView1.Name = "dataGridView1"; this.dataGridView1.Name = "dataGridView1";
this.dataGridView1.RowTemplate.Height = 23; this.dataGridView1.RowTemplate.Height = 23;
this.dataGridView1.Size = new System.Drawing.Size(897, 621); this.dataGridView1.Size = new System.Drawing.Size(1025, 777);
this.dataGridView1.TabIndex = 1; this.dataGridView1.TabIndex = 1;
this.dataGridView1.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dataGridView1_RowPostPaint); this.dataGridView1.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dataGridView1_RowPostPaint);
this.dataGridView1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dataGridView1_KeyDown); this.dataGridView1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dataGridView1_KeyDown);
@@ -299,53 +314,53 @@ namespace UniMarc.마크
// //
// BookName // BookName
// //
dataGridViewCellStyle9.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
this.BookName.DefaultCellStyle = dataGridViewCellStyle9; this.BookName.DefaultCellStyle = dataGridViewCellStyle2;
this.BookName.HeaderText = "도서명"; this.BookName.HeaderText = "도서명";
this.BookName.Name = "BookName"; this.BookName.Name = "BookName";
this.BookName.Width = 200; this.BookName.Width = 200;
// //
// Author // Author
// //
dataGridViewCellStyle10.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); dataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
this.Author.DefaultCellStyle = dataGridViewCellStyle10; this.Author.DefaultCellStyle = dataGridViewCellStyle3;
this.Author.HeaderText = "저자"; this.Author.HeaderText = "저자";
this.Author.Name = "Author"; this.Author.Name = "Author";
// //
// BookComp // BookComp
// //
dataGridViewCellStyle11.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
this.BookComp.DefaultCellStyle = dataGridViewCellStyle11; this.BookComp.DefaultCellStyle = dataGridViewCellStyle4;
this.BookComp.HeaderText = "출판사"; this.BookComp.HeaderText = "출판사";
this.BookComp.Name = "BookComp"; this.BookComp.Name = "BookComp";
this.BookComp.Width = 120; this.BookComp.Width = 120;
// //
// Price // Price
// //
dataGridViewCellStyle12.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); dataGridViewCellStyle5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
dataGridViewCellStyle12.Format = "N0"; dataGridViewCellStyle5.Format = "N0";
dataGridViewCellStyle12.NullValue = "0"; dataGridViewCellStyle5.NullValue = "0";
this.Price.DefaultCellStyle = dataGridViewCellStyle12; this.Price.DefaultCellStyle = dataGridViewCellStyle5;
this.Price.HeaderText = "가격"; this.Price.HeaderText = "가격";
this.Price.Name = "Price"; this.Price.Name = "Price";
this.Price.Width = 80; this.Price.Width = 80;
// //
// Count // Count
// //
dataGridViewCellStyle13.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); dataGridViewCellStyle6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
dataGridViewCellStyle13.Format = "N0"; dataGridViewCellStyle6.Format = "N0";
dataGridViewCellStyle13.NullValue = "1"; dataGridViewCellStyle6.NullValue = "1";
this.Count.DefaultCellStyle = dataGridViewCellStyle13; this.Count.DefaultCellStyle = dataGridViewCellStyle6;
this.Count.HeaderText = "수량"; this.Count.HeaderText = "수량";
this.Count.Name = "Count"; this.Count.Name = "Count";
this.Count.Width = 45; this.Count.Width = 45;
// //
// Total // Total
// //
dataGridViewCellStyle14.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); dataGridViewCellStyle7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
dataGridViewCellStyle14.Format = "N0"; dataGridViewCellStyle7.Format = "N0";
dataGridViewCellStyle14.NullValue = "0"; dataGridViewCellStyle7.NullValue = "0";
this.Total.DefaultCellStyle = dataGridViewCellStyle14; this.Total.DefaultCellStyle = dataGridViewCellStyle7;
this.Total.HeaderText = "합계"; this.Total.HeaderText = "합계";
this.Total.Name = "Total"; this.Total.Name = "Total";
this.Total.Width = 80; this.Total.Width = 80;
@@ -361,11 +376,12 @@ namespace UniMarc.마크
// //
// Mac_List_Add // Mac_List_Add
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(897, 680); this.ClientSize = new System.Drawing.Size(1025, 850);
this.Controls.Add(this.panel2); this.Controls.Add(this.panel2);
this.Controls.Add(this.panel1); this.Controls.Add(this.panel1);
this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.Name = "Mac_List_Add"; this.Name = "Mac_List_Add";
this.Text = "마크 목록 생성"; this.Text = "마크 목록 생성";
this.Load += new System.EventHandler(this.Mac_List_Add_Load); this.Load += new System.EventHandler(this.Mac_List_Add_Load);
@@ -382,7 +398,7 @@ namespace UniMarc.마크
private System.Windows.Forms.Panel panel1; private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Panel panel2; private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.DataGridView dataGridView1; private System.Windows.Forms.DataGridView dataGridView1;
private System.Windows.Forms.Button btn_AddList; private System.Windows.Forms.Button btSave;
private System.Windows.Forms.Label label2; private System.Windows.Forms.Label label2;
private System.Windows.Forms.Button btCustom; private System.Windows.Forms.Button btCustom;
private System.Windows.Forms.TextBox tb_divName; private System.Windows.Forms.TextBox tb_divName;
@@ -391,7 +407,7 @@ namespace UniMarc.마크
private System.Windows.Forms.ComboBox cb_User; private System.Windows.Forms.ComboBox cb_User;
private System.Windows.Forms.TextBox tb_ExpectList; private System.Windows.Forms.TextBox tb_ExpectList;
private System.Windows.Forms.Label label4; private System.Windows.Forms.Label label4;
private System.Windows.Forms.Button btn_Close; private System.Windows.Forms.Button btClose;
private System.Windows.Forms.Button btn_Empty; private System.Windows.Forms.Button btn_Empty;
private System.Windows.Forms.DataGridViewTextBoxColumn header; private System.Windows.Forms.DataGridViewTextBoxColumn header;
private System.Windows.Forms.DataGridViewTextBoxColumn num; private System.Windows.Forms.DataGridViewTextBoxColumn num;

View File

@@ -95,7 +95,7 @@ namespace UniMarc.마크
MessageBox.Show("목록이 중복되었습니다! 다시 확인해주세요.", "Error"); MessageBox.Show("목록이 중복되었습니다! 다시 확인해주세요.", "Error");
return; return;
} }
if (tb_ExpectList.Text == "") if (listName.isEmpty())
{ {
MessageBox.Show("목록명이 비어있습니다! 다시 확인해주세요.", "Error"); MessageBox.Show("목록명이 비어있습니다! 다시 확인해주세요.", "Error");
return; return;
@@ -109,8 +109,8 @@ namespace UniMarc.마크
int TotalCount = 0; int TotalCount = 0;
string InList_Idx = "㏓InList_Idx♠"; string InList_Idx = "㏓InList_Idx♠";
string[] InList_Tbl = { "comp_num", "date", "list_name", "m_charge", "state", "vol", "chk_marc" }; string[] InList_Tbl = { "comp_num", "date", "list_name", "m_charge", "state", "vol", "chk_marc", "customer" };
string[] InList_Col = { compidx, Today, listName, charge, "진행", TotalCount.ToString(), "1" }; string[] InList_Col = { compidx, Today, listName, charge, "진행", TotalCount.ToString(), "1", $"{custidx}" };
for (int a = 0; a < dataGridView1.Rows.Count; a++) for (int a = 0; a < dataGridView1.Rows.Count; a++)
{ {

View File

@@ -48,6 +48,8 @@ namespace ExcelTest
public Marc() public Marc()
{ {
InitializeComponent(); InitializeComponent();
this.ml = null;
mUserName = string.Empty;
} }
public Marc(Mac_List _ml) public Marc(Mac_List _ml)
{ {
@@ -96,94 +98,6 @@ namespace ExcelTest
#endregion #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) private string RealMarc(string[] MarcData)
{ {
string result = ""; string result = "";
@@ -207,6 +121,14 @@ namespace ExcelTest
public void input_list(string l_idx, string value, string C_idx, string custidx, string custname) public void input_list(string l_idx, string value, string C_idx, string custidx, string custname)
{ {
db.DBcon(); db.DBcon();
if (value.isEmpty() == false)
{
if (value.IndexOf("]") != -1)
this.Text = $"마크 작성(1)-{value.Substring(value.IndexOf("]")+1)}";
else
this.Text = $"마크 작성(1){value}";
}
this.l_idx = l_idx; this.l_idx = l_idx;
this.c_idx = C_idx; this.c_idx = C_idx;
string Area = "`idx`, `isbn_marc`, `header`, `num`, `book_name`, `author`, `book_comp`, `count`, `pay`, `image_url`, `m_idx`"; string Area = "`idx`, `isbn_marc`, `header`, `num`, `book_name`, `author`, `book_comp`, `count`, `pay`, `image_url`, `m_idx`";
@@ -266,6 +188,7 @@ namespace ExcelTest
mLoadCompleted = true; mLoadCompleted = true;
List_Book.ClearSelection(); List_Book.ClearSelection();
if (this.List_Book.RowCount > 0)
List_Book.Rows[0].Selected = true; List_Book.Rows[0].Selected = true;
} }
@@ -512,11 +435,11 @@ namespace ExcelTest
MessageBox.Show("[칸채우기]가 아닌 [마크 편집] 탭에서 저장해주세요!"); MessageBox.Show("[칸채우기]가 아닌 [마크 편집] 탭에서 저장해주세요!");
return; return;
} }
if (grade == 3) //if (grade == 3)
{ //{
MessageBox.Show("등급을 설정해주세요. (C 이상)"); // MessageBox.Show("등급을 설정해주세요. (C 이상)");
return; // return;
} //}
string table_name = "Marc"; string table_name = "Marc";
string BaseText = richTextBox1.Text; string BaseText = richTextBox1.Text;
string lblisbn = lbl_ISBN.Text.Replace("[", "").Replace("]", ""); string lblisbn = lbl_ISBN.Text.Replace("[", "").Replace("]", "");
@@ -532,9 +455,11 @@ namespace ExcelTest
if (BaseText.IndexOf(lblisbn) < 0) if (BaseText.IndexOf(lblisbn) < 0)
{ {
MessageBox.Show("ISBN 상태를 확인해주세요."); UTIL.MsgE("저장된 ISBN이 마크데이터에 없습니다.\nISBN값이 변경되었습니다");
//if (dlg != DialogResult.Yes) return;
return; return;
} }
string tag056 = Tag056(); string tag056 = Tag056();
string[] grid_data = { string[] grid_data = {
List_Book.Rows[SaveRowIdx].Cells["ISBN13"].Value.ToString(), List_Book.Rows[SaveRowIdx].Cells["ISBN13"].Value.ToString(),
@@ -546,6 +471,7 @@ namespace ExcelTest
string date = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"); string date = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
string orimarc = st.made_Ori_marc(richTextBox1).Replace(@"\", "₩"); string orimarc = st.made_Ori_marc(richTextBox1).Replace(@"\", "₩");
string Midx = List_Book.Rows[SaveRowIdx].Cells["marc_idx"].Value.ToString(); string Midx = List_Book.Rows[SaveRowIdx].Cells["marc_idx"].Value.ToString();
// 필수태그 확인 // 필수태그 확인
if (!isMustTag(orimarc)) if (!isMustTag(orimarc))
{ {
@@ -562,24 +488,11 @@ namespace ExcelTest
// 마지막 수정일로부터 2일이 지났는지, 마지막 저장자가 사용자인지 확인 // 마지막 수정일로부터 2일이 지났는지, 마지막 저장자가 사용자인지 확인
TimeSpan sp = spspsp(SaveDate, date); TimeSpan sp = spspsp(SaveDate, date);
IsCoverDate = IsCoverData(sp.Days, SaveUser); 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 // 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 || if (List_Book.Rows[SaveRowIdx].DefaultCellStyle.ForeColor == Color.Orange ||
List_Book.Rows[SaveRowIdx].DefaultCellStyle.ForeColor == Color.Red) List_Book.Rows[SaveRowIdx].DefaultCellStyle.ForeColor == Color.Red)
@@ -617,36 +530,7 @@ namespace ExcelTest
MessageBox.Show("ISBN 데이터가 없습니다."); MessageBox.Show("ISBN 데이터가 없습니다.");
return; 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); 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", " "))); 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); db.DB_Send_CMD_reVoid(U_cmd);
@@ -922,60 +806,7 @@ namespace ExcelTest
cb_grade.SelectedIndex = grade; cb_grade.SelectedIndex = grade;
OnSaveData(row_idx); OnSaveData(row_idx);
} }
//private void List_Book_CellClick(object sender, DataGridViewCellEventArgs e)
//{
// //if (e.RowIndex == -1) { return; }
// //int row_idx = e.RowIndex;
// //SaveRowIdx = row_idx;
// //int col_idx = e.ColumnIndex;
// //string isbn = List_Book.Rows[row_idx].Cells["ISBN13"].Value.ToString();
// //if (isbn != "") {
// // string CountQuery = string.Format("SELECT Count(isbn) FROM Marc WHERE isbn = {0} GROUP BY isbn;", isbn);
// // string CountResult = db.self_Made_Cmd(CountQuery).Replace("|", "");
// // if (CountResult == "")
// // btn_CopySelect.Text = "0";
// // if (CountResult == "0") {
// // btn_CopySelect.Enabled = false;
// // btn_CopySelect.BackColor = Color.Silver;
// // }
// // else {
// // btn_CopySelect.Enabled = true;
// // btn_CopySelect.BackColor = Color.Khaki;
// // }
// // btn_CopySelect.Text = CountResult;
// //}
// //tabControl1.SelectedIndex = 0;
// //if (check_V(row_idx, col_idx))
// // return;
// //Save_data(row_idx);
// //richTextBox1.Text = "";
// //bool check_Marc = click_Marc(row_idx);
// //if (!check_Marc)
// // richTextBox1.Text = Make_Empty();
// //else
// // ReadRemark(row_idx);
// //input_picture(row_idx);
// //Create_008();
// //st.Color_change("▼", richTextBox1);
// //st.Color_change("▲", richTextBox1);
// //int grade = 2;
// //if (List_Book.Rows[row_idx].Cells["grade"].Value != null || List_Book.Rows[row_idx].Cells["grade"].Value.ToString() != "") {
// // grade = Convert.ToInt32(List_Book.Rows[row_idx].Cells["grade"].Value.ToString());
// //}
// //cb_grade.SelectedIndex = grade;
// //OnSaveData(row_idx);
//}
#region CellClick_Sub #region CellClick_Sub
void OnSaveData(int row) void OnSaveData(int row)
@@ -984,7 +815,9 @@ namespace ExcelTest
string Date = List_Book.Rows[row].Cells["SaveDate"].Value.ToString(); string Date = List_Book.Rows[row].Cells["SaveDate"].Value.ToString();
lbl_SaveData.Text = string.Format("[{0}] [{1}]", User, Date); lbl_SaveData.Text = string.Format("[{0}] [{1}]", User, Date);
lbl_ISBN.Text = "[" + List_Book.Rows[row].Cells["ISBN13"].Value.ToString() + "]";
var isbn13 = List_Book.Rows[row].Cells["ISBN13"]?.Value.ToString() ?? string.Empty;
lbl_ISBN.Text = $"[{isbn13}]";
} }
void ReadRemark(int row) void ReadRemark(int row)
{ {
@@ -1088,8 +921,8 @@ namespace ExcelTest
data_book[0] = List_Book.Rows[row].Cells["ISBN13"].Value.ToString(); 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[1] = List_Book.Rows[row].Cells["book_name"].Value.ToString();
data_book[2] = List_Book.Rows[row].Cells["author"].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[3] = List_Book.Rows[row].Cells["book_comp"].Value.ToString(); //publichser
data_book[4] = List_Book.Rows[row].Cells["pay"].Value.ToString(); data_book[4] = List_Book.Rows[row].Cells["pay"].Value.ToString(); //price
} }
void input_picture(int row) void input_picture(int row)
{ {
@@ -1396,47 +1229,48 @@ namespace ExcelTest
private void checkBox1_CheckedChanged(object sender, EventArgs e) private void checkBox1_CheckedChanged(object sender, EventArgs e)
{ {
string name = ((CheckBox)sender).Name; var chk = sender as CheckBox;
if (((CheckBox)sender).Checked == true) string name = chk.Name;
if (chk.Checked == true)
{ {
switch (name) switch (name)
{ {
case "checkBox1": case "checkBox1":
((CheckBox)sender).InvokeText("회의간행물o"); chk.InvokeText("회의간행물o");
break; break;
case "checkBox2": case "checkBox2":
((CheckBox)sender).InvokeText("기념논문집o"); chk.InvokeText("기념논문집o");
break; break;
case "checkBox4": case "checkBox4":
((CheckBox)sender).InvokeText("색인o"); chk.InvokeText("색인o");
break; break;
} }
} }
else if (((CheckBox)sender).Checked == false) else if (chk.Checked == false)
{ {
switch (name) switch (name)
{ {
case "checkBox1": case "checkBox1":
((CheckBox)sender).InvokeText("회의간행물x"); chk.InvokeText("회의간행물x");
break; break;
case "checkBox2": case "checkBox2":
((CheckBox)sender).InvokeText("기념논문집x"); chk.InvokeText("기념논문집x");
break; break;
case "checkBox4": case "checkBox4":
((CheckBox)sender).InvokeText("색인x"); chk.InvokeText("색인x");
break; break;
} }
} }
switch (name) switch (name)
{ {
case "checkBox1": case "checkBox1": //회의간행물
Publication(checkBox1.Checked, 29); Publication(chk.Checked, 29);
break; break;
case "checkBox2": case "checkBox2": //기념논문집
Publication(checkBox2.Checked, 30); Publication(chk.Checked, 30);
break; break;
case "checkBox4": case "checkBox4": //색인
Publication(checkBox4.Checked, 31); Publication(chk.Checked, 31);
break; break;
} }
} }
@@ -2394,6 +2228,7 @@ namespace ExcelTest
str = str.Trim(); str = str.Trim();
if (TagNum == "300a") if (TagNum == "300a")
{ {
//gu = new char[] { ',', '=', ':', ';', '/', '+', ' ' };
gu = new char[] { '.', ',', '=', ':', ';', '/', '+', ' ' }; gu = new char[] { '.', ',', '=', ':', ';', '/', '+', ' ' };
for (int i = 0; i < gu.Length; i++) for (int i = 0; i < gu.Length; i++)
{ {
@@ -3734,5 +3569,45 @@ namespace ExcelTest
} }
} }
private void Marc_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Escape)
{
if (UTIL.MsgQ("현재 화면을 닫을까요?") != DialogResult.Yes) return;
this.Close();
}
}
private void button1_Click(object sender, EventArgs e)
{
// 현재 데이터를 한줄 복사하고 ISBN 값을 삭제한다
// 생성된 자료는 좌측 목록에 추가되어야하고, 그 목록이 선택되도록 한다.
if (List_Book.SelectedRows.Count == 0)
return;
DataGridViewRow selectedRow = List_Book.SelectedRows[0];
int nRow = List_Book.Rows.Add();
DataGridViewRow newRow = List_Book.Rows[nRow];
for (int i = 0; i < selectedRow.Cells.Count; i++)
{
newRow.Cells[i].Value = selectedRow.Cells[i].Value;
}
newRow.Cells["ISBN13"].Value = "";
newRow.Cells["marc_idx"].Value = "";
newRow.Cells["list_idx"].Value = "";
//newRow.Cells["grade"].Value = "3"; // 등급 초기화 (D)
newRow.DefaultCellStyle.ForeColor = Color.Red; // 색상 초기화 (D급 색상)
List_Book.ClearSelection();
newRow.Selected = true;
List_Book.FirstDisplayedScrollingRowIndex = nRow;
}
private void button1_Click_1(object sender, EventArgs e)
{
this.Close();
}
} }
} }

File diff suppressed because it is too large Load Diff

View File

@@ -117,6 +117,36 @@
<resheader name="writer"> <resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader> </resheader>
<metadata name="label31.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label30.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label33.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label32.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label29.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label28.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label24.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label25.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label26.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label27.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="list_idx.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="list_idx.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value> <value>True</value>
</metadata> </metadata>
@@ -268,4 +298,7 @@
<metadata name="text490v.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="text490v.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value> <value>True</value>
</metadata> </metadata>
<metadata name="statusStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root> </root>

View File

@@ -0,0 +1,996 @@
//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;
using System.Drawing.Drawing2D;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Text.RegularExpressions;
using System.Web.UI;
using System.Windows.Forms;
using UniMarc;
using UniMarc.ListOfValue;
using UniMarc.;
using WindowsFormsApp1;
using WindowsFormsApp1.Mac;
namespace ExcelTest
{
public partial class Marc2 : Form
{
/// <summary>
/// isbn / 도서명 / 저자 / 출판사 / 가격
/// </summary>
string[] data_book = { "", "", "", "", "" };
int SaveRowIdx = -1;
public string mUserName;
string mCompidx = UniMarc.Properties.Settings.Default.compidx;
string mListIdx = "";
public string find;
public string change;
public string call = "";
private string data008 = string.Empty;
private bool mLoadCompleted = false;
string tbName = "";
public int checkCout = 0;
public bool gridViewChk = false; // True / False
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;
//목록다시불러오기를 위해서 임시로 추가
string p_lidx = "";
string p_value = "";
string p_cidx = "";
string p_cust = "";
string p_name = "";
public Marc2()
{
InitializeComponent();
this.ml = null;
mUserName = string.Empty;
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();
ml = _ml;
mUserName = ml.user_name;
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>
/// <param name="date">목록일자</param>
/// <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)
this.Text = $"마크 작성(1)-{value.Substring(value.IndexOf("]") + 1)}";
else
this.Text = $"마크 작성(1){value}";
}
this.l_idx = l_idx;
this.c_idx = C_idx;
string Area = "`idx`, `isbn_marc`, `header`, `num`, `book_name`, `author`, `book_comp`, `count`, `pay`, `image_url`, `m_idx`";
string[] sear_tbl = { "l_idx", "compidx" };
string[] sear_col = { l_idx, C_idx };
lbl_BookList.Text = value;
tbCustName.Text = custname;
lbCustIDX.Text = custidx;
string cmd =
string.Format("SELECT {0} " +
"FROM {1} " +
"WHERE `{2}` = \"{4}\" AND `{3}` = \"{5}\"" +
"ORDER BY `idx` ASC;", Area, "Obj_List_Book", sear_tbl[0], sear_tbl[1], sear_col[0], sear_col[1]);
string db_res = db.DB_Send_CMD_Search(cmd);
string[] db_data = db_res.Split('|');
string[] grid = {
"", "", "", "", "",
"", "", "", "", "",
"", "", "V", "", "" };
mLoadCompleted = false;
for (int a = 0; a < db_data.Length - 1; a += 11)
{
grid[0] = db_data[a]; // 0: idx
grid[1] = db_data[a + 1]; // 1: isbn
grid[2] = db_data[a + 2]; // 2: header
grid[2] += db_data[a + 3]; // 2: num
grid[3] = db_data[a + 4]; // 3: book_num
grid[4] = db_data[a + 5]; // 4: author
grid[5] = db_data[a + 6]; // 5: book_comp
grid[6] = db_data[a + 7]; // 6: count
grid[7] = db_data[a + 8]; // 7: pay
grid[8] = db_data[a + 9]; // 8: image_url
grid[9] = db_data[a + 10]; // 9: m_idx
List_Book.Rows.Add(grid);
//if (a % 11 == 0) { grid[0] = db_data[a]; } // 0: idx
//if (a % 11 == 1) { grid[1] = db_data[a+1]; } // 1: isbn
//if (a % 11 == 2) { grid[2] = db_data[a+2]; } // 2: header
//if (a % 11 == 3) { grid[2] += db_data[a+3]; } // 2: num
//if (a % 11 == 4) { grid[3] = db_data[a+4]; } // 3: book_num
//if (a % 11 == 5) { grid[4] = db_data[a+5]; } // 4: author
//if (a % 11 == 6) { grid[5] = db_data[a+6]; } // 5: book_comp
//if (a % 11 == 7) { grid[6] = db_data[a+7]; } // 6: count
//if (a % 11 == 8) { grid[7] = db_data[a+8]; } // 7: pay
//if (a % 11 == 9) { grid[8] = db_data[a+9]; } // 8: image_url
//if (a % 11 == 10) { grid[9] = db_data[a+10]; // 9: m_idx
// List_Book.Rows.Add(grid);
//}
}
chk_Marc();
List_Book.ClearSelection();
mLoadCompleted = true;
if (this.List_Book.RowCount > 0)
List_Book.Rows[0].Selected = true;
}
/// <summary>
/// 마크 유무 확인하는 함수
/// </summary>
void chk_Marc()
{
for (int a = 0; a < List_Book.Rows.Count; a++)
{
string Area =
// 0 1
"`idx`, `compidx`, " +
// 2 3 4 5 6 7
"`marc`, `marc_chk`, `marc1`, `marc_chk1`, `marc2`, `marc_chk2`, " +
// 8 9 10 11
"`grade`, `008tag`, `user`, `date`";
string Table = "Marc";
string[] sear_tbl = { "ISBN" };
string[] sear_col = { List_Book.Rows[a].Cells["ISBN13"].Value.ToString() };
//if (List_Book.Rows[a].Cells["marc_idx"].Value.ToString() != "0") {//여기 조건이 이상함.. 여기 조건때문에 순서가 잘 못 뜨는 경우 발생..
// sear_tbl[0] = "idx";
// sear_col[0] = List_Book.Rows[a].Cells["marc_idx"].Value.ToString();
//}
string Chk_Cmd = string.Format("SELECT {0} FROM {1} WHERE `{2}` = \"{3}\" ORDER BY FIELD(`compidx`, {4}) DESC;",
Area, Table, sear_tbl[0], sear_col[0], mCompidx);
string Chk_Res = db.DB_Send_CMD_Search(Chk_Cmd);
string[] Chk_Arr = Chk_Res.Split('|');
bool isMyData = true;
if (Chk_Arr.Length < 2)
{
List_Book.Rows[a].Cells["grade"].Value = "3";
List_Book.Rows[a].DefaultCellStyle.ForeColor = Color.Red;
continue;
}
if (Chk_Arr[1] != mCompidx)
isMyData = false;
string[] MarcData = { Chk_Arr[2], Chk_Arr[4], Chk_Arr[6] };
string[] CheckData = { Chk_Arr[3], Chk_Arr[5], Chk_Arr[7] };
List_Book.Rows[a].DefaultCellStyle.ForeColor = SetGradeColor(Chk_Arr[8], isMyData);
List_Book.Rows[a].Cells["marc_idx"].Value = Chk_Arr[0];
List_Book.Rows[a].Cells["db_marc"].Value = MarcData[0];//NewestMarc(MarcData, CheckData);
List_Book.Rows[a].Cells["grade"].Value = Chk_Arr[8];
// text008.Text = Chk_Arr[9];
List_Book.Rows[a].Cells["user"].Value = Chk_Arr[10];
List_Book.Rows[a].Cells["SaveDate"].Value = Chk_Arr[11];
if (isMyData)
SaveDateCheck(Chk_Arr[11], a);
else
{
string FindCompCmd = string.Format("SELECT `comp_name` FROM `Comp` WHERE `idx` = {0}", Chk_Arr[1]);
List_Book.Rows[a].Cells["user"].Value = db.DB_Send_CMD_Search(FindCompCmd).Replace("|", "");
List_Book.Rows[a].DefaultCellStyle.BackColor = Color.LightGray;
}
}
}
private string NewestMarc(string[] marc, string[] marc_chk)
{
string result = "";
int count = 0;
foreach (string chk in marc_chk)
{
if (chk == "1")
result = marc[count];
count++;
}
return result;
}
private Color SetGradeColor(string Grade, bool isMyData = true)
{
if (!isMyData)
return Color.Orange;
switch (Grade)
{
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;
}
}
/// <summary>
/// 마지막 저장시각 14일이전일 경우 배경 색 변경
/// </summary>
/// <param name="Date">마지막 저장시각</param>
/// <param name="row">해당 행</param>
private void SaveDateCheck(string Date, int row)
{
DateTime SaveDate = DateTime.ParseExact(Date, "yyyy-MM-dd HH:mm:ss",
System.Globalization.CultureInfo.InvariantCulture, System.Globalization.DateTimeStyles.None);
DateTime TargetDate = DateTime.Today.AddDays(-14);
int result = DateTime.Compare(SaveDate, TargetDate);
if (result >= 0) // SaveDate가 같거나 큼
List_Book.Rows[row].DefaultCellStyle.BackColor = Color.Yellow;
else // TargetDate가 큼
List_Book.Rows[row].DefaultCellStyle.BackColor = Color.White;
}
private string mOldMarc = string.Empty;
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;
mOldMarc = List_Book.Rows[row_idx].Cells["db_marc"].Value.ToString();
string isbn = List_Book.Rows[row_idx].Cells["ISBN13"].Value.ToString();
if (isbn != "")
{
string CountQuery = string.Format("SELECT Count(isbn) FROM Marc WHERE isbn = {0} GROUP BY isbn;", isbn);
string CountResult = db.self_Made_Cmd(CountQuery).Replace("|", "");
if (CountResult == "")
btn_CopySelect.Text = "0";
if (CountResult == "0")
{
btn_CopySelect.Enabled = false;
btn_CopySelect.BackColor = Color.Silver;
}
else
{
btn_CopySelect.Enabled = true;
btn_CopySelect.BackColor = Color.Khaki;
}
btn_CopySelect.Text = CountResult;
}
if (check_V(row_idx, col_idx))
return;
string isbn13 = List_Book.Rows[row_idx].Cells["ISBN13"].Value?.ToString() ?? "";
string bookName = List_Book.Rows[row_idx].Cells["book_name"].Value?.ToString() ?? "";
string author = List_Book.Rows[row_idx].Cells["author"].Value?.ToString() ?? "";
string publisher = List_Book.Rows[row_idx].Cells["book_comp"].Value?.ToString() ?? "";
string price = List_Book.Rows[row_idx].Cells["pay"].Value?.ToString() ?? "";
string url = List_Book.Rows[row_idx].Cells["url"].Value?.ToString() ?? ""; // or image_url?
string marcIdx = List_Book.Rows[row_idx].Cells["marc_idx"].Value?.ToString() ?? "";
string dbMarc = List_Book.Rows[row_idx].Cells["db_marc"].Value?.ToString() ?? "";
string grade = List_Book.Rows[row_idx].Cells["grade"].Value?.ToString() ?? "";
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
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;
if (name == "colCheck")
{
if (List_Book.Rows[row].Cells[col].Value.ToString() == "V")
List_Book.Rows[row].Cells[col].Value = "";
else
List_Book.Rows[row].Cells["colCheck"].Value = "V";
return true;
}
else
return false;
}
private void btn_Search_Click(object sender, EventArgs e)
{
if (List_Book.RowCount < 0) return;
Search_ReSet();
bool isSort = rb_Sort.Checked;
int combo = comboBox8.SelectedIndex; // 0: 등급 / 1: 복본
if (isSort)
{
if (combo == 0)
{
List_Book.Sort(List_Book.Columns["grade"], System.ComponentModel.ListSortDirection.Ascending);
}
else
{
List_Book.Sort(List_Book.Columns["ISBN13"], System.ComponentModel.ListSortDirection.Ascending);
}
}
else
{
int comboIdx;
if (combo == 0)
{
comboIdx = comboBox9.SelectedIndex;
Search_Filter("grade", comboIdx);
}
else
{ // 수정필요
}
}
}
#region Search_Click_Sub
private void Search_ReSet()
{
DataGridViewBand reSet;
for (int a = 0; a < List_Book.RowCount; a++)
{
reSet = List_Book.Rows[a];
reSet.Visible = true;
}
}
private void Search_Filter(string target, int comboIdx)
{
int count = List_Book.Rows.Count;
DataGridViewBand band;
if (comboIdx == 0)
{
for (int a = 0; a < count; a++)
{
band = List_Book.Rows[a];
band.Visible = true;
}
return;
}
comboIdx--;
for (int a = 0; a < count; a++)
{
if (List_Book.Rows[a].Cells[target].Value.ToString() != comboIdx.ToString())
{
band = List_Book.Rows[a];
band.Visible = false;
}
}
}
#endregion
private void btn_CopySelect_Click(object sender, EventArgs e)
{
//TODO: 마크 물리는쪽
int row = List_Book.CurrentCell.RowIndex;
string isbn = List_Book.Rows[row].Cells["ISBN13"].Value.ToString();
MarcCopySelect copySelect = new MarcCopySelect(this);
copySelect.MarcFormRowIndex = row;
copySelect.Init("isbn", isbn);
copySelect.Show();
}
/// <summary>
/// 선택된 마크에 대한 정보를 그리드뷰에 저장.
/// </summary>
/// <param name="row"></param>
/// <param name="GridData">[0] idx, [1] compidx, [2] user, [3] date, [4] grade, [5] tag008, [6] marc </param>
public void SelectMarc_Sub(int row, string[] GridData)
{
List_Book.Rows[row].Cells["marc_idx"].Value = GridData[0];
List_Book.Rows[row].Cells["user"].Value = GridData[2];
List_Book.Rows[row].Cells["SaveDate"].Value = GridData[4];
List_Book.Rows[row].Cells["grade"].Value = GridData[3];
// text008.Text = GridData[5];
List_Book.Rows[row].Cells["db_marc"].Value = GridData[6];
mOldMarc = GridData[6];
List_Book.Rows[row].DefaultCellStyle.ForeColor = SetGradeColor(GridData[4]);
List_Book.Rows[row].DefaultCellStyle.BackColor = Color.Yellow;
if (List_Book.CurrentRow != null && List_Book.CurrentRow.Index == row)
{
List_Book_SelectionChanged(null, null);
}
}
private void MarcEditorControl_BookSaved(object sender, ExcelTest.MarcEditorControl.BookSavedEventArgs e)
{
string table_name = "Marc";
//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;
int row = List_Book.CurrentRow.Index;
string ISBN = List_Book.Rows[row].Cells["ISBN13"].Value?.ToString();
if (string.IsNullOrEmpty(ISBN))
{
MessageBox.Show("ISBN이 존재하지않습니다!");
return;
}
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)
{
string[] GridData =
{
a.ToString(),
List_Book.Rows[a].Cells["ISBN13"].Value?.ToString() ?? "",
List_Book.Rows[a].Cells["book_name"].Value?.ToString() ?? "",
List_Book.Rows[a].Cells["author"].Value?.ToString() ?? "",
List_Book.Rows[a].Cells["book_comp"].Value?.ToString() ?? "",
List_Book.Rows[a].Cells["pay"].Value?.ToString() ?? "",
""
};
fb.InitFillBlank(GridData);
}
}
fb.ISBN = ISBN;
fb.Show();
}
private void btn_mk_marcList_Click(object sender, EventArgs e)
{
Marc_mkList mkList = new Marc_mkList(this);
mkList.StartPosition = FormStartPosition.CenterScreen;
mkList.Show();
}
#region _Sub
public bool Check_BackColor(int row)
{
if (List_Book.Rows[row].DefaultCellStyle.ForeColor != Color.Red)
return true;
return false;
}
public bool Check_List_V(int row)
{
if (List_Book.Rows[row].Cells["colCheck"].Value.ToString() == "V")
return true;
return false;
}
#endregion
private void checkBox3_CheckedChanged(object sender, EventArgs e)
{
bool isCheck = checkBox3.Checked;
if (isCheck)
{
for (int a = 0; a < List_Book.Rows.Count; a++)
{
List_Book.Rows[a].Cells["colCheck"].Value = "V";
}
}
else
{
for (int a = 0; a < List_Book.Rows.Count; a++)
{
List_Book.Rows[a].Cells["colCheck"].Value = "";
}
}
}
private void List_Book_KeyDown(object sender, KeyEventArgs e)
{
int row = List_Book.CurrentCell.RowIndex;
if (e.KeyCode == Keys.Space)
{
if (List_Book.Rows[row].Cells["colCheck"].Value.ToString() == "V")
List_Book.Rows[row].Cells["colCheck"].Value = "";
else
List_Book.Rows[row].Cells["colCheck"].Value = "V";
}
}
private void FillTextBox_KeyDown(object sender, KeyEventArgs e)
{
TextBox tb = sender as TextBox;
//if (e.KeyCode == Keys.F3)
//{
// int line = tb.SelectionStart;
// tb.Text = tb.Text.Insert(line, "▽");
// tb.SelectionStart = line + 1;
//}
if (e.KeyCode == Keys.F3)
{
tb.InvokeInsertText("▽");
//tb.Select(tb.Text.Length, 0);
}
else if (e.KeyCode == Keys.F4)
{
tb.InvokeInsertText("△");
//tb.Select(tb.Text.Length, 0);
}
//tb.SelectionStart = tb.Text.Length;
//tb.Select(tb.Text.Length, 0);
}
#region DataGridView
Skill_Grid sg = new Skill_Grid();
private void List_Book_MouseMove(object sender, MouseEventArgs e)
{
sg.MouseMove(sender, e);
}
private void List_Book_MouseDown(object sender, MouseEventArgs e)
{
sg.MouseDown(sender, e);
}
private void List_Book_DragOver(object sender, DragEventArgs e)
{
sg.DragOver(sender, e);
}
private void List_Book_DragDrop(object sender, DragEventArgs e)
{
sg.DragDrop(sender, e);
}
#endregion
private bool isEmpty(string boxText)
{
if (boxText == "")
return false;
return true;
}
private bool isEmpty(string[] boxText)
{
bool[] isText = new bool[boxText.Length];
int count = 0;
int chkCount = 0;
foreach (string Check in boxText)
{
if (Check == "")
isText[count] = false;
else
{
isText[count] = true;
chkCount++;
}
count++;
}
if (chkCount == 0)
return false;
return true;
}
private void btn_FilterReturn_Click(object sender, EventArgs e)
{
rb_Filter.Checked = false;
rb_Sort.Checked = false;
comboBox8.SelectedIndex = 0;
comboBox9.SelectedIndex = 0;
List_Book.Sort(list_idx, System.ComponentModel.ListSortDirection.Ascending);
}
private void List_Book_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e)
{
Skill_Grid sg = new Skill_Grid();
sg.Print_Grid_Num(sender, e);
}
private void lbl_BookList_Click(object sender, EventArgs e)
{
LovCustom();
}
void LovCustom()
{
var inputsearch = "";// tbCustName.Text.Trim();
var where = "";
if (inputsearch.isEmpty() == false)
{
where = $"c_sangho like '%{inputsearch.Replace("'", "''")}%'";
}
var dt = DB2.GetDT("Client", columns: "idx,c_sangho", orders: "c_sangho", wheres: where);
using (var f = new fSelectDT(dt))
if (f.ShowDialog() == DialogResult.OK)
{
var dr = f.SelectedRow;
if (dr == null) return;
lbCustIDX.Text = dr["idx"]?.ToString() ?? string.Empty;
tbCustName.Text = dr["c_sangho"]?.ToString() ?? string.Empty;
if (int.TryParse(lbCustIDX.Text, out int custidx) && custidx >= 0)
{
var sql = $"update Obj_List set customer={custidx} where idx = {l_idx} and comp_num={c_idx}";
var cnt = DB2.ExcuteNonQuery(sql);
if (cnt != 1)
UTIL.MsgE($"데이터 저장시 오류가 발생했습니다. 영향을 받은 행 수 = {cnt}");
}
}
}
private void Marc_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Escape)
{
if (UTIL.MsgQ("현재 화면을 닫을까요?") != DialogResult.Yes) return;
this.Close();
}
}
private void button1_Click(object sender, EventArgs e)
{
// 현재 데이터를 한줄 복사하고 ISBN 값을 삭제한다
// 생성된 자료는 좌측 목록에 추가되어야하고, 그 목록이 선택되도록 한다.
if (List_Book.SelectedRows.Count == 0)
return;
DataGridViewRow selectedRow = List_Book.SelectedRows[0];
int nRow = List_Book.Rows.Add();
DataGridViewRow newRow = List_Book.Rows[nRow];
for (int i = 0; i < selectedRow.Cells.Count; i++)
{
newRow.Cells[i].Value = selectedRow.Cells[i].Value;
}
newRow.Cells["ISBN13"].Value = "";
newRow.Cells["marc_idx"].Value = "";
newRow.Cells["list_idx"].Value = "";
//newRow.Cells["grade"].Value = "3"; // 등급 초기화 (D)
newRow.DefaultCellStyle.ForeColor = Color.Red; // 색상 초기화 (D급 색상)
List_Book.ClearSelection();
newRow.Selected = true;
List_Book.FirstDisplayedScrollingRowIndex = nRow;
}
private void btClose_Click(object sender, EventArgs e)
{
this.Close();
}
private void Marc2_SizeChanged(object sender, EventArgs e)
{
// 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();
}
}
}

658
unimarc/unimarc/마크/Marc2.designer.cs generated Normal file
View File

@@ -0,0 +1,658 @@
namespace ExcelTest
{
partial class Marc2
{
/// <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()
{
System.Windows.Forms.Label label31;
System.Windows.Forms.Label label30;
System.Windows.Forms.Label label33;
System.Windows.Forms.Label label32;
System.Windows.Forms.Label label29;
System.Windows.Forms.Label label28;
System.Windows.Forms.Label label24;
System.Windows.Forms.Label label25;
System.Windows.Forms.Label label26;
System.Windows.Forms.Label label27;
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();
this.num = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.book_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.author = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.book_comp = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.count = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.pay = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.url = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.marc_idx = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.db_marc = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.grade = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colCheck = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.user = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.SaveDate = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.rb_Sort = new System.Windows.Forms.RadioButton();
this.rb_Filter = new System.Windows.Forms.RadioButton();
this.comboBox8 = new System.Windows.Forms.ComboBox();
this.comboBox9 = new System.Windows.Forms.ComboBox();
this.panel1 = new System.Windows.Forms.Panel();
this.btn_mk_marcList = new System.Windows.Forms.Button();
this.btn_CopySelect = new System.Windows.Forms.Button();
this.btn_FilterReturn = new System.Windows.Forms.Button();
this.btn_Search = new System.Windows.Forms.Button();
this.checkBox3 = new System.Windows.Forms.CheckBox();
this.tbCustName = new System.Windows.Forms.Button();
this.lbCustIDX = new System.Windows.Forms.Label();
this.btCopy = new System.Windows.Forms.Button();
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
this.lbl_BookList = new System.Windows.Forms.ToolStripStatusLabel();
this.btClose = new System.Windows.Forms.Button();
this.panel2 = new System.Windows.Forms.Panel();
this.marcEditorControl1 = new ExcelTest.MarcEditorControl();
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();
label32 = new System.Windows.Forms.Label();
label29 = new System.Windows.Forms.Label();
label28 = new System.Windows.Forms.Label();
label24 = new System.Windows.Forms.Label();
label25 = new System.Windows.Forms.Label();
label26 = new System.Windows.Forms.Label();
label27 = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.List_Book)).BeginInit();
this.panel1.SuspendLayout();
this.statusStrip1.SuspendLayout();
this.panel2.SuspendLayout();
this.panel3.SuspendLayout();
this.SuspendLayout();
//
// label31
//
label31.Location = new System.Drawing.Point(0, 0);
label31.Name = "label31";
label31.Size = new System.Drawing.Size(100, 23);
label31.TabIndex = 0;
//
// label30
//
label30.Location = new System.Drawing.Point(0, 0);
label30.Name = "label30";
label30.Size = new System.Drawing.Size(100, 23);
label30.TabIndex = 0;
//
// label33
//
label33.Location = new System.Drawing.Point(0, 0);
label33.Name = "label33";
label33.Size = new System.Drawing.Size(100, 23);
label33.TabIndex = 0;
//
// label32
//
label32.Location = new System.Drawing.Point(0, 0);
label32.Name = "label32";
label32.Size = new System.Drawing.Size(100, 23);
label32.TabIndex = 0;
//
// label29
//
label29.Location = new System.Drawing.Point(0, 0);
label29.Name = "label29";
label29.Size = new System.Drawing.Size(100, 23);
label29.TabIndex = 0;
//
// label28
//
label28.Location = new System.Drawing.Point(0, 0);
label28.Name = "label28";
label28.Size = new System.Drawing.Size(100, 23);
label28.TabIndex = 0;
//
// label24
//
label24.Location = new System.Drawing.Point(0, 0);
label24.Name = "label24";
label24.Size = new System.Drawing.Size(100, 23);
label24.TabIndex = 0;
//
// label25
//
label25.Location = new System.Drawing.Point(0, 0);
label25.Name = "label25";
label25.Size = new System.Drawing.Size(100, 23);
label25.TabIndex = 0;
//
// label26
//
label26.Location = new System.Drawing.Point(0, 0);
label26.Name = "label26";
label26.Size = new System.Drawing.Size(100, 23);
label26.TabIndex = 0;
//
// label27
//
label27.Location = new System.Drawing.Point(0, 0);
label27.Name = "label27";
label27.Size = new System.Drawing.Size(100, 23);
label27.TabIndex = 0;
//
// List_Book
//
this.List_Book.AllowDrop = true;
this.List_Book.AllowUserToAddRows = false;
this.List_Book.AllowUserToDeleteRows = 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;
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,
this.ISBN13,
this.num,
this.book_name,
this.author,
this.book_comp,
this.count,
this.pay,
this.url,
this.marc_idx,
this.db_marc,
this.grade,
this.colCheck,
this.user,
this.SaveDate});
this.List_Book.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically;
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;
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(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);
this.List_Book.DragDrop += new System.Windows.Forms.DragEventHandler(this.List_Book_DragDrop);
this.List_Book.DragOver += new System.Windows.Forms.DragEventHandler(this.List_Book_DragOver);
this.List_Book.KeyDown += new System.Windows.Forms.KeyEventHandler(this.List_Book_KeyDown);
this.List_Book.MouseDown += new System.Windows.Forms.MouseEventHandler(this.List_Book_MouseDown);
this.List_Book.MouseMove += new System.Windows.Forms.MouseEventHandler(this.List_Book_MouseMove);
//
// list_idx
//
this.list_idx.HeaderText = "list_idx";
this.list_idx.MinimumWidth = 6;
this.list_idx.Name = "list_idx";
this.list_idx.ReadOnly = true;
this.list_idx.Visible = false;
this.list_idx.Width = 30;
//
// ISBN13
//
this.ISBN13.FillWeight = 136.2398F;
this.ISBN13.HeaderText = "ISBN13";
this.ISBN13.MinimumWidth = 6;
this.ISBN13.Name = "ISBN13";
this.ISBN13.ReadOnly = true;
this.ISBN13.Visible = false;
this.ISBN13.Width = 125;
//
// num
//
this.num.HeaderText = "연번";
this.num.MinimumWidth = 6;
this.num.Name = "num";
this.num.ReadOnly = true;
this.num.Width = 50;
//
// book_name
//
this.book_name.FillWeight = 135.5107F;
this.book_name.HeaderText = "도서명";
this.book_name.MinimumWidth = 6;
this.book_name.Name = "book_name";
this.book_name.ReadOnly = true;
this.book_name.Width = 150;
//
// author
//
this.author.FillWeight = 67.49011F;
this.author.HeaderText = "저자";
this.author.MinimumWidth = 6;
this.author.Name = "author";
this.author.ReadOnly = true;
this.author.Width = 80;
//
// book_comp
//
this.book_comp.FillWeight = 76.49199F;
this.book_comp.HeaderText = "출판사";
this.book_comp.MinimumWidth = 6;
this.book_comp.Name = "book_comp";
this.book_comp.ReadOnly = true;
this.book_comp.Width = 80;
//
// count
//
this.count.HeaderText = "C";
this.count.MinimumWidth = 6;
this.count.Name = "count";
this.count.ReadOnly = true;
this.count.Width = 30;
//
// pay
//
this.pay.FillWeight = 84.26746F;
this.pay.HeaderText = "정가";
this.pay.MinimumWidth = 6;
this.pay.Name = "pay";
this.pay.ReadOnly = true;
this.pay.Width = 62;
//
// url
//
this.url.HeaderText = "url";
this.url.MinimumWidth = 6;
this.url.Name = "url";
this.url.ReadOnly = true;
this.url.Visible = false;
this.url.Width = 125;
//
// marc_idx
//
this.marc_idx.HeaderText = "marc_idx";
this.marc_idx.MinimumWidth = 6;
this.marc_idx.Name = "marc_idx";
this.marc_idx.ReadOnly = true;
this.marc_idx.Visible = false;
this.marc_idx.Width = 30;
//
// db_marc
//
this.db_marc.HeaderText = "marc";
this.db_marc.MinimumWidth = 6;
this.db_marc.Name = "db_marc";
this.db_marc.ReadOnly = true;
this.db_marc.Visible = false;
this.db_marc.Width = 125;
//
// grade
//
dataGridViewCellStyle2.Format = "N0";
dataGridViewCellStyle2.NullValue = null;
this.grade.DefaultCellStyle = dataGridViewCellStyle2;
this.grade.HeaderText = "등급";
this.grade.MinimumWidth = 6;
this.grade.Name = "grade";
this.grade.ReadOnly = true;
this.grade.Visible = false;
this.grade.Width = 50;
//
// colCheck
//
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
this.colCheck.DefaultCellStyle = dataGridViewCellStyle3;
this.colCheck.HeaderText = "V";
this.colCheck.MinimumWidth = 6;
this.colCheck.Name = "colCheck";
this.colCheck.ReadOnly = true;
this.colCheck.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.colCheck.Width = 30;
//
// user
//
this.user.HeaderText = "작업자";
this.user.MinimumWidth = 6;
this.user.Name = "user";
this.user.ReadOnly = true;
this.user.Visible = false;
this.user.Width = 125;
//
// SaveDate
//
this.SaveDate.HeaderText = "저장시각";
this.SaveDate.MinimumWidth = 6;
this.SaveDate.Name = "SaveDate";
this.SaveDate.ReadOnly = true;
this.SaveDate.Visible = false;
this.SaveDate.Width = 125;
//
// rb_Sort
//
this.rb_Sort.Location = new System.Drawing.Point(68, 4);
this.rb_Sort.Name = "rb_Sort";
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(122, 4);
this.rb_Filter.Name = "rb_Filter";
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.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(107, 20);
this.comboBox8.TabIndex = 323;
this.comboBox8.SelectedIndexChanged += new System.EventHandler(this.comboBox8_SelectedIndexChanged_1);
//
// comboBox9
//
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(52, 20);
this.comboBox9.TabIndex = 321;
//
// panel1
//
this.panel1.BackColor = System.Drawing.Color.Silver;
this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel1.Controls.Add(this.btn_mk_marcList);
this.panel1.Controls.Add(this.btn_CopySelect);
this.panel1.Controls.Add(this.btn_FilterReturn);
this.panel1.Controls.Add(this.btn_Search);
this.panel1.Controls.Add(this.rb_Sort);
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(5, 34);
this.panel1.Name = "panel1";
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(433, 5);
this.btn_mk_marcList.Name = "btn_mk_marcList";
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;
this.btn_mk_marcList.Click += new System.EventHandler(this.btn_mk_marcList_Click);
//
// btn_CopySelect
//
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(400, 5);
this.btn_CopySelect.Name = "btn_CopySelect";
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;
this.btn_CopySelect.Click += new System.EventHandler(this.btn_CopySelect_Click);
//
// btn_FilterReturn
//
this.btn_FilterReturn.Location = new System.Drawing.Point(3, 4);
this.btn_FilterReturn.Name = "btn_FilterReturn";
this.btn_FilterReturn.Size = new System.Drawing.Size(63, 23);
this.btn_FilterReturn.TabIndex = 229;
this.btn_FilterReturn.Text = "원래대로";
this.btn_FilterReturn.UseVisualStyleBackColor = true;
this.btn_FilterReturn.Click += new System.EventHandler(this.btn_FilterReturn_Click);
//
// btn_Search
//
this.btn_Search.Location = new System.Drawing.Point(339, 5);
this.btn_Search.Name = "btn_Search";
this.btn_Search.Size = new System.Drawing.Size(57, 23);
this.btn_Search.TabIndex = 227;
this.btn_Search.Text = "검 색";
this.btn_Search.UseVisualStyleBackColor = true;
this.btn_Search.Click += new System.EventHandler(this.btn_Search_Click);
//
// checkBox3
//
this.checkBox3.AutoSize = true;
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(507, 78);
this.checkBox3.Name = "checkBox3";
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);
//
// tbCustName
//
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(115, 6);
this.tbCustName.Name = "tbCustName";
this.tbCustName.Size = new System.Drawing.Size(275, 26);
this.tbCustName.TabIndex = 33;
this.tbCustName.Text = " ";
this.tbCustName.UseVisualStyleBackColor = false;
this.tbCustName.Click += new System.EventHandler(this.lbl_BookList_Click);
//
// lbCustIDX
//
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(396, 6);
this.lbCustIDX.Name = "lbCustIDX";
this.lbCustIDX.Size = new System.Drawing.Size(60, 26);
this.lbCustIDX.TabIndex = 319;
this.lbCustIDX.Text = " ";
this.lbCustIDX.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// btCopy
//
this.btCopy.ForeColor = System.Drawing.Color.Red;
this.btCopy.Location = new System.Drawing.Point(1512, 255);
this.btCopy.Name = "btCopy";
this.btCopy.Size = new System.Drawing.Size(77, 23);
this.btCopy.TabIndex = 321;
this.btCopy.Text = "복 사";
this.btCopy.UseVisualStyleBackColor = true;
this.btCopy.Click += new System.EventHandler(this.button1_Click);
//
// statusStrip1
//
this.statusStrip1.BackColor = System.Drawing.SystemColors.Control;
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.statusStrip1.Location = new System.Drawing.Point(0, 634);
this.statusStrip1.Name = "statusStrip1";
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(119, 19);
this.lbl_BookList.Text = "{booklist}";
//
// btClose
//
this.btClose.Location = new System.Drawing.Point(460, 6);
this.btClose.Name = "btClose";
this.btClose.Size = new System.Drawing.Size(88, 26);
this.btClose.TabIndex = 324;
this.btClose.Text = "닫 기";
this.btClose.UseVisualStyleBackColor = true;
this.btClose.Click += new System.EventHandler(this.btClose_Click);
//
// panel2
//
this.panel2.Controls.Add(this.marcEditorControl1);
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
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(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);
this.panel3.Controls.Add(this.btClose);
this.panel3.Controls.Add(this.List_Book);
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(555, 634);
this.panel3.TabIndex = 325;
//
// button1
//
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(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.SkyBlue;
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.Name = "Marc2";
this.Text = "마크 작성(1)";
this.Load += new System.EventHandler(this.Marc_Load);
this.SizeChanged += new System.EventHandler(this.Marc2_SizeChanged);
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Marc_KeyDown);
((System.ComponentModel.ISupportInitialize)(this.List_Book)).EndInit();
this.panel1.ResumeLayout(false);
this.statusStrip1.ResumeLayout(false);
this.statusStrip1.PerformLayout();
this.panel2.ResumeLayout(false);
this.panel3.ResumeLayout(false);
this.panel3.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.RadioButton rb_Sort;
private System.Windows.Forms.RadioButton rb_Filter;
private System.Windows.Forms.ComboBox comboBox8;
private System.Windows.Forms.ComboBox comboBox9;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Button btn_Search;
private System.Windows.Forms.Button btn_mk_marcList;
public System.Windows.Forms.DataGridView List_Book;
private System.Windows.Forms.CheckBox checkBox3;
private System.Windows.Forms.Button btn_FilterReturn;
private System.Windows.Forms.DataGridViewTextBoxColumn list_idx;
private System.Windows.Forms.DataGridViewTextBoxColumn ISBN13;
private System.Windows.Forms.DataGridViewTextBoxColumn num;
private System.Windows.Forms.DataGridViewTextBoxColumn book_name;
private System.Windows.Forms.DataGridViewTextBoxColumn author;
private System.Windows.Forms.DataGridViewTextBoxColumn book_comp;
private System.Windows.Forms.DataGridViewTextBoxColumn count;
private System.Windows.Forms.DataGridViewTextBoxColumn pay;
private System.Windows.Forms.DataGridViewTextBoxColumn url;
private System.Windows.Forms.DataGridViewTextBoxColumn marc_idx;
private System.Windows.Forms.DataGridViewTextBoxColumn db_marc;
private System.Windows.Forms.DataGridViewTextBoxColumn grade;
private System.Windows.Forms.DataGridViewTextBoxColumn colCheck;
private System.Windows.Forms.DataGridViewTextBoxColumn user;
private System.Windows.Forms.DataGridViewTextBoxColumn SaveDate;
private System.Windows.Forms.Button btn_CopySelect;
public System.Windows.Forms.Button tbCustName;
public System.Windows.Forms.Label lbCustIDX;
private System.Windows.Forms.Button btCopy;
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.Button button1;
public MarcEditorControl marcEditorControl1;
}
}

View File

@@ -0,0 +1,198 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="label31.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label30.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label33.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label32.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label29.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label28.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label24.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label25.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label26.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label27.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="list_idx.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ISBN13.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="num.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="book_name.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="author.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="book_comp.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="count.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="pay.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="url.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="marc_idx.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="db_marc.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="grade.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colCheck.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="user.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="SaveDate.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="statusStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>

View File

@@ -17,6 +17,7 @@ namespace UniMarc.마크
{ {
Helper_DB db = new Helper_DB(); Helper_DB db = new Helper_DB();
Marc m; Marc m;
Marc2 m2;
AddMarc am; AddMarc am;
CD_LP cp; CD_LP cp;
public int MarcFormRowIndex; public int MarcFormRowIndex;
@@ -31,6 +32,12 @@ namespace UniMarc.마크
cp = cD; cp = cD;
db.DBcon(); db.DBcon();
} }
public MarcCopySelect(Marc2 _m)
{
InitializeComponent();
m2 = _m;
db.DBcon();
}
public MarcCopySelect(Marc _m) public MarcCopySelect(Marc _m)
{ {

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@@ -301,6 +301,7 @@ namespace UniMarc
this.Controls.Add(this.panel2); this.Controls.Add(this.panel2);
this.Name = "Marc_FillBlank"; this.Name = "Marc_FillBlank";
this.Text = "칸채우기"; this.Text = "칸채우기";
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
this.Load += new System.EventHandler(this.Marc_FillBlank_Load); this.Load += new System.EventHandler(this.Marc_FillBlank_Load);
this.panel6.ResumeLayout(false); this.panel6.ResumeLayout(false);
this.panel6.PerformLayout(); this.panel6.PerformLayout();

View File

@@ -1,4 +1,6 @@
using System; using ExcelTest;
using Org.BouncyCastle.Pkcs;
using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.ComponentModel; using System.ComponentModel;
using System.Data; using System.Data;
@@ -17,6 +19,12 @@ namespace UniMarc
bool isAll; bool isAll;
bool isBreak; bool isBreak;
ExcelTest.Marc marc; ExcelTest.Marc marc;
Marc2 mae;
public Marc_FillBlank(Marc2 _mae)
{
InitializeComponent();
mae = _mae;
}
public Marc_FillBlank(ExcelTest.Marc _marc) public Marc_FillBlank(ExcelTest.Marc _marc)
{ {
@@ -236,17 +244,23 @@ namespace UniMarc
private void btn_Move_Click(object sender, EventArgs e) private void btn_Move_Click(object sender, EventArgs e)
{ {
isAll = false; isAll = false;
marc.richTextBox1.Text = "";
if (!tb_URL.Text.Contains("searchResultMarc")) { if (!tb_URL.Text.Contains("searchResultMarc"))
{
MessageBox.Show("코리스 마크가 있는곳으로 이동해주세요!"); MessageBox.Show("코리스 마크가 있는곳으로 이동해주세요!");
return; return;
} }
SearchResultMarc(); SearchResultMarc();
string Text = richTextBox1.Text; string Text = richTextBox1.Text;
if (marc != null)
{
marc.richTextBox1.Text = MakeMarc(Text); marc.richTextBox1.Text = MakeMarc(Text);
} }
else if (mae != null)
{
mae.marcEditorControl1.SetMarcString(MakeMarc(Text));
}
}
private void btn_AllMove_Click(object sender, EventArgs e) private void btn_AllMove_Click(object sender, EventArgs e)
{ {
@@ -265,7 +279,8 @@ namespace UniMarc
int idx = Convert.ToInt32(dataGridView1.Rows[a].Cells["List_idx"].Value.ToString()); int idx = Convert.ToInt32(dataGridView1.Rows[a].Cells["List_idx"].Value.ToString());
string isbn = dataGridView1.Rows[a].Cells["ISBN13"].Value.ToString(); string isbn = dataGridView1.Rows[a].Cells["ISBN13"].Value.ToString();
if (isbn == "") { if (isbn == "")
{
dataGridView1.Rows[a].DefaultCellStyle.ForeColor = Color.Red; dataGridView1.Rows[a].DefaultCellStyle.ForeColor = Color.Red;
progressBar1.Value += 1; progressBar1.Value += 1;
continue; continue;
@@ -286,7 +301,11 @@ namespace UniMarc
else else
{ {
dataGridView1.Rows[a].DefaultCellStyle.ForeColor = Color.Blue; dataGridView1.Rows[a].DefaultCellStyle.ForeColor = Color.Blue;
if (this.marc != null)
this.marc.List_Book.Rows[idx].Cells["db_marc"].Value = st.made_Ori_marc(MakeMarc(marc)); 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; progressBar1.Value += 1;

View File

@@ -53,6 +53,7 @@
this.btn_Select_List = new System.Windows.Forms.Button(); this.btn_Select_List = new System.Windows.Forms.Button();
this.chkBox_AllowDrop = new System.Windows.Forms.CheckBox(); this.chkBox_AllowDrop = new System.Windows.Forms.CheckBox();
this.panel3 = new System.Windows.Forms.Panel(); 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_authorTypeK = new System.Windows.Forms.ComboBox();
this.cb_divType = new System.Windows.Forms.ComboBox(); this.cb_divType = new System.Windows.Forms.ComboBox();
this.cb_divNum = 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.search_tag2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colCheck = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.colCheck = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
this.printDocument1 = new System.Drawing.Printing.PrintDocument(); this.printDocument1 = new System.Drawing.Printing.PrintDocument();
this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog(); 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.panel1.SuspendLayout();
this.panel4.SuspendLayout(); this.panel4.SuspendLayout();
this.panel3.SuspendLayout(); this.panel3.SuspendLayout();
@@ -333,6 +334,16 @@
this.panel3.Size = new System.Drawing.Size(566, 49); this.panel3.Size = new System.Drawing.Size(566, 49);
this.panel3.TabIndex = 7; 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 // cb_authorTypeK
// //
this.cb_authorTypeK.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cb_authorTypeK.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
@@ -496,6 +507,7 @@
// //
// panel5 // panel5
// //
this.panel5.Controls.Add(this.chkEditorTest);
this.panel5.Controls.Add(this.cbTag008_32); this.panel5.Controls.Add(this.cbTag008_32);
this.panel5.Controls.Add(this.btnTag008); this.panel5.Controls.Add(this.btnTag008);
this.panel5.Controls.Add(this.btnTag040); this.panel5.Controls.Add(this.btnTag040);
@@ -1246,15 +1258,6 @@
this.toolStrip1.TabIndex = 3; this.toolStrip1.TabIndex = 3;
this.toolStrip1.Text = "toolStrip1"; 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 // printDocument1
// //
this.printDocument1.BeginPrint += new System.Drawing.Printing.PrintEventHandler(this.printDocument1_BeginPrint); this.printDocument1.BeginPrint += new System.Drawing.Printing.PrintEventHandler(this.printDocument1_BeginPrint);
@@ -1270,15 +1273,28 @@
this.printPreviewDialog1.Name = "printPreviewDialog1"; this.printPreviewDialog1.Name = "printPreviewDialog1";
this.printPreviewDialog1.Visible = false; this.printPreviewDialog1.Visible = false;
// //
// cb_authorTypeE // chkEditorTest
// //
this.cb_authorTypeE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.chkEditorTest.BackColor = System.Drawing.SystemColors.Control;
this.cb_authorTypeE.Enabled = false; this.chkEditorTest.Checked = true;
this.cb_authorTypeE.FormattingEnabled = true; this.chkEditorTest.CheckState = System.Windows.Forms.CheckState.Checked;
this.cb_authorTypeE.Location = new System.Drawing.Point(125, 26); this.chkEditorTest.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.cb_authorTypeE.Name = "cb_authorTypeE"; this.chkEditorTest.ForeColor = System.Drawing.Color.Blue;
this.cb_authorTypeE.Size = new System.Drawing.Size(171, 20); this.chkEditorTest.Location = new System.Drawing.Point(596, 32);
this.cb_authorTypeE.TabIndex = 2; 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 // Marc_Plan
// //
@@ -1424,5 +1440,6 @@
private System.Windows.Forms.ToolStrip toolStrip1; private System.Windows.Forms.ToolStrip toolStrip1;
private System.Windows.Forms.ToolStripButton toolStripButton1; private System.Windows.Forms.ToolStripButton toolStripButton1;
private System.Windows.Forms.ComboBox cb_authorTypeE; private System.Windows.Forms.ComboBox cb_authorTypeE;
private System.Windows.Forms.CheckBox chkEditorTest;
} }
} }

View File

@@ -226,6 +226,8 @@ namespace WindowsFormsApp1.Mac
cb_divType.Text, cb_divNum.Text cb_divType.Text, cb_divNum.Text
}; };
if (chkEditorTest.Checked)
{
Marc_Plan_Sub_MarcEdit me = new Marc_Plan_Sub_MarcEdit(this); Marc_Plan_Sub_MarcEdit me = new Marc_Plan_Sub_MarcEdit(this);
me.row = row; me.row = row;
me.UserName = main.botUserLabel.Text; me.UserName = main.botUserLabel.Text;
@@ -233,6 +235,14 @@ namespace WindowsFormsApp1.Mac
me.SetSymbolType(symbol_Type); me.SetSymbolType(symbol_Type);
me.Show(); me.Show();
} }
else
{
UTIL.MsgE("test version");
var f = new Marc_Plan_Sub_MarcEdit2("","");
f.Show();
}
}
} }
private void cb_divType_SelectedIndexChanged(object sender, EventArgs e) private void cb_divType_SelectedIndexChanged(object sender, EventArgs e)

View 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;
}
}

View 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();
}
}
}

View File

@@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@@ -15,6 +15,19 @@ namespace UniMarc.마크
{ {
Marc marc; Marc marc;
AddMarc am; AddMarc am;
Marc2 mae;
MarcEditorControl mae2;
public Marc_memo(MarcEditorControl _mae)
{
InitializeComponent();
mae2 = _mae;
}
public Marc_memo(Marc2 _mae)
{
InitializeComponent();
mae = _mae;
}
public Marc_memo(Marc _marc) public Marc_memo(Marc _marc)
{ {
InitializeComponent(); InitializeComponent();

View File

@@ -1,4 +1,5 @@
using ExcelTest; using AR;
using ExcelTest;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.ComponentModel; using System.ComponentModel;
@@ -20,7 +21,13 @@ namespace UniMarc.마크
Marc marc; Marc marc;
CD_LP cp; CD_LP cp;
Helper_DB db = new Helper_DB(); Helper_DB db = new Helper_DB();
Marc2 mae;
string compidx = Settings.Default.compidx; string compidx = Settings.Default.compidx;
public Marc_mkList(Marc2 _mae)
{
InitializeComponent();
mae = _mae;
}
public Marc_mkList(Marc _marc) public Marc_mkList(Marc _marc)
{ {
@@ -189,12 +196,17 @@ namespace UniMarc.마크
String_Text st = new String_Text(); String_Text st = new String_Text();
if (tb_listName.Text == "") if (tb_listName.Text == "")
{ {
MessageBox.Show("목록명을 입력해주세요!"); UTIL.MsgE("목록명을 입력해주세요!");
return; return;
} }
if (tb_outnum.Text == "") if (tb_outnum.Text == "")
{ {
MessageBox.Show("차수가 비어있습니다."); UTIL.MsgE("차수가 비어있습니다.");
return;
}
if((this.marc.List_Book?.RowCount ?? 0) <1 )
{
UTIL.MsgE("마크데이터 목록이 존재하지 않습니다");
return; return;
} }

View File

@@ -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", string.Format("http://preview.kyobobook.co.kr/preview.jsp?siteGb=INK&ejkGb=KOR&barcode={0}&loginYn=N&orderClick=JAW",
ISBN); ISBN);
webBrowser1.ScriptErrorsSuppressed = true;
webBrowser1.Navigate(PreViewURL); webBrowser1.Navigate(PreViewURL);
} }

View File

@@ -23,7 +23,20 @@ namespace ExcelTest
AddMarc am; AddMarc am;
Marc mac; Marc mac;
Marc_memo mmm; Marc_memo mmm;
Marc2 mae;
MarcEditorControl mec;
public findNchange(MarcEditorControl _mac)
{
InitializeComponent();
mec = _mac;
}
public findNchange(Marc2 _mae)
{
InitializeComponent();
mae = _mae;
}
public findNchange(AddMarc _am) public findNchange(AddMarc _am)
{ {
InitializeComponent(); InitializeComponent();

View File

@@ -173,7 +173,8 @@ namespace WindowsFormsApp1.Account
buy = Convert.ToInt32(dataGridView1.Rows[idx].Cells[4].Value.ToString()); buy = Convert.ToInt32(dataGridView1.Rows[idx].Cells[4].Value.ToString());
} }
int pay = 0; int pay = 0;
if (dataGridView1.Rows[idx].Cells[5].Value.ToString() != "0") { if (dataGridView1.Rows[idx].Cells[5].Value.ToString() != "0")
{
pay = Convert.ToInt32(dataGridView1.Rows[idx].Cells[5].Value.ToString()); pay = Convert.ToInt32(dataGridView1.Rows[idx].Cells[5].Value.ToString());
} }
@@ -273,13 +274,10 @@ namespace WindowsFormsApp1.Account
// 일자별이나 전체에선 더블클릭 이벤트 활성화 되지않음. // 일자별이나 전체에선 더블클릭 이벤트 활성화 되지않음.
if(radioButton1.Checked == true || radioButton4.Checked == true) { return; } if(radioButton1.Checked == true || radioButton4.Checked == true) { return; }
Purchase_Book pb = new Purchase_Book(this); var pb = main.OpenFormInTab(() => new Purchase_Book(this));
pb.MdiParent = main;
pb.WindowState = FormWindowState.Maximized;
pb.tb_purchase.Text = dataGridView1.Rows[e.RowIndex].Cells[0].Value.ToString(); pb.tb_purchase.Text = dataGridView1.Rows[e.RowIndex].Cells[0].Value.ToString();
pb.start_Date.Value = DateTime.Parse(start_date.Value.ToString()); pb.start_Date.Value = DateTime.Parse(start_date.Value.ToString());
pb.end_Date.Value = DateTime.Parse(end_date.Value.ToString()); pb.end_Date.Value = DateTime.Parse(end_date.Value.ToString());
pb.Show();
pb.btn_Lookup_Click(null, null); pb.btn_Lookup_Click(null, null);
} }

View File

@@ -18,11 +18,12 @@ namespace WindowsFormsApp1.회계
Helper_DB db = new Helper_DB(); Helper_DB db = new Helper_DB();
public string compidx; public string compidx;
public int row = -1; public int row = -1;
public Sales_Book(Sales_Deposit _sd) public Sales_Book(Sales_Deposit _sd, Main _main)
{ {
InitializeComponent(); InitializeComponent();
sd = _sd; sd = _sd;
compidx = sd.compidx; compidx = sd.compidx;
main = _main;
} }
public Sales_Book(Main _main) public Sales_Book(Main _main)
{ {
@@ -200,16 +201,13 @@ namespace WindowsFormsApp1.회계
dataGridView1.Rows[row].Cells["content"].Value.ToString() == "입금 카드" || dataGridView1.Rows[row].Cells["content"].Value.ToString() == "입금 카드" ||
dataGridView1.Rows[row].Cells["content"].Value.ToString() == "입금 현금" || dataGridView1.Rows[row].Cells["content"].Value.ToString() == "입금 현금" ||
dataGridView1.Rows[row].Cells["content"].Value.ToString() == "입금 어음") { return; } dataGridView1.Rows[row].Cells["content"].Value.ToString() == "입금 어음") { return; }
Sales_Detail sde = new Sales_Detail(this); var sde = main.OpenFormInTab(() => new Sales_Detail(this));
string out_date = dataGridView1.Rows[e.RowIndex].Cells["out_date"].Value.ToString().Substring(0, 10).Replace("-", ""); string out_date = dataGridView1.Rows[e.RowIndex].Cells["out_date"].Value.ToString().Substring(0, 10).Replace("-", "");
int yesr = Convert.ToInt32(out_date.Substring(0, 4)); int yesr = Convert.ToInt32(out_date.Substring(0, 4));
int month = Convert.ToInt32(out_date.Substring(4, 2)); int month = Convert.ToInt32(out_date.Substring(4, 2));
int day = Convert.ToInt32(out_date.Substring(6, 2)); int day = Convert.ToInt32(out_date.Substring(6, 2));
sde.MdiParent = this.MdiParent;
sde.WindowState = FormWindowState.Maximized;
sde.Out_Date.Value = new DateTime(yesr, month, day); sde.Out_Date.Value = new DateTime(yesr, month, day);
sde.tb_clt.Text = tb_clt.Text; sde.tb_clt.Text = tb_clt.Text;
sde.Show();
} }
} }
} }

View File

@@ -288,14 +288,11 @@ namespace WindowsFormsApp1.Account
{ {
if (rb_Date.Checked) return; if (rb_Date.Checked) return;
if (e.RowIndex < 0) { return; } if (e.RowIndex < 0) { return; }
Sales_Book sb = new Sales_Book(this); var sb = main.OpenFormInTab(() => new Sales_Book(this, main));
sb.row = e.RowIndex; sb.row = e.RowIndex;
sb.MdiParent = main;
sb.WindowState = FormWindowState.Maximized;
sb.tb_clt.Text = dataGridView1.Rows[e.RowIndex].Cells[0].Value.ToString(); sb.tb_clt.Text = dataGridView1.Rows[e.RowIndex].Cells[0].Value.ToString();
sb.Start_Date.Value = DateTime.Parse(Start_Date.Value.ToString()); sb.Start_Date.Value = DateTime.Parse(Start_Date.Value.ToString());
sb.End_Date.Value = DateTime.Parse(End_Date.Value.ToString()); sb.End_Date.Value = DateTime.Parse(End_Date.Value.ToString());
sb.Show();
sb.btn_Lookup_Click(null, null); sb.btn_Lookup_Click(null, null);
} }
} }

View File

@@ -166,16 +166,15 @@ namespace WindowsFormsApp1.Account
} }
private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e) private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
{ {
Sales_Detail sd = new Sales_Detail(this);
string out_date = dataGridView1.Rows[e.RowIndex].Cells["out_date"].Value.ToString().Substring(0, 10).Replace("-", ""); string out_date = dataGridView1.Rows[e.RowIndex].Cells["out_date"].Value.ToString().Substring(0, 10).Replace("-", "");
int yesr = Convert.ToInt32(out_date.Substring(0, 4)); int yesr = Convert.ToInt32(out_date.Substring(0, 4));
int month = Convert.ToInt32(out_date.Substring(4, 2)); int month = Convert.ToInt32(out_date.Substring(4, 2));
int day = Convert.ToInt32(out_date.Substring(6, 2)); int day = Convert.ToInt32(out_date.Substring(6, 2));
sd.MdiParent = main;
sd.WindowState = FormWindowState.Maximized; var sd = main.OpenFormInTab(() => new Sales_Detail(this));
sd.Out_Date.Value = new DateTime(yesr, month, day); sd.Out_Date.Value = new DateTime(yesr, month, day);
sd.tb_clt.Text = dataGridView1.Rows[e.RowIndex].Cells["clt"].Value.ToString(); sd.tb_clt.Text = dataGridView1.Rows[e.RowIndex].Cells["clt"].Value.ToString();
sd.Show();
} }
} }
} }