Compare commits
4 Commits
eee6aeb514
...
ed9afeab80
| Author | SHA1 | Date | |
|---|---|---|---|
| ed9afeab80 | |||
| 0f0f745964 | |||
| d40ffda4fd | |||
| 409317c099 |
@@ -359,6 +359,7 @@
|
||||
<Compile Include="마크\Mac_List_Add.Designer.cs">
|
||||
<DependentUpon>Mac_List_Add.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="마크\MarcBookItem.cs" />
|
||||
<Compile Include="마크\MarcCopySelect.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
@@ -377,6 +378,7 @@
|
||||
<Compile Include="마크\Marc.designer.cs">
|
||||
<DependentUpon>Marc.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="마크\MarcPlanItem.cs" />
|
||||
<Compile Include="마크\Marc_FillBlank.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
<ErrorReportUrlHistory />
|
||||
<FallbackCulture>ko-KR</FallbackCulture>
|
||||
<VerifyUploadedFiles>false</VerifyUploadedFiles>
|
||||
<ProjectView>ProjectFiles</ProjectView>
|
||||
<ProjectView>ShowAllFiles</ProjectView>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<EnableSecurityDebugging>false</EnableSecurityDebugging>
|
||||
|
||||
@@ -1,25 +1,25 @@
|
||||
//using Microsoft.Office.Interop.Excel;
|
||||
namespace ExcelTest
|
||||
{
|
||||
|
||||
public class MacEditorParameter
|
||||
{
|
||||
public string ISBN13 { get; set; }
|
||||
public string URL { get; set; }
|
||||
public string MarcIdx { get; set; }
|
||||
public string Grade { get; set; }
|
||||
public string User { get; set; }
|
||||
public string SaveDate { get; set; }
|
||||
public string ListIdx { get; set; }
|
||||
|
||||
public string BookName { get; set; }
|
||||
public string Author { get; set; }
|
||||
public string Publisher { get; set; }
|
||||
public string Price { get; set; }
|
||||
public class MacEditorParameter
|
||||
{
|
||||
public string ISBN13 { get; set; }
|
||||
public string URL { get; set; }
|
||||
public string MarcIdx { get; set; }
|
||||
public string Grade { get; set; }
|
||||
public string User { get; set; }
|
||||
public string SaveDate { get; set; }
|
||||
public string ListIdx { get; set; }
|
||||
|
||||
public string BookName { get; set; }
|
||||
public string Author { get; set; }
|
||||
public string Publisher { get; set; }
|
||||
public string Price { get; set; }
|
||||
|
||||
public string Remark1 { get; set; }
|
||||
public string Remark2 { get; set; }
|
||||
public string Remark2 { get; set; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@@ -1569,7 +1569,7 @@ namespace ExcelTest
|
||||
return;
|
||||
}
|
||||
|
||||
UniMarc.Marc_FillBlank fb = new UniMarc.Marc_FillBlank(this);
|
||||
UniMarc.Marc_FillBlank fb = new UniMarc.Marc_FillBlank();
|
||||
for (int a = 0; a < List_Book.Rows.Count; a++)
|
||||
{
|
||||
if (List_Book.Rows[a].DefaultCellStyle.ForeColor == Color.Red)
|
||||
@@ -1588,7 +1588,40 @@ namespace ExcelTest
|
||||
}
|
||||
}
|
||||
fb.ISBN = ISBN;
|
||||
fb.Show();
|
||||
if (fb.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
String_Text st = new String_Text();
|
||||
if (fb.BulkMarcResults.Count > 0)
|
||||
{
|
||||
foreach (var kvp in fb.BulkMarcResults)
|
||||
{
|
||||
int targetListIdx = kvp.Key;
|
||||
foreach (DataGridViewRow r in List_Book.Rows)
|
||||
{
|
||||
// In legacy Marc.cs, finding row by index logic might be similar?
|
||||
// Marc_FillBlank used 'idx' from 'List_idx' column in legacy logic too?
|
||||
// Legacy code: int idx = Convert.ToInt32(dataGridView1.Rows[a].Cells["List_idx"].Value.ToString());
|
||||
// And then: this.marc.List_Book.Rows[idx].Cells["db_marc"].Value = ...
|
||||
// Wait, legacy used `Rows[idx]`. This implies `idx` IS the row index in List_Book?
|
||||
// Let's assume it matches if we use the same index logic.
|
||||
// In my refactor, I passed 'a' as first element of GridData if 'List_idx' col missing?
|
||||
// In Marc.cs line 1579: `a.ToString()` is passed as first element.
|
||||
// So `idx` in `BulkMarcResults` IS `a` (the row index).
|
||||
// So we can directly access `List_Book.Rows[targetListIdx]`.
|
||||
|
||||
if (targetListIdx >= 0 && targetListIdx < List_Book.Rows.Count)
|
||||
{
|
||||
List_Book.Rows[targetListIdx].Cells["db_marc"].Value = kvp.Value;
|
||||
List_Book.Rows[targetListIdx].DefaultCellStyle.ForeColor = Color.Blue;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (!string.IsNullOrEmpty(fb.SingleMarcResult))
|
||||
{
|
||||
richTextBox1.Text = fb.SingleMarcResult;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void tabControl1_SelectedIndexChanged(object sender, EventArgs e)
|
||||
|
||||
@@ -66,27 +66,12 @@ namespace ExcelTest
|
||||
|
||||
private void MarcEditorControl1_NextButton(object sender, EventArgs e)
|
||||
{
|
||||
int row_idx = List_Book.CurrentCell.RowIndex;
|
||||
int col_idx = List_Book.CurrentCell.ColumnIndex;
|
||||
if (row_idx == -1 || col_idx == -1) { return; }
|
||||
|
||||
//다음데이터가 존재한다
|
||||
if(row_idx < List_Book.RowCount-1)
|
||||
{
|
||||
List_Book.CurrentCell = List_Book.Rows[row_idx + 1].Cells[col_idx];
|
||||
}
|
||||
bs1.MoveNext();
|
||||
}
|
||||
|
||||
private void MarcEditorControl1_PrevButton(object sender, EventArgs e)
|
||||
{
|
||||
int row_idx = List_Book.CurrentCell.RowIndex;
|
||||
int col_idx = List_Book.CurrentCell.ColumnIndex;
|
||||
if (row_idx == -1 || col_idx == -1) { return; }
|
||||
|
||||
if (row_idx > 0)
|
||||
{
|
||||
List_Book.CurrentCell = List_Book.Rows[row_idx - 1].Cells[col_idx];
|
||||
}
|
||||
bs1.MovePrevious();
|
||||
}
|
||||
|
||||
public Marc2(Mac_List _ml)
|
||||
@@ -110,6 +95,7 @@ namespace ExcelTest
|
||||
comboBox8.Items.AddRange(combo8);
|
||||
|
||||
comboBox8.SelectedIndex = 0;
|
||||
List_Book.RowPrePaint += List_Book_RowPrePaint;
|
||||
}
|
||||
|
||||
public void input_list()
|
||||
@@ -127,14 +113,7 @@ namespace ExcelTest
|
||||
string res = db.DB_Send_CMD_Search(cmd);
|
||||
|
||||
string[] ary = res.Split('|');
|
||||
if (res.Length < 1)
|
||||
{
|
||||
//etc1.Text = res;
|
||||
//etc2.Text = "";
|
||||
return (res, "");
|
||||
}
|
||||
//etc1.Text = ary[0];
|
||||
//etc2.Text = ary[1];
|
||||
if (res.Length < 1) return (res, "");
|
||||
return (ary[0], ary[1]);
|
||||
}
|
||||
|
||||
@@ -153,7 +132,7 @@ namespace ExcelTest
|
||||
p_name = custname;
|
||||
|
||||
db.DBcon();
|
||||
this.List_Book.Rows.Clear();
|
||||
//this.List_Book.Rows.Clear();
|
||||
if (value.isEmpty() == false)
|
||||
{
|
||||
if (value.IndexOf("]") != -1)
|
||||
@@ -184,39 +163,29 @@ namespace ExcelTest
|
||||
"", "", "", "", "",
|
||||
"", "", "V", "", "" };
|
||||
|
||||
|
||||
|
||||
mLoadCompleted = false;
|
||||
List<MarcBookItem> dataList = new List<MarcBookItem>();
|
||||
|
||||
for (int a = 0; a < db_data.Length - 1; a += 11)
|
||||
{
|
||||
MarcBookItem item = new MarcBookItem();
|
||||
item.ListIdx = db_data[a]; // 0: idx
|
||||
item.ISBN13 = db_data[a + 1]; // 1: isbn
|
||||
item.Num= db_data[a + 2] + db_data[a + 3]; // 2: header + num
|
||||
item.BookName = db_data[a + 4]; // 3: book_num
|
||||
item.Author = db_data[a + 5]; // 4: author
|
||||
item.BookComp = db_data[a + 6]; // 5: book_comp
|
||||
item.Count = db_data[a + 7]; // 6: count
|
||||
item.Pay = db_data[a + 8]; // 7: pay
|
||||
item.Url = db_data[a + 9]; // 8: image_url
|
||||
item.MarcIdx = db_data[a + 10]; // 9: m_idx
|
||||
|
||||
grid[0] = db_data[a]; // 0: idx
|
||||
grid[1] = db_data[a + 1]; // 1: isbn
|
||||
grid[2] = db_data[a + 2]; // 2: header
|
||||
grid[2] += db_data[a + 3]; // 2: num
|
||||
grid[3] = db_data[a + 4]; // 3: book_num
|
||||
grid[4] = db_data[a + 5]; // 4: author
|
||||
grid[5] = db_data[a + 6]; // 5: book_comp
|
||||
grid[6] = db_data[a + 7]; // 6: count
|
||||
grid[7] = db_data[a + 8]; // 7: pay
|
||||
grid[8] = db_data[a + 9]; // 8: image_url
|
||||
grid[9] = db_data[a + 10]; // 9: m_idx
|
||||
|
||||
List_Book.Rows.Add(grid);
|
||||
//if (a % 11 == 0) { grid[0] = db_data[a]; } // 0: idx
|
||||
//if (a % 11 == 1) { grid[1] = db_data[a+1]; } // 1: isbn
|
||||
//if (a % 11 == 2) { grid[2] = db_data[a+2]; } // 2: header
|
||||
//if (a % 11 == 3) { grid[2] += db_data[a+3]; } // 2: num
|
||||
//if (a % 11 == 4) { grid[3] = db_data[a+4]; } // 3: book_num
|
||||
//if (a % 11 == 5) { grid[4] = db_data[a+5]; } // 4: author
|
||||
//if (a % 11 == 6) { grid[5] = db_data[a+6]; } // 5: book_comp
|
||||
//if (a % 11 == 7) { grid[6] = db_data[a+7]; } // 6: count
|
||||
//if (a % 11 == 8) { grid[7] = db_data[a+8]; } // 7: pay
|
||||
//if (a % 11 == 9) { grid[8] = db_data[a+9]; } // 8: image_url
|
||||
//if (a % 11 == 10) { grid[9] = db_data[a+10]; // 9: m_idx
|
||||
// List_Book.Rows.Add(grid);
|
||||
//}
|
||||
dataList.Add(item);
|
||||
}
|
||||
bs1.DataSource = dataList;
|
||||
List_Book.AutoGenerateColumns = false;
|
||||
List_Book.DataSource = bs1;
|
||||
|
||||
chk_Marc();
|
||||
|
||||
List_Book.ClearSelection();
|
||||
@@ -271,7 +240,7 @@ namespace ExcelTest
|
||||
string[] MarcData = { Chk_Arr[2], Chk_Arr[4], Chk_Arr[6] };
|
||||
string[] CheckData = { Chk_Arr[3], Chk_Arr[5], Chk_Arr[7] };
|
||||
|
||||
List_Book.Rows[a].DefaultCellStyle.ForeColor = SetGradeColor(Chk_Arr[8], isMyData);
|
||||
List_Book.Rows[a].DefaultCellStyle.ForeColor = SetGradeColor(Chk_Arr[8], isMyData); // Temporary, chk_Marc updates item below
|
||||
List_Book.Rows[a].Cells["marc_idx"].Value = Chk_Arr[0];
|
||||
List_Book.Rows[a].Cells["db_marc"].Value = MarcData[0];//NewestMarc(MarcData, CheckData);
|
||||
List_Book.Rows[a].Cells["grade"].Value = Chk_Arr[8];
|
||||
@@ -279,14 +248,22 @@ namespace ExcelTest
|
||||
List_Book.Rows[a].Cells["user"].Value = Chk_Arr[10];
|
||||
List_Book.Rows[a].Cells["SaveDate"].Value = Chk_Arr[11];
|
||||
|
||||
if (isMyData)
|
||||
SaveDateCheck(Chk_Arr[11], a);
|
||||
var item = List_Book.Rows[a].DataBoundItem as MarcBookItem;
|
||||
Color gradeColor = SetGradeColor(Chk_Arr[8], isMyData);
|
||||
if (item != null) item.ForeColor = gradeColor;
|
||||
List_Book.Rows[a].DefaultCellStyle.ForeColor = gradeColor;
|
||||
|
||||
if (isMyData) {
|
||||
Color saveColor = GetSaveDateColor(Chk_Arr[11]);
|
||||
if (item != null) item.BackColor = saveColor;
|
||||
List_Book.Rows[a].DefaultCellStyle.BackColor = saveColor;
|
||||
}
|
||||
else
|
||||
{
|
||||
string FindCompCmd = string.Format("SELECT `comp_name` FROM `Comp` WHERE `idx` = {0}", Chk_Arr[1]);
|
||||
List_Book.Rows[a].Cells["user"].Value = db.DB_Send_CMD_Search(FindCompCmd).Replace("|", "");
|
||||
List_Book.Rows[a].DefaultCellStyle.BackColor = Color.LightGray;
|
||||
if (item != null) item.BackColor = Color.LightGray;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -333,8 +310,7 @@ namespace ExcelTest
|
||||
/// 마지막 저장시각 14일이전일 경우 배경 색 변경
|
||||
/// </summary>
|
||||
/// <param name="Date">마지막 저장시각</param>
|
||||
/// <param name="row">해당 행</param>
|
||||
private void SaveDateCheck(string Date, int row)
|
||||
private Color GetSaveDateColor(string Date)
|
||||
{
|
||||
DateTime SaveDate = DateTime.ParseExact(Date, "yyyy-MM-dd HH:mm:ss",
|
||||
System.Globalization.CultureInfo.InvariantCulture, System.Globalization.DateTimeStyles.None);
|
||||
@@ -343,13 +319,24 @@ namespace ExcelTest
|
||||
int result = DateTime.Compare(SaveDate, TargetDate);
|
||||
|
||||
if (result >= 0) // SaveDate가 같거나 큼
|
||||
List_Book.Rows[row].DefaultCellStyle.BackColor = Color.Yellow;
|
||||
return Color.Yellow;
|
||||
|
||||
else // TargetDate가 큼
|
||||
List_Book.Rows[row].DefaultCellStyle.BackColor = Color.White;
|
||||
return Color.White;
|
||||
|
||||
}
|
||||
|
||||
private void List_Book_RowPrePaint(object sender, DataGridViewRowPrePaintEventArgs e)
|
||||
{
|
||||
if (e.RowIndex < 0 || e.RowIndex >= List_Book.RowCount) return;
|
||||
var item = List_Book.Rows[e.RowIndex].DataBoundItem as MarcBookItem;
|
||||
if (item != null)
|
||||
{
|
||||
List_Book.Rows[e.RowIndex].DefaultCellStyle.ForeColor = item.ForeColor;
|
||||
List_Book.Rows[e.RowIndex].DefaultCellStyle.BackColor = item.BackColor;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private string mOldMarc = string.Empty;
|
||||
private void List_Book_SelectionChanged(object sender, EventArgs e)
|
||||
@@ -368,7 +355,7 @@ namespace ExcelTest
|
||||
if (row_idx == -1 || col_idx == -1) { return; }
|
||||
SaveRowIdx = row_idx;
|
||||
|
||||
mOldMarc = List_Book.Rows[row_idx].Cells["db_marc"].Value.ToString();
|
||||
mOldMarc = List_Book.Rows[row_idx].Cells["db_marc"].Value?.ToString() ?? string.Empty;
|
||||
string isbn = List_Book.Rows[row_idx].Cells["ISBN13"].Value.ToString();
|
||||
if (isbn != "")
|
||||
{
|
||||
@@ -457,13 +444,18 @@ namespace ExcelTest
|
||||
|
||||
if (isSort)
|
||||
{
|
||||
if (combo == 0)
|
||||
var list = bs1.DataSource as List<MarcBookItem>;
|
||||
if (list != null)
|
||||
{
|
||||
List_Book.Sort(List_Book.Columns["grade"], System.ComponentModel.ListSortDirection.Ascending);
|
||||
}
|
||||
else
|
||||
{
|
||||
List_Book.Sort(List_Book.Columns["ISBN13"], System.ComponentModel.ListSortDirection.Ascending);
|
||||
if (combo == 0)
|
||||
{
|
||||
list.Sort((x, y) => string.Compare(x.Grade, y.Grade));
|
||||
}
|
||||
else
|
||||
{
|
||||
list.Sort((x, y) => string.Compare(x.ISBN13, y.ISBN13));
|
||||
}
|
||||
bs1.ResetBindings(false);
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -545,6 +537,12 @@ namespace ExcelTest
|
||||
mOldMarc = GridData[6];
|
||||
List_Book.Rows[row].DefaultCellStyle.ForeColor = SetGradeColor(GridData[4]);
|
||||
List_Book.Rows[row].DefaultCellStyle.BackColor = Color.Yellow;
|
||||
var item = List_Book.Rows[row].DataBoundItem as MarcBookItem;
|
||||
if (item != null)
|
||||
{
|
||||
item.ForeColor = List_Book.Rows[row].DefaultCellStyle.ForeColor;
|
||||
item.BackColor = Color.Yellow;
|
||||
}
|
||||
|
||||
if (List_Book.CurrentRow != null && List_Book.CurrentRow.Index == row)
|
||||
{
|
||||
@@ -633,6 +631,8 @@ namespace ExcelTest
|
||||
List_Book.Rows[SaveRowIdx].Cells["db_marc"].Value = e.DBMarc;
|
||||
|
||||
List_Book.Rows[SaveRowIdx].DefaultCellStyle.ForeColor = SetGradeColor(grade.ToString());
|
||||
var item = List_Book.Rows[SaveRowIdx].DataBoundItem as MarcBookItem;
|
||||
if (item != null) item.ForeColor = List_Book.Rows[SaveRowIdx].DefaultCellStyle.ForeColor;
|
||||
|
||||
if (isNewData)
|
||||
{
|
||||
@@ -692,7 +692,7 @@ namespace ExcelTest
|
||||
return;
|
||||
}
|
||||
|
||||
var fb = new UniMarc.Marc_FillBlank(this);
|
||||
var fb = new UniMarc.Marc_FillBlank();
|
||||
for (int a = 0; a < List_Book.Rows.Count; a++)
|
||||
{
|
||||
if (List_Book.Rows[a].DefaultCellStyle.ForeColor == Color.Red)
|
||||
@@ -711,7 +711,41 @@ namespace ExcelTest
|
||||
}
|
||||
}
|
||||
fb.ISBN = ISBN;
|
||||
fb.Show();
|
||||
if (fb.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
String_Text st = new String_Text();
|
||||
if (fb.BulkMarcResults.Count > 0)
|
||||
{
|
||||
foreach(var kvp in fb.BulkMarcResults)
|
||||
{
|
||||
// Use list_idx to find row? Or assume key matches?
|
||||
// Marc_FillBlank used 'idx' from 'List_idx' column.
|
||||
// We need to iterate List_Book to find matching List_idx or if key is row index?
|
||||
// In Marc_FillBlank, I stored 'idx' which was from 'List_idx'.
|
||||
// Key = List_idx.
|
||||
int targetListIdx = kvp.Key;
|
||||
// Find row with this list_idx
|
||||
foreach(DataGridViewRow r in List_Book.Rows)
|
||||
{
|
||||
if(r.Cells["List_idx"].Value != null && Convert.ToInt32(r.Cells["List_idx"].Value) == targetListIdx)
|
||||
{
|
||||
r.Cells["db_marc"].Value = kvp.Value;
|
||||
// Update color etc?
|
||||
r.DefaultCellStyle.ForeColor = Color.Blue;
|
||||
// Need to update 'item' too if bound
|
||||
var item = r.DataBoundItem as MarcBookItem;
|
||||
if(item != null) item.ForeColor = Color.Blue;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (!string.IsNullOrEmpty(fb.SingleMarcResult))
|
||||
{
|
||||
// Update current Editor
|
||||
marcEditorControl1.SetMarcString(fb.SingleMarcResult);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -982,10 +1016,6 @@ namespace ExcelTest
|
||||
comboBox9.Enabled = false;
|
||||
}
|
||||
|
||||
private void marcEditorControl1_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void button1_Click_1(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
227
unimarc/unimarc/마크/Marc2.designer.cs
generated
227
unimarc/unimarc/마크/Marc2.designer.cs
generated
@@ -28,6 +28,7 @@
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.Windows.Forms.Label label31;
|
||||
System.Windows.Forms.Label label30;
|
||||
System.Windows.Forms.Label label33;
|
||||
@@ -42,6 +43,7 @@
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Marc2));
|
||||
this.List_Book = new System.Windows.Forms.DataGridView();
|
||||
this.list_idx = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.ISBN13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
@@ -78,6 +80,20 @@
|
||||
this.marcEditorControl1 = new ExcelTest.MarcEditorControl();
|
||||
this.panel3 = new System.Windows.Forms.Panel();
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
this.bs1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.bn1 = new System.Windows.Forms.BindingNavigator(this.components);
|
||||
this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
|
||||
this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox();
|
||||
this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.panel4 = new System.Windows.Forms.Panel();
|
||||
label31 = new System.Windows.Forms.Label();
|
||||
label30 = new System.Windows.Forms.Label();
|
||||
label33 = new System.Windows.Forms.Label();
|
||||
@@ -93,6 +109,10 @@
|
||||
this.statusStrip1.SuspendLayout();
|
||||
this.panel2.SuspendLayout();
|
||||
this.panel3.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn1)).BeginInit();
|
||||
this.bn1.SuspendLayout();
|
||||
this.panel4.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// label31
|
||||
@@ -170,9 +190,6 @@
|
||||
this.List_Book.AllowDrop = true;
|
||||
this.List_Book.AllowUserToAddRows = false;
|
||||
this.List_Book.AllowUserToDeleteRows = false;
|
||||
this.List_Book.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.List_Book.BackgroundColor = System.Drawing.Color.SkyBlue;
|
||||
this.List_Book.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
@@ -200,8 +217,9 @@
|
||||
this.colCheck,
|
||||
this.user,
|
||||
this.SaveDate});
|
||||
this.List_Book.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.List_Book.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically;
|
||||
this.List_Book.Location = new System.Drawing.Point(5, 73);
|
||||
this.List_Book.Location = new System.Drawing.Point(0, 68);
|
||||
this.List_Book.MultiSelect = false;
|
||||
this.List_Book.Name = "List_Book";
|
||||
this.List_Book.ReadOnly = true;
|
||||
@@ -216,7 +234,7 @@
|
||||
this.List_Book.RowHeadersWidth = 51;
|
||||
this.List_Book.RowTemplate.Height = 23;
|
||||
this.List_Book.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
||||
this.List_Book.Size = new System.Drawing.Size(543, 556);
|
||||
this.List_Book.Size = new System.Drawing.Size(555, 541);
|
||||
this.List_Book.TabIndex = 217;
|
||||
this.List_Book.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.List_Book_RowPostPaint);
|
||||
this.List_Book.SelectionChanged += new System.EventHandler(this.List_Book_SelectionChanged);
|
||||
@@ -228,6 +246,7 @@
|
||||
//
|
||||
// list_idx
|
||||
//
|
||||
this.list_idx.DataPropertyName = "ListIdx";
|
||||
this.list_idx.HeaderText = "list_idx";
|
||||
this.list_idx.MinimumWidth = 6;
|
||||
this.list_idx.Name = "list_idx";
|
||||
@@ -237,6 +256,7 @@
|
||||
//
|
||||
// ISBN13
|
||||
//
|
||||
this.ISBN13.DataPropertyName = "ISBN13";
|
||||
this.ISBN13.FillWeight = 136.2398F;
|
||||
this.ISBN13.HeaderText = "ISBN13";
|
||||
this.ISBN13.MinimumWidth = 6;
|
||||
@@ -247,6 +267,7 @@
|
||||
//
|
||||
// num
|
||||
//
|
||||
this.num.DataPropertyName = "Num";
|
||||
this.num.HeaderText = "연번";
|
||||
this.num.MinimumWidth = 6;
|
||||
this.num.Name = "num";
|
||||
@@ -255,6 +276,7 @@
|
||||
//
|
||||
// book_name
|
||||
//
|
||||
this.book_name.DataPropertyName = "BookName";
|
||||
this.book_name.FillWeight = 135.5107F;
|
||||
this.book_name.HeaderText = "도서명";
|
||||
this.book_name.MinimumWidth = 6;
|
||||
@@ -264,6 +286,7 @@
|
||||
//
|
||||
// author
|
||||
//
|
||||
this.author.DataPropertyName = "Author";
|
||||
this.author.FillWeight = 67.49011F;
|
||||
this.author.HeaderText = "저자";
|
||||
this.author.MinimumWidth = 6;
|
||||
@@ -273,6 +296,7 @@
|
||||
//
|
||||
// book_comp
|
||||
//
|
||||
this.book_comp.DataPropertyName = "BookComp";
|
||||
this.book_comp.FillWeight = 76.49199F;
|
||||
this.book_comp.HeaderText = "출판사";
|
||||
this.book_comp.MinimumWidth = 6;
|
||||
@@ -282,6 +306,7 @@
|
||||
//
|
||||
// count
|
||||
//
|
||||
this.count.DataPropertyName = "Count";
|
||||
this.count.HeaderText = "C";
|
||||
this.count.MinimumWidth = 6;
|
||||
this.count.Name = "count";
|
||||
@@ -290,6 +315,7 @@
|
||||
//
|
||||
// pay
|
||||
//
|
||||
this.pay.DataPropertyName = "Pay";
|
||||
this.pay.FillWeight = 84.26746F;
|
||||
this.pay.HeaderText = "정가";
|
||||
this.pay.MinimumWidth = 6;
|
||||
@@ -299,6 +325,7 @@
|
||||
//
|
||||
// url
|
||||
//
|
||||
this.url.DataPropertyName = "Url";
|
||||
this.url.HeaderText = "url";
|
||||
this.url.MinimumWidth = 6;
|
||||
this.url.Name = "url";
|
||||
@@ -308,6 +335,7 @@
|
||||
//
|
||||
// marc_idx
|
||||
//
|
||||
this.marc_idx.DataPropertyName = "MarcIdx";
|
||||
this.marc_idx.HeaderText = "marc_idx";
|
||||
this.marc_idx.MinimumWidth = 6;
|
||||
this.marc_idx.Name = "marc_idx";
|
||||
@@ -317,6 +345,7 @@
|
||||
//
|
||||
// db_marc
|
||||
//
|
||||
this.db_marc.DataPropertyName = "DbMarc";
|
||||
this.db_marc.HeaderText = "marc";
|
||||
this.db_marc.MinimumWidth = 6;
|
||||
this.db_marc.Name = "db_marc";
|
||||
@@ -326,6 +355,7 @@
|
||||
//
|
||||
// grade
|
||||
//
|
||||
this.grade.DataPropertyName = "Grade";
|
||||
dataGridViewCellStyle2.Format = "N0";
|
||||
dataGridViewCellStyle2.NullValue = null;
|
||||
this.grade.DefaultCellStyle = dataGridViewCellStyle2;
|
||||
@@ -338,6 +368,7 @@
|
||||
//
|
||||
// colCheck
|
||||
//
|
||||
this.colCheck.DataPropertyName = "ColCheck";
|
||||
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.colCheck.DefaultCellStyle = dataGridViewCellStyle3;
|
||||
this.colCheck.HeaderText = "V";
|
||||
@@ -349,6 +380,7 @@
|
||||
//
|
||||
// user
|
||||
//
|
||||
this.user.DataPropertyName = "User";
|
||||
this.user.HeaderText = "작업자";
|
||||
this.user.MinimumWidth = 6;
|
||||
this.user.Name = "user";
|
||||
@@ -358,6 +390,7 @@
|
||||
//
|
||||
// SaveDate
|
||||
//
|
||||
this.SaveDate.DataPropertyName = "SaveDate";
|
||||
this.SaveDate.HeaderText = "저장시각";
|
||||
this.SaveDate.MinimumWidth = 6;
|
||||
this.SaveDate.Name = "SaveDate";
|
||||
@@ -412,9 +445,10 @@
|
||||
this.panel1.Controls.Add(this.comboBox9);
|
||||
this.panel1.Controls.Add(this.rb_Filter);
|
||||
this.panel1.Controls.Add(this.comboBox8);
|
||||
this.panel1.Location = new System.Drawing.Point(5, 34);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel1.Location = new System.Drawing.Point(0, 33);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(544, 35);
|
||||
this.panel1.Size = new System.Drawing.Size(555, 35);
|
||||
this.panel1.TabIndex = 226;
|
||||
//
|
||||
// btn_mk_marcList
|
||||
@@ -465,7 +499,7 @@
|
||||
this.checkBox3.BackColor = System.Drawing.Color.White;
|
||||
this.checkBox3.Checked = true;
|
||||
this.checkBox3.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.checkBox3.Location = new System.Drawing.Point(507, 78);
|
||||
this.checkBox3.Location = new System.Drawing.Point(509, 74);
|
||||
this.checkBox3.Name = "checkBox3";
|
||||
this.checkBox3.Size = new System.Drawing.Size(15, 14);
|
||||
this.checkBox3.TabIndex = 227;
|
||||
@@ -475,10 +509,11 @@
|
||||
// tbCustName
|
||||
//
|
||||
this.tbCustName.BackColor = System.Drawing.Color.LightGray;
|
||||
this.tbCustName.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.tbCustName.Font = new System.Drawing.Font("굴림체", 14.25F, System.Drawing.FontStyle.Bold);
|
||||
this.tbCustName.Location = new System.Drawing.Point(115, 6);
|
||||
this.tbCustName.Location = new System.Drawing.Point(103, 3);
|
||||
this.tbCustName.Name = "tbCustName";
|
||||
this.tbCustName.Size = new System.Drawing.Size(275, 26);
|
||||
this.tbCustName.Size = new System.Drawing.Size(301, 27);
|
||||
this.tbCustName.TabIndex = 33;
|
||||
this.tbCustName.Text = " ";
|
||||
this.tbCustName.UseVisualStyleBackColor = false;
|
||||
@@ -488,10 +523,11 @@
|
||||
//
|
||||
this.lbCustIDX.BackColor = System.Drawing.Color.LightGray;
|
||||
this.lbCustIDX.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.lbCustIDX.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.lbCustIDX.Font = new System.Drawing.Font("굴림체", 14.25F, System.Drawing.FontStyle.Bold);
|
||||
this.lbCustIDX.Location = new System.Drawing.Point(396, 6);
|
||||
this.lbCustIDX.Location = new System.Drawing.Point(404, 3);
|
||||
this.lbCustIDX.Name = "lbCustIDX";
|
||||
this.lbCustIDX.Size = new System.Drawing.Size(60, 26);
|
||||
this.lbCustIDX.Size = new System.Drawing.Size(60, 27);
|
||||
this.lbCustIDX.TabIndex = 319;
|
||||
this.lbCustIDX.Text = " ";
|
||||
this.lbCustIDX.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
@@ -529,9 +565,10 @@
|
||||
//
|
||||
// btClose
|
||||
//
|
||||
this.btClose.Location = new System.Drawing.Point(460, 6);
|
||||
this.btClose.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.btClose.Location = new System.Drawing.Point(464, 3);
|
||||
this.btClose.Name = "btClose";
|
||||
this.btClose.Size = new System.Drawing.Size(88, 26);
|
||||
this.btClose.Size = new System.Drawing.Size(88, 27);
|
||||
this.btClose.TabIndex = 324;
|
||||
this.btClose.Text = "닫 기";
|
||||
this.btClose.UseVisualStyleBackColor = true;
|
||||
@@ -556,18 +593,15 @@
|
||||
this.marcEditorControl1.Name = "marcEditorControl1";
|
||||
this.marcEditorControl1.Size = new System.Drawing.Size(1083, 634);
|
||||
this.marcEditorControl1.TabIndex = 0;
|
||||
this.marcEditorControl1.Load += new System.EventHandler(this.marcEditorControl1_Load);
|
||||
//
|
||||
// panel3
|
||||
//
|
||||
this.panel3.BackColor = System.Drawing.Color.White;
|
||||
this.panel3.Controls.Add(this.button1);
|
||||
this.panel3.Controls.Add(this.checkBox3);
|
||||
this.panel3.Controls.Add(this.tbCustName);
|
||||
this.panel3.Controls.Add(this.panel1);
|
||||
this.panel3.Controls.Add(this.btClose);
|
||||
this.panel3.Controls.Add(this.List_Book);
|
||||
this.panel3.Controls.Add(this.lbCustIDX);
|
||||
this.panel3.Controls.Add(this.panel1);
|
||||
this.panel3.Controls.Add(this.panel4);
|
||||
this.panel3.Controls.Add(this.bn1);
|
||||
this.panel3.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.panel3.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel3.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
@@ -577,14 +611,144 @@
|
||||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.Location = new System.Drawing.Point(9, 7);
|
||||
this.button1.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.button1.Location = new System.Drawing.Point(3, 3);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(100, 23);
|
||||
this.button1.Size = new System.Drawing.Size(100, 27);
|
||||
this.button1.TabIndex = 324;
|
||||
this.button1.Text = "다시불러오기";
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
this.button1.Click += new System.EventHandler(this.button1_Click_1);
|
||||
//
|
||||
// bn1
|
||||
//
|
||||
this.bn1.AddNewItem = this.bindingNavigatorAddNewItem;
|
||||
this.bn1.BindingSource = this.bs1;
|
||||
this.bn1.CountItem = this.bindingNavigatorCountItem;
|
||||
this.bn1.DeleteItem = this.bindingNavigatorDeleteItem;
|
||||
this.bn1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.bn1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.bindingNavigatorMoveFirstItem,
|
||||
this.bindingNavigatorMovePreviousItem,
|
||||
this.bindingNavigatorSeparator,
|
||||
this.bindingNavigatorPositionItem,
|
||||
this.bindingNavigatorCountItem,
|
||||
this.bindingNavigatorSeparator1,
|
||||
this.bindingNavigatorMoveNextItem,
|
||||
this.bindingNavigatorMoveLastItem,
|
||||
this.bindingNavigatorSeparator2,
|
||||
this.bindingNavigatorAddNewItem,
|
||||
this.bindingNavigatorDeleteItem});
|
||||
this.bn1.Location = new System.Drawing.Point(0, 609);
|
||||
this.bn1.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
|
||||
this.bn1.MoveLastItem = this.bindingNavigatorMoveLastItem;
|
||||
this.bn1.MoveNextItem = this.bindingNavigatorMoveNextItem;
|
||||
this.bn1.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
|
||||
this.bn1.Name = "bn1";
|
||||
this.bn1.PositionItem = this.bindingNavigatorPositionItem;
|
||||
this.bn1.Size = new System.Drawing.Size(555, 25);
|
||||
this.bn1.TabIndex = 326;
|
||||
this.bn1.Text = "bindingNavigator1";
|
||||
//
|
||||
// bindingNavigatorAddNewItem
|
||||
//
|
||||
this.bindingNavigatorAddNewItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image")));
|
||||
this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem";
|
||||
this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorAddNewItem.Text = "새로 추가";
|
||||
//
|
||||
// bindingNavigatorCountItem
|
||||
//
|
||||
this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
|
||||
this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22);
|
||||
this.bindingNavigatorCountItem.Text = "/{0}";
|
||||
this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수";
|
||||
//
|
||||
// bindingNavigatorDeleteItem
|
||||
//
|
||||
this.bindingNavigatorDeleteItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorDeleteItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image")));
|
||||
this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem";
|
||||
this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorDeleteItem.Text = "삭제";
|
||||
//
|
||||
// bindingNavigatorMoveFirstItem
|
||||
//
|
||||
this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image")));
|
||||
this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
|
||||
this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동";
|
||||
//
|
||||
// bindingNavigatorMovePreviousItem
|
||||
//
|
||||
this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image")));
|
||||
this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
|
||||
this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동";
|
||||
//
|
||||
// bindingNavigatorSeparator
|
||||
//
|
||||
this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
|
||||
this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// bindingNavigatorPositionItem
|
||||
//
|
||||
this.bindingNavigatorPositionItem.AccessibleName = "위치";
|
||||
this.bindingNavigatorPositionItem.AutoSize = false;
|
||||
this.bindingNavigatorPositionItem.Font = new System.Drawing.Font("맑은 고딕", 9F);
|
||||
this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
|
||||
this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
|
||||
this.bindingNavigatorPositionItem.Text = "0";
|
||||
this.bindingNavigatorPositionItem.ToolTipText = "현재 위치";
|
||||
//
|
||||
// bindingNavigatorSeparator1
|
||||
//
|
||||
this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1";
|
||||
this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// bindingNavigatorMoveNextItem
|
||||
//
|
||||
this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image")));
|
||||
this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
|
||||
this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMoveNextItem.Text = "다음으로 이동";
|
||||
//
|
||||
// bindingNavigatorMoveLastItem
|
||||
//
|
||||
this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image")));
|
||||
this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
|
||||
this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동";
|
||||
//
|
||||
// bindingNavigatorSeparator2
|
||||
//
|
||||
this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
|
||||
this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// panel4
|
||||
//
|
||||
this.panel4.Controls.Add(this.tbCustName);
|
||||
this.panel4.Controls.Add(this.lbCustIDX);
|
||||
this.panel4.Controls.Add(this.btClose);
|
||||
this.panel4.Controls.Add(this.button1);
|
||||
this.panel4.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel4.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel4.Name = "panel4";
|
||||
this.panel4.Padding = new System.Windows.Forms.Padding(3);
|
||||
this.panel4.Size = new System.Drawing.Size(555, 33);
|
||||
this.panel4.TabIndex = 327;
|
||||
//
|
||||
// Marc2
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
@@ -608,6 +772,11 @@
|
||||
this.panel2.ResumeLayout(false);
|
||||
this.panel3.ResumeLayout(false);
|
||||
this.panel3.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn1)).EndInit();
|
||||
this.bn1.ResumeLayout(false);
|
||||
this.bn1.PerformLayout();
|
||||
this.panel4.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
@@ -654,5 +823,19 @@
|
||||
private System.Windows.Forms.Panel panel3;
|
||||
private System.Windows.Forms.Button button1;
|
||||
public MarcEditorControl marcEditorControl1;
|
||||
private System.Windows.Forms.BindingSource bs1;
|
||||
private System.Windows.Forms.BindingNavigator bn1;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem;
|
||||
private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator;
|
||||
private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2;
|
||||
private System.Windows.Forms.Panel panel4;
|
||||
}
|
||||
}
|
||||
@@ -195,4 +195,75 @@
|
||||
<metadata name="statusStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="bn1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>273, 17</value>
|
||||
</metadata>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="bindingNavigatorAddNewItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wgAADsIBFShKgAAAAVdJREFUOE/Nz0tLAmEUBmB3kWRoCUVEISFUJGb1OywiKrDsIpZdkJAkDUvDQkij
|
||||
UKSbVIvatKhNi9oERRAGEQXhjJdp7Hd83/eGs2jhLGQ20QtndTgP71Gp/m0KZ1XInlTjM6XG+4EG5fuK
|
||||
yaTUIN8bIMUQ0gmtcuBtX/MLPMT0yoHnuA6kuA4iruI20lAZ+DiswWuyFum4Dk+7dbiP6kHEFVDBg+tQ
|
||||
My4DLbjwG3DqbcORxygHXxJakGIQRFwDEf0gwjKI4AYtzIHmHaA5Oxg/CsYPIb7YIQced+qluvTLCyIs
|
||||
gRYWQPNO0NwkWNYGxg+DcYNgGSu2Z0xy4C7SiJtwE66kuq049xlAs2Ng/AiS7nbszXci6jIh4jQjPGWR
|
||||
A+U59hiluowbQMzVVfmgPKU/GdcPxlmx5TArB6KzJunf0gTtPcqBzeluhCYsCIz3wm/rUw78WX4AJCPY
|
||||
nlwVm9EAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="bs1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>134, 17</value>
|
||||
</metadata>
|
||||
<data name="bindingNavigatorDeleteItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wgAADsIBFShKgAAAAWtJREFUOE+1kE0ow2Ecx/9X5a2UiwtKOSCTmJBMhuQlMo3IvCUHDouEXHZwIOVC
|
||||
DrhIDiQl5USy07zNa2tKf2laaRf84/J8xBCetab4XL/f76fn+SnKX4DrGLqrwbHDzywkWJlHdJYjLEbY
|
||||
Wg8q4eYKlma+d1hbgF4TotWIaC+FuYmAktcXCksx2HrknBOHX1KbiTDngrXhW0kMdSBM2TA5Io+/wuI0
|
||||
oiz5TcRwB7hPYazfLx3rDz7+gCsXNBb4v1SdgajTQ19TaOMP2NtFmPSIilSo0v1y7FHBnAdZMWi6aO51
|
||||
kVCTGZoEzzWYciA/Dl9bBZwfvh3XmxIJy7PBJdx5odnAQ2E87qJUfPbtzwGjVpxJEWjH+4ElPD/BYBsY
|
||||
EjhKicW3sSoVb0vSUFsq0W6upUxhdxMtOxZnYhhqVz1oj3JJUZSdpCg0p0POmLKhJofjNqaDeikX3tFG
|
||||
uuHsQM65cML4ABzY5fA/eQGKIwMcVjm2bAAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wgAADsIBFShKgAAAATFJREFUOE9jYBg0oHDW8/9NC57/z5z4+D+6HAyEtz/AKceQO/PZ/1VH3v/HpSi+
|
||||
+8H/4IZrWOXAIGPK0/8L933Aqii+5+H/pfv///evvoAhBwcJPU/+T9vyHkNRRPt9sObMWf//e5WewG1A
|
||||
ZNej/72rP6AoCm29B9bcuu7/f//Ov/9d8g/gNiCw+eH/uvnv4IqCW+7+X7T3//+Odf//Z8z5+d+u7ud/
|
||||
+4ztuA3wqLr/P3/aGxRFdsW3/6fP+f3fv+vbf53Cd/8tEtbjNsC+9O7/7MmvMRTpp5z/b1L04r9K1qf/
|
||||
xpHLcBtgkXfnf2r/a6yKDJJO/JdN+/pfN3gehhwcGGbd/h/W8hKnIv3Uy/81fKdhlQMDnbQb//2qH+JV
|
||||
pOIxAaccg1Pulf8gBXgVDUoAAPB2wKtYlLYeAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMovePreviousItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wgAADsIBFShKgAAAALtJREFUOE9jYBgyILz9wX90MaJBfPeD/8EN18gzIL7n4f+l+///96++QLoBEe33
|
||||
wZozZ/3/71V6gjQDQlvvgTW3rvv/37/z73+X/APEGxDccvf/or3//3es+/8/Y87P/3Z1P//bZ2wn3gAQ
|
||||
sCu+/T99zu///l3f/usUvvtvkbCeNANAQD/l/H+Tohf/VbI+/TeOXEa6ASBgkHTiv2za1/+6wfPIMwAE
|
||||
9FMv/9fwnUa+ASCg4jGBMgMGLwAA0BRgmCws/7cAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMoveNextItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wgAADsIBFShKgAAAAKRJREFUOE9jYBh0oHDW8//oYiSB3JnP/id03yPfkIwpT//P2//7f0LXHfIMSeh5
|
||||
8n/2vl//O7f+/e9Wepl0QyK7Hv2fsu3X/5Klf/8nTP/73yb3LGmGBDY//N+69j1Ys3HJl//S0df+G0cu
|
||||
I94Qj6r7/0vmvoNrVnTpIV4zCNiX3v0f2PKMPM0gYJF3579NwRXyNIOAYdZt8jWDgE7aDfI1D00AAKB+
|
||||
X6Bjq5qXAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMoveLastItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wgAADsIBFShKgAAAAStJREFUOE9jYBhUoHDW8//oYjAAkmta8Px/5sTHONUw5M589j+h+x5WBSC5VUfe
|
||||
/w9vf4BVHgwypjz9P2//7/8JXXcwFIHkFu778D+44RqGHBwk9Dz5P3vfr/+dW//+dyu9jKIQJDdty/v/
|
||||
/tUXcBsQ2fXo/5Rtv/6XLP37P2H63/82uWfhikFyvas//PcqPYHbgMDmh/9b174HazYu+fJfOvraf+PI
|
||||
ZWANILm6+e/+u+QfwG2AR9X9/yVz38E1K7r0wBWD5PKnvflvn7EdtwH2pXf/B7Y8w9AMk8ue/Pq/RcJ6
|
||||
3AZY5N35b1NwBUMzTC61/zXcS1iBYdZtrJpBACQX1vLyv27wPKzyYKCTdgOnJEjOr/rhfw3faTjV4AVO
|
||||
uVf+q3hMAGN0uYEFAL7Rv7NmXVYYAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
</root>
|
||||
29
unimarc/unimarc/마크/MarcBookItem.cs
Normal file
29
unimarc/unimarc/마크/MarcBookItem.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace ExcelTest
|
||||
{
|
||||
public class MarcBookItem
|
||||
{
|
||||
public string ListIdx { get; set; }
|
||||
public string ISBN13 { get; set; }
|
||||
public string Num { get; set; }
|
||||
public string BookName { get; set; }
|
||||
public string Author { get; set; }
|
||||
public string BookComp { get; set; }
|
||||
public string Count { get; set; }
|
||||
public string Pay { get; set; }
|
||||
public string Url { get; set; }
|
||||
public string MarcIdx { get; set; }
|
||||
public string DbMarc { get; set; }
|
||||
public string Grade { get; set; }
|
||||
public string ColCheck { get; set; } = "V";
|
||||
public string User { get; set; }
|
||||
public string SaveDate { get; set; }
|
||||
|
||||
public System.Drawing.Color ForeColor { get; set; } = System.Drawing.Color.Black;
|
||||
public System.Drawing.Color BackColor { get; set; } = System.Drawing.Color.White;
|
||||
}
|
||||
}
|
||||
1
unimarc/unimarc/마크/MarcEditorControl.Designer.cs
generated
1
unimarc/unimarc/마크/MarcEditorControl.Designer.cs
generated
@@ -2377,7 +2377,6 @@
|
||||
this.Font = new System.Drawing.Font("돋움", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.Name = "MarcEditorControl";
|
||||
this.Size = new System.Drawing.Size(1341, 878);
|
||||
this.Load += new System.EventHandler(this.Marc_Load);
|
||||
this.SizeChanged += new System.EventHandler(this.MarcEditorControl_SizeChanged);
|
||||
this.panel3.ResumeLayout(false);
|
||||
this.tabControl1.ResumeLayout(false);
|
||||
|
||||
@@ -59,9 +59,10 @@ namespace ExcelTest
|
||||
public MarcEditorControl()
|
||||
{
|
||||
InitializeComponent();
|
||||
Marc_Load();
|
||||
}
|
||||
|
||||
private void Marc_Load(object sender, EventArgs e)
|
||||
private void Marc_Load()
|
||||
{
|
||||
#region ComboBox Item Setting
|
||||
// 이용자 9
|
||||
@@ -109,11 +110,11 @@ namespace ExcelTest
|
||||
/// <param name="user"></param>
|
||||
/// <param name="saveDate"></param>
|
||||
/// <param name="listIdx"></param>
|
||||
public void LoadBookData(string dbMarc,MacEditorParameter _param)
|
||||
public void LoadBookData(string dbMarc, MacEditorParameter _param)
|
||||
{
|
||||
mLoadCompleted = false;
|
||||
Param = _param;
|
||||
|
||||
|
||||
|
||||
lbl_SaveData.Text = $"[{Param.User}] [{Param.SaveDate}]";
|
||||
lbl_ISBN.Text = $"[{Param.ISBN13}]";
|
||||
@@ -138,20 +139,26 @@ namespace ExcelTest
|
||||
pictureBox1.Tag = _param.URL;
|
||||
}
|
||||
|
||||
//그레이드값이 없다면 비활성화.
|
||||
cb_grade.Enabled = Param.Grade != null;
|
||||
label6.Enabled = cb_grade.Enabled;
|
||||
|
||||
|
||||
richTextBox1.Text = "";
|
||||
|
||||
bool check_Marc = click_Marc(dbMarc); //여기안에서 또 008을 설정한다
|
||||
|
||||
if (!check_Marc)
|
||||
{
|
||||
richTextBox1.Text = Make_Empty();
|
||||
}
|
||||
else
|
||||
{
|
||||
etc1.Text = Param.Remark1;
|
||||
etc2.Text = Param.Remark2;
|
||||
//ReadRemark();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Create_008();
|
||||
st.Color_change("▼", richTextBox1);
|
||||
@@ -293,7 +300,7 @@ namespace ExcelTest
|
||||
return;
|
||||
}
|
||||
int TabIndex = tabControl1.SelectedIndex;
|
||||
|
||||
|
||||
if (TabIndex == 1)
|
||||
{
|
||||
MessageBox.Show("[칸채우기]가 아닌 [마크 편집] 탭에서 저장해주세요!");
|
||||
@@ -321,7 +328,7 @@ namespace ExcelTest
|
||||
string tag056 = Tag056();
|
||||
string date = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
|
||||
string orimarc = st.made_Ori_marc(richTextBox1).Replace(@"\", "₩");
|
||||
|
||||
|
||||
// 필수태그 확인
|
||||
if (!isMustTag(orimarc))
|
||||
{
|
||||
@@ -345,7 +352,7 @@ namespace ExcelTest
|
||||
|
||||
#region Save_Click_Sub
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 마크 오류체크 (형식체크)
|
||||
/// </summary>
|
||||
|
||||
16
unimarc/unimarc/마크/MarcPlanItem.cs
Normal file
16
unimarc/unimarc/마크/MarcPlanItem.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace UniMarc.마크
|
||||
{
|
||||
public class MarcPlanItem
|
||||
{
|
||||
public string Idx { get; set; }
|
||||
public string ListName { get; set; }
|
||||
public string Date { get; set; }
|
||||
public string User { get; set; }
|
||||
public string ColCheck { get; set; } = "F";
|
||||
}
|
||||
}
|
||||
@@ -16,20 +16,14 @@ namespace UniMarc
|
||||
public partial class Marc_FillBlank : Form
|
||||
{
|
||||
public string ISBN;
|
||||
public string SingleMarcResult { get; private set; }
|
||||
public Dictionary<int, string> BulkMarcResults { get; private set; } = new Dictionary<int, string>();
|
||||
bool isAll;
|
||||
bool isBreak;
|
||||
ExcelTest.Marc marc;
|
||||
Marc2 mae;
|
||||
public Marc_FillBlank(Marc2 _mae)
|
||||
{
|
||||
InitializeComponent();
|
||||
mae = _mae;
|
||||
}
|
||||
|
||||
public Marc_FillBlank(ExcelTest.Marc _marc)
|
||||
public Marc_FillBlank()
|
||||
{
|
||||
InitializeComponent();
|
||||
marc = _marc;
|
||||
}
|
||||
|
||||
private void Marc_FillBlank_Load(object sender, EventArgs e)
|
||||
@@ -252,14 +246,10 @@ namespace UniMarc
|
||||
}
|
||||
SearchResultMarc();
|
||||
string Text = richTextBox1.Text;
|
||||
if (marc != null)
|
||||
{
|
||||
marc.richTextBox1.Text = MakeMarc(Text);
|
||||
}
|
||||
else if (mae != null)
|
||||
{
|
||||
mae.marcEditorControl1.SetMarcString(MakeMarc(Text));
|
||||
}
|
||||
|
||||
this.SingleMarcResult = MakeMarc(Text);
|
||||
this.DialogResult = DialogResult.OK;
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void btn_AllMove_Click(object sender, EventArgs e)
|
||||
@@ -268,6 +258,8 @@ namespace UniMarc
|
||||
|
||||
progressBar1.Maximum = dataGridView1.Rows.Count;
|
||||
isAll = true;
|
||||
BulkMarcResults.Clear();
|
||||
|
||||
for (int a = 0; a < dataGridView1.Rows.Count; a++)
|
||||
{
|
||||
for (int b = 0; b < dataGridView1.RowCount; b++)
|
||||
@@ -276,7 +268,14 @@ namespace UniMarc
|
||||
}
|
||||
isBreak = false;
|
||||
dataGridView1.Rows[a].DefaultCellStyle.BackColor = Color.Yellow;
|
||||
int idx = Convert.ToInt32(dataGridView1.Rows[a].Cells["List_idx"].Value.ToString());
|
||||
// Assuming List_idx is stored as a cell value? Or should we trust the 'a' index?
|
||||
// The original code used "List_idx" cell.
|
||||
int idx = -1;
|
||||
if (dataGridView1.Rows[a].Cells["List_idx"].Value != null)
|
||||
idx = Convert.ToInt32(dataGridView1.Rows[a].Cells["List_idx"].Value.ToString());
|
||||
else
|
||||
idx = Convert.ToInt32(dataGridView1.Rows[a].Cells[0].Value.ToString()); // Fallback to column 0 if List_idx not guaranteed
|
||||
|
||||
string isbn = dataGridView1.Rows[a].Cells["ISBN13"].Value.ToString();
|
||||
|
||||
if (isbn == "")
|
||||
@@ -301,17 +300,17 @@ namespace UniMarc
|
||||
else
|
||||
{
|
||||
dataGridView1.Rows[a].DefaultCellStyle.ForeColor = Color.Blue;
|
||||
|
||||
if (this.marc != null)
|
||||
this.marc.List_Book.Rows[idx].Cells["db_marc"].Value = st.made_Ori_marc(MakeMarc(marc));
|
||||
else if (this.mae != null)
|
||||
this.mae.List_Book.Rows[idx].Cells["db_marc"].Value = st.made_Ori_marc(MakeMarc(marc));
|
||||
string processedMarc = st.made_Ori_marc(MakeMarc(marc));
|
||||
if (!BulkMarcResults.ContainsKey(idx))
|
||||
BulkMarcResults.Add(idx, processedMarc);
|
||||
}
|
||||
|
||||
progressBar1.Value += 1;
|
||||
}
|
||||
|
||||
MessageBox.Show("완료되었습니다!");
|
||||
this.DialogResult = DialogResult.OK;
|
||||
this.Close();
|
||||
}
|
||||
|
||||
string MakeMarc(string text)
|
||||
|
||||
@@ -62,9 +62,24 @@ namespace WindowsFormsApp1.Mac
|
||||
{
|
||||
tb_ISBN.Text = "";
|
||||
|
||||
Marc_Plan_Sub_SelectList sub = new Marc_Plan_Sub_SelectList(this);
|
||||
Marc_Plan_Sub_SelectList sub = new Marc_Plan_Sub_SelectList();
|
||||
sub.TopMost = true;
|
||||
sub.Show();
|
||||
if (sub.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
if (sub.ResultFileRows != null && sub.ResultFileRows.Count > 0)
|
||||
{
|
||||
this.dataGridView1.Rows.Clear();
|
||||
foreach (var row in sub.ResultFileRows)
|
||||
{
|
||||
this.dataGridView1.Rows.Add(row);
|
||||
}
|
||||
}
|
||||
else if (!string.IsNullOrEmpty(sub.ResultIdx))
|
||||
{
|
||||
mk_Grid(sub.ResultListName, sub.ResultDate);
|
||||
mk_Panel(sub.ResultIdx, sub.ResultListName, sub.ResultDate);
|
||||
}
|
||||
}
|
||||
dataGridView1.CellValueChanged += new DataGridViewCellEventHandler(dataGridView1_CellValueChanged);
|
||||
}
|
||||
|
||||
@@ -205,6 +220,47 @@ namespace WindowsFormsApp1.Mac
|
||||
}
|
||||
}
|
||||
|
||||
private (string marc, MacEditorParameter p) GetBookData(int row)
|
||||
{
|
||||
string bookName = dataGridView1.Rows[row].Cells["book_name"].Value.ToString();
|
||||
string author = dataGridView1.Rows[row].Cells["author"].Value.ToString();
|
||||
string publisher = dataGridView1.Rows[row].Cells["book_comp"].Value.ToString();
|
||||
string price = dataGridView1.Rows[row].Cells["price"].Value.ToString();
|
||||
string isbn = dataGridView1.Rows[row].Cells["ISBN"].Value.ToString();
|
||||
string idx = dataGridView1.Rows[row].Cells["idx"].Value.ToString();
|
||||
string midx = dataGridView1.Rows[row].Cells["midx"].Value.ToString();
|
||||
string marc = dataGridView1.Rows[row].Cells["marc"].Value.ToString();
|
||||
|
||||
string cmd = string.Format("SELECT `user`, `editDate`, `etc1`, `etc2` FROM `Specs_Marc` WHERE `idx` = \"{0}\"", midx);
|
||||
string res = db.DB_Send_CMD_Search(cmd);
|
||||
string[] aryResultData = res.Split('|');
|
||||
string remark1 = "";
|
||||
string remark2 = "";
|
||||
|
||||
if (aryResultData.Length > 1) {
|
||||
// lbl_SaveData.Text = string.Format("[{0}] [{1}]", aryResultData[0], aryResultData[1]);
|
||||
remark1 = aryResultData[2];
|
||||
remark2 = aryResultData[3];
|
||||
}
|
||||
|
||||
var p = new MacEditorParameter
|
||||
{
|
||||
ISBN13 = isbn,
|
||||
ListIdx = idx,
|
||||
MarcIdx = midx,
|
||||
SaveDate = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"), // temporary
|
||||
User = main.botUserLabel.Text,
|
||||
BookName = bookName,
|
||||
Author = author,
|
||||
Publisher = publisher,
|
||||
Price = price,
|
||||
Remark1 = remark1,
|
||||
Remark2 = remark2,
|
||||
Grade = null,
|
||||
};
|
||||
return (marc, p);
|
||||
}
|
||||
|
||||
private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
|
||||
{
|
||||
int row = e.RowIndex;
|
||||
@@ -214,20 +270,19 @@ namespace WindowsFormsApp1.Mac
|
||||
|
||||
if (dataGridView1.Rows[row].Cells[col].ReadOnly)
|
||||
{
|
||||
string[] Marc = {
|
||||
dataGridView1.Rows[row].Cells["marc"].Value.ToString(),
|
||||
dataGridView1.Rows[row].Cells["midx"].Value.ToString(),
|
||||
dataGridView1.Rows[row].Cells["num"].Value.ToString(),
|
||||
dataGridView1.Rows[row].Cells["idx"].Value.ToString(),
|
||||
dataGridView1.Rows[row].Cells["ISBN"].Value.ToString()
|
||||
};
|
||||
string[] symbol_Type = {
|
||||
cb_FirstAuthor.Text, cb_authorTypeK.Text, cb_authorTypeE.Text, cb_FirstBook.Text,
|
||||
cb_divType.Text, cb_divNum.Text
|
||||
};
|
||||
|
||||
if (chkEditorTest.Checked)
|
||||
if (chkEditorTest.Checked == false)
|
||||
{
|
||||
string[] Marc = {
|
||||
dataGridView1.Rows[row].Cells["marc"].Value.ToString(),
|
||||
dataGridView1.Rows[row].Cells["midx"].Value.ToString(),
|
||||
dataGridView1.Rows[row].Cells["num"].Value.ToString(),
|
||||
dataGridView1.Rows[row].Cells["idx"].Value.ToString(),
|
||||
dataGridView1.Rows[row].Cells["ISBN"].Value.ToString()
|
||||
};
|
||||
string[] symbol_Type = {
|
||||
cb_FirstAuthor.Text, cb_authorTypeK.Text, cb_authorTypeE.Text, cb_FirstBook.Text,
|
||||
cb_divType.Text, cb_divNum.Text
|
||||
};
|
||||
Marc_Plan_Sub_MarcEdit me = new Marc_Plan_Sub_MarcEdit(this);
|
||||
me.row = row;
|
||||
me.UserName = main.botUserLabel.Text;
|
||||
@@ -237,11 +292,98 @@ namespace WindowsFormsApp1.Mac
|
||||
}
|
||||
else
|
||||
{
|
||||
UTIL.MsgE("test version");
|
||||
var f = new Marc_Plan_Sub_MarcEdit2("","");
|
||||
int currentEditorRow = row;
|
||||
string isbn = dataGridView1.Rows[row].Cells["ISBN"].Value.ToString();
|
||||
string marcData = dataGridView1.Rows[row].Cells["marc"].Value.ToString();
|
||||
|
||||
var f = new Marc_Plan_Sub_MarcEdit2(isbn, marcData);
|
||||
var data = GetBookData(currentEditorRow);
|
||||
f.LoadBook(data.marc, data.p);
|
||||
|
||||
f.RequestNext += (s, args) =>
|
||||
{
|
||||
if (currentEditorRow < dataGridView1.RowCount - 1)
|
||||
{
|
||||
currentEditorRow++;
|
||||
var nextData = GetBookData(currentEditorRow);
|
||||
f.LoadBook(nextData.marc, nextData.p);
|
||||
|
||||
// Optional: Sync grid selection
|
||||
dataGridView1.ClearSelection();
|
||||
dataGridView1.Rows[currentEditorRow].Selected = true;
|
||||
// Ensure visible
|
||||
dataGridView1.FirstDisplayedScrollingRowIndex = currentEditorRow;
|
||||
}
|
||||
};
|
||||
|
||||
f.RequestPrev += (s, args) =>
|
||||
{
|
||||
if (currentEditorRow > 0)
|
||||
{
|
||||
currentEditorRow--;
|
||||
var prevData = GetBookData(currentEditorRow);
|
||||
f.LoadBook(prevData.marc, prevData.p);
|
||||
|
||||
// Optional: Sync grid selection
|
||||
dataGridView1.ClearSelection();
|
||||
dataGridView1.Rows[currentEditorRow].Selected = true;
|
||||
// Ensure visible
|
||||
dataGridView1.FirstDisplayedScrollingRowIndex = currentEditorRow;
|
||||
}
|
||||
};
|
||||
|
||||
f.BookUpdated += (s, args) =>
|
||||
{
|
||||
dataGridView1.Rows[currentEditorRow].Cells["book_name"].Value = args.BookName;
|
||||
dataGridView1.Rows[currentEditorRow].Cells["marc"].Value = args.Marc;
|
||||
};
|
||||
|
||||
f.RequestFillBlankData += (s, args) =>
|
||||
{
|
||||
var dataList = new List<string[]>();
|
||||
string currentIsbn = dataGridView1.Rows[currentEditorRow].Cells["ISBN"].Value.ToString();
|
||||
|
||||
for (int a = 0; a < dataGridView1.Rows.Count; a++)
|
||||
{
|
||||
// Criteria for "Fill Blank" candidates.
|
||||
// Original legacy logic used Red color. Here we check if db_marc (marc column) is empty or too short.
|
||||
string mData = dataGridView1.Rows[a].Cells["marc"].Value?.ToString() ?? "";
|
||||
if (mData.Length < 10) // Assuming usage of "Red" roughly equates to invalid/missing MARC
|
||||
{
|
||||
string[] rowData = {
|
||||
a.ToString(),
|
||||
dataGridView1.Rows[a].Cells["ISBN"].Value?.ToString() ?? "",
|
||||
dataGridView1.Rows[a].Cells["book_name"].Value?.ToString() ?? "",
|
||||
dataGridView1.Rows[a].Cells["author"].Value?.ToString() ?? "",
|
||||
dataGridView1.Rows[a].Cells["book_comp"].Value?.ToString() ?? "",
|
||||
dataGridView1.Rows[a].Cells["price"].Value?.ToString() ?? "", // 'pay' in Marc2 might be 'price' here? Checked GetBookData: yes, price.
|
||||
""
|
||||
};
|
||||
dataList.Add(rowData);
|
||||
}
|
||||
}
|
||||
f.OpenFillBlank(dataList, currentIsbn);
|
||||
};
|
||||
|
||||
f.BulkBooksUpdated += (s, args) =>
|
||||
{
|
||||
foreach (var kvp in args.Updates)
|
||||
{
|
||||
int rowIdx = kvp.Key;
|
||||
string newMarc = kvp.Value;
|
||||
|
||||
// Ensure rowIdx is valid (it should be, as it came from 'a' loop index)
|
||||
if (rowIdx >= 0 && rowIdx < dataGridView1.Rows.Count)
|
||||
{
|
||||
dataGridView1.Rows[rowIdx].Cells["marc"].Value = newMarc;
|
||||
// Optional: Update color or status to indicate filled?
|
||||
// Legacy code updated color. Marc_Plan might not enforce color rules yet, but setting value is key.
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
f.Show();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -29,33 +29,20 @@ namespace UniMarc.마크
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.marcEditorControl1 = new ExcelTest.MarcEditorControl();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// marcEditorControl1
|
||||
//
|
||||
this.marcEditorControl1.BackColor = System.Drawing.Color.Gray;
|
||||
this.marcEditorControl1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.marcEditorControl1.Font = new System.Drawing.Font("돋움", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.marcEditorControl1.Location = new System.Drawing.Point(0, 0);
|
||||
this.marcEditorControl1.Name = "marcEditorControl1";
|
||||
this.marcEditorControl1.Size = new System.Drawing.Size(1337, 768);
|
||||
this.marcEditorControl1.TabIndex = 1;
|
||||
//
|
||||
// Marc_Plan_Sub_MarcEdit2
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1337, 768);
|
||||
this.Controls.Add(this.marcEditorControl1);
|
||||
this.Name = "Marc_Plan_Sub_MarcEdit2";
|
||||
this.Text = "마크편집";
|
||||
this.Load += new System.EventHandler(this.Marc_Plan_Sub_MarcEdit2_Load);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
public ExcelTest.MarcEditorControl marcEditorControl1;
|
||||
}
|
||||
}
|
||||
@@ -24,11 +24,169 @@ namespace UniMarc.마크
|
||||
String_Text st = new String_Text();
|
||||
Search_Infor si;
|
||||
Help008Tag tag008 = new Help008Tag();
|
||||
MarcEditorControl marcEditorControl1;
|
||||
public Marc_Plan_Sub_MarcEdit2(string isbn,string marcstring)
|
||||
{
|
||||
InitializeComponent();
|
||||
db.DBcon();
|
||||
marcEditorControl1 = new MarcEditorControl();
|
||||
marcEditorControl1.db = this.db;
|
||||
marcEditorControl1.FillBlankClicked += MarcEditorControl_FillBlankClicked;
|
||||
marcEditorControl1.BookSaved += MarcEditorControl_BookSaved;
|
||||
marcEditorControl1.NextButton += MarcEditorControl1_NextButton;
|
||||
marcEditorControl1.PrevButton += MarcEditorControl1_PrevButton;
|
||||
marcEditorControl1.Dock = DockStyle.Fill;
|
||||
this.StartPosition = FormStartPosition.CenterScreen;
|
||||
this.Controls.Add(marcEditorControl1);
|
||||
this.KeyPreview = true;
|
||||
this.KeyDown += (s1, e1) => {
|
||||
if(e1.KeyCode == Keys.Escape)
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
public event EventHandler RequestNext;
|
||||
public event EventHandler RequestPrev;
|
||||
|
||||
public class BookUpdatedEventArgs : EventArgs
|
||||
{
|
||||
public string BookName { get; set; }
|
||||
public string Marc { get; set; }
|
||||
}
|
||||
|
||||
public event EventHandler RequestFillBlankData;
|
||||
|
||||
public void OpenFillBlank(List<string[]> gridData, string currentIsbn)
|
||||
{
|
||||
var fb = new UniMarc.Marc_FillBlank();
|
||||
foreach (var rowData in gridData)
|
||||
{
|
||||
fb.InitFillBlank(rowData);
|
||||
}
|
||||
fb.ISBN = currentIsbn;
|
||||
|
||||
if (fb.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
// Handle results
|
||||
// We don't have direct access to 'BulkMarcResults' here easily unless we iterate.
|
||||
// But wait, BookUpdated event is for single update.
|
||||
// Marc_Plan expects 'RequestFillBlankData' to handle the *opening*, but it doesn't handle the *return* logic for bulk updates within Marc_Plan.
|
||||
// The current architecture: Marc_Plan_Sub_MarcEdit2 raises RequestFillBlankData -> Marc_Plan calls OpenFillBlank.
|
||||
// So now OpenFillBlank is running. When it returns, we have data.
|
||||
// We need to pass this data BACK to Marc_Plan.
|
||||
// I will add a 'BulkBooksUpdated' event or reuse 'BookUpdated' (but BookUpdated is single).
|
||||
// Let's create 'BulkBooksUpdated'.
|
||||
|
||||
BulkBooksUpdated?.Invoke(this, new BulkBookUpdatedEventArgs { Updates = fb.BulkMarcResults });
|
||||
}
|
||||
}
|
||||
|
||||
public class BulkBookUpdatedEventArgs : EventArgs
|
||||
{
|
||||
public Dictionary<int, string> Updates { get; set; }
|
||||
}
|
||||
|
||||
public event EventHandler<BulkBookUpdatedEventArgs> BulkBooksUpdated;
|
||||
|
||||
private void MarcEditorControl_FillBlankClicked(object sender, EventArgs e)
|
||||
{
|
||||
RequestFillBlankData?.Invoke(this, EventArgs.Empty);
|
||||
}
|
||||
|
||||
|
||||
|
||||
public event EventHandler<BookUpdatedEventArgs> BookUpdated;
|
||||
|
||||
private void MarcEditorControl_BookSaved(object sender, ExcelTest.MarcEditorControl.BookSavedEventArgs e)
|
||||
{
|
||||
// Update Specs_Marc table
|
||||
string oriMarc = e.DBMarc;
|
||||
string etc1 = e.griddata.Remark1 ?? "";
|
||||
string etc2 = e.griddata.Remark2 ?? "";
|
||||
string tag008 = e.text008;
|
||||
|
||||
// 등록번호 분류기호 저자기호 볼륨 복본
|
||||
// 별치 총서명 총서번호 저자 출판사
|
||||
// 정가 ISBN
|
||||
string[] Search_Tag = {
|
||||
"049l", "090a", "090b", "049v", "049c",
|
||||
"049f", "440a", "440v", "245d", "260b",
|
||||
"950b", "020a"
|
||||
};
|
||||
string[] SearchBookTag = st.Take_Tag(oriMarc, Search_Tag);
|
||||
|
||||
// 도서명 (본서명 = 대등서명 : 부서명)
|
||||
string[] BookTag = { "245a", "245x", "245b" };
|
||||
string[] BookNameTag = st.Take_Tag(oriMarc, BookTag);
|
||||
string BookName = mk_BookName(BookNameTag);
|
||||
|
||||
string Table = "Specs_Marc";
|
||||
string[] Search_Col = { "idx" };
|
||||
|
||||
// Current ListIdx (Wait, idx in Marc_Plan corresponds to ListIdx in Parameter?)
|
||||
// In Marc_Plan: ListIdx = idx.
|
||||
string listIdx = e.griddata.ListIdx;
|
||||
string[] Search_data = { listIdx };
|
||||
|
||||
string[] Update_Col = {
|
||||
"marc", "book_name", "etc1", "etc2",
|
||||
"r_num", "class_symbol", "author_symbol", "prefix", "s_book_name1",
|
||||
"s_book_num1", "author", "book_comp", "price", "ISBN", "tag008"
|
||||
};
|
||||
string[] Update_data = {
|
||||
oriMarc, BookName, etc1, etc2,
|
||||
SearchBookTag[0], SearchBookTag[1], SearchBookTag[2], SearchBookTag[5], SearchBookTag[6],
|
||||
SearchBookTag[7], SearchBookTag[8], SearchBookTag[9], SearchBookTag[10], SearchBookTag[11], tag008
|
||||
};
|
||||
|
||||
string cmd = db.More_Update(Table, Update_Col, Update_data, Search_Col, Search_data);
|
||||
db.DB_Send_CMD_reVoid(cmd);
|
||||
|
||||
// Notify Parent
|
||||
BookUpdated?.Invoke(this, new BookUpdatedEventArgs { BookName = BookName, Marc = oriMarc });
|
||||
|
||||
MessageBox.Show("저장되었습니다!");
|
||||
}
|
||||
|
||||
private string mk_BookName(string[] book_name)
|
||||
{
|
||||
string a245 = book_name[0]; // 도서명
|
||||
string x245 = book_name[1]; // 대동서명
|
||||
string b245 = book_name[2]; // 부서명
|
||||
|
||||
string result = a245;
|
||||
|
||||
if (x245 != "")
|
||||
result += " = " + x245;
|
||||
|
||||
if (b245 != "")
|
||||
result += " : " + b245;
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
private void MarcEditorControl1_PrevButton(object sender, EventArgs e)
|
||||
{
|
||||
RequestPrev?.Invoke(this, EventArgs.Empty);
|
||||
}
|
||||
|
||||
private void MarcEditorControl1_NextButton(object sender, EventArgs e)
|
||||
{
|
||||
RequestNext?.Invoke(this, EventArgs.Empty);
|
||||
}
|
||||
|
||||
public void LoadBook(string dbMarc, MacEditorParameter p)
|
||||
{
|
||||
this.Text = $"마크편집({p.ISBN13})-{p.BookName}";
|
||||
marcEditorControl1.LoadBookData(dbMarc, p);
|
||||
}
|
||||
|
||||
private void Marc_Plan_Sub_MarcEdit2_Load(object sender, EventArgs e)
|
||||
{
|
||||
this.Show();
|
||||
Application.DoEvents();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
163
unimarc/unimarc/마크/Marc_Plan_Sub_SelectList.Designer.cs
generated
163
unimarc/unimarc/마크/Marc_Plan_Sub_SelectList.Designer.cs
generated
@@ -29,7 +29,9 @@ namespace UniMarc.마크
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Marc_Plan_Sub_SelectList));
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.tb_Search = new System.Windows.Forms.TextBox();
|
||||
this.cb_gu = new System.Windows.Forms.ComboBox();
|
||||
@@ -51,10 +53,26 @@ namespace UniMarc.마크
|
||||
this.btn_Morge = new System.Windows.Forms.Button();
|
||||
this.btn_OpenFile = new System.Windows.Forms.Button();
|
||||
this.panel3 = new System.Windows.Forms.Panel();
|
||||
this.bn1 = new System.Windows.Forms.BindingNavigator(this.components);
|
||||
this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bs1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
|
||||
this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox();
|
||||
this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.panel1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
||||
this.panel2.SuspendLayout();
|
||||
this.panel3.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn1)).BeginInit();
|
||||
this.bn1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs1)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// panel1
|
||||
@@ -194,37 +212,42 @@ namespace UniMarc.마크
|
||||
this.dataGridView1.Name = "dataGridView1";
|
||||
this.dataGridView1.RowTemplate.Height = 23;
|
||||
this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
||||
this.dataGridView1.Size = new System.Drawing.Size(805, 324);
|
||||
this.dataGridView1.Size = new System.Drawing.Size(805, 299);
|
||||
this.dataGridView1.TabIndex = 2;
|
||||
this.dataGridView1.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellDoubleClick);
|
||||
this.dataGridView1.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dataGridView1_RowPostPaint);
|
||||
//
|
||||
// idx
|
||||
//
|
||||
this.idx.DataPropertyName = "Idx";
|
||||
this.idx.HeaderText = "idx";
|
||||
this.idx.Name = "idx";
|
||||
this.idx.Visible = false;
|
||||
//
|
||||
// list_name
|
||||
//
|
||||
this.list_name.DataPropertyName = "ListName";
|
||||
this.list_name.HeaderText = "목록명";
|
||||
this.list_name.Name = "list_name";
|
||||
this.list_name.Width = 500;
|
||||
//
|
||||
// date
|
||||
//
|
||||
this.date.DataPropertyName = "Date";
|
||||
this.date.HeaderText = "등록일시";
|
||||
this.date.Name = "date";
|
||||
this.date.Width = 130;
|
||||
//
|
||||
// user
|
||||
//
|
||||
this.user.DataPropertyName = "User";
|
||||
this.user.HeaderText = "등록자";
|
||||
this.user.Name = "user";
|
||||
this.user.Width = 80;
|
||||
//
|
||||
// colCheck
|
||||
//
|
||||
this.colCheck.DataPropertyName = "ColCheck";
|
||||
this.colCheck.FalseValue = "F";
|
||||
this.colCheck.HeaderText = "V";
|
||||
this.colCheck.IndeterminateValue = "F";
|
||||
@@ -278,19 +301,137 @@ namespace UniMarc.마크
|
||||
this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel3.Location = new System.Drawing.Point(0, 33);
|
||||
this.panel3.Name = "panel3";
|
||||
this.panel3.Size = new System.Drawing.Size(805, 324);
|
||||
this.panel3.Size = new System.Drawing.Size(805, 299);
|
||||
this.panel3.TabIndex = 4;
|
||||
//
|
||||
// bn1
|
||||
//
|
||||
this.bn1.AddNewItem = this.bindingNavigatorAddNewItem;
|
||||
this.bn1.BindingSource = this.bs1;
|
||||
this.bn1.CountItem = this.bindingNavigatorCountItem;
|
||||
this.bn1.DeleteItem = this.bindingNavigatorDeleteItem;
|
||||
this.bn1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.bn1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.bindingNavigatorMoveFirstItem,
|
||||
this.bindingNavigatorMovePreviousItem,
|
||||
this.bindingNavigatorSeparator,
|
||||
this.bindingNavigatorPositionItem,
|
||||
this.bindingNavigatorCountItem,
|
||||
this.bindingNavigatorSeparator1,
|
||||
this.bindingNavigatorMoveNextItem,
|
||||
this.bindingNavigatorMoveLastItem,
|
||||
this.bindingNavigatorSeparator2,
|
||||
this.bindingNavigatorAddNewItem,
|
||||
this.bindingNavigatorDeleteItem});
|
||||
this.bn1.Location = new System.Drawing.Point(0, 332);
|
||||
this.bn1.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
|
||||
this.bn1.MoveLastItem = this.bindingNavigatorMoveLastItem;
|
||||
this.bn1.MoveNextItem = this.bindingNavigatorMoveNextItem;
|
||||
this.bn1.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
|
||||
this.bn1.Name = "bn1";
|
||||
this.bn1.PositionItem = this.bindingNavigatorPositionItem;
|
||||
this.bn1.Size = new System.Drawing.Size(805, 25);
|
||||
this.bn1.TabIndex = 327;
|
||||
this.bn1.Text = "bindingNavigator1";
|
||||
//
|
||||
// bindingNavigatorAddNewItem
|
||||
//
|
||||
this.bindingNavigatorAddNewItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image")));
|
||||
this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem";
|
||||
this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorAddNewItem.Text = "새로 추가";
|
||||
//
|
||||
// bindingNavigatorCountItem
|
||||
//
|
||||
this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
|
||||
this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22);
|
||||
this.bindingNavigatorCountItem.Text = "/{0}";
|
||||
this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수";
|
||||
//
|
||||
// bindingNavigatorDeleteItem
|
||||
//
|
||||
this.bindingNavigatorDeleteItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorDeleteItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image")));
|
||||
this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem";
|
||||
this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorDeleteItem.Text = "삭제";
|
||||
//
|
||||
// bindingNavigatorMoveFirstItem
|
||||
//
|
||||
this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image")));
|
||||
this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
|
||||
this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동";
|
||||
//
|
||||
// bindingNavigatorMovePreviousItem
|
||||
//
|
||||
this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image")));
|
||||
this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
|
||||
this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동";
|
||||
//
|
||||
// bindingNavigatorSeparator
|
||||
//
|
||||
this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
|
||||
this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// bindingNavigatorPositionItem
|
||||
//
|
||||
this.bindingNavigatorPositionItem.AccessibleName = "위치";
|
||||
this.bindingNavigatorPositionItem.AutoSize = false;
|
||||
this.bindingNavigatorPositionItem.Font = new System.Drawing.Font("맑은 고딕", 9F);
|
||||
this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
|
||||
this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
|
||||
this.bindingNavigatorPositionItem.Text = "0";
|
||||
this.bindingNavigatorPositionItem.ToolTipText = "현재 위치";
|
||||
//
|
||||
// bindingNavigatorSeparator1
|
||||
//
|
||||
this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1";
|
||||
this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// bindingNavigatorMoveNextItem
|
||||
//
|
||||
this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image")));
|
||||
this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
|
||||
this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMoveNextItem.Text = "다음으로 이동";
|
||||
//
|
||||
// bindingNavigatorMoveLastItem
|
||||
//
|
||||
this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image")));
|
||||
this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
|
||||
this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동";
|
||||
//
|
||||
// bindingNavigatorSeparator2
|
||||
//
|
||||
this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
|
||||
this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// Marc_Plan_Sub_SelectList
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(805, 357);
|
||||
this.Controls.Add(this.panel3);
|
||||
this.Controls.Add(this.bn1);
|
||||
this.Controls.Add(this.panel2);
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "Marc_Plan_Sub_SelectList";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "마크정리_목록선택";
|
||||
this.Load += new System.EventHandler(this.Marc_Plan_Sub_SelectList_Load);
|
||||
this.panel1.ResumeLayout(false);
|
||||
@@ -298,7 +439,12 @@ namespace UniMarc.마크
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
||||
this.panel2.ResumeLayout(false);
|
||||
this.panel3.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn1)).EndInit();
|
||||
this.bn1.ResumeLayout(false);
|
||||
this.bn1.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs1)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
@@ -325,5 +471,18 @@ namespace UniMarc.마크
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn user;
|
||||
private System.Windows.Forms.DataGridViewCheckBoxColumn colCheck;
|
||||
private System.Windows.Forms.Button btn_OpenFile;
|
||||
private System.Windows.Forms.BindingNavigator bn1;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem;
|
||||
private System.Windows.Forms.BindingSource bs1;
|
||||
private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator;
|
||||
private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2;
|
||||
}
|
||||
}
|
||||
@@ -16,11 +16,15 @@ namespace UniMarc.마크
|
||||
{
|
||||
Helper_DB db = new Helper_DB();
|
||||
string compidx;
|
||||
Marc_Plan mp;
|
||||
public Marc_Plan_Sub_SelectList(Marc_Plan _mp)
|
||||
|
||||
public string ResultIdx { get; private set; }
|
||||
public string ResultListName { get; private set; }
|
||||
public string ResultDate { get; private set; }
|
||||
public List<string[]> ResultFileRows { get; private set; }
|
||||
|
||||
public Marc_Plan_Sub_SelectList()
|
||||
{
|
||||
InitializeComponent();
|
||||
mp = _mp;
|
||||
compidx = Properties.Settings.Default.compidx;
|
||||
}
|
||||
|
||||
@@ -57,7 +61,7 @@ namespace UniMarc.마크
|
||||
|
||||
public void btn_Search_Click(object sender, EventArgs e)
|
||||
{
|
||||
dataGridView1.Rows.Clear();
|
||||
// dataGridView1.Rows.Clear();
|
||||
|
||||
string gu = cb_gu.Text; // 검색 필터
|
||||
string text = tb_Search.Text; // 검색어 DB LIKE 검색
|
||||
@@ -73,17 +77,32 @@ namespace UniMarc.마크
|
||||
#region Search_Sub
|
||||
private void Input_Grid(string[] ary)
|
||||
{
|
||||
List<MarcPlanItem> dataList = new List<MarcPlanItem>();
|
||||
string[] grid = { "", "", "", "", "F" };
|
||||
for(int a = 0; a < ary.Length; a++)
|
||||
for (int a = 0; a < ary.Length; a++)
|
||||
{
|
||||
if (a % 4 == 0) grid[0] = ary[a];
|
||||
if (a % 4 == 1) grid[1] = ary[a];
|
||||
if (a % 4 == 2) grid[2] = ary[a];
|
||||
if (a % 4 == 3) {
|
||||
if (a % 4 == 3)
|
||||
{
|
||||
grid[3] = ary[a];
|
||||
dataGridView1.Rows.Add(grid);
|
||||
|
||||
MarcPlanItem item = new MarcPlanItem
|
||||
{
|
||||
Idx = grid[0],
|
||||
ListName = grid[1],
|
||||
Date = grid[2],
|
||||
User = grid[3],
|
||||
ColCheck = "F"
|
||||
};
|
||||
dataList.Add(item);
|
||||
//dataGridView1.Rows.Add(grid);
|
||||
}
|
||||
}
|
||||
bs1.DataSource = dataList;
|
||||
dataGridView1.AutoGenerateColumns = false;
|
||||
dataGridView1.DataSource = bs1;
|
||||
}
|
||||
#endregion
|
||||
|
||||
@@ -92,7 +111,8 @@ namespace UniMarc.마크
|
||||
string name = ((Button)sender).Text;
|
||||
int[] CheckRow = CheckIndex();
|
||||
|
||||
if (CheckRow.Length != 1) {
|
||||
if (CheckRow.Length != 1)
|
||||
{
|
||||
MessageBox.Show("처리할 목록 [1]개 선택하여 주세요.");
|
||||
return;
|
||||
}
|
||||
@@ -102,7 +122,7 @@ namespace UniMarc.마크
|
||||
string msg = string.Format("【{0}】을(를) {1} 하시겠습니까?", dataGridView1.Rows[row].Cells["list_name"].Value.ToString(), name);
|
||||
if (MessageBox.Show(msg, name, MessageBoxButtons.OKCancel) == DialogResult.Cancel)
|
||||
return;
|
||||
|
||||
|
||||
string[] search_col = { "idx", "work_list", "date" };
|
||||
string[] update_col = { "state" };
|
||||
string[] search_data = {
|
||||
@@ -126,7 +146,8 @@ namespace UniMarc.마크
|
||||
{
|
||||
int[] CheckRow = CheckIndex();
|
||||
|
||||
if (CheckRow.Length != 1) {
|
||||
if (CheckRow.Length != 1)
|
||||
{
|
||||
MessageBox.Show("수정할 목록 [1]개 선택하여 주세요.");
|
||||
return;
|
||||
}
|
||||
@@ -144,7 +165,8 @@ namespace UniMarc.마크
|
||||
{
|
||||
int[] CheckRow = CheckIndex();
|
||||
|
||||
if (CheckRow.Length < 2) {
|
||||
if (CheckRow.Length < 2)
|
||||
{
|
||||
MessageBox.Show("병합할 목록 [2]개이상 선택하여 주세요.");
|
||||
return;
|
||||
}
|
||||
@@ -172,7 +194,8 @@ namespace UniMarc.마크
|
||||
{
|
||||
int[] CheckRow = CheckIndex();
|
||||
|
||||
if (CheckRow.Length != 1) {
|
||||
if (CheckRow.Length != 1)
|
||||
{
|
||||
MessageBox.Show("삭제할 목록 [1]개 선택하여 주세요.");
|
||||
return;
|
||||
}
|
||||
@@ -226,27 +249,29 @@ namespace UniMarc.마크
|
||||
OpenFileDialog OpenFileDialog = new OpenFileDialog();
|
||||
if (OpenFileDialog.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
mp.dataGridView1.Rows.Clear();
|
||||
string filePath = OpenFileDialog.FileName;
|
||||
try
|
||||
if (OpenFileDialog.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
System.IO.StreamReader r = new System.IO.StreamReader(filePath, Encoding.Default);
|
||||
InputGridByFileData(r.ReadToEnd());
|
||||
r.Close();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show(ex.ToString());
|
||||
//mp.dataGridView1.Rows.Clear(); // Decoupled
|
||||
string filePath = OpenFileDialog.FileName;
|
||||
try
|
||||
{
|
||||
System.IO.StreamReader r = new System.IO.StreamReader(filePath, Encoding.Default);
|
||||
InputGridByFileData(r.ReadToEnd());
|
||||
r.Close();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show(ex.ToString());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#region OpenFileSub
|
||||
|
||||
void InputGridByFileData(string text)
|
||||
{
|
||||
String_Text st = new String_Text();
|
||||
|
||||
|
||||
string[] grid = text.Split('');
|
||||
for (int a = 0; a < grid.Length - 1; a++)
|
||||
{
|
||||
@@ -256,14 +281,15 @@ namespace UniMarc.마크
|
||||
// ISBN, 도서명, 총서명1, 총서번호1, 총서명2, 총서번호2, 출판사, 정가, 저자
|
||||
"020a", "245a", "440a", "440v", "490a", "490v", "260b", "950b", "245d" };
|
||||
string[] Search_Res = st.Take_Tag(grid[a], Search);
|
||||
|
||||
|
||||
|
||||
string[] Author_Search = { "100a", "110a", "111a" };
|
||||
string[] Author_Res = st.Take_Tag(grid[a], Author_Search);
|
||||
string author_Fin = Search_Res[14];
|
||||
foreach (string author in Author_Res)
|
||||
{
|
||||
if (author != "") {
|
||||
if (author != "")
|
||||
{
|
||||
author_Fin = author;
|
||||
break;
|
||||
}
|
||||
@@ -280,10 +306,13 @@ namespace UniMarc.마크
|
||||
author_Fin, Search_Res[12], Search_Res[13], "", grid[a],
|
||||
// 검색태그
|
||||
"", "T" };
|
||||
mp.dataGridView1.Rows.Add(AddGrid);
|
||||
this.Close();
|
||||
if (ResultFileRows == null) ResultFileRows = new List<string[]>();
|
||||
ResultFileRows.Add(AddGrid);
|
||||
//mp.dataGridView1.Rows.Add(AddGrid);
|
||||
}
|
||||
this.DialogResult = DialogResult.OK;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private void btn_Close_Click(object sender, EventArgs e)
|
||||
@@ -293,12 +322,14 @@ namespace UniMarc.마크
|
||||
|
||||
private void cb_gu_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (cb_gu.SelectedIndex == 0) {
|
||||
if (cb_gu.SelectedIndex == 0)
|
||||
{
|
||||
btn_Progress.Enabled = false;
|
||||
btn_Complite.Enabled = true;
|
||||
btn_Search_Click(null, e);
|
||||
}
|
||||
else {
|
||||
else
|
||||
{
|
||||
btn_Complite.Enabled = false;
|
||||
btn_Progress.Enabled = true;
|
||||
btn_Search_Click(null, e);
|
||||
@@ -317,8 +348,13 @@ namespace UniMarc.마크
|
||||
string list_name = dataGridView1.Rows[row].Cells["list_name"].Value.ToString();
|
||||
string date = dataGridView1.Rows[row].Cells["date"].Value.ToString();
|
||||
|
||||
mp.mk_Grid(list_name, date);
|
||||
mp.mk_Panel(idx, list_name, date);
|
||||
ResultIdx = idx;
|
||||
ResultListName = list_name;
|
||||
ResultDate = date;
|
||||
this.DialogResult = DialogResult.OK;
|
||||
|
||||
//mp.mk_Grid(list_name, date);
|
||||
//mp.mk_Panel(idx, list_name, date);
|
||||
|
||||
this.Close();
|
||||
}
|
||||
|
||||
@@ -132,4 +132,75 @@
|
||||
<metadata name="colCheck.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="bn1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="bindingNavigatorAddNewItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
vAAADrwBlbxySQAAAVdJREFUOE/Nz0tLAmEUBmB3kWRoCUVEISFUJGb1OywiKrDsIpZdkJAkDUvDQkij
|
||||
UKSbVIvatKhNi9oERRAGEQXhjJdp7Hd83/eGs2jhLGQ20QtndTgP71Gp/m0KZ1XInlTjM6XG+4EG5fuK
|
||||
yaTUIN8bIMUQ0gmtcuBtX/MLPMT0yoHnuA6kuA4iruI20lAZ+DiswWuyFum4Dk+7dbiP6kHEFVDBg+tQ
|
||||
My4DLbjwG3DqbcORxygHXxJakGIQRFwDEf0gwjKI4AYtzIHmHaA5Oxg/CsYPIb7YIQced+qluvTLCyIs
|
||||
gRYWQPNO0NwkWNYGxg+DcYNgGSu2Z0xy4C7SiJtwE66kuq049xlAs2Ng/AiS7nbszXci6jIh4jQjPGWR
|
||||
A+U59hiluowbQMzVVfmgPKU/GdcPxlmx5TArB6KzJunf0gTtPcqBzeluhCYsCIz3wm/rUw78WX4AJCPY
|
||||
nlwVm9EAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="bs1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>92, 17</value>
|
||||
</metadata>
|
||||
<data name="bindingNavigatorDeleteItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
vAAADrwBlbxySQAAAWtJREFUOE+1kE0ow2Ecx/9X5a2UiwtKOSCTmJBMhuQlMo3IvCUHDouEXHZwIOVC
|
||||
DrhIDiQl5USy07zNa2tKf2laaRf84/J8xBCetab4XL/f76fn+SnKX4DrGLqrwbHDzywkWJlHdJYjLEbY
|
||||
Wg8q4eYKlma+d1hbgF4TotWIaC+FuYmAktcXCksx2HrknBOHX1KbiTDngrXhW0kMdSBM2TA5Io+/wuI0
|
||||
oiz5TcRwB7hPYazfLx3rDz7+gCsXNBb4v1SdgajTQ19TaOMP2NtFmPSIilSo0v1y7FHBnAdZMWi6aO51
|
||||
kVCTGZoEzzWYciA/Dl9bBZwfvh3XmxIJy7PBJdx5odnAQ2E87qJUfPbtzwGjVpxJEWjH+4ElPD/BYBsY
|
||||
EjhKicW3sSoVb0vSUFsq0W6upUxhdxMtOxZnYhhqVz1oj3JJUZSdpCg0p0POmLKhJofjNqaDeikX3tFG
|
||||
uuHsQM65cML4ABzY5fA/eQGKIwMcVjm2bAAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
vAAADrwBlbxySQAAATFJREFUOE9jYBg0oHDW8/9NC57/z5z4+D+6HAyEtz/AKceQO/PZ/1VH3v/HpSi+
|
||||
+8H/4IZrWOXAIGPK0/8L933Aqii+5+H/pfv///evvoAhBwcJPU/+T9vyHkNRRPt9sObMWf//e5WewG1A
|
||||
ZNej/72rP6AoCm29B9bcuu7/f//Ov/9d8g/gNiCw+eH/uvnv4IqCW+7+X7T3//+Odf//Z8z5+d+u7ud/
|
||||
+4ztuA3wqLr/P3/aGxRFdsW3/6fP+f3fv+vbf53Cd/8tEtbjNsC+9O7/7MmvMRTpp5z/b1L04r9K1qf/
|
||||
xpHLcBtgkXfnf2r/a6yKDJJO/JdN+/pfN3gehhwcGGbd/h/W8hKnIv3Uy/81fKdhlQMDnbQb//2qH+JV
|
||||
pOIxAaccg1Pulf8gBXgVDUoAAPB2wKtYlLYeAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMovePreviousItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
vAAADrwBlbxySQAAALtJREFUOE9jYBgyILz9wX90MaJBfPeD/8EN18gzIL7n4f+l+///96++QLoBEe33
|
||||
wZozZ/3/71V6gjQDQlvvgTW3rvv/37/z73+X/APEGxDccvf/or3//3es+/8/Y87P/3Z1P//bZ2wn3gAQ
|
||||
sCu+/T99zu///l3f/usUvvtvkbCeNANAQD/l/H+Tohf/VbI+/TeOXEa6ASBgkHTiv2za1/+6wfPIMwAE
|
||||
9FMv/9fwnUa+ASCg4jGBMgMGLwAA0BRgmCws/7cAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMoveNextItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
vAAADrwBlbxySQAAAKRJREFUOE9jYBh0oHDW8//oYiSB3JnP/id03yPfkIwpT//P2//7f0LXHfIMSeh5
|
||||
8n/2vl//O7f+/e9Wepl0QyK7Hv2fsu3X/5Klf/8nTP/73yb3LGmGBDY//N+69j1Ys3HJl//S0df+G0cu
|
||||
I94Qj6r7/0vmvoNrVnTpIV4zCNiX3v0f2PKMPM0gYJF3579NwRXyNIOAYdZt8jWDgE7aDfI1D00AAKB+
|
||||
X6Bjq5qXAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMoveLastItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
vAAADrwBlbxySQAAAStJREFUOE9jYBhUoHDW8//oYjAAkmta8Px/5sTHONUw5M589j+h+x5WBSC5VUfe
|
||||
/w9vf4BVHgwypjz9P2//7/8JXXcwFIHkFu778D+44RqGHBwk9Dz5P3vfr/+dW//+dyu9jKIQJDdty/v/
|
||||
/tUXcBsQ2fXo/5Rtv/6XLP37P2H63/82uWfhikFyvas//PcqPYHbgMDmh/9b174HazYu+fJfOvraf+PI
|
||||
ZWANILm6+e/+u+QfwG2AR9X9/yVz38E1K7r0wBWD5PKnvflvn7EdtwH2pXf/B7Y8w9AMk8ue/Pq/RcJ6
|
||||
3AZY5N35b1NwBUMzTC61/zXcS1iBYdZtrJpBACQX1vLyv27wPKzyYKCTdgOnJEjOr/rhfw3faTjV4AVO
|
||||
uVf+q3hMAGN0uYEFAL7Rv7NmXVYYAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
</root>
|
||||
Reference in New Issue
Block a user