* unimarc

a. 팩스전송 완료.
 b. 마크목록 폼 작성중
  1. 엑셀반출 기능 추가중 사용 작업중
  2. 마크편집 폼 수정 중 (마크 반출 test프로젝트 진행완료, 본 프로젝트에 적용중. / 저장기능활성화 작업완료)
   2-1. 기존의 칸채우기에서 예상되지 못한 버그가 발생하여 칸채우기 숨김.
   2-2. 008태크 재배치 => TextBox에 적용완료. 변경사항 메모장으로 넘기는 작업 완료.
   2-3. 저장기능 완료. (04.14 체크해볼것)

* ISBN 체크 프로그램 - ★작업완료★
 a. 현재 마크팀 배포완료. - 추후 수정사항발생시 수정할 것.

-- 작업중 --
ISBN 체크 프로그램 => 본프로그램에 이식중.
ㄴ> 코드는 다 옮겼으나 기존 사용하던 방식과 조금 달라서 버그발생 가능성 있음.
ㄴ> 버그 체크 계속 해볼것. 21-04-15

-- 완료 --
1. 주문관리 팩스연동 완료
2. 전송된 팩스 확인 작업개시, 이메일 전송모듈 수정완료.
3. 주문관리에서 주문처와 목록 검색하는 폼 검색 모듈도 재수정 완료함.
This commit is contained in:
SeungHo Yang
2021-04-16 18:36:37 +09:00
parent c6b4702a79
commit 289ea93e11
31 changed files with 477 additions and 408 deletions

View File

