닫기버튼 추가
This commit is contained in:
@@ -845,60 +845,7 @@ namespace ExcelTest
|
|||||||
cb_grade.SelectedIndex = grade;
|
cb_grade.SelectedIndex = grade;
|
||||||
OnSaveData(row_idx);
|
OnSaveData(row_idx);
|
||||||
}
|
}
|
||||||
//private void List_Book_CellClick(object sender, DataGridViewCellEventArgs e)
|
|
||||||
//{
|
|
||||||
// //if (e.RowIndex == -1) { return; }
|
|
||||||
// //int row_idx = e.RowIndex;
|
|
||||||
// //SaveRowIdx = row_idx;
|
|
||||||
// //int col_idx = e.ColumnIndex;
|
|
||||||
|
|
||||||
// //string isbn = List_Book.Rows[row_idx].Cells["ISBN13"].Value.ToString();
|
|
||||||
// //if (isbn != "") {
|
|
||||||
// // string CountQuery = string.Format("SELECT Count(isbn) FROM Marc WHERE isbn = {0} GROUP BY isbn;", isbn);
|
|
||||||
// // string CountResult = db.self_Made_Cmd(CountQuery).Replace("|", "");
|
|
||||||
|
|
||||||
// // if (CountResult == "")
|
|
||||||
// // btn_CopySelect.Text = "0";
|
|
||||||
|
|
||||||
// // if (CountResult == "0") {
|
|
||||||
// // btn_CopySelect.Enabled = false;
|
|
||||||
// // btn_CopySelect.BackColor = Color.Silver;
|
|
||||||
// // }
|
|
||||||
// // else {
|
|
||||||
// // btn_CopySelect.Enabled = true;
|
|
||||||
// // btn_CopySelect.BackColor = Color.Khaki;
|
|
||||||
// // }
|
|
||||||
|
|
||||||
// // btn_CopySelect.Text = CountResult;
|
|
||||||
// //}
|
|
||||||
|
|
||||||
// //tabControl1.SelectedIndex = 0;
|
|
||||||
|
|
||||||
// //if (check_V(row_idx, col_idx))
|
|
||||||
// // return;
|
|
||||||
|
|
||||||
// //Save_data(row_idx);
|
|
||||||
// //richTextBox1.Text = "";
|
|
||||||
|
|
||||||
// //bool check_Marc = click_Marc(row_idx);
|
|
||||||
|
|
||||||
// //if (!check_Marc)
|
|
||||||
// // richTextBox1.Text = Make_Empty();
|
|
||||||
// //else
|
|
||||||
// // ReadRemark(row_idx);
|
|
||||||
|
|
||||||
// //input_picture(row_idx);
|
|
||||||
// //Create_008();
|
|
||||||
// //st.Color_change("▼", richTextBox1);
|
|
||||||
// //st.Color_change("▲", richTextBox1);
|
|
||||||
|
|
||||||
// //int grade = 2;
|
|
||||||
// //if (List_Book.Rows[row_idx].Cells["grade"].Value != null || List_Book.Rows[row_idx].Cells["grade"].Value.ToString() != "") {
|
|
||||||
// // grade = Convert.ToInt32(List_Book.Rows[row_idx].Cells["grade"].Value.ToString());
|
|
||||||
// //}
|
|
||||||
// //cb_grade.SelectedIndex = grade;
|
|
||||||
// //OnSaveData(row_idx);
|
|
||||||
//}
|
|
||||||
#region CellClick_Sub
|
#region CellClick_Sub
|
||||||
|
|
||||||
void OnSaveData(int row)
|
void OnSaveData(int row)
|
||||||
@@ -3694,5 +3641,10 @@ namespace ExcelTest
|
|||||||
newRow.Selected = true;
|
newRow.Selected = true;
|
||||||
List_Book.FirstDisplayedScrollingRowIndex = nRow;
|
List_Book.FirstDisplayedScrollingRowIndex = nRow;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void button1_Click_1(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
this.Close();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
1093
unimarc/unimarc/마크/Marc.designer.cs
generated
1093
unimarc/unimarc/마크/Marc.designer.cs
generated
File diff suppressed because it is too large
Load Diff
@@ -298,4 +298,7 @@
|
|||||||
<metadata name="text490v.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="text490v.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>True</value>
|
<value>True</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
|
<metadata name="statusStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>17, 17</value>
|
||||||
|
</metadata>
|
||||||
</root>
|
</root>
|
||||||
@@ -325,61 +325,6 @@ namespace ExcelTest
|
|||||||
|
|
||||||
marcEditorControl1.LoadBookData(isbn13, bookName, author, publisher, price, url, marcIdx, dbMarc, grade, user, saveDate, listIdx);
|
marcEditorControl1.LoadBookData(isbn13, bookName, author, publisher, price, url, marcIdx, dbMarc, grade, user, saveDate, listIdx);
|
||||||
}
|
}
|
||||||
//private void List_Book_CellClick(object sender, DataGridViewCellEventArgs e)
|
|
||||||
//{
|
|
||||||
// //if (e.RowIndex == -1) { return; }
|
|
||||||
// //int row_idx = e.RowIndex;
|
|
||||||
// //SaveRowIdx = row_idx;
|
|
||||||
// //int col_idx = e.ColumnIndex;
|
|
||||||
|
|
||||||
// //string isbn = List_Book.Rows[row_idx].Cells["ISBN13"].Value.ToString();
|
|
||||||
// //if (isbn != "") {
|
|
||||||
// // string CountQuery = string.Format("SELECT Count(isbn) FROM Marc WHERE isbn = {0} GROUP BY isbn;", isbn);
|
|
||||||
// // string CountResult = db.self_Made_Cmd(CountQuery).Replace("|", "");
|
|
||||||
|
|
||||||
// // if (CountResult == "")
|
|
||||||
// // btn_CopySelect.Text = "0";
|
|
||||||
|
|
||||||
// // if (CountResult == "0") {
|
|
||||||
// // btn_CopySelect.Enabled = false;
|
|
||||||
// // btn_CopySelect.BackColor = Color.Silver;
|
|
||||||
// // }
|
|
||||||
// // else {
|
|
||||||
// // btn_CopySelect.Enabled = true;
|
|
||||||
// // btn_CopySelect.BackColor = Color.Khaki;
|
|
||||||
// // }
|
|
||||||
|
|
||||||
// // btn_CopySelect.Text = CountResult;
|
|
||||||
// //}
|
|
||||||
|
|
||||||
// //tabControl1.SelectedIndex = 0;
|
|
||||||
|
|
||||||
// //if (check_V(row_idx, col_idx))
|
|
||||||
// // return;
|
|
||||||
|
|
||||||
// //Save_data(row_idx);
|
|
||||||
// //richTextBox1.Text = "";
|
|
||||||
|
|
||||||
// //bool check_Marc = click_Marc(row_idx);
|
|
||||||
|
|
||||||
// //if (!check_Marc)
|
|
||||||
// // richTextBox1.Text = Make_Empty();
|
|
||||||
// //else
|
|
||||||
// // ReadRemark(row_idx);
|
|
||||||
|
|
||||||
// //input_picture(row_idx);
|
|
||||||
// //Create_008();
|
|
||||||
// //st.Color_change("▼", richTextBox1);
|
|
||||||
// //st.Color_change("▲", richTextBox1);
|
|
||||||
|
|
||||||
// //int grade = 2;
|
|
||||||
// //if (List_Book.Rows[row_idx].Cells["grade"].Value != null || List_Book.Rows[row_idx].Cells["grade"].Value.ToString() != "") {
|
|
||||||
// // grade = Convert.ToInt32(List_Book.Rows[row_idx].Cells["grade"].Value.ToString());
|
|
||||||
// //}
|
|
||||||
// //cb_grade.SelectedIndex = grade;
|
|
||||||
// //OnSaveData(row_idx);
|
|
||||||
//}
|
|
||||||
|
|
||||||
|
|
||||||
bool check_V(int row, int col)
|
bool check_V(int row, int col)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user