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

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

=====* unimarc *=====
- 목록등록 -
머리글에 맞춰 숫자 입력기능 추가

- 목록집계 -
거래처명 엔터시 검색 추가
추가정보 표출창에 거래처 정보가 출력됨

- 송금내역 -
엑셀 반출작업 완료

- 입고작업 -
gird3 isbn찍으면 책검색이 되어 자동으로 해당 isbn 책이 출력됨
This commit is contained in:
SeungHo Yang
2021-07-15 17:04:34 +09:00
parent a93843bf5f
commit 6d1c7d8fe3
57 changed files with 1123 additions and 1026 deletions

View File

@@ -10,6 +10,7 @@ using System.Windows.Forms;
using Excel = Microsoft.Office.Interop.Excel;
using WindowsFormsApp1;
using System.Reflection;
using System.Text.RegularExpressions;
namespace ISBN_Check_test
{
@@ -116,14 +117,16 @@ namespace ISBN_Check_test
private void btn_change_Click(object sender, EventArgs e)
{
string[,] grid = new string[dataGridView1.Rows.Count, 5];
string[,] grid = new string[dataGridView1.Rows.Count, 6];
for (int a = 0; a < dataGridView1.Rows.Count; a++)
{
string price = dataGridView1.Rows[a].Cells["price"].Value.ToString();
int count = a + 1;
grid[a, 0] = count.ToString();
grid[a, 1] = dataGridView1.Rows[a].Cells["after_book_name"].Value.ToString();
grid[a, 3] = dataGridView1.Rows[a].Cells["after_book_comp"].Value.ToString();
grid[a, 4] = dataGridView1.Rows[a].Cells["price"].Value.ToString();
grid[a, 4] = Regex.Replace(price, @"[^0-9]", "");
grid[a, 5] = "1";
}
Excel_change(grid);
}
@@ -149,10 +152,10 @@ namespace ISBN_Check_test
ws.Columns[5].ColumnWidth = 12.57; // E
#endregion
string[] title = { "번호", "도서명", "ISBN", "출판사", "정가" };
string[] title = { "번호", "도서명", "ISBN", "출판사", "정가", "수량" };
#region
rng = ws.Range["A1", "E1"];
rng = ws.Range["A1", "F1"];
rng.Value2 = title;
rng.HorizontalAlignment = Excel.XlHAlign.xlHAlignCenter;
rng.Font.Bold = true;
@@ -160,7 +163,7 @@ namespace ISBN_Check_test
// 기본 정보 입력칸
int count = dataGridView1.Rows.Count + 1;
rng = ws.Range["A2", "E"+count.ToString()];
rng = ws.Range["A2", "F"+count.ToString()];
rng.Value2 = grid;
rng.HorizontalAlignment = Excel.XlHAlign.xlHAlignCenter;