@@ -21,7 +21,7 @@ namespace ISBN_Check_test
} }
private void Form1_Load(object sender, EventArgs e) private void Form1_Load(object sender, EventArgs e)
{ {
string[] api_list = { "알라딘", "네이버", "다음" }; string[] api_list = { "다음", "네이버", "알라딘" };
cb_api.Items.AddRange(api_list); cb_api.Items.AddRange(api_list);
} }
private void button2_Click(object sender, EventArgs e) private void button2_Click(object sender, EventArgs e)
@@ -60,13 +60,13 @@ namespace ISBN_Check_test
switch (cb_api.SelectedIndex) switch (cb_api.SelectedIndex)
{ {
case 0: case 0:
Aladin_API(dataGridView1, start, end); Daum_API(dataGridView1, start, end);
break; break;
case 1: case 1:
Naver_API(dataGridView1, start, end); Naver_API(dataGridView1, start, end);
break; break;
case 2: case 2:
Daum_API(dataGridView1, start, end); Aladin_API(dataGridView1, start, end);
break; break;
} }
@@ -90,39 +90,21 @@ namespace ISBN_Check_test
/// <param name="gridview"></param> /// <param name="gridview"></param>
private void Aladin_API(DataGridView gridview, int start, int end) private void Aladin_API(DataGridView gridview, int start, int end)
{ {
string temp = string.Empty;
string type = string.Empty;
string query = string.Empty;
// 도서명 / 저자 / 출판사 / isbn / 정가 // 도서명 / 저자 / 출판사 / isbn / 정가
// 발행일 / 도서분류 / 재고 // 발행일 / 도서분류 / 재고
string[] param = { "title", "author", "publisher", "isbn13", "priceStandard", string[] param = { "title", "author", "publisher", "isbn13", "priceStandard",
"pubDate", "categoryName", "stockStatus" }; "pubDate", "categoryName" };
API api = new API(); API api = new API();
switch (cb_filter.SelectedIndex)
{
case 0: // 제목+저자
type = "Keyword";
break;
case 1: // 제목
type = "Title";
break;
case 2: // 저자
type = "Author";
break;
case 3: // 출판사
type = "Publisher";
break;
}
for (int a = start; a < end; a++) for (int a = start; a < end; a++)
{ {
process_Sub(); process_Sub();
string query = dataGridView1.Rows[a].Cells["isbn"].Value.ToString();
if (gridview.Rows[a].DefaultCellStyle.BackColor == Color.Yellow) if (gridview.Rows[a].DefaultCellStyle.BackColor == Color.Yellow)
continue; continue;
else if (gridview.Rows[a].DefaultCellStyle.BackColor == Color.LightGray) else if (gridview.Rows[a].DefaultCellStyle.BackColor == Color.LightGray)
gridview.Rows[a].DefaultCellStyle.BackColor = Color.Empty; gridview.Rows[a].DefaultCellStyle.BackColor = Color.Empty;
query = Set_query(type, a); insert_By_Aladin(api.Aladin(query, "ISBN13", param), a);
insert_By_Aladin(api.Aladin(query, type, param), a);
} }
} }
private void Naver_API(DataGridView gridview, int start, int end) private void Naver_API(DataGridView gridview, int start, int end)
@@ -287,10 +269,16 @@ namespace ISBN_Check_test
if (bot < 0) { insert[6] = insert[6].Substring(top + 1); } if (bot < 0) { insert[6] = insert[6].Substring(top + 1); }
else { insert[6] = insert[6].Substring(top + 1, bot - top - 1); } else { insert[6] = insert[6].Substring(top + 1, bot - top - 1); }
if (insert.Length > 10) input_api_aladin(insert, row, newstring);
return; }
void input_api_aladin(string[] data, int row, string date)
input_api(insert, row, newstring); {
dataGridView1.Rows[row].Cells["book_name"].Value = data[0];
dataGridView1.Rows[row].Cells["author"].Value = data[1];
dataGridView1.Rows[row].Cells["book_comp"].Value = data[2];
dataGridView1.Rows[row].Cells["price2"].Value = data[4];
dataGridView1.Rows[row].Cells["pubDate"].Value = date;
dataGridView1.Rows[row].Cells["category"].Value = data[6];
} }
void insert_By_Naver(string value, int row) void insert_By_Naver(string value, int row)
{ {
@@ -487,8 +475,8 @@ namespace ISBN_Check_test
{ {
cb_filter.Items.Clear(); cb_filter.Items.Clear();
if (cb_api.SelectedIndex == 0){ if (cb_api.SelectedIndex == 0){
string[] aladin = { "도서명+저자", "도서명", "저자", "출판사" }; string[] daum = { "도서명", "저자", "출판사" };
cb_filter.Items.AddRange(aladin); cb_filter.Items.AddRange(daum);
} }
else if (cb_api.SelectedIndex == 1) { else if (cb_api.SelectedIndex == 1) {
string[] naver = { "도서명", "저자", "출판사", string[] naver = { "도서명", "저자", "출판사",
@@ -497,8 +485,29 @@ namespace ISBN_Check_test
cb_filter.Items.AddRange(naver); cb_filter.Items.AddRange(naver);
} }
else if (cb_api.SelectedIndex == 2) { else if (cb_api.SelectedIndex == 2) {
string[] daum = { "도서명", "저자", "출판사" }; string[] aladin = { "별치 조사" };
cb_filter.Items.AddRange(daum); cb_filter.Items.AddRange(aladin);
}
Must_Col(cb_api.SelectedIndex);
}
private void Must_Col(int cb_idx)
{
if (cb_idx == 0 || cb_idx == 1)
{
dataGridView1.Columns["isbn"].DefaultCellStyle.BackColor = Color.Empty;
dataGridView1.Columns["book_name"].DefaultCellStyle.BackColor = Color.FromArgb(234, 226, 202);
dataGridView1.Columns["author"].DefaultCellStyle.BackColor = Color.FromArgb(234, 226, 202);
dataGridView1.Columns["book_comp"].DefaultCellStyle.BackColor = Color.FromArgb(234, 226, 202);
}
else if (cb_idx == 2)
{
dataGridView1.Columns["isbn"].DefaultCellStyle.BackColor = Color.FromArgb(234, 226, 202);
dataGridView1.Columns["book_name"].DefaultCellStyle.BackColor = Color.Empty;
dataGridView1.Columns["author"].DefaultCellStyle.BackColor = Color.Empty;
dataGridView1.Columns["book_comp"].DefaultCellStyle.BackColor = Color.Empty;
}
else {
return;
} }
} }
} }

View File

@@ -100,6 +100,92 @@ namespace ISBN_Check_test
} }
return result; return result;
} }
/// <summary>
/// https://blog.aladin.co.kr/openapi 참고
/// </summary>
/// <param name="Query">ISBN값</param>
/// <param name="QueryType">"ISBN"고정</param>
/// <param name="Param">가져올 데이터</param>
/// <returns></returns>
public string Aladin_lookup(string Query, string QueryType, string[] Param)
{
string result = string.Empty;
// 쿼리 생성
string key = "ttbgloriabook1512001";
string site = "http://www.aladin.co.kr/ttb/api/ItemLookUp.aspx";
string query = string.Format("{0}?TTBKey={1}&itemIdType={2}&ItemId={3}&OptResult=categoryIdList",
site, key, QueryType, Query);
// 쿼리를 입력인자로 WebRequest 개채 생성
WebRequest request = WebRequest.Create(query);
// WebRequest개체의 헤더에 인증키 포함시키기.
// request.Headers.Add("Authorization", header);
// WebResponse개체를 통해 서비스 요청.
WebResponse response = request.GetResponse();
// 결과문자열 확인
Stream stream = response.GetResponseStream();
StreamReader reader = new StreamReader(stream, Encoding.UTF8);
String xml = reader.ReadToEnd();
stream.Close();
// xml형식을 json형식으로 변환
XmlDocument doc = new XmlDocument();
doc.LoadXml(xml);
var json = JsonConvert.SerializeXmlNode(doc);
// return json;
// json형식 분석을 위해 JavaScriptSerializer 개체 생성
JavaScriptSerializer js = new JavaScriptSerializer();
// 런타임에 개체를 확인하여 사용할수 있는 dynamic을 이용해 역직렬화
dynamic dob = js.Deserialize<dynamic>(json);
// "object"내에 있는것을 얻어오기 위해 다시 dynamic변수에 참조
dynamic docs = "";
try
{
docs = dob["object"]["item"];
}
catch
{
return "";
}
int length = 0;
int ID_length = Param.Length;
// 검색 결과가 1개 이하일 경우, 오류가 발생하여 try/catch문 사용.
try
{
// docs는 요소 컬렉션으로 object로 변환.
object[] buf = docs;
length = buf.Length;
}
catch
{
object buf = docs;
length = 1;
}
for (int a = 0; a < length; a++)
{
List<string> tmp_data = new List<string>();
for (int b = 0; b < ID_length; b++)
{
if (length == 1)
{
tmp_data.Add(docs[Param[b]]);
}
else
{
tmp_data.Add(docs[a][Param[b]]);
}
result += tmp_data[b] + "|";
}
result += "\n";
}
return result;
}
public string Naver(string[] Query, string[] QueryType, string[] Param) public string Naver(string[] Query, string[] QueryType, string[] Param)
{ {
string result = string.Empty; string result = string.Empty;

View File

@@ -26,12 +26,15 @@ namespace ISBN_Check_test
API api = new API(); API api = new API();
// 도서명, 저자, 출판사 // 도서명, 저자, 출판사
string[] param = { "title", "author", "publisher", "isbn13", "priceStandard",
"pubDate", "categoryName" };
richTextBox1.Text = api.Aladin_lookup(tb_author.Text, "ISBN13", param);
string[] ArrayValue = { tb_book_name.Text, tb_author.Text, tb_book_comp.Text }; string[] ArrayValue = { tb_book_name.Text, tb_author.Text, tb_book_comp.Text };
// 도서명 / 저자 / 출판사 / isbn / 정가 // 도서명 / 저자 / 출판사 / isbn / 정가
// 발행일 / 도서분류 / 재고 // 발행일 / 도서분류 / 재고
string[] param = { "title", "authors", "publisher", "isbn", "price", // string[] param = { "title", "authors", "publisher", "isbn", "price",
"datetime", "status" }; // "datetime", "status" };
// string result = api.Daum(ArrayValue, param); // string result = api.Daum(ArrayValue, param);
// richTextBox1.Text = result; // richTextBox1.Text = result;
// input_Grid(result); // input_Grid(result);

View File

@@ -21,7 +21,7 @@
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" /> <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms> </dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" /> <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>cqV1zNdwGf/IYcD6DWSOD83rn93mGKxyGos+bu88soo=</dsig:DigestValue> <dsig:DigestValue>wjX6r3plG+yTrBIZAUqcqdQgCON28Rd47mUKHRO2Z4s=</dsig:DigestValue>
</hash> </hash>
</dependentAssembly> </dependentAssembly>
</dependency> </dependency>

View File

@@ -3,7 +3,7 @@
<asmv1:assemblyIdentity name="ISBN_Check_test.exe" version="1.0.0.2" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="msil" type="win32" /> <asmv1:assemblyIdentity name="ISBN_Check_test.exe" version="1.0.0.2" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="msil" type="win32" />
<application /> <application />
<entryPoint> <entryPoint>
<assemblyIdentity name="ISBN_Check_test" version="1.0.7775.33401" language="neutral" processorArchitecture="msil" /> <assemblyIdentity name="ISBN_Check_test" version="1.0.7776.26366" language="neutral" processorArchitecture="msil" />
<commandLine file="ISBN_Check_test.exe" parameters="" /> <commandLine file="ISBN_Check_test.exe" parameters="" />
</entryPoint> </entryPoint>
<trustInfo> <trustInfo>
@@ -42,14 +42,14 @@
</dependentAssembly> </dependentAssembly>
</dependency> </dependency>
<dependency> <dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="ISBN_Check_test.exe" size="41472"> <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="ISBN_Check_test.exe" size="44032">
<assemblyIdentity name="ISBN_Check_test" version="1.0.7775.33401" language="neutral" processorArchitecture="msil" /> <assemblyIdentity name="ISBN_Check_test" version="1.0.7776.26366" language="neutral" processorArchitecture="msil" />
<hash> <hash>
<dsig:Transforms> <dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" /> <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms> </dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" /> <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>s53FAzC3vGlUru48yMhRttgnDVd9urz8LanR4mf4XJ0=</dsig:DigestValue> <dsig:DigestValue>0uxqdLPzFta15wECGfRk6pivmDhGXS/qCxP2Slz66Xo=</dsig:DigestValue>
</hash> </hash>
</dependentAssembly> </dependentAssembly>
</dependency> </dependency>
@@ -74,13 +74,13 @@
<dsig:DigestValue>R+Wg8QGvQVHX8T0ta/qbhH1bXkqY0fRnS3wBV3J0bN8=</dsig:DigestValue> <dsig:DigestValue>R+Wg8QGvQVHX8T0ta/qbhH1bXkqY0fRnS3wBV3J0bN8=</dsig:DigestValue>
</hash> </hash>
</file> </file>
<file name="ISBN_Check_test.pdb" size="67072"> <file name="ISBN_Check_test.pdb" size="69120">
<hash> <hash>
<dsig:Transforms> <dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" /> <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms> </dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" /> <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>PhJADKf4k02+7MGHqG3SI3tL5S39c+CQ2aNdm9gOez0=</dsig:DigestValue> <dsig:DigestValue>ZwoRldoYLUV2EmnRuE80N/hvT+kdSXd14q9iHUQ9zok=</dsig:DigestValue>
</hash> </hash>
</file> </file>
</asmv1:assembly> </asmv1:assembly>

View File

@@ -21,7 +21,7 @@
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" /> <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms> </dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" /> <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>cqV1zNdwGf/IYcD6DWSOD83rn93mGKxyGos+bu88soo=</dsig:DigestValue> <dsig:DigestValue>wjX6r3plG+yTrBIZAUqcqdQgCON28Rd47mUKHRO2Z4s=</dsig:DigestValue>
</hash> </hash>
</dependentAssembly> </dependentAssembly>
</dependency> </dependency>

View File

@@ -3,7 +3,7 @@
<asmv1:assemblyIdentity name="ISBN_Check_test.exe" version="1.0.0.2" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="msil" type="win32" /> <asmv1:assemblyIdentity name="ISBN_Check_test.exe" version="1.0.0.2" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="msil" type="win32" />
<application /> <application />
<entryPoint> <entryPoint>
<assemblyIdentity name="ISBN_Check_test" version="1.0.7775.33401" language="neutral" processorArchitecture="msil" /> <assemblyIdentity name="ISBN_Check_test" version="1.0.7776.26366" language="neutral" processorArchitecture="msil" />
<commandLine file="ISBN_Check_test.exe" parameters="" /> <commandLine file="ISBN_Check_test.exe" parameters="" />
</entryPoint> </entryPoint>
<trustInfo> <trustInfo>
@@ -42,14 +42,14 @@
</dependentAssembly> </dependentAssembly>
</dependency> </dependency>
<dependency> <dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="ISBN_Check_test.exe" size="41472"> <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="ISBN_Check_test.exe" size="44032">
<assemblyIdentity name="ISBN_Check_test" version="1.0.7775.33401" language="neutral" processorArchitecture="msil" /> <assemblyIdentity name="ISBN_Check_test" version="1.0.7776.26366" language="neutral" processorArchitecture="msil" />
<hash> <hash>
<dsig:Transforms> <dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" /> <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms> </dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" /> <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>s53FAzC3vGlUru48yMhRttgnDVd9urz8LanR4mf4XJ0=</dsig:DigestValue> <dsig:DigestValue>0uxqdLPzFta15wECGfRk6pivmDhGXS/qCxP2Slz66Xo=</dsig:DigestValue>
</hash> </hash>
</dependentAssembly> </dependentAssembly>
</dependency> </dependency>
@@ -74,13 +74,13 @@
<dsig:DigestValue>R+Wg8QGvQVHX8T0ta/qbhH1bXkqY0fRnS3wBV3J0bN8=</dsig:DigestValue> <dsig:DigestValue>R+Wg8QGvQVHX8T0ta/qbhH1bXkqY0fRnS3wBV3J0bN8=</dsig:DigestValue>
</hash> </hash>
</file> </file>
<file name="ISBN_Check_test.pdb" size="67072"> <file name="ISBN_Check_test.pdb" size="69120">
<hash> <hash>
<dsig:Transforms> <dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" /> <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms> </dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" /> <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>PhJADKf4k02+7MGHqG3SI3tL5S39c+CQ2aNdm9gOez0=</dsig:DigestValue> <dsig:DigestValue>ZwoRldoYLUV2EmnRuE80N/hvT+kdSXd14q9iHUQ9zok=</dsig:DigestValue>
</hash> </hash>
</file> </file>
</asmv1:assembly> </asmv1:assembly>

Binary file not shown.

View File

@@ -22,19 +22,19 @@
"Entry" "Entry"
{ {
"MsmKey" = "8:_36AC4F62C92B6D0BCDD2C56761258591" "MsmKey" = "8:_36AC4F62C92B6D0BCDD2C56761258591"
"OwnerKey" = "8:_92AA506E92914E4AB38A50AE2AE7370C" "OwnerKey" = "8:_6FD3A2ED6BCE4D60998CA77094F077A6"
"MsmSig" = "8:_UNDEFINED"
}
"Entry"
{
"MsmKey" = "8:_6FD3A2ED6BCE4D60998CA77094F077A6"
"OwnerKey" = "8:_UNDEFINED"
"MsmSig" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED"
} }
"Entry" "Entry"
{ {
"MsmKey" = "8:_8E5B8C9896AC806B09C2BF089A2B0DA2" "MsmKey" = "8:_8E5B8C9896AC806B09C2BF089A2B0DA2"
"OwnerKey" = "8:_92AA506E92914E4AB38A50AE2AE7370C" "OwnerKey" = "8:_6FD3A2ED6BCE4D60998CA77094F077A6"
"MsmSig" = "8:_UNDEFINED"
}
"Entry"
{
"MsmKey" = "8:_92AA506E92914E4AB38A50AE2AE7370C"
"OwnerKey" = "8:_UNDEFINED"
"MsmSig" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED"
} }
"Entry" "Entry"
@@ -46,7 +46,7 @@
"Entry" "Entry"
{ {
"MsmKey" = "8:_UNDEFINED" "MsmKey" = "8:_UNDEFINED"
"OwnerKey" = "8:_92AA506E92914E4AB38A50AE2AE7370C" "OwnerKey" = "8:_6FD3A2ED6BCE4D60998CA77094F077A6"
"MsmSig" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED"
} }
"Entry" "Entry"
@@ -409,7 +409,7 @@
} }
"Shortcut" "Shortcut"
{ {
"{970C0BB2-C7D0-45D7-ABFA-7EC378858BC0}:_5781E6AEAD7B464F91B182423764814D" "{970C0BB2-C7D0-45D7-ABFA-7EC378858BC0}:_6C4907FFDB874945A1B221C86CE2A522"
{ {
"Name" = "8:ISBN 조회" "Name" = "8:ISBN 조회"
"Arguments" = "8:" "Arguments" = "8:"
@@ -417,10 +417,10 @@
"ShowCmd" = "3:1" "ShowCmd" = "3:1"
"IconIndex" = "3:0" "IconIndex" = "3:0"
"Transitive" = "11:FALSE" "Transitive" = "11:FALSE"
"Target" = "8:_92AA506E92914E4AB38A50AE2AE7370C" "Target" = "8:_6FD3A2ED6BCE4D60998CA77094F077A6"
"Folder" = "8:_A66867392A5046CAB74023B14B8C3140" "Folder" = "8:_A66867392A5046CAB74023B14B8C3140"
"WorkingFolder" = "8:_945325C397F845FB86F255B5AAC3663E" "WorkingFolder" = "8:_945325C397F845FB86F255B5AAC3663E"
"Icon" = "8:" "Icon" = "8:_0D6062360C5F4D6BA7D1EBF485EEFF70"
"Feature" = "8:" "Feature" = "8:"
} }
} }
@@ -822,7 +822,7 @@
} }
"ProjectOutput" "ProjectOutput"
{ {
"{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_92AA506E92914E4AB38A50AE2AE7370C" "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_6FD3A2ED6BCE4D60998CA77094F077A6"
{ {
"SourcePath" = "8:..\\ISBN_Check_test\\obj\\Debug\\ISBN_Check_test.exe" "SourcePath" = "8:..\\ISBN_Check_test\\obj\\Debug\\ISBN_Check_test.exe"
"TargetName" = "8:" "TargetName" = "8:"

View File

@@ -28,12 +28,12 @@
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
this.label1 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label();
this.tb_FilePath = new System.Windows.Forms.TextBox(); this.tb_FilePath = new System.Windows.Forms.TextBox();
this.btn_FileOpen = new System.Windows.Forms.Button(); this.btn_FileOpen = new System.Windows.Forms.Button();
@@ -56,19 +56,19 @@
this.btn_Exit = new System.Windows.Forms.Button(); this.btn_Exit = new System.Windows.Forms.Button();
this.btn_Save = new System.Windows.Forms.Button(); this.btn_Save = new System.Windows.Forms.Button();
this.dataGridView1 = new System.Windows.Forms.DataGridView(); this.dataGridView1 = new System.Windows.Forms.DataGridView();
this.Column22 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.header = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.num = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.book_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.author = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.book_comp = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column5 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.count = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column6 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.unit = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column7 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.total = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column10 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.etc = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column9 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.isbn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column8 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.order = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column21 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.stat = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column23 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.chk_time = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.label7 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label();
this.panel1 = new System.Windows.Forms.Panel(); this.panel1 = new System.Windows.Forms.Panel();
this.comboBox1 = new System.Windows.Forms.ComboBox(); this.comboBox1 = new System.Windows.Forms.ComboBox();
@@ -100,7 +100,6 @@
this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
this.richTextBox1 = new System.Windows.Forms.RichTextBox(); this.richTextBox1 = new System.Windows.Forms.RichTextBox();
this.button2 = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button();
this.button3 = new System.Windows.Forms.Button();
this.rbtn_marc = new System.Windows.Forms.RadioButton(); this.rbtn_marc = new System.Windows.Forms.RadioButton();
this.rbtn_div = new System.Windows.Forms.RadioButton(); this.rbtn_div = new System.Windows.Forms.RadioButton();
this.rbtn_all = new System.Windows.Forms.RadioButton(); this.rbtn_all = new System.Windows.Forms.RadioButton();
@@ -296,29 +295,29 @@
// dataGridView1 // dataGridView1
// //
this.dataGridView1.BackgroundColor = System.Drawing.SystemColors.Control; this.dataGridView1.BackgroundColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle7.BackColor = System.Drawing.SystemColors.Control; dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle7.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)));
dataGridViewCellStyle7.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle7.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle7.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.True; dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle7; this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing; this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.Column22, this.header,
this.Column1, this.num,
this.Column2, this.book_name,
this.Column3, this.author,
this.Column4, this.book_comp,
this.Column5, this.count,
this.Column6, this.unit,
this.Column7, this.total,
this.Column10, this.etc,
this.Column9, this.isbn,
this.Column8, this.order,
this.Column21, this.stat,
this.Column23}); this.chk_time});
this.dataGridView1.Location = new System.Drawing.Point(13, 82); this.dataGridView1.Location = new System.Drawing.Point(13, 82);
this.dataGridView1.Name = "dataGridView1"; this.dataGridView1.Name = "dataGridView1";
this.dataGridView1.RowHeadersWidth = 20; this.dataGridView1.RowHeadersWidth = 20;
@@ -327,91 +326,91 @@
this.dataGridView1.TabIndex = 29; this.dataGridView1.TabIndex = 29;
this.dataGridView1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dataGridView1_KeyDown); this.dataGridView1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dataGridView1_KeyDown);
// //
// Column22 // header
// //
this.Column22.HeaderText = "머리글"; this.header.HeaderText = "머리글";
this.Column22.Name = "Column22"; this.header.Name = "header";
this.Column22.Width = 50; this.header.Width = 50;
// //
// Column1 // num
// //
this.Column1.HeaderText = "번호"; this.num.HeaderText = "번호";
this.Column1.Name = "Column1"; this.num.Name = "num";
this.Column1.Width = 35; this.num.Width = 35;
// //
// Column2 // book_name
// //
this.Column2.HeaderText = "도서명"; this.book_name.HeaderText = "도서명";
this.Column2.Name = "Column2"; this.book_name.Name = "book_name";
this.Column2.Width = 300; this.book_name.Width = 300;
// //
// Column3 // author
// //
this.Column3.HeaderText = "저자"; this.author.HeaderText = "저자";
this.Column3.Name = "Column3"; this.author.Name = "author";
this.Column3.Width = 130; this.author.Width = 130;
// //
// Column4 // book_comp
// //
this.Column4.HeaderText = "출판사"; this.book_comp.HeaderText = "출판사";
this.Column4.Name = "Column4"; this.book_comp.Name = "book_comp";
this.Column4.Width = 130; this.book_comp.Width = 130;
// //
// Column5 // count
// //
dataGridViewCellStyle8.Format = "C0"; dataGridViewCellStyle2.Format = "C0";
dataGridViewCellStyle8.NullValue = null; dataGridViewCellStyle2.NullValue = null;
this.Column5.DefaultCellStyle = dataGridViewCellStyle8; this.count.DefaultCellStyle = dataGridViewCellStyle2;
this.Column5.HeaderText = "수량"; this.count.HeaderText = "수량";
this.Column5.Name = "Column5"; this.count.Name = "count";
this.Column5.Width = 35; this.count.Width = 35;
// //
// Column6 // unit
// //
dataGridViewCellStyle9.Format = "N0"; dataGridViewCellStyle3.Format = "N0";
dataGridViewCellStyle9.NullValue = null; dataGridViewCellStyle3.NullValue = null;
this.Column6.DefaultCellStyle = dataGridViewCellStyle9; this.unit.DefaultCellStyle = dataGridViewCellStyle3;
this.Column6.HeaderText = "단가"; this.unit.HeaderText = "단가";
this.Column6.Name = "Column6"; this.unit.Name = "unit";
this.Column6.Width = 70; this.unit.Width = 70;
// //
// Column7 // total
// //
dataGridViewCellStyle10.Format = "N0"; dataGridViewCellStyle4.Format = "N0";
dataGridViewCellStyle10.NullValue = null; dataGridViewCellStyle4.NullValue = null;
this.Column7.DefaultCellStyle = dataGridViewCellStyle10; this.total.DefaultCellStyle = dataGridViewCellStyle4;
this.Column7.HeaderText = "합계"; this.total.HeaderText = "합계";
this.Column7.Name = "Column7"; this.total.Name = "total";
this.Column7.Width = 80; this.total.Width = 80;
// //
// Column10 // etc
// //
this.Column10.HeaderText = "비고"; this.etc.HeaderText = "비고";
this.Column10.Name = "Column10"; this.etc.Name = "etc";
// //
// Column9 // isbn
// //
this.Column9.HeaderText = "ISBN13"; this.isbn.HeaderText = "ISBN13";
this.Column9.Name = "Column9"; this.isbn.Name = "isbn";
this.Column9.Width = 80; this.isbn.Width = 80;
// //
// Column8 // order
// //
this.Column8.HeaderText = "주문처"; this.order.HeaderText = "주문처";
this.Column8.Name = "Column8"; this.order.Name = "order";
this.Column8.Width = 50; this.order.Width = 50;
// //
// Column21 // stat
// //
this.Column21.HeaderText = "상태"; this.stat.HeaderText = "상태";
this.Column21.Name = "Column21"; this.stat.Name = "stat";
this.Column21.Visible = false; this.stat.Visible = false;
// //
// Column23 // chk_time
// //
this.Column23.HeaderText = "검수시간"; this.chk_time.HeaderText = "검수시간";
this.Column23.Name = "Column23"; this.chk_time.Name = "chk_time";
this.Column23.Visible = false; this.chk_time.Visible = false;
// //
// label7 // label7
// //
@@ -460,14 +459,14 @@
this.dataGridView2.AllowUserToAddRows = false; this.dataGridView2.AllowUserToAddRows = false;
this.dataGridView2.AllowUserToDeleteRows = false; this.dataGridView2.AllowUserToDeleteRows = false;
this.dataGridView2.BackgroundColor = System.Drawing.SystemColors.Control; this.dataGridView2.BackgroundColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle11.BackColor = System.Drawing.SystemColors.Control; dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle11.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); dataGridViewCellStyle5.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
dataGridViewCellStyle11.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle11.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle11.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle11.WrapMode = System.Windows.Forms.DataGridViewTriState.True; dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridView2.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle11; this.dataGridView2.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle5;
this.dataGridView2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.dataGridView2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.Column11, this.Column11,
this.Column12, this.Column12,
@@ -527,9 +526,9 @@
// //
// Column17 // Column17
// //
dataGridViewCellStyle12.Format = "N0"; dataGridViewCellStyle6.Format = "N0";
dataGridViewCellStyle12.NullValue = null; dataGridViewCellStyle6.NullValue = null;
this.Column17.DefaultCellStyle = dataGridViewCellStyle12; this.Column17.DefaultCellStyle = dataGridViewCellStyle6;
this.Column17.HeaderText = "합계"; this.Column17.HeaderText = "합계";
this.Column17.Name = "Column17"; this.Column17.Name = "Column17";
// //
@@ -700,24 +699,13 @@
// //
// button2 // button2
// //
this.button2.Enabled = false; this.button2.Location = new System.Drawing.Point(1049, 12);
this.button2.Location = new System.Drawing.Point(1001, 12);
this.button2.Name = "button2"; this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(85, 23); this.button2.Size = new System.Drawing.Size(85, 23);
this.button2.TabIndex = 15; this.button2.TabIndex = 15;
this.button2.Text = "자동목록번호"; this.button2.Text = "자동목록번호";
this.button2.UseVisualStyleBackColor = true; this.button2.UseVisualStyleBackColor = true;
// this.button2.Click += new System.EventHandler(this.button2_Click);
// button3
//
this.button3.Enabled = false;
this.button3.Location = new System.Drawing.Point(1092, 12);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(50, 23);
this.button3.TabIndex = 26;
this.button3.Text = "신 규";
this.button3.UseVisualStyleBackColor = true;
this.button3.Click += new System.EventHandler(this.button3_Click);
// //
// rbtn_marc // rbtn_marc
// //
@@ -783,7 +771,6 @@
this.Controls.Add(this.dataGridView1); this.Controls.Add(this.dataGridView1);
this.Controls.Add(this.btn_Save); this.Controls.Add(this.btn_Save);
this.Controls.Add(this.btn_Exit); this.Controls.Add(this.btn_Exit);
this.Controls.Add(this.button3);
this.Controls.Add(this.label11); this.Controls.Add(this.label11);
this.Controls.Add(this.label14); this.Controls.Add(this.label14);
this.Controls.Add(this.label10); this.Controls.Add(this.label10);
@@ -863,20 +850,6 @@
public System.Windows.Forms.DataGridView dataGridView2; public System.Windows.Forms.DataGridView dataGridView2;
public System.Windows.Forms.RichTextBox richTextBox1; public System.Windows.Forms.RichTextBox richTextBox1;
private System.Windows.Forms.Button button2; private System.Windows.Forms.Button button2;
private System.Windows.Forms.Button button3;
private System.Windows.Forms.DataGridViewTextBoxColumn Column22;
private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
private System.Windows.Forms.DataGridViewTextBoxColumn Column3;
private System.Windows.Forms.DataGridViewTextBoxColumn Column4;
private System.Windows.Forms.DataGridViewTextBoxColumn Column5;
private System.Windows.Forms.DataGridViewTextBoxColumn Column6;
private System.Windows.Forms.DataGridViewTextBoxColumn Column7;
private System.Windows.Forms.DataGridViewTextBoxColumn Column10;
private System.Windows.Forms.DataGridViewTextBoxColumn Column9;
private System.Windows.Forms.DataGridViewTextBoxColumn Column8;
private System.Windows.Forms.DataGridViewTextBoxColumn Column21;
private System.Windows.Forms.DataGridViewTextBoxColumn Column23;
private System.Windows.Forms.RadioButton rbtn_marc; private System.Windows.Forms.RadioButton rbtn_marc;
private System.Windows.Forms.RadioButton rbtn_div; private System.Windows.Forms.RadioButton rbtn_div;
private System.Windows.Forms.RadioButton rbtn_all; private System.Windows.Forms.RadioButton rbtn_all;
@@ -893,5 +866,18 @@
private System.Windows.Forms.DataGridViewButtonColumn Column20; private System.Windows.Forms.DataGridViewButtonColumn Column20;
private System.Windows.Forms.DataGridViewTextBoxColumn chk_marc; private System.Windows.Forms.DataGridViewTextBoxColumn chk_marc;
private System.Windows.Forms.DataGridViewCheckBoxColumn Del_Check; private System.Windows.Forms.DataGridViewCheckBoxColumn Del_Check;
private System.Windows.Forms.DataGridViewTextBoxColumn header;
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 unit;
private System.Windows.Forms.DataGridViewTextBoxColumn total;
private System.Windows.Forms.DataGridViewTextBoxColumn etc;
private System.Windows.Forms.DataGridViewTextBoxColumn isbn;
private System.Windows.Forms.DataGridViewTextBoxColumn order;
private System.Windows.Forms.DataGridViewTextBoxColumn stat;
private System.Windows.Forms.DataGridViewTextBoxColumn chk_time;
} }
} }

