=====* UniMarc [0.0122] 버전 업데이트 내용 *=====

1. 메인
ㄴ> 맨 하단 버전 표출 추가

2. 마크 작성
ㄴ> 정렬관련 버그 수정완료
ㄴ> 드래그앤 드랍으로 줄 바꿈 추가
ㄴ> 등급에 따라 표시되는 색상 변경. (A - 파랑, B - 검정, C - 회색, D - 빨강)

3. 복본조사
ㄴ> 붙혀넣기시 자동으로 검색할 최대값 증가
ㄴ> 광주 시립도서관 복본조사 결과 미표출 버그 수정 완료

4. 마크 정리
ㄴ> 마크 정리쪽에서 마크파일을 불러와 작업을 진행할 수 있게 추가.
This commit is contained in:
SeungHo Yang
2022-02-09 17:42:00 +09:00
parent 35f0155bb8
commit c5aa23801e
21 changed files with 607 additions and 447 deletions

View File

@@ -47,6 +47,8 @@ namespace WindowsFormsApp1
login login = new login();
VersionInfo();
if (DialogResult.OK == login.ShowDialog(this)) {
this.Visible = true;
}
@@ -69,10 +71,11 @@ namespace WindowsFormsApp1
User = result[3];
}
if (result[8] != "관리자") { ToolStripMenuItem.Visible = false; }
if (result[7] != "관리자") { ToolStripMenuItem.Visible = false; }
cmd = _DB.DB_Select_Search("`idx`", "Comp", "comp_name", result[5]);
cmd = _DB.DB_Select_Search("`idx`", "Comp", "comp_name", result[4]);
com_idx = _DB.DB_Send_CMD_Search(cmd).Replace("|", "");
Settings.Default.compidx = com_idx;
Settings.Default.User = botUserLabel.Text;
@@ -84,6 +87,21 @@ namespace WindowsFormsApp1
catch (Exception ex) { MessageBox.Show(ex.ToString()); }
}
private void VersionInfo()
{
StreamReader sr = new StreamReader(Application.StartupPath + "\\update.inf");
int i = -1;
while (!sr.EndOfStream)
{
string line = sr.ReadLine();
if (line.IndexOf("count=", 0) != -1)
{
string version = line.Replace("count=", "");
VersionText.Text = string.Format("UniMarc Ver {0}", version);
}
}
}
#region
public void SetBtnName()
{