=====* UniMarc [0.0170] 버전 업데이트 내용 *=====
** ERP 작업 전면 중단 (마크우선) ** 1. 마크 정리 ㄴ> 메모장에서 불러온 마크는 매크로, 반출 적용이 되지 않던 버그 수정. 2. 목록 집계 ㄴ> 인덱스 작업중. 3. 목록 조회 ㄴ> 필요없는 코드 재 정비
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -380,8 +380,6 @@ namespace WindowsFormsApp1.Delivery
|
||||
continue;
|
||||
|
||||
dataGridView1.Rows.Add(mkgrid);
|
||||
// if (filter(mkgrid))
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -389,7 +387,7 @@ namespace WindowsFormsApp1.Delivery
|
||||
{
|
||||
string[] ary_where = { "", "", "", "", "", "" };
|
||||
|
||||
ary_where[0] = string.Format("`list_name` IN (SELECT `list_name` FROM `Obj_List` WHERE `state` = \"{0}\")", cb_stat.Text);
|
||||
ary_where[0] = string.Format("`l_idx` IN (SELECT `idx` FROM `Obj_List` WHERE `state` = \"{0}\" AND `comp_num` = \"{1}\")", cb_stat.Text, compidx);
|
||||
if (tb_search.Text != "")
|
||||
{
|
||||
if (cb_search.SelectedIndex == 0) // 도서명
|
||||
@@ -433,65 +431,12 @@ namespace WindowsFormsApp1.Delivery
|
||||
return cmd;
|
||||
}
|
||||
|
||||
private bool filter(string[] array)
|
||||
{
|
||||
/* 주 | 번호 | 도서명 | 저자 | 출판사
|
||||
* 수량 | 단가 | 합계 | 상태 | 비고
|
||||
* 구분 | 주문처 | 입고상태 | 출고상태 */
|
||||
if (tb_search.Text != "")
|
||||
{
|
||||
if (cb_search.SelectedIndex == 0)
|
||||
{
|
||||
if (!array[3].Contains(tb_search.Text))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else if (cb_search.SelectedIndex == 1)
|
||||
{
|
||||
if (!array[5].Contains(tb_search.Text))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (tb_clt.Text != "")
|
||||
{
|
||||
if (!array[12].Contains(tb_clt.Text))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (cb_list_name.SelectedIndex != 0)
|
||||
{
|
||||
if (!array[11].Contains(cb_list_name.Text))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (cb_import.SelectedIndex != 0)
|
||||
{
|
||||
if (array[13] != cb_import.Text)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (cb_export.SelectedIndex != 0)
|
||||
{
|
||||
if (array[14] != cb_export.Text)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
private void res_total()
|
||||
{
|
||||
int itcount = 0;
|
||||
int itpay = 0;
|
||||
int ittotal = 0;
|
||||
for(int a = 0; a < dataGridView1.Rows.Count; a++)
|
||||
for (int a = 0; a < dataGridView1.Rows.Count; a++)
|
||||
{
|
||||
itcount += Convert.ToInt32(dataGridView1.Rows[a].Cells["count"].Value.ToString());
|
||||
itpay += Convert.ToInt32(dataGridView1.Rows[a].Cells["pay"].Value.ToString());
|
||||
|
||||
93
unimarc/unimarc/납품관리/List_aggregation.Designer.cs
generated
93
unimarc/unimarc/납품관리/List_aggregation.Designer.cs
generated
@@ -28,9 +28,9 @@
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(List_aggregation));
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.btn_lookup = new System.Windows.Forms.Button();
|
||||
this.btn_save = new System.Windows.Forms.Button();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
@@ -49,6 +49,7 @@
|
||||
this.combo_year = new System.Windows.Forms.ComboBox();
|
||||
this.btn_close = new System.Windows.Forms.Button();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.date_res_Value = new System.Windows.Forms.DateTimePicker();
|
||||
this.panel3 = new System.Windows.Forms.Panel();
|
||||
this.rtb_etc = new System.Windows.Forms.RichTextBox();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
@@ -80,6 +81,7 @@
|
||||
this.label14 = new System.Windows.Forms.Label();
|
||||
this.label11 = new System.Windows.Forms.Label();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.label17 = new System.Windows.Forms.Label();
|
||||
this.label10 = new System.Windows.Forms.Label();
|
||||
this.btn_apply = new System.Windows.Forms.Button();
|
||||
this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog();
|
||||
@@ -89,6 +91,7 @@
|
||||
this.lbl_total = new System.Windows.Forms.Label();
|
||||
this.lbl_count = new System.Windows.Forms.Label();
|
||||
this.label16 = new System.Windows.Forms.Label();
|
||||
this.idx = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.list_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.list_date = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.date_res = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
@@ -107,8 +110,6 @@
|
||||
this.chk_label = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.clt = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Chk_Column = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||
this.label17 = new System.Windows.Forms.Label();
|
||||
this.date_res_Value = new System.Windows.Forms.DateTimePicker();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
||||
this.panel1.SuspendLayout();
|
||||
this.panel3.SuspendLayout();
|
||||
@@ -195,15 +196,16 @@
|
||||
this.dataGridView1.AllowUserToAddRows = false;
|
||||
this.dataGridView1.AllowUserToDeleteRows = false;
|
||||
this.dataGridView1.BackgroundColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle5.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle5;
|
||||
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle1.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
|
||||
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.idx,
|
||||
this.list_name,
|
||||
this.list_date,
|
||||
this.date_res,
|
||||
@@ -252,7 +254,7 @@
|
||||
//
|
||||
// btn_process
|
||||
//
|
||||
this.btn_process.Location = new System.Drawing.Point(306, 5);
|
||||
this.btn_process.Location = new System.Drawing.Point(306, 6);
|
||||
this.btn_process.Name = "btn_process";
|
||||
this.btn_process.Size = new System.Drawing.Size(65, 23);
|
||||
this.btn_process.TabIndex = 4;
|
||||
@@ -262,7 +264,7 @@
|
||||
//
|
||||
// btn_ISBN
|
||||
//
|
||||
this.btn_ISBN.Location = new System.Drawing.Point(212, 5);
|
||||
this.btn_ISBN.Location = new System.Drawing.Point(212, 6);
|
||||
this.btn_ISBN.Name = "btn_ISBN";
|
||||
this.btn_ISBN.Size = new System.Drawing.Size(65, 23);
|
||||
this.btn_ISBN.TabIndex = 2;
|
||||
@@ -272,7 +274,7 @@
|
||||
//
|
||||
// btn_checkup
|
||||
//
|
||||
this.btn_checkup.Location = new System.Drawing.Point(118, 5);
|
||||
this.btn_checkup.Location = new System.Drawing.Point(118, 6);
|
||||
this.btn_checkup.Name = "btn_checkup";
|
||||
this.btn_checkup.Size = new System.Drawing.Size(65, 23);
|
||||
this.btn_checkup.TabIndex = 1;
|
||||
@@ -353,6 +355,17 @@
|
||||
this.panel1.Size = new System.Drawing.Size(381, 634);
|
||||
this.panel1.TabIndex = 14;
|
||||
//
|
||||
// date_res_Value
|
||||
//
|
||||
this.date_res_Value.Checked = false;
|
||||
this.date_res_Value.CustomFormat = "yyyy-MM-dd";
|
||||
this.date_res_Value.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
|
||||
this.date_res_Value.Location = new System.Drawing.Point(74, 360);
|
||||
this.date_res_Value.Name = "date_res_Value";
|
||||
this.date_res_Value.ShowCheckBox = true;
|
||||
this.date_res_Value.Size = new System.Drawing.Size(109, 21);
|
||||
this.date_res_Value.TabIndex = 19;
|
||||
//
|
||||
// panel3
|
||||
//
|
||||
this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
@@ -647,6 +660,16 @@
|
||||
this.label4.TabIndex = 16;
|
||||
this.label4.Text = "업체명";
|
||||
//
|
||||
// label17
|
||||
//
|
||||
this.label17.AutoSize = true;
|
||||
this.label17.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.label17.Location = new System.Drawing.Point(10, 365);
|
||||
this.label17.Name = "label17";
|
||||
this.label17.Size = new System.Drawing.Size(59, 13);
|
||||
this.label17.TabIndex = 16;
|
||||
this.label17.Text = "완료일자";
|
||||
//
|
||||
// label10
|
||||
//
|
||||
this.label10.AutoSize = true;
|
||||
@@ -659,7 +682,7 @@
|
||||
//
|
||||
// btn_apply
|
||||
//
|
||||
this.btn_apply.Location = new System.Drawing.Point(24, 5);
|
||||
this.btn_apply.Location = new System.Drawing.Point(24, 6);
|
||||
this.btn_apply.Name = "btn_apply";
|
||||
this.btn_apply.Size = new System.Drawing.Size(65, 23);
|
||||
this.btn_apply.TabIndex = 0;
|
||||
@@ -722,6 +745,12 @@
|
||||
this.label16.TabIndex = 0;
|
||||
this.label16.Text = "목록 총 합계";
|
||||
//
|
||||
// idx
|
||||
//
|
||||
this.idx.HeaderText = "idx";
|
||||
this.idx.Name = "idx";
|
||||
this.idx.Visible = false;
|
||||
//
|
||||
// list_name
|
||||
//
|
||||
this.list_name.HeaderText = "목록명";
|
||||
@@ -736,9 +765,9 @@
|
||||
//
|
||||
// date_res
|
||||
//
|
||||
dataGridViewCellStyle6.Format = "d";
|
||||
dataGridViewCellStyle6.NullValue = null;
|
||||
this.date_res.DefaultCellStyle = dataGridViewCellStyle6;
|
||||
dataGridViewCellStyle2.Format = "d";
|
||||
dataGridViewCellStyle2.NullValue = null;
|
||||
this.date_res.DefaultCellStyle = dataGridViewCellStyle2;
|
||||
this.date_res.HeaderText = "완료일자";
|
||||
this.date_res.Name = "date_res";
|
||||
this.date_res.Width = 80;
|
||||
@@ -835,27 +864,6 @@
|
||||
this.Chk_Column.Visible = false;
|
||||
this.Chk_Column.Width = 40;
|
||||
//
|
||||
// label17
|
||||
//
|
||||
this.label17.AutoSize = true;
|
||||
this.label17.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.label17.Location = new System.Drawing.Point(10, 365);
|
||||
this.label17.Name = "label17";
|
||||
this.label17.Size = new System.Drawing.Size(59, 13);
|
||||
this.label17.TabIndex = 16;
|
||||
this.label17.Text = "완료일자";
|
||||
//
|
||||
// date_res_Value
|
||||
//
|
||||
this.date_res_Value.Checked = false;
|
||||
this.date_res_Value.CustomFormat = "yyyy-MM-dd";
|
||||
this.date_res_Value.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
|
||||
this.date_res_Value.Location = new System.Drawing.Point(74, 360);
|
||||
this.date_res_Value.Name = "date_res_Value";
|
||||
this.date_res_Value.ShowCheckBox = true;
|
||||
this.date_res_Value.Size = new System.Drawing.Size(109, 21);
|
||||
this.date_res_Value.TabIndex = 19;
|
||||
//
|
||||
// List_aggregation
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
@@ -955,6 +963,9 @@
|
||||
private System.Windows.Forms.Label lbl_total;
|
||||
private System.Windows.Forms.Label lbl_count;
|
||||
private System.Windows.Forms.Label label16;
|
||||
private System.Windows.Forms.Label label17;
|
||||
private System.Windows.Forms.DateTimePicker date_res_Value;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn idx;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn list_name;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn list_date;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn date_res;
|
||||
@@ -973,7 +984,5 @@
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn chk_label;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn clt;
|
||||
private System.Windows.Forms.DataGridViewCheckBoxColumn Chk_Column;
|
||||
private System.Windows.Forms.Label label17;
|
||||
private System.Windows.Forms.DateTimePicker date_res_Value;
|
||||
}
|
||||
}
|
||||
@@ -73,10 +73,10 @@ namespace WindowsFormsApp1.Delivery
|
||||
}
|
||||
public void btn_lookup_Click(object sender, EventArgs e) // 조회
|
||||
{
|
||||
/// 목록명 / 목록일자 / 완료일자 / 담당자 / 작업명
|
||||
/// idx / 목록명 / 목록일자 / 완료일자 / 담당자 / 작업명
|
||||
/// 작업방법 / 배송방법 / 합계금액 / 입고금액 / 수량
|
||||
/// 입고 / 미입고 / 목록번호 / 마크여부
|
||||
string searchdb = "`list_name`, `date`, `date_res`, `charge`, `work_name`, " +
|
||||
/// 입고 / 미입고 / 목록번호 / 마크여부 / 거래처명
|
||||
string searchdb = "`idx`, `list_name`, `date`, `date_res`, `charge`, `work_name`, " +
|
||||
"`work_way`, `send_way`, `total`, `stock_money`, `vol`, " +
|
||||
"`stock`, `unstock`, `list_num`, `chk_marc`, `clt`";
|
||||
|
||||
@@ -128,27 +128,25 @@ namespace WindowsFormsApp1.Delivery
|
||||
"", "", "", "", "",
|
||||
"", "", "", "", "",
|
||||
"", "", "", "", "",
|
||||
"", "" };
|
||||
int count = 15;
|
||||
"", "", "" };
|
||||
int count = 16;
|
||||
for (int a = 0; a < db_data.Length; a++)
|
||||
{
|
||||
if (a % count == 0) { grid[0] = db_data[a]; }
|
||||
if (a % count == 1)
|
||||
if (a % count == 1) { grid[1] = db_data[a]; }
|
||||
if (a % count == 2)
|
||||
{
|
||||
if (db_data[a].Length < 3)
|
||||
{
|
||||
grid[1] = db_data[a];
|
||||
}
|
||||
else { grid[1] = db_data[a].Substring(0, 10); }
|
||||
grid[1] = db_data[a];
|
||||
}
|
||||
if (a % count == 2) {
|
||||
if (db_data[a].Length < 3) {
|
||||
grid[2] = db_data[a];
|
||||
}
|
||||
else { grid[2] = db_data[a].Substring(0, 10); }
|
||||
}
|
||||
if (a % count == 3) { grid[3] = db_data[a]; }
|
||||
if (a % count == 3) {
|
||||
if (db_data[a].Length < 3) {
|
||||
grid[3] = db_data[a];
|
||||
}
|
||||
else { grid[3] = db_data[a].Substring(0, 10); }
|
||||
}
|
||||
if (a % count == 4) { grid[4] = db_data[a]; }
|
||||
if (a % count == 5) { grid[5] = db_data[a]; }
|
||||
if (a % count == 6) { grid[6] = db_data[a]; }
|
||||
@@ -157,10 +155,12 @@ namespace WindowsFormsApp1.Delivery
|
||||
if (a % count == 9) { grid[9] = db_data[a]; }
|
||||
if (a % count == 10) { grid[10] = db_data[a]; }
|
||||
if (a % count == 11) { grid[11] = db_data[a]; }
|
||||
if (a % count == 12) { grid[14] = db_data[a]; }
|
||||
if (a % count == 12) { grid[12] = db_data[a]; }
|
||||
|
||||
if (a % count == 13) { grid[15] = db_data[a]; }
|
||||
if (a % count == 14) {
|
||||
grid[16] = db_data[a];
|
||||
if (a % count == 14) { grid[16] = db_data[a]; }
|
||||
if (a % count == 15) {
|
||||
grid[17] = db_data[a];
|
||||
if (Grid_filter(grid))
|
||||
{
|
||||
dataGridView1.Rows.Add(grid);
|
||||
@@ -225,26 +225,24 @@ namespace WindowsFormsApp1.Delivery
|
||||
{
|
||||
string table = "Obj_List";
|
||||
string[] Edit_col = { "work_name", "work_way", "send_way", "date_res" };
|
||||
string[] Search_col = { "list_name", "date" };
|
||||
string edit1, edit2, edit3, edit4;
|
||||
string[] Search_col = { "idx" };
|
||||
string[] Edit_Data = { "", "", "", "" };
|
||||
for (int a = 0; a < dataGridView1.Rows.Count; a++)
|
||||
{
|
||||
if(dataGridView1.Rows[a].Cells["work_name"].Value.ToString() == null) { edit1 = ""; }
|
||||
else { edit1 = dataGridView1.Rows[a].Cells["work_name"].Value.ToString(); }
|
||||
if (dataGridView1.Rows[a].Cells["work_name"].Value.ToString() == null) { Edit_Data[0] = ""; }
|
||||
else { Edit_Data[0] = dataGridView1.Rows[a].Cells["work_name"].Value.ToString(); }
|
||||
|
||||
if(dataGridView1.Rows[a].Cells["work_way"].Value.ToString() == null) { edit2 = ""; }
|
||||
else { edit2 = dataGridView1.Rows[a].Cells["work_way"].Value.ToString(); }
|
||||
if (dataGridView1.Rows[a].Cells["work_way"].Value.ToString() == null) { Edit_Data[1] = ""; }
|
||||
else { Edit_Data[1] = dataGridView1.Rows[a].Cells["work_way"].Value.ToString(); }
|
||||
|
||||
if(dataGridView1.Rows[a].Cells["send_way"].Value.ToString() == null) { edit3 = ""; }
|
||||
else { edit3 = dataGridView1.Rows[a].Cells["send_way"].Value.ToString(); }
|
||||
if (dataGridView1.Rows[a].Cells["send_way"].Value.ToString() == null) { Edit_Data[2] = ""; }
|
||||
else { Edit_Data[2] = dataGridView1.Rows[a].Cells["send_way"].Value.ToString(); }
|
||||
|
||||
if(dataGridView1.Rows[a].Cells["date_res"].Value.ToString() == null) { edit4 = ""; }
|
||||
else { edit4 = dataGridView1.Rows[a].Cells["date_res"].Value.ToString(); }
|
||||
if (dataGridView1.Rows[a].Cells["date_res"].Value.ToString() == null) { Edit_Data[3] = ""; }
|
||||
else { Edit_Data[3] = dataGridView1.Rows[a].Cells["date_res"].Value.ToString(); }
|
||||
|
||||
string[] Edit_Data = { edit1, edit2, edit3, edit4 };
|
||||
string[] Search_Data = {
|
||||
dataGridView1.Rows[a].Cells["list_name"].Value.ToString(),
|
||||
dataGridView1.Rows[a].Cells["list_date"].Value.ToString()
|
||||
dataGridView1.Rows[a].Cells["idx"].Value.ToString()
|
||||
};
|
||||
string U_cmd = db.More_Update(table, Edit_col, Edit_Data, Search_col, Search_Data);
|
||||
db.DB_Send_CMD_reVoid(U_cmd);
|
||||
@@ -263,11 +261,10 @@ namespace WindowsFormsApp1.Delivery
|
||||
|
||||
string[] Edit_col = { "state" };
|
||||
string[] Edit_data = { "완료" };
|
||||
string[] Search_col = { "compidx", "list_name", "date" };
|
||||
string[] Search_col = { "compidx", "idx" };
|
||||
string[] Search_data = {
|
||||
compidx,
|
||||
dataGridView1.Rows[row].Cells["list_name"].Value.ToString(),
|
||||
dataGridView1.Rows[row].Cells["list_date"].Value.ToString()
|
||||
dataGridView1.Rows[row].Cells["idx"].Value.ToString()
|
||||
};
|
||||
|
||||
string Area = "`isbn`, `isbn_import`, `book_name`, `author`, `book_comp`, `price`, `input_count`, `persent`";
|
||||
@@ -444,7 +441,6 @@ namespace WindowsFormsApp1.Delivery
|
||||
|
||||
if (temp % 40 == 0)
|
||||
{
|
||||
MessageBox.Show("40으로 나눠졌다.");
|
||||
e.HasMorePages = true;
|
||||
pageNo++;
|
||||
return;
|
||||
@@ -474,10 +470,6 @@ namespace WindowsFormsApp1.Delivery
|
||||
isbn.DataLoad();
|
||||
isbn.Show();
|
||||
}
|
||||
private void btn_date_Click(object sender, EventArgs e) // 일정
|
||||
{
|
||||
// TODO: 별도의 일정폼이 만들어져야함.
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
@@ -500,11 +492,11 @@ namespace WindowsFormsApp1.Delivery
|
||||
}
|
||||
private void combo_state_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
if(combo_state.Text == "진행")
|
||||
if (combo_state.Text == "진행")
|
||||
{
|
||||
combo_year.Visible = false;
|
||||
}
|
||||
else if(combo_state.Text == "완료")
|
||||
else if (combo_state.Text == "완료")
|
||||
{
|
||||
combo_year.Visible = true;
|
||||
}
|
||||
@@ -521,7 +513,7 @@ namespace WindowsFormsApp1.Delivery
|
||||
skill.DataGrid_to_Delete(sender, e);
|
||||
}
|
||||
|
||||
// gird 선택시 우측란에 해당 정보로 초기화 및 최신화
|
||||
// grid 선택시 우측란에 해당 정보로 초기화 및 최신화
|
||||
if(e.KeyCode == Keys.Up || e.KeyCode == Keys.Down)
|
||||
{
|
||||
int row = dataGridView1.CurrentRow.Index;
|
||||
|
||||
@@ -117,6 +117,9 @@
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="idx.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="list_name.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
|
||||
10
unimarc/unimarc/마크/Check_ISBN.Designer.cs
generated
10
unimarc/unimarc/마크/Check_ISBN.Designer.cs
generated
@@ -128,7 +128,7 @@
|
||||
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.dataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle3;
|
||||
this.dataGridView1.RowTemplate.Height = 23;
|
||||
this.dataGridView1.Size = new System.Drawing.Size(1632, 594);
|
||||
this.dataGridView1.Size = new System.Drawing.Size(1630, 591);
|
||||
this.dataGridView1.TabIndex = 0;
|
||||
this.dataGridView1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellClick);
|
||||
this.dataGridView1.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellDoubleClick);
|
||||
@@ -347,6 +347,7 @@
|
||||
//
|
||||
// richTextBox1
|
||||
//
|
||||
this.richTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.richTextBox1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.richTextBox1.Location = new System.Drawing.Point(0, 0);
|
||||
this.richTextBox1.Name = "richTextBox1";
|
||||
@@ -395,7 +396,7 @@
|
||||
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(1632, 30);
|
||||
this.panel1.Size = new System.Drawing.Size(1632, 31);
|
||||
this.panel1.TabIndex = 10;
|
||||
//
|
||||
// btn_ComparePrice
|
||||
@@ -419,11 +420,12 @@
|
||||
//
|
||||
// panel3
|
||||
//
|
||||
this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.panel3.Controls.Add(this.dataGridView1);
|
||||
this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel3.Location = new System.Drawing.Point(0, 30);
|
||||
this.panel3.Location = new System.Drawing.Point(0, 31);
|
||||
this.panel3.Name = "panel3";
|
||||
this.panel3.Size = new System.Drawing.Size(1632, 594);
|
||||
this.panel3.Size = new System.Drawing.Size(1632, 593);
|
||||
this.panel3.TabIndex = 12;
|
||||
//
|
||||
// Check_ISBN
|
||||
|
||||
@@ -57,12 +57,15 @@ namespace UniMarc.마크
|
||||
switch (cb_SearchFilter.SelectedIndex)
|
||||
{
|
||||
case 0:
|
||||
search_Col = "서명";
|
||||
search_Col = "ISBN";
|
||||
break;
|
||||
case 1:
|
||||
search_Col = "저자";
|
||||
search_Col = "서명";
|
||||
break;
|
||||
case 2:
|
||||
search_Col = "저자";
|
||||
break;
|
||||
case 3:
|
||||
search_Col = "출판사";
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -142,8 +142,6 @@ namespace WindowsFormsApp1.Mac
|
||||
string TypeView = ConvertMarcType(Grid[19]);
|
||||
Grid[19] = st.made_Ori_marc(AddTagInMarc(AddTag, TypeView));
|
||||
|
||||
|
||||
|
||||
dataGridView1.Rows.Add(Grid);
|
||||
}
|
||||
}
|
||||
@@ -189,7 +187,10 @@ namespace WindowsFormsApp1.Mac
|
||||
private void checkBox1_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
foreach (DataGridViewRow r in dataGridView1.Rows) {
|
||||
r.Cells["colCheck"].Value = ((CheckBox)sender).Checked;
|
||||
if (((CheckBox)sender).Checked)
|
||||
r.Cells["colCheck"].Value = "T";
|
||||
else
|
||||
r.Cells["colCheck"].Value = "F";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -288,7 +288,7 @@ namespace UniMarc.마크
|
||||
// 저자, 출판사, 정가, midx, 마크
|
||||
author_Fin, Search_Res[12], Search_Res[13], "", grid[a],
|
||||
// 검색태그
|
||||
"" };
|
||||
"", "T" };
|
||||
mp.dataGridView1.Rows.Add(AddGrid);
|
||||
this.Close();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user