View File

@@ -151,10 +151,18 @@ namespace WindowsFormsApp1.Delivery
} }
for (int a = 0; a < dataGridView1.Rows.Count; a++) for (int a = 0; a < dataGridView1.Rows.Count; a++)
{ {
if(dataGridView1.Rows[a].Cells[5].Value == null) { break; } if(dataGridView1.Rows[a].Cells["count"].Value == null) { break; }
Strvol = dataGridView1.Rows[a].Cells[5].Value.ToString(); Strvol = dataGridView1.Rows[a].Cells["count"].Value.ToString();
Strprice = dataGridView1.Rows[a].Cells[6].Value.ToString(); Strprice = dataGridView1.Rows[a].Cells["unit"].Value.ToString();
Strtotal = dataGridView1.Rows[a].Cells[7].Value.ToString(); if(dataGridView1.Rows[a].Cells["total"].Value == null) {
int vol_tmp = Convert.ToInt32(Strvol);
int price_tmp = Convert.ToInt32(Strprice);
int total_tmp = vol_tmp + price_tmp;
Strtotal = total_tmp.ToString();
}
else {
Strtotal = dataGridView1.Rows[a].Cells["total"].Value.ToString();
}
Strvol = Regex.Replace(Strvol, @"[^0-9]", ""); Strvol = Regex.Replace(Strvol, @"[^0-9]", "");
Strprice = Regex.Replace(Strprice, @"[^0-9]", ""); Strprice = Regex.Replace(Strprice, @"[^0-9]", "");
@@ -255,7 +263,7 @@ namespace WindowsFormsApp1.Delivery
{ {
for(int a = 0; a < dataGridView2.Rows.Count; a++) for(int a = 0; a < dataGridView2.Rows.Count; a++)
{ {
bool isChecked = Convert.ToBoolean(dataGridView2.Rows[a].Cells[11].Value); bool isChecked = Convert.ToBoolean(dataGridView2.Rows[a].Cells["Del_Check"].Value);
if (isChecked) if (isChecked)
{ {
if(cout == 0) { delcout = a; cout++; } if(cout == 0) { delcout = a; cout++; }
@@ -278,7 +286,7 @@ namespace WindowsFormsApp1.Delivery
int cout = 0; int cout = 0;
for (int a = 0; a < dataGridView2.Rows.Count; a++) for (int a = 0; a < dataGridView2.Rows.Count; a++)
{ {
bool isChecked = Convert.ToBoolean(dataGridView2.Rows[a].Cells[11].Value); bool isChecked = Convert.ToBoolean(dataGridView2.Rows[a].Cells["Del_Check"].Value);
if (isChecked) if (isChecked)
{ {
if (cout == 0) { EditNumber = a; cout++; } if (cout == 0) { EditNumber = a; cout++; }
@@ -301,9 +309,9 @@ namespace WindowsFormsApp1.Delivery
dataGridView2.Rows.Clear(); dataGridView2.Rows.Clear();
string getdata = "`date`, `clt`, `dly`, `charge`, `list_num`, " + string getdata = "`date`, `clt`, `dly`, `charge`, `list_num`, " +
"`vol`, `total`, `state`, `chk_marc`"; "`vol`, `total`, `state`, `chk_marc`";
string[] othertalbe = { "comp_num", "state" }; string[] othertable = { "comp_num", "state" };
string[] othercol = { main.com_idx, code }; string[] othercol = { main.com_idx, code };
string dblist = db.More_DB_Search("Obj_List", othertalbe, othercol, getdata); string dblist = db.More_DB_Search("Obj_List", othertable, othercol, getdata);
string[] obj_list = dblist.Split('|'); string[] obj_list = dblist.Split('|');
string[] add_data = { "", "", "", "", "", string[] add_data = { "", "", "", "", "",
@@ -341,16 +349,14 @@ namespace WindowsFormsApp1.Delivery
} }
} }
} }
//INSERT INTO Obj_List_Book (`compidx`, `list_name`, `header`, `num`, `book_name`, `author`, `book_comp`, `count`, `pay`, `total`, `etc`, `isbn`, `order`)
//VALUES("1", "[재채기]수정서점", "머리", "1", "1인기업을 한다는 것", "이치엔 가쓰히코", "센시오", '1', '16000', '16000', '', '', '');
private void Grid1_total() private void Grid1_total()
{ {
string[] DB_col_name = { "compidx", "list_name", "header", "num", "book_name", string[] DB_col_name = { "compidx", "list_name", "header", "num", "book_name",
"author", "book_comp", "count", "pay", "total", "author", "book_comp", "count", "pay", "total",
"etc", "isbn", "order" }; "etc", "isbn", "order", "date" };
string[] setData = { comp_idx, "[" + tb_clt1.Text + "]" + tb_dvy1.Text, "", "", "", string[] setData = { comp_idx, "[" + tb_clt1.Text + "]" + tb_dvy1.Text, "", "", "",
"", "", "", "", "", "", "", "", "", "",
"", "", "" }; "", "", "", start_date.Value.ToString().Substring(0,10) };
for(int a = 0; a < dataGridView1.Rows.Count; a++) for(int a = 0; a < dataGridView1.Rows.Count; a++)
{ {
if (dataGridView1.Rows[a].Cells[2].Value == null || if (dataGridView1.Rows[a].Cells[2].Value == null ||
@@ -364,43 +370,8 @@ namespace WindowsFormsApp1.Delivery
} }
setData[ea + 2] = dataGridView1.Rows[a].Cells[ea].Value.ToString(); setData[ea + 2] = dataGridView1.Rows[a].Cells[ea].Value.ToString();
} }
string mkcmd = "INSERT INTO `Obj_List_Book` (";
for(int b = 0; b < DB_col_name.Length; b++)
{
if (b == DB_col_name.Length - 1)
{
mkcmd += "`" + DB_col_name[b] + "`) ";
}
else
{
mkcmd += "`" + DB_col_name[b] + "`, ";
}
}
mkcmd += "VALUES (";
for(int c = 0; c < setData.Length; c++)
{
if (c == setData.Length - 1)
{
mkcmd += "\"" + setData[c] + "\");";
}
else
{
if (c == 7 || c == 8 || c == 9)
{
setData[c] = setData[c].Replace(",", "");
setData[c] = setData[c].Replace("\r", String.Empty);
}
mkcmd += "\"" + setData[c] + "\", ";
}
}
db.DB_INSERT("Obj_List_Book", DB_col_name, setData); db.DB_INSERT("Obj_List_Book", DB_col_name, setData);
//db.self_Made_Cmd(mkcmd);
richTextBox1.Text = mkcmd;
} }
}
private void button3_Click(object sender, EventArgs e)
{
} }
private void dataGridView2_CellClick(object sender, DataGridViewCellEventArgs e) private void dataGridView2_CellClick(object sender, DataGridViewCellEventArgs e)
{ {
@@ -414,7 +385,7 @@ namespace WindowsFormsApp1.Delivery
int cout = 0; int cout = 0;
for (int a = 0; a < dataGridView2.Rows.Count; a++) for (int a = 0; a < dataGridView2.Rows.Count; a++)
{ {
bool isChecked = Convert.ToBoolean(dataGridView2.Rows[a].Cells[11].Value); bool isChecked = Convert.ToBoolean(dataGridView2.Rows[a].Cells["Del_Check"].Value);
if (isChecked) if (isChecked)
{ {
if (cout == 0) { MorgeNum[0] = a; cout++; } if (cout == 0) { MorgeNum[0] = a; cout++; }
@@ -442,7 +413,7 @@ namespace WindowsFormsApp1.Delivery
{ {
for(int a = 0; a < dataGridView2.Rows.Count; a++) for(int a = 0; a < dataGridView2.Rows.Count; a++)
{ {
bool isChecked = Convert.ToBoolean(dataGridView2.Rows[a].Cells[11].Value); bool isChecked = Convert.ToBoolean(dataGridView2.Rows[a].Cells["Del_Check"].Value);
if (isChecked) if (isChecked)
{ {
dataGridView2.Rows[a].Cells[7].Value = "진행"; dataGridView2.Rows[a].Cells[7].Value = "진행";
@@ -458,7 +429,7 @@ namespace WindowsFormsApp1.Delivery
{ {
for (int a = 0; a < dataGridView2.Rows.Count; a++) for (int a = 0; a < dataGridView2.Rows.Count; a++)
{ {
bool isChecked = Convert.ToBoolean(dataGridView2.Rows[a].Cells[11].Value); bool isChecked = Convert.ToBoolean(dataGridView2.Rows[a].Cells["Del_Check"].Value);
if (isChecked) if (isChecked)
{ {
dataGridView2.Rows[a].Cells[7].Value = "완료"; dataGridView2.Rows[a].Cells[7].Value = "완료";
@@ -500,5 +471,19 @@ namespace WindowsFormsApp1.Delivery
} }
GridColorChange(); GridColorChange();
} }
private void button2_Click(object sender, EventArgs e)
{
if (tb_ListNum.Text == "") { MessageBox.Show("목록번호가 비어있습니다!"); return; }
for(int a = 0; a < dataGridView1.Rows.Count; a++)
{
int num = a + 1;
if (dataGridView1.Rows[a].Cells["book_name"].Value == null ||
dataGridView1.Rows[a].Cells["book_name"].Value.ToString() == "") {
return;
}
dataGridView1.Rows[a].Cells["header"].Value = tb_ListNum.Text;
dataGridView1.Rows[a].Cells["num"].Value = num.ToString();
}
}
} }
} }

View File

@@ -117,43 +117,43 @@
<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="Column22.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="header.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value> <value>True</value>
</metadata> </metadata>
<metadata name="Column1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="num.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value> <value>True</value>
</metadata> </metadata>
<metadata name="Column2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="book_name.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value> <value>True</value>
</metadata> </metadata>
<metadata name="Column3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="author.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value> <value>True</value>
</metadata> </metadata>
<metadata name="Column4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="book_comp.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value> <value>True</value>
</metadata> </metadata>
<metadata name="Column5.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="count.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value> <value>True</value>
</metadata> </metadata>
<metadata name="Column6.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="unit.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value> <value>True</value>
</metadata> </metadata>
<metadata name="Column7.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="total.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value> <value>True</value>
</metadata> </metadata>
<metadata name="Column10.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="etc.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value> <value>True</value>
</metadata> </metadata>
<metadata name="Column9.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="isbn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value> <value>True</value>
</metadata> </metadata>
<metadata name="Column8.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="order.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value> <value>True</value>
</metadata> </metadata>
<metadata name="Column21.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="stat.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value> <value>True</value>
</metadata> </metadata>
<metadata name="Column23.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="chk_time.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value> <value>True</value>
</metadata> </metadata>
<metadata name="Column11.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="Column11.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">

View File

@@ -28,20 +28,10 @@
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
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 dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
this.dataGridView1 = new System.Windows.Forms.DataGridView(); this.dataGridView1 = new System.Windows.Forms.DataGridView();
this.btn_lookup = new System.Windows.Forms.Button();
this.cb_filter = new System.Windows.Forms.ComboBox();
this.label1 = new System.Windows.Forms.Label();
this.tb_list_name = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.btn_Save = new System.Windows.Forms.Button();
this.btn_Close = new System.Windows.Forms.Button();
this.label3 = new System.Windows.Forms.Label();
this.cb_api = new System.Windows.Forms.ComboBox();
this.progressBar1 = new System.Windows.Forms.ProgressBar();
this.num = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.num = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.isbn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.isbn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.book_name = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.book_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -61,6 +51,16 @@
this.category = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.category = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.sold_out = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.sold_out = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.api_data = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.api_data = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.btn_lookup = new System.Windows.Forms.Button();
this.cb_filter = new System.Windows.Forms.ComboBox();
this.label1 = new System.Windows.Forms.Label();
this.tb_list_name = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.btn_Save = new System.Windows.Forms.Button();
this.btn_Close = new System.Windows.Forms.Button();
this.label3 = new System.Windows.Forms.Label();
this.cb_api = new System.Windows.Forms.ComboBox();
this.progressBar1 = new System.Windows.Forms.ProgressBar();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
this.SuspendLayout(); this.SuspendLayout();
// //
@@ -69,13 +69,13 @@
this.dataGridView1.AllowUserToAddRows = false; this.dataGridView1.AllowUserToAddRows = false;
this.dataGridView1.AllowUserToDeleteRows = false; this.dataGridView1.AllowUserToDeleteRows = false;
this.dataGridView1.BackgroundColor = System.Drawing.SystemColors.Control; this.dataGridView1.BackgroundColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control; dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle1.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); dataGridViewCellStyle4.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4;
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.num, this.num,
@@ -100,17 +100,17 @@
this.dataGridView1.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnF2; this.dataGridView1.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnF2;
this.dataGridView1.Location = new System.Drawing.Point(12, 35); this.dataGridView1.Location = new System.Drawing.Point(12, 35);
this.dataGridView1.Name = "dataGridView1"; this.dataGridView1.Name = "dataGridView1";
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control; dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle2.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); dataGridViewCellStyle5.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True; dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle2; this.dataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle5;
this.dataGridView1.RowHeadersWidth = 20; this.dataGridView1.RowHeadersWidth = 20;
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
this.dataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle3; this.dataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle6;
this.dataGridView1.RowTemplate.Height = 23; this.dataGridView1.RowTemplate.Height = 23;
this.dataGridView1.Size = new System.Drawing.Size(1615, 547); this.dataGridView1.Size = new System.Drawing.Size(1615, 547);
this.dataGridView1.TabIndex = 0; this.dataGridView1.TabIndex = 0;
@@ -118,97 +118,6 @@
this.dataGridView1.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellDoubleClick); this.dataGridView1.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellDoubleClick);
this.dataGridView1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dataGridView1_KeyDown); this.dataGridView1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dataGridView1_KeyDown);
// //
// btn_lookup
//
this.btn_lookup.Location = new System.Drawing.Point(709, 7);
this.btn_lookup.Name = "btn_lookup";
this.btn_lookup.Size = new System.Drawing.Size(99, 23);
this.btn_lookup.TabIndex = 1;
this.btn_lookup.Text = "ISBN 자동 조회";
this.btn_lookup.UseVisualStyleBackColor = true;
this.btn_lookup.Click += new System.EventHandler(this.btn_lookup_Click);
//
// cb_filter
//
this.cb_filter.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cb_filter.FormattingEnabled = true;
this.cb_filter.Location = new System.Drawing.Point(516, 8);
this.cb_filter.Name = "cb_filter";
this.cb_filter.Size = new System.Drawing.Size(161, 20);
this.cb_filter.TabIndex = 2;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(16, 12);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(41, 12);
this.label1.TabIndex = 3;
this.label1.Text = "목록명";
//
// tb_list_name
//
this.tb_list_name.Enabled = false;
this.tb_list_name.Location = new System.Drawing.Point(59, 8);
this.tb_list_name.Name = "tb_list_name";
this.tb_list_name.Size = new System.Drawing.Size(199, 21);
this.tb_list_name.TabIndex = 4;
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(457, 12);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(57, 12);
this.label2.TabIndex = 3;
this.label2.Text = "검색 조건";
//
// btn_Save
//
this.btn_Save.Location = new System.Drawing.Point(819, 7);
this.btn_Save.Name = "btn_Save";
this.btn_Save.Size = new System.Drawing.Size(99, 23);
this.btn_Save.TabIndex = 1;
this.btn_Save.Text = "전 체 저 장";
this.btn_Save.UseVisualStyleBackColor = true;
this.btn_Save.Click += new System.EventHandler(this.btn_Save_Click);
//
// btn_Close
//
this.btn_Close.Location = new System.Drawing.Point(929, 7);
this.btn_Close.Name = "btn_Close";
this.btn_Close.Size = new System.Drawing.Size(99, 23);
this.btn_Close.TabIndex = 1;
this.btn_Close.Text = "닫 기";
this.btn_Close.UseVisualStyleBackColor = true;
this.btn_Close.Click += new System.EventHandler(this.btn_Close_Click);
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(278, 12);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(57, 12);
this.label3.TabIndex = 5;
this.label3.Text = "검색 엔진";
//
// cb_api
//
this.cb_api.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cb_api.FormattingEnabled = true;
this.cb_api.Location = new System.Drawing.Point(337, 8);
this.cb_api.Name = "cb_api";
this.cb_api.Size = new System.Drawing.Size(93, 20);
this.cb_api.TabIndex = 6;
this.cb_api.SelectedIndexChanged += new System.EventHandler(this.cb_api_SelectedIndexChanged);
//
// progressBar1
//
this.progressBar1.Location = new System.Drawing.Point(1060, 7);
this.progressBar1.Name = "progressBar1";
this.progressBar1.Size = new System.Drawing.Size(219, 23);
this.progressBar1.TabIndex = 7;
//
// num // num
// //
this.num.HeaderText = "번호"; this.num.HeaderText = "번호";
@@ -312,6 +221,97 @@
this.api_data.Name = "api_data"; this.api_data.Name = "api_data";
this.api_data.Visible = false; this.api_data.Visible = false;
// //
// btn_lookup
//
this.btn_lookup.Location = new System.Drawing.Point(709, 7);
this.btn_lookup.Name = "btn_lookup";
this.btn_lookup.Size = new System.Drawing.Size(99, 23);
this.btn_lookup.TabIndex = 1;
this.btn_lookup.Text = "ISBN 자동 조회";
this.btn_lookup.UseVisualStyleBackColor = true;
this.btn_lookup.Click += new System.EventHandler(this.btn_lookup_Click);
//
// cb_filter
//
this.cb_filter.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cb_filter.FormattingEnabled = true;
this.cb_filter.Location = new System.Drawing.Point(516, 8);
this.cb_filter.Name = "cb_filter";
this.cb_filter.Size = new System.Drawing.Size(161, 20);
this.cb_filter.TabIndex = 2;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(16, 12);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(41, 12);
this.label1.TabIndex = 3;
this.label1.Text = "목록명";
//
// tb_list_name
//
this.tb_list_name.Enabled = false;
this.tb_list_name.Location = new System.Drawing.Point(59, 8);
this.tb_list_name.Name = "tb_list_name";
this.tb_list_name.Size = new System.Drawing.Size(199, 21);
this.tb_list_name.TabIndex = 4;
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(457, 12);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(57, 12);
this.label2.TabIndex = 3;
this.label2.Text = "검색 조건";
//
// btn_Save
//
this.btn_Save.Location = new System.Drawing.Point(819, 7);
this.btn_Save.Name = "btn_Save";
this.btn_Save.Size = new System.Drawing.Size(99, 23);
this.btn_Save.TabIndex = 1;
this.btn_Save.Text = "전 체 저 장";
this.btn_Save.UseVisualStyleBackColor = true;
this.btn_Save.Click += new System.EventHandler(this.btn_Save_Click);
//
// btn_Close
//
this.btn_Close.Location = new System.Drawing.Point(929, 7);
this.btn_Close.Name = "btn_Close";
this.btn_Close.Size = new System.Drawing.Size(99, 23);
this.btn_Close.TabIndex = 1;
this.btn_Close.Text = "닫 기";
this.btn_Close.UseVisualStyleBackColor = true;
this.btn_Close.Click += new System.EventHandler(this.btn_Close_Click);
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(278, 12);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(57, 12);
this.label3.TabIndex = 5;
this.label3.Text = "검색 엔진";
//
// cb_api
//
this.cb_api.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cb_api.FormattingEnabled = true;
this.cb_api.Location = new System.Drawing.Point(337, 8);
this.cb_api.Name = "cb_api";
this.cb_api.Size = new System.Drawing.Size(93, 20);
this.cb_api.TabIndex = 6;
this.cb_api.SelectedIndexChanged += new System.EventHandler(this.cb_api_SelectedIndexChanged);
//
// progressBar1
//
this.progressBar1.Location = new System.Drawing.Point(1060, 7);
this.progressBar1.Name = "progressBar1";
this.progressBar1.Size = new System.Drawing.Size(219, 23);
this.progressBar1.TabIndex = 7;
//
// Check_ISBN // Check_ISBN
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
@@ -329,7 +329,7 @@
this.Controls.Add(this.btn_lookup); this.Controls.Add(this.btn_lookup);
this.Controls.Add(this.dataGridView1); this.Controls.Add(this.dataGridView1);
this.Name = "Check_ISBN"; this.Name = "Check_ISBN";
this.Text = "Check_ISBN"; this.Text = "ISBN 조회";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Check_ISBN_FormClosing); this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Check_ISBN_FormClosing);
this.Load += new System.EventHandler(this.Check_ISBN_Load); this.Load += new System.EventHandler(this.Check_ISBN_Load);
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();

View File

@@ -29,8 +29,8 @@ namespace WindowsFormsApp1.마크
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
this.btn_Close = new System.Windows.Forms.Button(); this.btn_Close = new System.Windows.Forms.Button();
this.label5 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label();
@@ -149,14 +149,14 @@ namespace WindowsFormsApp1.마크
// //
this.dataGridView1.AllowUserToAddRows = false; this.dataGridView1.AllowUserToAddRows = false;
this.dataGridView1.AllowUserToDeleteRows = false; this.dataGridView1.AllowUserToDeleteRows = false;
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control; dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle1.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); dataGridViewCellStyle3.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True; dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle3;
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.book_name, this.book_name,
this.author, this.author,
@@ -171,14 +171,14 @@ namespace WindowsFormsApp1.마크
this.dataGridView1.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically; this.dataGridView1.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically;
this.dataGridView1.Location = new System.Drawing.Point(0, 51); this.dataGridView1.Location = new System.Drawing.Point(0, 51);
this.dataGridView1.Name = "dataGridView1"; this.dataGridView1.Name = "dataGridView1";
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control; dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle2.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); dataGridViewCellStyle4.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True; dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle2; this.dataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle4;
this.dataGridView1.RowTemplate.Height = 23; this.dataGridView1.RowTemplate.Height = 23;
this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect; this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
this.dataGridView1.Size = new System.Drawing.Size(964, 361); this.dataGridView1.Size = new System.Drawing.Size(964, 361);
@@ -256,7 +256,7 @@ namespace WindowsFormsApp1.마크
this.Controls.Add(this.tb_author); this.Controls.Add(this.tb_author);
this.Controls.Add(this.tb_book_name); this.Controls.Add(this.tb_book_name);
this.Name = "Check_ISBN_Sub"; this.Name = "Check_ISBN_Sub";
this.Text = "Check_ISBN_Sub"; this.Text = "ISBN 상세 조회";
this.Load += new System.EventHandler(this.Check_ISBN_Sub_Load); this.Load += new System.EventHandler(this.Check_ISBN_Sub_Load);
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
this.ResumeLayout(false); this.ResumeLayout(false);