Compare commits

...

10 Commits

Author SHA1 Message Date
chi
344659c1b9 복본검색 : 도서관이름 검색이 검색완료된 검색어가 다시 검색안되는 현상 수정
마지막 항목이 검색되지 않는 현상 수정
  사이트리뉴얼로 기존 코드로 분석이 쉽지 않음 변경이 필요 함
2025-07-06 19:25:11 +09:00
SeungHo Yang
701f84d96a ReadMe.MD ㅍㅏ일추가
유틸리티 및 데이터그리드뷰 내보내기 기능 추가 (사과)
거래처목록 내보내기 기능 추가
2025-06-16 21:45:00 +09:00
SeungHo Yang
cc34b3c9e3 작업전 커밋 2025-06-16 20:47:29 +09:00
SeungHo Yang
be2a83ac1a .. 2025-06-02 15:52:46 +09:00
SeungHo Yang
9edbfab45a old commit < 250527-232400 2025-05-27 23:26:37 +09:00
SeungHo Yang
7b0aeb30e9 =====* UniMarc [0.0181] 버전 업데이트 내용 *=====
** ERP 작업 전면 중단 (마크우선) **

1. CD/LP DVD 목록
ㄴ> 해당 폼 삭제.

2. CD/LP DVD 편목
ㄴ> 도서 마크 관리의 축소판을 목표로 만들어보는중.
 ㄴ> 목록 추가, 수정, 삭제 기능 추가.
 ㄴ> CD/LP DVD전용 마크 테이블 생성하여 새로 관리에 들어감.
ㄴ> 현재 해당 폼 작업은 다 했으나, 마크 정리로 넘어가는 작업중에 있음.

3. skill.cs
ㄴ> 버전관리 main에서 skill로 옮김.
ㄴ> 한줄짜리 마크만들기 CD/LP버전 추가

4. 복본조사
ㄴ> 송원대 중앙도서관 추가

5. 마크정리
ㄴ> 구분하여 색 입력 기능 추가.

6. 중복마크검색
ㄴ> CD/LP DVD용 소스코드 추가 작성

7. 마크정리용 마크편집창
ㄴ> 단축키 일관성을 위해 소스코드 및 단축키 변경
2022-12-01 18:08:02 +09:00
SeungHo Yang
8fdbe8029f =====* UniMarc [0.0180] 버전 업데이트 내용 *=====
** ERP 작업 전면 중단 (마크우선) **

1. CD/LP DVD 편목
ㄴ> 저장하는데 버그있던 점 수정

2. CD/LP DVD 목록
ㄴ> 마크 삭제 추가.
2022-11-24 17:52:17 +09:00
SeungHo Yang
edef3acdd3 =====* UniMarc [0.0180] 버전 업데이트 내용 *=====
** ERP 작업 전면 중단 (마크우선) **

1. 로그인
ㄴ> 로그인에 버전별로 업데이트 내역을 볼수있음.

2. DLS
ㄴ> DLS 검색에서 거래처도 같이 검색되던 버그 수정완료.

3. 마크 편집
ㄴ> 마지막 편집날짜가 14일내인 경우 노란색으로 표출되지않는 버그 수정

4. 코리스 마크 가져오기
ㄴ> 마크를 가져오지않던 버그 수정.

5. 매크로
ㄴ> 440a가 괄호 시작일 경우 지시기호 [10] 아니면 [00] 추가
ㄴ> 440 태그 삭제 추가

6. 마크 정리
ㄴ> 검색태그 내 단어 검색 기능 추가.
ㄴ> 검색태그 변경시 적용이 제대로 되지 않던 버그 수정.

7. 미리보기
ㄴ> 교보에서 익스플로러 지원을 끊은 관계로 알라딘으로 대체
2022-11-23 15:51:13 +09:00
SeungHo Yang
412ab3d7ad =====* UniMarc [0.0179] 버전 업데이트 내용 *=====
** ERP 작업 전면 중단 (마크우선) **

1. 복본 조사
도서관 새창 띄우기 기능 추가

2. 마크 편집
마크 저장시 작성된 마크 내의 ISBN과 사전에 설정된 ISBN을 대조하여 저장여부를 결정하게 추가

3. 마크 정리
별치에 따라 색 부여기능 추가
띠라벨 개수 파악기능 추가
장비작업 엑셀가능 추가

4. 마크 정리 - 마크 편집
글자 뒷 배경이 회색으로 표출되었으나 투명하게 변경

5. 추가된 폼
분류기호 띠라벨 갯수파악
장비작업 엑셀 생성
2022-11-21 10:27:29 +09:00
SeungHo Yang
3731dfa211 =====* UniMarc [0.0178] 버전 업데이트 내용 *=====
** ERP 작업 전면 중단 (마크우선) **

1. 마크 정리
복본 자동부여 기능 추가.
빈칸으로 수정시 마크에 태그가 그대로 남는 버그 수정.
2022-11-17 18:25:55 +09:00
165 changed files with 9595 additions and 301637 deletions

9
.gitignore vendored
View File

@@ -1,6 +1,10 @@
## 파일무시
## 다음과 같은 확장자는 전체 무시
.vs
bin
obj
packages
*.pub
*.sln
*.inf
@@ -26,4 +30,7 @@ Output_Excel/
Test_DLS/
MarcCroling/
OutPutMarc/
GolfTicketing/
GolfTicketing/
/unimarc/UniMarc/obj
/unimarc/UniMarc/.vs
/unimarc/UniMarc/bin

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1,273 +0,0 @@
<!DOCTYPE html>
<!-- saved from url=(0014)about:internet -->
<html xmlns:msxsl="urn:schemas-microsoft-com:xslt"><head><meta content="en-us" http-equiv="Content-Language" /><meta content="text/html; charset=utf-16" http-equiv="Content-Type" /><title _locID="ConversionReport0">
마이그레이션 보고서
</title><style>
/* Body style, for the entire document */
body
{
background: #F3F3F4;
color: #1E1E1F;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
padding: 0;
margin: 0;
}
/* Header1 style, used for the main title */
h1
{
padding: 10px 0px 10px 10px;
font-size: 21pt;
background-color: #E2E2E2;
border-bottom: 1px #C1C1C2 solid;
color: #201F20;
margin: 0;
font-weight: normal;
}
/* Header2 style, used for "Overview" and other sections */
h2
{
font-size: 18pt;
font-weight: normal;
padding: 15px 0 5px 0;
margin: 0;
}
/* Header3 style, used for sub-sections, such as project name */
h3
{
font-weight: normal;
font-size: 15pt;
margin: 0;
padding: 15px 0 5px 0;
background-color: transparent;
}
/* Color all hyperlinks one color */
a
{
color: #1382CE;
}
/* Table styles */
table
{
border-spacing: 0 0;
border-collapse: collapse;
font-size: 10pt;
}
table th
{
background: #E7E7E8;
text-align: left;
text-decoration: none;
font-weight: normal;
padding: 3px 6px 3px 6px;
}
table td
{
vertical-align: top;
padding: 3px 6px 5px 5px;
margin: 0px;
border: 1px solid #E7E7E8;
background: #F7F7F8;
}
/* Local link is a style for hyperlinks that link to file:/// content, there are lots so color them as 'normal' text until the user mouse overs */
.localLink
{
color: #1E1E1F;
background: #EEEEED;
text-decoration: none;
}
.localLink:hover
{
color: #1382CE;
background: #FFFF99;
text-decoration: none;
}
/* Center text, used in the over views cells that contain message level counts */
.textCentered
{
text-align: center;
}
/* The message cells in message tables should take up all avaliable space */
.messageCell
{
width: 100%;
}
/* Padding around the content after the h1 */
#content
{
padding: 0px 12px 12px 12px;
}
/* The overview table expands to width, with a max width of 97% */
#overview table
{
width: auto;
max-width: 75%;
}
/* The messages tables are always 97% width */
#messages table
{
width: 97%;
}
/* All Icons */
.IconSuccessEncoded, .IconInfoEncoded, .IconWarningEncoded, .IconErrorEncoded
{
min-width:18px;
min-height:18px;
background-repeat:no-repeat;
background-position:center;
}
/* Success icon encoded */
.IconSuccessEncoded
{
/* Note: Do not delete the comment below. It is used to verify the correctness of the encoded image resource below before the product is released */
/* [---XsltValidateInternal-Base64EncodedImage:IconSuccess#Begin#background-image: url(data:image/png;base64,#Separator#);#End#] */
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABcElEQVR4Xq2TsUsCURzHv15g8ZJcBWlyiYYgCIWcb9DFRRwMW5TA2c0/QEFwFkxxUQdxVlBwCYWOi6IhWgQhBLHJUCkhLr/BW8S7gvrAg+N+v8/v+x68Z8MGy+XSCyABQAXgBgHGALoASkIIDWSLeLBetdHryMjd5IxQPWT4rn1c/P7+xxp72Cs9m5SZ0Bq2vPnbPFafK2zDvmNHypdC0BPkLlQhxJsCAhQoZwdZU5mwxh720qGo8MzTxTTKZDPCx2HoVzp6lz0Q9tKhyx0kGs8Ny+TkWRKk8lCROwEduhyg9l/6lunOPSfmH3NUH6uQ0KHLAe7JYvJjevm+DAMGJHToKtigE+vwvIidxLamb8IBY9e+C5LiXREkfho3TSd06HJA13/oh6T51MTsfQbHrsMynQ5dDihFjiK8JJAU9AKIWTp76dCVN7HWHrajmUEGvyF9nkbAE6gLIS7kTUyuf2gscLoJrElZo/Mvj+nPz/kLTmfnEwP3tB0AAAAASUVORK5CYII=);
}
/* Information icon encoded */
.IconInfoEncoded
{
/* Note: Do not delete the comment below. It is used to verify the correctness of the encoded image resource below before the product is released */
/* [---XsltValidateInternal-Base64EncodedImage:IconInformation#Begin#background-image: url(data:image/png;base64,#Separator#);#End#] */
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABHElEQVR4Xs2TsUoDQRRF7wwoziokjZUKadInhdhukR9YP8DMX1hYW+QvdsXa/QHBbcXC7W0CamWTQnclFutceIQJwwaWNLlwm5k5d94M76mmaeCrrmsLYOocY12FcxZFUeozCqKqqgYA8uevv1H6VuPxcwlfk5N92KHBxfFeCSAxxswlYAW/Xr989x/mv9gkhtyMDhcAxgzRsp7flj8B/HF1RsMXq+NZMkopaHe7lbKxQUEIGbKsYNoGn969060hZBkQex/W8oRQwsQaW2o3Ago2SVcJUzAgY3N0lTCZZm+zPS8HB51gMmS1DEYyOz9acKO1D8JWTlafKIMxdhvlfdyT94Vv5h7P8Ky7nQzACmhvKq3zk3PjW9asz9D/1oigecsioooAAAAASUVORK5CYII=);
}
/* Warning icon encoded */
.IconWarningEncoded
{
/* Note: Do not delete the comment below. It is used to verify the correctness of the encoded image resource below before the product is released */
/* [---XsltValidateInternal-Base64EncodedImage:IconWarning#Begin#background-image: url(data:image/png;base64,#Separator#);#End#] */
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAx0lEQVR4XpWSMQ7CMAxFf4xAyBMLCxMrO8dhaBcuwdCJS3RJBw7SA/QGTCxdWJgiQYWKXJWKIXHIlyw5lqr34tQgEOdcBsCOx5yZK3hCCKdYXneQkh4pEfqzLfu+wVDSyyzFoJjfz9NB+pAF+eizx2Vruts0k15mPgvS6GYvpVtQhB61IB/dk6AF6fS4Ben0uIX5odtFe8Q/eW1KvFeH4e8khT6+gm5B+t3juyDt7n0jpe+CANTd+oTUjN/U3yVaABnSUjFz/gFq44JaVSCXeQAAAABJRU5ErkJggg==);
}
/* Error icon encoded */
.IconErrorEncoded
{
/* Note: Do not delete the comment below. It is used to verify the correctness of the encoded image resource below before the product is released */
/* [---XsltValidateInternal-Base64EncodedImage:IconError#Begin#background-image: url(data:image/png;base64,#Separator#);#End#] */
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABQElEQVR4XqWTvUoEQRCE6wYPZUA80AfwAQz23uCMjA7MDRQEIzPBVEyNTQUFIw00vcQTTMzuAh/AxEQQT8HF/3G/oGGnEUGuoNnd6qoZuqltyKEsyzVJq5I6rnUp6SjGeGhESikzzlc1eL7opfuVbrqbU1Zw9NCgtQMaZpY0eNnaaL2fHusvTK5vKu7sjSS1Y4y3QUA6K3e3Mau5UFDyMP7tYF9o8cAHZv68vipoIJg971PZIZ5HiwdvYGGvFVFHmGmZ2MxwmQYPXubPl9Up0tfoMQGetXd6mRbvhBw+boZ6WF7Mbv1+GsHRk0fQmPAH1GfmZirbCfDJ61tw3Px8/8pZsPAG4jlVhcPgZ7adwNWBB68lkRQWFiTgFlbnLY3DGGM7izIJIyT/jjIvEJw6fdJTc6krDzh6aMwMP9bvDH4ADSsa9uSWVJkAAAAASUVORK5CYII=);
}
</style><script type="text/javascript" language="javascript">
// Startup
// Hook up the the loaded event for the document/window, to linkify the document content
var startupFunction = function() { linkifyElement("messages"); };
if(window.attachEvent)
{
window.attachEvent('onload', startupFunction);
}
else if (window.addEventListener)
{
window.addEventListener('load', startupFunction, false);
}
else
{
document.addEventListener('load', startupFunction, false);
}
// Toggles the visibility of table rows with the specified name
function toggleTableRowsByName(name)
{
var allRows = document.getElementsByTagName('tr');
for (i=0; i < allRows.length; i++)
{
var currentName = allRows[i].getAttribute('name');
if(!!currentName && currentName.indexOf(name) == 0)
{
var isVisible = allRows[i].style.display == '';
isVisible ? allRows[i].style.display = 'none' : allRows[i].style.display = '';
}
}
}
function scrollToFirstVisibleRow(name)
{
var allRows = document.getElementsByTagName('tr');
for (i=0; i < allRows.length; i++)
{
var currentName = allRows[i].getAttribute('name');
var isVisible = allRows[i].style.display == '';
if(!!currentName && currentName.indexOf(name) == 0 && isVisible)
{
allRows[i].scrollIntoView(true);
return true;
}
}
return false;
}
// Linkifies the specified text content, replaces candidate links with html links
function linkify(text)
{
if(!text || 0 === text.length)
{
return text;
}
// Find http, https and ftp links and replace them with hyper links
var urlLink = /(http|https|ftp)\:\/\/[a-zA-Z0-9\-\.]+(:[a-zA-Z0-9]*)?\/?([a-zA-Z0-9\-\._\?\,\/\\\+&%\$#\=~;\{\}])*/gi;
return text.replace(urlLink, '<a href="$&">$&</a>') ;
}
// Linkifies the specified element by ID
function linkifyElement(id)
{
var element = document.getElementById(id);
if(!!element)
{
element.innerHTML = linkify(element.innerHTML);
}
}
function ToggleMessageVisibility(projectName)
{
if(!projectName || 0 === projectName.length)
{
return;
}
toggleTableRowsByName("MessageRowClass" + projectName);
toggleTableRowsByName('MessageRowHeaderShow' + projectName);
toggleTableRowsByName('MessageRowHeaderHide' + projectName);
}
function ScrollToFirstVisibleMessage(projectName)
{
if(!projectName || 0 === projectName.length)
{
return;
}
// First try the 'Show messages' row
if(!scrollToFirstVisibleRow('MessageRowHeaderShow' + projectName))
{
// Failed to find a visible row for 'Show messages', try an actual message row
scrollToFirstVisibleRow('MessageRowClass' + projectName);
}
}
</script></head><body><h1 _locID="ConversionReport">
마이그레이션 보고서 - </h1><div id="content"><h2 _locID="OverviewTitle">개요</h2><div id="overview"><table><tr><th></th><th _locID="ProjectTableHeader">프로젝트</th><th _locID="PathTableHeader">경로</th><th _locID="ErrorsTableHeader">오류</th><th _locID="WarningsTableHeader">경고</th><th _locID="MessagesTableHeader">메시지</th></tr><tr><td class="IconErrorEncoded" /><td><strong><a href="#Setup_UniMarc">Setup_UniMarc</a></strong></td><td>Setup_UniMarc\Setup_UniMarc.vdproj</td><td class="textCentered"><a href="#Setup_UniMarcError">1</a></td><td class="textCentered"><a>0</a></td><td class="textCentered"><a href="#">0</a></td></tr><tr><td class="IconSuccessEncoded" /><td><strong><a href="#Solution"><span _locID="OverviewSolutionSpan">솔루션</span></a></strong></td><td>unimarc.sln</td><td class="textCentered"><a>0</a></td><td class="textCentered"><a>0</a></td><td class="textCentered"><a href="#" onclick="ScrollToFirstVisibleMessage('Solution'); return false;">1</a></td></tr></table></div><h2 _locID="SolutionAndProjectsTitle">솔루션 및 프로젝트</h2><div id="messages"><a name="Setup_UniMarc" /><h3>Setup_UniMarc</h3><table><tr id="Setup_UniMarcHeaderRow"><th></th><th class="messageCell" _locID="MessageTableHeader">메시지</th></tr><tr name="ErrorRowClassSetup_UniMarc"><td class="IconErrorEncoded"><a name="Setup_UniMarcError" /></td><td class="messageCell"><strong>Setup_UniMarc\Setup_UniMarc.vdproj:
</strong><span>이 프로젝트 형식을 기반으로 하는 애플리케이션을 찾지 못했습니다. 추가 정보를 보려면 이 링크를 확인하십시오. 54435603-dbb4-11d2-8724-00a0c9a8b90c</span></td></tr></table><a name="Solution" /><h3 _locID="ProjectDisplayNameHeader">솔루션</h3><table><tr id="SolutionHeaderRow"><th></th><th class="messageCell" _locID="MessageTableHeader">메시지</th></tr><tr name="MessageRowHeaderShowSolution"><td class="IconInfoEncoded" /><td class="messageCell"><a _locID="ShowAdditionalMessages" href="#" name="SolutionMessage" onclick="ToggleMessageVisibility('Solution'); return false;">
표시 1 추가 메시지
</a></td></tr><tr name="MessageRowClassSolution" style="display: none"><td class="IconInfoEncoded"><a name="SolutionMessage" /></td><td class="messageCell"><strong>unimarc.sln:
</strong><span>솔루션 파일은 마이그레이션하지 않아도 됩니다.</span></td></tr><tr style="display: none" name="MessageRowHeaderHideSolution"><td class="IconInfoEncoded" /><td class="messageCell"><a _locID="HideAdditionalMessages" href="#" name="SolutionMessage" onclick="ToggleMessageVisibility('Solution'); return false;">
숨기기 1 추가 메시지
</a></td></tr></table></div></div></body></html>

BIN
unimarc/dll/ArLog.Net4.dll Normal file

Binary file not shown.

Binary file not shown.

BIN
unimarc/dll/arCommUtil.dll Normal file

Binary file not shown.

Binary file not shown.

View File

@@ -1,20 +0,0 @@
The MIT License (MIT)
Copyright (c) 2007 James Newton-King
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

125
unimarc/unimarc/CExt.cs Normal file
View File

@@ -0,0 +1,125 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ExcelTest
{
public static class CExt
{
public static void InvokeEnable(this Control pControl, bool pEnable)
{
//lock (pControl)
//{
if (pControl.Enabled == pEnable) return;
try
{
if (pControl.InvokeRequired)
{
pControl.Invoke(new Action(() =>
{
pControl.Enabled = pEnable;
}));
}
else
{
pControl.Enabled = pEnable;
}
}
catch { }
//}
}
public static void InvokeNumeric(this NumericUpDown pContorl,int pValue)
{
if (pContorl.Value == pValue) return;
try
{
if (pContorl.InvokeRequired)
{
pContorl.Invoke(new Action(() =>
{
pContorl.Value = pValue;
}));
}
else
{
pContorl.Value = pValue;
}
}
catch { }
}
public static void InvokeText(this Control pControl, string pText)
{
//lock (pControl)
//{
if (pControl.Text == pText) return;
try
{
if (pControl.InvokeRequired)
{
pControl.Invoke(new Action(() =>
{
pControl.Text = pText;
}));
}
else
{
pControl.Text = pText;
}
}
catch { }
//}
}
public static void InvokeADDText(this Control pControl, string pText)
{
//lock (pControl)
//{
//if (pControl.Text == pText) return;
try
{
if (pControl.InvokeRequired)
{
pControl.Invoke(new Action(() =>
{
pControl.Text += (pText);
}));
}
else
{
pControl.Text += (pText);
}
}
catch { }
//}
}
public static void InvokeInsertText(this TextBox pTextBox, string pText)
{
try
{
int tIdx = pTextBox.SelectionStart;
if (pTextBox.InvokeRequired)
{
pTextBox.Invoke(new Action(() =>
{
pTextBox.Text = pTextBox.Text.Insert(tIdx, pText);
pTextBox.SelectionStart = tIdx + 1;
}));
}
else
{
pTextBox.Text = pTextBox.Text.Insert(tIdx, pText);
pTextBox.SelectionStart = tIdx + 1;
}
}
catch { }
}
}
}

34
unimarc/unimarc/CUtill.cs Normal file
View File

@@ -0,0 +1,34 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace UniMarc
{
public static class CUtill
{
public static arUtil.Log mLog;
public static void MsgI(string m)
{
//MessageWindow.VisibleAll(false);
MessageBox.Show(m, "CHECK", MessageBoxButtons.OK, MessageBoxIcon.Information);
//MessageWindow.VisibleAll(true);
}
public static void MsgE(string m)
{
//MessageWindow.VisibleAll(false);
MessageBox.Show(m, "ERROR", MessageBoxButtons.OK, MessageBoxIcon.Error);
//MessageWindow.VisibleAll(true);
}
public static DialogResult MsgQ(string m)
{
//MessageWindow.VisibleAll(false);
DialogResult dlg = MessageBox.Show(m, "CHECK", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
//MessageWindow.VisibleAll(true);
return dlg;
}
}
}

View File

@@ -46,10 +46,15 @@ namespace WindowsFormsApp1
/// </summary>
public void DBcon() // DB접속 함수
{
//"Server=1.215.250.130;Port=3306;Database=unimarc;uid=root;pwd=Admin21234;"
PasswordConnectionInfo connectionInfo = new PasswordConnectionInfo(ServerData[0], port, ServerData[1], ServerData[2]);
connectionInfo.Timeout = TimeSpan.FromSeconds(30);
using (var client = new SshClient(connectionInfo))
{
if (conn != null) {
conn.Close();
conn.Dispose();
}
client.Connect();
if (client.IsConnected)
{
@@ -72,6 +77,11 @@ namespace WindowsFormsApp1
connectionInfo.Timeout = TimeSpan.FromSeconds(30);
using (var client = new SshClient(connectionInfo))
{
if (conn != null)
{
conn.Close();
conn.Dispose();
}
client.Connect();
if (client.IsConnected)
{
@@ -145,6 +155,43 @@ namespace WindowsFormsApp1
}
conn.Close();
}
public void DB_Send_CMD_Search_GetGridData(string cmd,DataGridView pDgv)
{
// DB 연결
conn.Open();
// 쿼리 맵핑
sqlcmd.CommandText = cmd;
// 쿼리 날릴 곳은 conn
sqlcmd.Connection = conn;
// 쿼리 날리기, sqlDataReader에 결과값 저장
sd = sqlcmd.ExecuteReader();
MySqlDataReader tReturnSd = sd;
int colCount = pDgv.ColumnCount - 1;
string[] grid = new string[pDgv.ColumnCount];
int AddCol = 0;
// 한줄씩 불러와 한개의 값으로 변환
while (sd.Read())
{
for (int count = 0; count < sd.FieldCount; count++)
{
string change = sd[count].ToString().Replace("|", "");
grid[AddCol] = change;
if (colCount - 1 == AddCol)
{
AddCol = 0;
grid[colCount]="추가";
pDgv.Rows.Add(grid);
}
else
{
AddCol++;
}
}
}
conn.Close();
}
public void DB_Send_CMD_reVoid(string cmd)
{
using (conn)

View File

@@ -35,29 +35,43 @@
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.chk_Save = new System.Windows.Forms.CheckBox();
this.lbl_IP = new System.Windows.Forms.Label();
this.dataGridView1 = new System.Windows.Forms.DataGridView();
this.Version = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Content = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.richTextBox1 = new System.Windows.Forms.RichTextBox();
this.panel2 = new System.Windows.Forms.Panel();
this.panel3 = new System.Windows.Forms.Panel();
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.panel1 = new System.Windows.Forms.Panel();
this.lbl_IP = new System.Windows.Forms.ToolStripLabel();
this.lbl_Version = new System.Windows.Forms.ToolStripLabel();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
this.panel2.SuspendLayout();
this.panel3.SuspendLayout();
this.toolStrip1.SuspendLayout();
this.panel1.SuspendLayout();
this.SuspendLayout();
//
// ID_text
//
this.ID_text.Location = new System.Drawing.Point(190, 57);
this.ID_text.Location = new System.Drawing.Point(324, 356);
this.ID_text.Name = "ID_text";
this.ID_text.Size = new System.Drawing.Size(100, 21);
this.ID_text.Size = new System.Drawing.Size(144, 21);
this.ID_text.TabIndex = 1;
this.ID_text.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ID_text_KeyDown);
//
// PW_text
//
this.PW_text.Location = new System.Drawing.Point(190, 84);
this.PW_text.Location = new System.Drawing.Point(324, 383);
this.PW_text.Name = "PW_text";
this.PW_text.PasswordChar = '●';
this.PW_text.Size = new System.Drawing.Size(100, 21);
this.PW_text.Size = new System.Drawing.Size(144, 21);
this.PW_text.TabIndex = 2;
this.PW_text.KeyDown += new System.Windows.Forms.KeyEventHandler(this.PW_text_KeyDown);
//
// button1
//
this.button1.Location = new System.Drawing.Point(157, 138);
this.button1.Location = new System.Drawing.Point(298, 434);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(75, 23);
this.button1.TabIndex = 3;
@@ -67,7 +81,7 @@
//
// button2
//
this.button2.Location = new System.Drawing.Point(252, 138);
this.button2.Location = new System.Drawing.Point(393, 434);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(75, 23);
this.button2.TabIndex = 4;
@@ -78,49 +92,142 @@
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(136, 61);
this.label1.Location = new System.Drawing.Point(298, 360);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(41, 12);
this.label1.Size = new System.Drawing.Size(16, 12);
this.label1.TabIndex = 2;
this.label1.Text = "아이디";
this.label1.Text = "ID";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(130, 88);
this.label2.Location = new System.Drawing.Point(295, 387);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(53, 12);
this.label2.Size = new System.Drawing.Size(23, 12);
this.label2.TabIndex = 2;
this.label2.Text = "비밀번호";
this.label2.Text = "PW";
//
// chk_Save
//
this.chk_Save.AutoSize = true;
this.chk_Save.Location = new System.Drawing.Point(193, 111);
this.chk_Save.Location = new System.Drawing.Point(339, 410);
this.chk_Save.Name = "chk_Save";
this.chk_Save.Size = new System.Drawing.Size(95, 16);
this.chk_Save.TabIndex = 6;
this.chk_Save.Text = "ID / PW 저장";
this.chk_Save.UseVisualStyleBackColor = true;
//
// dataGridView1
//
this.dataGridView1.AllowUserToAddRows = false;
this.dataGridView1.AllowUserToDeleteRows = false;
this.dataGridView1.AllowUserToResizeColumns = false;
this.dataGridView1.AllowUserToResizeRows = false;
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dataGridView1.ColumnHeadersVisible = false;
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.Version,
this.Content});
this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
this.dataGridView1.Location = new System.Drawing.Point(0, 0);
this.dataGridView1.MultiSelect = false;
this.dataGridView1.Name = "dataGridView1";
this.dataGridView1.ReadOnly = true;
this.dataGridView1.RowHeadersVisible = false;
this.dataGridView1.RowTemplate.Height = 23;
this.dataGridView1.Size = new System.Drawing.Size(100, 463);
this.dataGridView1.TabIndex = 0;
this.dataGridView1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellClick);
//
// Version
//
this.Version.HeaderText = "버전";
this.Version.Name = "Version";
this.Version.ReadOnly = true;
this.Version.Width = 80;
//
// Content
//
this.Content.HeaderText = "내용";
this.Content.Name = "Content";
this.Content.ReadOnly = true;
this.Content.Visible = false;
//
// richTextBox1
//
this.richTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.richTextBox1.Dock = System.Windows.Forms.DockStyle.Fill;
this.richTextBox1.Location = new System.Drawing.Point(0, 0);
this.richTextBox1.Name = "richTextBox1";
this.richTextBox1.ReadOnly = true;
this.richTextBox1.Size = new System.Drawing.Size(378, 348);
this.richTextBox1.TabIndex = 0;
this.richTextBox1.Text = "";
//
// panel2
//
this.panel2.Controls.Add(this.dataGridView1);
this.panel2.Dock = System.Windows.Forms.DockStyle.Left;
this.panel2.Location = new System.Drawing.Point(0, 0);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(100, 463);
this.panel2.TabIndex = 8;
//
// panel3
//
this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel3.Controls.Add(this.richTextBox1);
this.panel3.Dock = System.Windows.Forms.DockStyle.Top;
this.panel3.Location = new System.Drawing.Point(100, 0);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(380, 350);
this.panel3.TabIndex = 9;
//
// toolStrip1
//
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.lbl_IP,
this.lbl_Version});
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(478, 25);
this.toolStrip1.TabIndex = 0;
this.toolStrip1.Text = "toolStrip1";
//
// panel1
//
this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel1.Controls.Add(this.toolStrip1);
this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom;
this.panel1.Location = new System.Drawing.Point(0, 463);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(480, 27);
this.panel1.TabIndex = 7;
//
// lbl_IP
//
this.lbl_IP.AutoSize = true;
this.lbl_IP.Location = new System.Drawing.Point(12, 198);
this.lbl_IP.Name = "lbl_IP";
this.lbl_IP.Size = new System.Drawing.Size(40, 12);
this.lbl_IP.TabIndex = 2;
this.lbl_IP.Size = new System.Drawing.Size(41, 22);
this.lbl_IP.Text = "IPv4 : ";
//
// lbl_Version
//
this.lbl_Version.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
this.lbl_Version.Name = "lbl_Version";
this.lbl_Version.Size = new System.Drawing.Size(28, 22);
this.lbl_Version.Text = "Ver.";
//
// login
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(480, 219);
this.ClientSize = new System.Drawing.Size(480, 490);
this.ControlBox = false;
this.Controls.Add(this.panel3);
this.Controls.Add(this.panel2);
this.Controls.Add(this.panel1);
this.Controls.Add(this.chk_Save);
this.Controls.Add(this.label2);
this.Controls.Add(this.lbl_IP);
this.Controls.Add(this.label1);
this.Controls.Add(this.button2);
this.Controls.Add(this.button1);
@@ -130,6 +237,13 @@
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "로그인";
this.Load += new System.EventHandler(this.login_Load);
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
this.panel2.ResumeLayout(false);
this.panel3.ResumeLayout(false);
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout();
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
@@ -144,6 +258,15 @@
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.CheckBox chk_Save;
private System.Windows.Forms.Label lbl_IP;
private System.Windows.Forms.RichTextBox richTextBox1;
private System.Windows.Forms.DataGridView dataGridView1;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Panel panel3;
private System.Windows.Forms.DataGridViewTextBoxColumn Version;
private System.Windows.Forms.DataGridViewTextBoxColumn Content;
private System.Windows.Forms.ToolStrip toolStrip1;
private System.Windows.Forms.ToolStripLabel lbl_IP;
private System.Windows.Forms.ToolStripLabel lbl_Version;
private System.Windows.Forms.Panel panel1;
}
}

View File

@@ -26,6 +26,7 @@ namespace WindowsFormsApp1
private void login_Load(object sender, EventArgs e)
{
lbl_IP.Text = String.Format("{0}", ip.GetIP);
lbl_Version.Text = string.Format("Ver.{0}", ip.VersionInfo());
this.ActiveControl = ID_text;
@@ -34,6 +35,22 @@ namespace WindowsFormsApp1
ReadFile();
}
db.DBcon();
MakeVersionData();
}
private void MakeVersionData()
{
string[] Res_Ary = db.DB_Send_CMD_Search("SELECT `version`, `content` FROM `Update` ORDER BY `idx` DESC;").Split('|');
string[] Grid = { "", "" };
for (int a = 0; a < Res_Ary.Length; a++)
{
if (a % 2 == 0) Grid[0] = "Ver." + Res_Ary[a];
if (a % 2 == 1) {
Grid[1]=Res_Ary[a];
dataGridView1.Rows.Add(Grid);
}
}
richTextBox1.Text = dataGridView1.Rows[0].Cells["Content"].Value.ToString();
}
private void Login_Click(object sender, EventArgs e)
@@ -88,7 +105,7 @@ namespace WindowsFormsApp1
/// <returns></returns>
public bool CheckIP(string IP, string compName)
{
string cmd = String.Format("SELECT `{0}` FROM {1} WHERE `{2}` = \"{3}\"", "IP", "Comp_IP", "comp", compName);
string cmd = String.Format("SELECT `{0}` FROM {1} WHERE `{2}` = \"{3}\"", "IP", "Comp", "comp_name", compName);
string res = db.DB_Send_CMD_Search(cmd);
string[] ary = res.Split('|');
@@ -165,5 +182,12 @@ namespace WindowsFormsApp1
if (e.KeyCode == Keys.Enter) { Login_Click(null, null); }
if (e.KeyCode == Keys.Escape) { this.Close(); }
}
private void dataGridView1_CellClick(object sender, DataGridViewCellEventArgs e)
{
if (e.RowIndex < 0) return;
richTextBox1.Text = dataGridView1.Rows[e.RowIndex].Cells["Content"].Value.ToString();
}
}
}

View File

@@ -117,4 +117,22 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="Version.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Content.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Version.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Content.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>4, 5</value>
</metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>30</value>
</metadata>
</root>

View File

@@ -105,7 +105,6 @@
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
@@ -508,6 +507,7 @@
//
// 목록
//
this..Enabled = false;
this..Name = "목록";
this..Size = new System.Drawing.Size(98, 22);
this..Text = "목록";
@@ -759,58 +759,50 @@
// 이용자관리ToolStripMenuItem
//
this.ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.ToolStripMenuItem,
this.ToolStripMenuItem});
this.ToolStripMenuItem});
this.ToolStripMenuItem.Name = "이용자관리ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(178, 22);
this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.ToolStripMenuItem.Text = "이용자 관리";
//
// 신규사업자등록ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "신규사업자등록ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(166, 22);
this.ToolStripMenuItem.Text = "신규 사업자 등록";
this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.ToolStripMenuItem.Text = "사업자 관리";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 기존사업자관리ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "기존사업자관리ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(166, 22);
this.ToolStripMenuItem.Text = "기존 사업자 관리";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 공지발송ToolStripMenuItem1
//
this.ToolStripMenuItem1.Name = "공지발송ToolStripMenuItem1";
this.ToolStripMenuItem1.Size = new System.Drawing.Size(178, 22);
this.ToolStripMenuItem1.Size = new System.Drawing.Size(180, 22);
this.ToolStripMenuItem1.Text = "공지 발송";
this.ToolStripMenuItem1.Click += new System.EventHandler(this.ToolStripMenuItem1_Click);
//
// 매출내역ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "매출내역ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(178, 22);
this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.ToolStripMenuItem.Text = "매출내역";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 이용자거래처조회ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "이용자거래처조회ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(178, 22);
this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.ToolStripMenuItem.Text = "이용자 거래처 조회";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 마크설정ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "마크설정ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(178, 22);
this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.ToolStripMenuItem.Text = "마크설정";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 일괄처리관리ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "일괄처리관리ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(178, 22);
this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.ToolStripMenuItem.Text = "일괄처리 관리";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
@@ -1189,7 +1181,6 @@
public System.Windows.Forms.Button ShortCut12;
public System.Windows.Forms.Button ShortCut11;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem ;
private System.Windows.Forms.ToolStripMenuItem dVDCDLPToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem ;

View File

@@ -25,12 +25,14 @@ using WindowsFormsApp1.납품관리;
using UniMarc.;
using UniMarc.;
using UniMarc.Properties;
using UniMarc;
namespace WindowsFormsApp1
{
public partial class Main : Form
{
Helper_DB _DB = new Helper_DB();
IP ip = new IP();
public string DB_User_Data;
public string User;
public string com_idx;
@@ -45,10 +47,16 @@ namespace WindowsFormsApp1
private void Main_Load(object sender, EventArgs e)
{
this.Visible = false; // 메인폼을 먼저 숨김
#region "Log setting"
var logsubdir = "{yyyy|MM|dd}";
string tPath = string.Format("{0}\\LOG", AppDomain.CurrentDomain.BaseDirectory).Replace("\\\\", "\\"); ;
CUtill.mLog = new arUtil.Log(tPath);
CUtill.mLog.SubDirectory = logsubdir;
CUtill.mLog.FileNameFormat = "{yyMMdd}";
#endregion
login login = new login();
VersionInfo();
VersionText.Text = string.Format("UniMarc Ver.{0}", ip.VersionInfo());
if (DialogResult.OK == login.ShowDialog(this)) {
this.Visible = true;
@@ -93,19 +101,6 @@ namespace WindowsFormsApp1
catch (Exception ex) { MessageBox.Show(ex.ToString()); }
}
private void VersionInfo()
{
StreamReader sr = new StreamReader(Application.StartupPath + "\\update.inf");
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()
@@ -947,15 +942,23 @@ namespace WindowsFormsApp1
//}
//else
//{
// Mac_check_Copy = new Check_copy(this);
// Mac_check_Copy.MdiParent = this;
// Mac_check_Copy.WindowState = FormWindowState.Maximized;
// Mac_check_Copy.FormClosed += (o, ea) => Mac_check_Copy = null;
// Mac_check_Copy.Show();
Mac_check_Copy = new Check_copy(this);
Mac_check_Copy.MdiParent = this;
Mac_check_Copy.WindowState = FormWindowState.Normal;
Mac_check_Copy.FormClosed += (o, ea) => Mac_check_Copy = null;
Mac_check_Copy.Show();
//}
Mac_check_Copy = new Check_copy(this);
Mac_check_Copy.Show();
//foreach (Form frm in Application.OpenForms)
//{
// if (frm.Name == "Check_copy")
// {
// frm.Activate();
// return;
// }
//}
//Mac_check_Copy = new Check_copy(this);
//Mac_check_Copy.Show();
}
private void iSBN조회ToolStripMenuItem_Click(object sender, EventArgs e)
@@ -977,7 +980,7 @@ namespace WindowsFormsApp1
#endregion
#region DVD / CD / LP (TODO: )
#region DVD / CD / LP
CD_LP cl;
CD_LP_List cll;
@@ -1108,18 +1111,21 @@ namespace WindowsFormsApp1
}
private void ToolStripMenuItem_Click(object sender, EventArgs e)
{
if (Mac_symbol_Add != null)
{
Mac_symbol_Add.Focus();
}
else
{
Mac_symbol_Add = new Symbol_Add(this);
Mac_symbol_Add.MdiParent = this;
Mac_symbol_Add.WindowState = FormWindowState.Maximized;
Mac_symbol_Add.FormClosed += (o, ea) => Mac_symbol_Add = null;
Mac_symbol_Add.Show();
}
// if (Mac_symbol_Add != null)
// {
// Mac_symbol_Add.Focus();
// }
// else
// {
// Mac_symbol_Add = new Symbol_Add(this);
// Mac_symbol_Add.MdiParent = this;
// Mac_symbol_Add.WindowState = FormWindowState.Maximized;
// Mac_symbol_Add.FormClosed += (o, ea) => Mac_symbol_Add = null;
// Mac_symbol_Add.Show();
// }
Mac_symbol_Add = new Symbol_Add(this);
Mac_symbol_Add.Show();
}
@@ -1400,18 +1406,21 @@ namespace WindowsFormsApp1
private void ToolStripMenuItem_Click(object sender, EventArgs e)
{
if (master_user_Manage != null)
{
master_user_Manage.Focus();
}
else
{
master_user_Manage = new User_manage(this);
master_user_Manage.FormClosed += (o, ea) => master_user_Manage = null;
master_user_Manage.Show();
}
//if (master_user_Manage != null)
//{
// master_user_Manage.Focus();
//}
//else
//{
// master_user_Manage = new User_manage(this);
// master_user_Manage.FormClosed += (o, ea) => master_user_Manage = null;
// master_user_Manage.Show();
//}
From_User_manage_List tUser_mamge = new From_User_manage_List();
tUser_mamge.ShowDialog();
}
private void ToolStripMenuItem_Click(object sender, EventArgs e)
{

View File

@@ -17,8 +17,38 @@ namespace WindowsFormsApp1
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
DB_InitSetting();
UpdaterCheck();
Application.Run(new Main());
}
/// <summary>
/// factory client update checkd
/// </summary>
static void UpdaterCheck()
{
var fi = new System.IO.FileInfo("_Factory_Client.exe");
var fio = new System.IO.FileInfo("Factory_Client.exe");
if (fi.Exists)
{
if (fio.Exists == false)
{
fi.CopyTo(fio.FullName);
fio.LastWriteTime = fi.LastWriteTime;
fio.LastAccessTime = fi.LastAccessTime;
}
else
{
//check size
if(fi.Length != fio.Length || fi.LastWriteTime != fio.LastWriteTime)
{
fi.CopyTo(fio.FullName,true);
fio.LastWriteTime = fi.LastWriteTime;
fio.LastAccessTime = fi.LastAccessTime;
}
}
Console.WriteLine("updater patch");
}
}
static void DB_InitSetting()
{
UniMarc.Properties.Settings.Default.IP = ConvertIP(UniMarc.Properties.Settings.Default.IP);

View File

@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호를
// 기본값으로 할 수 있습니다.
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyVersion("1.0.0.185")]
[assembly: AssemblyFileVersion("1.0.0.185")]

10
unimarc/unimarc/ReadMe.MD Normal file
View File

@@ -0,0 +1,10 @@
## 파일업데이트 사용 방법
## 작성자 : chi(tindevil@nate.com)
## 장성일 : 2025-06-16 21:00
1. 프로그램 업데이트
프로그램런타임 폴더의 update.ini 에 업데이트 버젼과 대상파일을 지정
2. 데이터베이스에 기록 추가
(update table 에 버젼과 히스토리 기입)
3. 업데이트 파일 업로드(FTP)
FTPGloria\unimarc 에 파일을 업로드한다.

View File

@@ -22,6 +22,7 @@ using System.ComponentModel;
using System.Drawing.Text;
using System.Globalization;
using System.Threading;
using System.Data.SqlTypes;
namespace WindowsFormsApp1
{
@@ -114,6 +115,7 @@ namespace WindowsFormsApp1
if ((e.Shift && e.KeyCode == Keys.Insert) || (e.Control && e.KeyCode == Keys.V))
{
char[] rowSplitter = { '\r', '\n' };
string[] rowSpliteter = { "\r\n" };
char[] columnSplitter = { '\t' };
//get the text from clipboard
@@ -121,17 +123,22 @@ namespace WindowsFormsApp1
string stringInClipboard = (string)dataInClipboard.GetData(DataFormats.Text);
//split it into lines
string[] rowsInClipboard = stringInClipboard.Split(rowSplitter, StringSplitOptions.RemoveEmptyEntries);
//20230209 \r텝 기능과 \n 줄넘김 기능을 같이 공백 제거 처리해버려 공백칸을 활용해야 함에도 제거하는 현상 발생.
//텝 공백 문자열 동시에 사용하여 분류
// stringInClipboard= stringInClipboard.Replace("\r", "");
if (stringInClipboard == null) return;
List<string>rowsInClipboard = stringInClipboard.Split(rowSpliteter, StringSplitOptions.None).ToList();
rowsInClipboard.RemoveAt(rowsInClipboard.Count-1);
//get the row and column of selected cell in dataGridView1
int r = ((DataGridView)sender).SelectedCells[0].RowIndex;
int c = ((DataGridView)sender).SelectedCells[0].ColumnIndex;
//add rows into dataGridView1 to fit clipboard lines
if (((DataGridView)sender).Rows.Count < (r + rowsInClipboard.Length))
if (((DataGridView)sender).Rows.Count < (r + rowsInClipboard.Count))
{
((DataGridView)sender).Rows.Add(r + rowsInClipboard.Length - ((DataGridView)sender).Rows.Count);
((DataGridView)sender).Rows.Add(r + rowsInClipboard.Count - ((DataGridView)sender).Rows.Count);
}
// loop through the lines, split them into cells and place the values in the corresponding cell.
for (int iRow = 0; iRow < rowsInClipboard.Length; iRow++)
for (int iRow = 0; iRow < rowsInClipboard.Count; iRow++)
{
//split row into cell values
string[] valuesInRow = rowsInClipboard[iRow].Split(columnSplitter);
@@ -141,6 +148,7 @@ namespace WindowsFormsApp1
//assign cell value, only if it within columns of the dataGridView1
if (((DataGridView)sender).ColumnCount - 1 >= c + iCol)
{
if (((DataGridView)sender).Rows.Count <= r + iRow) continue;
((DataGridView)sender).Rows[r + iRow].Cells[c + iCol].Value = valuesInRow[iCol];
}
}
@@ -611,7 +619,7 @@ namespace WindowsFormsApp1
ws.Columns.AutoFit();
app.Interactive = true;
app.Quit();
//app.Quit();
}
catch (Exception e)
{
@@ -1495,6 +1503,17 @@ namespace WindowsFormsApp1
return madeOrimarc(rich);
}
/// <summary>
/// DVD CD LP 구분짓는 함수
/// </summary>
/// <param name="rich"></param>
/// <param name="MarcType">false일 경우 DVD CD LP</param>
/// <returns></returns>
public string made_Ori_marc(string rich, bool MarcType)
{
return madeOrimarc(rich, "ANSI", MarcType);
}
/// <summary>
///
/// </summary>
@@ -1511,7 +1530,7 @@ namespace WindowsFormsApp1
/// </summary>
/// <param name="rich">데이터가 담긴 텍스트박스</param>
/// <returns>한줄짜리 마크데이터</returns>
private string madeOrimarc(string rich, string EncodingType = "ANSI")
private string madeOrimarc(string rich, string EncodingType = "UniCode", bool MarcType = true)
{
string result = string.Empty;
@@ -1519,16 +1538,21 @@ namespace WindowsFormsApp1
string = string.Empty;
string text = rich.Replace("\t", "");
// text = text.Replace("\\", "₩");
string[] array_text = text.Split('\n');
List<string> array_text = text.Split('\n').ToList();
array_text.RemoveAll(x => x == "");
// num+count+total = 디렉토리
List<string> num = new List<string>();
List<string> count = new List<string>();
List<string> total = new List<string>();
//List<string> count = new List<string>();
//List<string> total = new List<string>();
for (int a = 0; a < array_text.Length; a++)
List<int> tCount = new List<int>();
List<int> tTotal = new List<int>();
int tLength = 0;
int tUp = 0;
int tDown = 0;
for (int a = 0; a < array_text.Count; a++)
{
if (array_text[a] == "") break;
// if (array_text[a] == "") continue;
num.Add(array_text[a].Substring(0, 3));
@@ -1557,49 +1581,59 @@ namespace WindowsFormsApp1
- WordCheck(array_text[a], "▼");
}
count.Add(insert_Zero(textLength, 4));
//count.Add(insert_Zero(textLength, 4));
tCount.Add(textLength);
}
for (int a = 0; a < array_text.Length; a++)
for (int a = 0; a < array_text.Count; a++)
{
if (a == 0) { total.Add("0"); }
else if (a == 1)
{
int b = Convert.ToInt32(total[total.Count - 1]);
total.Add(b.ToString());
if (a == 0) { //total.Add("0");
tTotal.Add(0);
}
else if (a > 1)
else
{
int b = Convert.ToInt32(total[total.Count - 1]);
int c = Convert.ToInt32(Encoding.Default.GetBytes(array_text[a - 2]).Length.ToString())
- WordCheck(array_text[a - 2], "▲")
- WordCheck(array_text[a - 2], "▼");
int res = b + c;
total.Add(res.ToString());
// total.Add(total[a - 1] + count[a - 1]);
tTotal.Add(tTotal[a - 1] + tCount[a - 1]);
}
//else if (a == 1)
//{
// int b = Convert.ToInt32(total[total.Count - 1]);
// total.Add(b.ToString());
//}
//else if (a > 1)
//{
// int b = Convert.ToInt32(total[total.Count - 1]);
// int c = 0;
// if (EncodingType == "UTF-8") c = Convert.ToInt32(Encoding.UTF8.GetBytes(array_text[a - 2]).Length.ToString()) - WordCheck(array_text[a - 2], "▲") - WordCheck(array_text[a - 2], "▼");
// else if (EncodingType == "UniCode") c = Convert.ToInt32(Encoding.Unicode.GetBytes(array_text[a - 2]).Length.ToString()) - WordCheck(array_text[a - 2], "▲") - WordCheck(array_text[a - 2], "▼");
// else c = Convert.ToInt32(Encoding.Default.GetBytes(array_text[a - 2]).Length.ToString()) - WordCheck(array_text[a - 2], "▲") - WordCheck(array_text[a - 2], "▼");
// int res = b + c;
// total.Add(res.ToString());
}
string[] str_num = num.ToArray();
for (int a = 0; a < str_num.Length; a++)
{
count[a] = count[a].PadLeft(4, '0');
//count[a] = count[a].PadLeft(4, '0');
// if (count[a].Length == 3) { count[a] = count[a].Insert(0, "0"); }
// else if (count[a].Length == 2) { count[a] = count[a].Insert(0, "00"); }
// else if (count[a].Length == 1) { count[a] = count[a].Insert(0, "000"); }
total[a] = total[a].PadLeft(5, '0');
//total[a] = total[a].PadLeft(5, '0');
// if (total[a].Length == 4) { total[a] = total[a].Insert(0, "0"); }
// else if (total[a].Length == 3) { total[a] = total[a].Insert(0, "00"); }
// else if (total[a].Length == 2) { total[a] = total[a].Insert(0, "000"); }
// else if (total[a].Length == 1) { total[a] = total[a].Insert(0, "0000"); }
// 디렉토리 += str_num[a] + count[a] + total[a] + "\n";
+= str_num[a] + count[a] + total[a];
+= str_num[a] + tCount[a].ToString().PadLeft(4, '0') + tTotal[a].ToString().PadLeft(5, '0');
}
string[] = { "00000","n", "a", "m", " ",
" ", "2", "2", "00000", " ",
"k", " ", "4", "5", "0",
"0" };
if (!MarcType) [2] = "g";
+= "";
// 디렉토리 = 디렉토리.Replace("\n", "");
@@ -1607,8 +1641,12 @@ namespace WindowsFormsApp1
= .Replace("\n", "");
string dp = + ;
int recode = Encoding.Default.GetBytes(dp).Length
- WordCheck(dp, "▲") - WordCheck(dp, "▼") - WordCheck(dp, "↔");
int recode = 0;
if (EncodingType == "UTF-8") recode = Encoding.UTF8.GetBytes(dp).Length- WordCheck(dp, "▲") - WordCheck(dp, "▼") - WordCheck(dp, "↔");
else if (EncodingType == "UniCode") recode = Encoding.Unicode.GetBytes(dp).Length - WordCheck(dp, "▲") - WordCheck(dp, "▼") - WordCheck(dp, "↔");
else recode = Encoding.Default.GetBytes(dp).Length- WordCheck(dp, "▲") - WordCheck(dp, "▼") - WordCheck(dp, "↔");
[0] = insert_Zero(recode + 24, 5);
int data_addr = 24 + Encoding.Default.GetBytes().Length - WordCheck(, "▲");
@@ -1687,7 +1725,26 @@ namespace WindowsFormsApp1
}
return string.Join("\n", View);
}
/// <summary>
/// 추가하고 싶은 태그를 뷰형태의 마크에 추가하는 함수.
/// </summary>
/// <param name="pAddTag">추가할 태그 (태그명\t지시기호\t태그내용)</param>
/// <param name="pTargetData">뷰형태의 마크</param>
/// <returns></returns>
public string AddTagInMarc(int pTargetTagNum,string pAddTag, string pTargetData)//TagTarget Num 을 찾아서 있을경우는 해당 Tag 데이터를 전송, 없을경우는 신규로 해야함.
{
if (pAddTag.Length < 3) return "";
string tRet = pTargetData;
// ex ) 020 : ~~~ 에 XXXX 내용줄 뒤에 추가
return tRet;
}
public int SearchTarget()
{
int tRet = 0;
return tRet;
}
/// <summary>
/// 지정된 태그 변경
/// </summary>
@@ -1702,21 +1759,83 @@ namespace WindowsFormsApp1
string TargetTagNum = Tag.Substring(0, 3);
string TargetTag = Tag.Replace(TargetTagNum, "");
string[] SplitView = TypeView.Split('\n');
for (int a = 0; a < SplitView.Length; a++)
List<string> SplitView = TypeView.Split('\n').ToList();
for (int a = 0; a < SplitView.Count; a++)
{
if (SplitView[a].Length < 2) continue;
if (!SplitView[a].StartsWith(TargetTagNum)) continue;
int startIdx = SplitView[a].IndexOf("▼" + TargetTag);
if (startIdx < 0) break;
int endIdx = SplitView[a].IndexOf("▼", startIdx + 1);
if (endIdx < 0) endIdx = SplitView[a].IndexOf("▲", startIdx);
// if (startIdx < 0) break;
if (startIdx < 0)
{// 해당 태그 알파벳이 없어서 새로 추가해야하는 경우
if (TargetTagNum == "020")
{
int[] tFindAlpha = new int[] { Convert.ToInt32('c'), Convert.ToInt32('g'), Convert.ToInt32('a') };// c=> g => a 순서로 검색해서 붙여준다.
int tChar = Convert.ToInt32(TargetTag[0]);
for (int i = 0; i < tFindAlpha.Length; i++)
{
char tSearchChar = Convert.ToChar(tFindAlpha[i]);//020c의 경우 a g 다음에 붙어야한다.
startIdx = SplitView[a].IndexOf("▼" + tSearchChar.ToString());
if (startIdx != -1)
{
int tEndIDX = SplitView[a].IndexOf("▼", startIdx + 1);
List<string> tFindList = SplitView.FindAll(x => x.Contains(TargetTagNum)).FindAll(x => x.Contains(ChangeContent));
if (tFindList.Count == 0)
{
if (tEndIDX < 0)
{
tEndIDX = SplitView[a].IndexOf("▲", startIdx);
string Target = SplitView[a].Substring(startIdx, tEndIDX - startIdx);
SplitView[a] = SplitView[a].Replace(Target, Target + ChangeContent);
}
else
{
SplitView[a] = SplitView[a].Insert(tEndIDX, ChangeContent);
}
}
break;
}
}
}
else
{
int tChar = Convert.ToInt32(TargetTag[0]);
for (int i = tChar; i > 96; i--)
{
char tSearchChar = Convert.ToChar(i);//020c의 경우 a g 다음에 붙어야한다.
startIdx = SplitView[a].IndexOf("▼" + tSearchChar.ToString());
if (startIdx != -1)
{
int tEndIDX = SplitView[a].IndexOf("▼", startIdx + 1);
List<string> tFindList = SplitView.FindAll(x => x.Contains(TargetTagNum)).FindAll(x => x.Contains(ChangeContent));
if (tFindList.Count == 0)
{
if (tEndIDX < 0)
{
tEndIDX = SplitView[a].IndexOf("▲", startIdx);
string Target = SplitView[a].Substring(startIdx, tEndIDX - startIdx);
SplitView[a] = SplitView[a].Replace(Target, Target + ChangeContent);
}
else
{
SplitView[a] = SplitView[a].Insert(tEndIDX, ChangeContent);
}
}
break;
}
}
}
}
else
{// 기존 태그 변경
int endIdx = SplitView[a].IndexOf("▼", startIdx + 1);
if (endIdx < 0) endIdx = SplitView[a].IndexOf("▲", startIdx);
string Target = SplitView[a].Substring(startIdx, endIdx - startIdx);
SplitView[a] = SplitView[a].Replace(Target, ChangeContent);
string Target = SplitView[a].Substring(startIdx, endIdx - startIdx);
SplitView[a] = SplitView[a].Replace(Target, ChangeContent);
}
}
return String.Join("\n", SplitView);
}
@@ -1787,7 +1906,7 @@ namespace WindowsFormsApp1
/// <param name="marc">마크 데이터</param>
/// <param name="search">추출할 함수(배열)</param>
/// <returns></returns>
public string[] Take_Tag(string marc, string[] search)
public string[] Take_Tag(string marc, string[] search,bool pSearchTag = false)
{
string[] ary = marc.Split('');
string[] tag = res_dir(ary[0].Substring(24));
@@ -1827,13 +1946,31 @@ namespace WindowsFormsApp1
}
else
{
//start += 2;
//int end = tmp.IndexOf("", start);
//if (memo == result[b])
// break;
//if (end < 0)
// result[b] = tmp.Substring(start);
//else
// result[b] = tmp.Substring(start, end - start);
//memo = result[b];
start += 2;
int end = tmp.IndexOf("", start);
int end = -1;
if (tmp.Length > 1) end=tmp.IndexOf("", start);
if (memo == result[b])
break;
if (end < 0)
result[b] = tmp.Substring(start);
{
if (!pSearchTag) result[b] = tmp.Substring(start);
else
{
if (tmp.Length > 1) result[b] = tmp.Substring(start);
else result[b] = "태그 안에 데이터가 없습니다.";
}
}
else
result[b] = tmp.Substring(start, end - start);
memo = result[b];
@@ -1928,7 +2065,6 @@ namespace WindowsFormsApp1
if (jisi[a] != searchJisi)
{
MessageBox.Show(tmp);
break;
}
@@ -2127,6 +2263,21 @@ namespace WindowsFormsApp1
}
public class API
{
public string CheckString(string pText,string pStr)
{
string tRet = pText;
Regex reg = new Regex(@"([\"+pStr+"]+)" + @"[가-힣]+");//+ @"([\>]+)");//new Regex(@"([\<]+)"+ @"[ㄱ-ㅎ가-힣]+"+@"([\>]+)");
MatchCollection tMatch = reg.Matches(tRet);
for (int i = 0; i < tMatch.Count; i++)
{
string tChangeText = String.Format("《{0}》", Regex.Replace(tMatch[i].Groups[0].ToString(), @"[^ㄱ-ㅎ가-힣]", ""));
tRet = tRet.Remove(tMatch[i].Groups[0].Index, tMatch[i].Groups[0].Length + 1);
tRet = tRet.Insert(tMatch[i].Groups[0].Index, tChangeText);
}
return tRet;
}
/// <summary>
/// https://blog.aladin.co.kr/openapi 참고
/// </summary>
@@ -2161,9 +2312,23 @@ namespace WindowsFormsApp1
XmlDocument doc = new XmlDocument();
try
{
//Regex reg = new Regex(@"([\<]+)" + @"[가-힣]+");//+ @"([\>]+)");//new Regex(@"([\<]+)"+ @"[ㄱ-ㅎ가-힣]+"+@"([\>]+)");
//MatchCollection tMatch = reg.Matches(xml);
//for (int i = 0; i < tMatch.Count; i++)
//{
// string tChangeText = String.Format("《{0}》", Regex.Replace(tMatch[i].Groups[0].ToString(), @"[^ㄱ-ㅎ가-힣]", ""));
// xml = xml.Remove(tMatch[i].Groups[0].Index, tMatch[i].Groups[0].Length + 1);
// xml = xml.Insert(tMatch[i].Groups[0].Index, tChangeText);
//}
//reg = new Regex(@"([\〈]+)" + @"[가-힣]+");// + @"([\>]+)");//new Regex(@"([\<]+)"+ @"[ㄱ-ㅎ가-힣]+"+@"([\>]+)");
xml = CheckString(xml, "<");
xml = CheckString(xml, "〈");
doc.LoadXml(xml);
}
catch { return ""; }
catch (Exception ex){
return "";
}
var json = JsonConvert.SerializeXmlNode(doc);
// json형식 분석을 위해 JavaScriptSerializer 개체 생성
@@ -2310,6 +2475,8 @@ namespace WindowsFormsApp1
XmlDocument doc = new XmlDocument();
try
{
xml = CheckString(xml, "<");
xml = CheckString(xml, "〈");
doc.LoadXml(xml);
}
catch { return ""; }
@@ -2792,5 +2959,20 @@ namespace WindowsFormsApp1
return externalIp;
}
}
public string VersionInfo()
{
string version = "";
StreamReader sr = new StreamReader(Application.StartupPath + "\\update.inf");
while (!sr.EndOfStream)
{
string line = sr.ReadLine();
if (line.IndexOf("count=", 0) != -1)
{
version = line.Replace("count=", "");
break;
}
}
return version;
}
}
}

View File

@@ -75,6 +75,18 @@
<ManifestKeyFile>UniMarc_TemporaryKey.pfx</ManifestKeyFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="arCommUtil">
<HintPath>..\dll\arCommUtil.dll</HintPath>
</Reference>
<Reference Include="arControl.Net4">
<HintPath>..\dll\arControl.Net4.dll</HintPath>
</Reference>
<Reference Include="ArLog.Net4">
<HintPath>..\dll\ArLog.Net4.dll</HintPath>
</Reference>
<Reference Include="CarlosAg.ExcelXmlWriter">
<HintPath>..\dll\CarlosAg.ExcelXmlWriter.dll</HintPath>
</Reference>
<Reference Include="Microsoft.VisualBasic" />
<Reference Include="MySql.Data, Version=8.0.21.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL" />
<Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
@@ -101,6 +113,7 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="CExt.cs" />
<Compile Include="Connected Services\BaroService_API\Reference.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
@@ -111,6 +124,13 @@
<DesignTime>True</DesignTime>
<DependentUpon>Reference.svcmap</DependentUpon>
</Compile>
<Compile Include="CUtill.cs" />
<Compile Include="마스터\From_User_manage_List.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="마스터\From_User_manage_List.Designer.cs">
<DependentUpon>From_User_manage_List.cs</DependentUpon>
</Compile>
<Compile Include="마크\AddMarc.cs">
<SubType>Form</SubType>
</Compile>
@@ -129,6 +149,12 @@
<Compile Include="마크\CD_LP.Designer.cs">
<DependentUpon>CD_LP.cs</DependentUpon>
</Compile>
<Compile Include="마크\CD_LP_AddList.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="마크\CD_LP_AddList.Designer.cs">
<DependentUpon>CD_LP_AddList.cs</DependentUpon>
</Compile>
<Compile Include="마크\CD_LP_List.cs">
<SubType>Form</SubType>
</Compile>
@@ -294,6 +320,18 @@
<Compile Include="마크\Marc_mkList.Designer.cs">
<DependentUpon>Marc_mkList.cs</DependentUpon>
</Compile>
<Compile Include="마크\Marc_Plan_ClassSymbol.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="마크\Marc_Plan_ClassSymbol.Designer.cs">
<DependentUpon>Marc_Plan_ClassSymbol.cs</DependentUpon>
</Compile>
<Compile Include="마크\Marc_Plan_GearExcel.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="마크\Marc_Plan_GearExcel.Designer.cs">
<DependentUpon>Marc_Plan_GearExcel.cs</DependentUpon>
</Compile>
<Compile Include="마크\Marc_Plan_PrintLabel.cs">
<SubType>Form</SubType>
</Compile>
@@ -805,6 +843,9 @@
<Compile Include="작업일지\Work_Log.Designer.cs">
<DependentUpon>Work_Log.cs</DependentUpon>
</Compile>
<EmbeddedResource Include="마스터\From_User_manage_List.resx">
<DependentUpon>From_User_manage_List.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="마크\AddMarc.resx">
<DependentUpon>AddMarc.cs</DependentUpon>
</EmbeddedResource>
@@ -814,6 +855,9 @@
<EmbeddedResource Include="마크\CD_LP.resx">
<DependentUpon>CD_LP.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="마크\CD_LP_AddList.resx">
<DependentUpon>CD_LP_AddList.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="마크\CD_LP_List.resx">
<DependentUpon>CD_LP_List.cs</DependentUpon>
</EmbeddedResource>
@@ -895,6 +939,12 @@
<EmbeddedResource Include="마크\Marc_mkList.resx">
<DependentUpon>Marc_mkList.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="마크\Marc_Plan_ClassSymbol.resx">
<DependentUpon>Marc_Plan_ClassSymbol.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="마크\Marc_Plan_GearExcel.resx">
<DependentUpon>Marc_Plan_GearExcel.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="마크\Marc_Plan_PrintLabel.resx">
<DependentUpon>Marc_Plan_PrintLabel.cs</DependentUpon>
</EmbeddedResource>
@@ -1692,6 +1742,7 @@
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
<None Include="ReadMe.MD" />
<None Include="UniMarc_TemporaryKey.pfx" />
</ItemGroup>
<ItemGroup>

View File

@@ -1 +1 @@
3fb08793bac57ff34de3ce1e6e1f8ebe38ee44e1
a980cc54cfee34721f8734aaae513dd71cd3d934

View File

@@ -9,9 +9,7 @@ C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\bin\Debug\Ubiety.Dns.Core
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\bin\Debug\System.Buffers.dll
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\bin\Debug\K4os.Compression.LZ4.dll
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\bin\Debug\K4os.Hash.xxHash.dll
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\bin\Debug\System.Memory.dll
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\bin\Debug\System.Runtime.CompilerServices.Unsafe.dll
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\bin\Debug\System.Numerics.Vectors.dll
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\bin\Debug\MySql.Data.xml
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\bin\Debug\Newtonsoft.Json.xml
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\bin\Debug\Renci.SshNet.xml
@@ -112,7 +110,6 @@ C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.pdb
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.마크.Marc_memo.resources
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.마크.Zoom_Picture.resources
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.마크.Check_ISBN_Yes24.resources
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.csproj.AssemblyReference.cache
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.회계.Part_time.resources
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.마크.All_Book_manage_Add.resources
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.마크.All_Book_manage_Edit.resources
@@ -144,3 +141,14 @@ C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.마크.
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.마크.Help_008.resources
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.마크.CD_LP_List.resources
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.마크.AddMarc_FillBlank.resources
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.마크.Marc_Plan_ClassSymbol.resources
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.마크.Marc_Plan_GearExcel.resources
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.마크.CD_LP_AddList.resources
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\bin\Debug\ArLog.Net4.dll
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.From_User_manage_List.resources
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\bin\Debug\System.Memory.dll
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\bin\Debug\System.Numerics.Vectors.dll
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\bin\Debug\arControl.Net4.dll
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\bin\Debug\CarlosAg.ExcelXmlWriter.dll
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\bin\Debug\arCommUtil.dll
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.csproj.AssemblyReference.cache

View File

@@ -87,7 +87,11 @@ namespace WindowsFormsApp1.Delivery
Helper_DB db = new Helper_DB();
string Area = "`c_sangho`, `c_boss`, `c_tel`, `c_man`, `c_mantel`, `c_dlsArea`, `c_dlsID`, `c_dlsPW`";
db.DBcon();
string dbcmd = db.DB_Contains("Client", compidx, "c_sangho", Clinet_name, Area);
string dbcmd;
if (dc != null || sl != null)
dbcmd = String.Format("SELECT {0} FROM `Client` WHERE campanyidx = {1} AND c_sangho LIKE \"%{2}%\" ;", Area, compidx, Clinet_name);//AND c_gu LIKE \"%학교%\" OR c_gu = \"유치원\"
else
dbcmd = db.DB_Contains("Client", compidx, "c_sangho", Clinet_name, Area);
string dbcon = db.DB_Send_CMD_Search(dbcmd);
string[] res = dbcon.Split('|');
string[] grid = { "", "", "", "", "", "", "", "" };

View File

@@ -86,7 +86,9 @@ namespace WindowsFormsApp1.Delivery
private void Show_Image(string isbn)
{
string isbn3 = isbn.Substring(isbn.Length - 3, 3);
pictureBox1.ImageLocation = string.Format("http://image.kyobobook.co.kr/images/book/xlarge/{0}/x{1}.jpg", isbn3, isbn);
string tFilePath = string.Format("https://contents.kyobobook.co.kr/sih/fit-in/458x0/pdt/{0}.jpg", isbn);
pictureBox1.ImageLocation = tFilePath;
//pictureBox1.ImageLocation = string.Format("http://image.kyobobook.co.kr/images/book/xlarge/{0}/x{1}.jpg", isbn3, isbn);
}
private void btn_Save_Click(object sender, EventArgs e)

View File

@@ -961,7 +961,9 @@ namespace WindowsFormsApp1.Delivery
return;
}
string isbn3 = isbn.Substring(isbn.Length - 3, 3);
pictureBox1.ImageLocation = "http://image.kyobobook.co.kr/images/book/xlarge/" + isbn3 + "/x" + isbn + ".jpg";
string tFilePath = string.Format("https://contents.kyobobook.co.kr/sih/fit-in/458x0/pdt/{0}.jpg", isbn);
pictureBox1.ImageLocation = tFilePath;
//pictureBox1.ImageLocation = "http://image.kyobobook.co.kr/images/book/xlarge/" + isbn3 + "/x" + isbn + ".jpg";
}
}
}

View File

@@ -0,0 +1,836 @@
namespace UniMarc
{
partial class From_User_manage_List
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
this.dgvList = new System.Windows.Forms.DataGridView();
this.dbIDX = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.compidx = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ip = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.comp_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.boss = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.bubin = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.cobin = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.uptae = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.jongmok = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.zip = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.addr = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.tel = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.fax = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.bank_comp = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.bank_no = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.email = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.barea = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.grade = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.tbIP = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.label12 = new System.Windows.Forms.Label();
this.label14 = new System.Windows.Forms.Label();
this.label20 = new System.Windows.Forms.Label();
this.tb_barea = new System.Windows.Forms.TextBox();
this.tb_bank_no = new System.Windows.Forms.TextBox();
this.tb_boss = new System.Windows.Forms.TextBox();
this.tb_fax = new System.Windows.Forms.TextBox();
this.label22 = new System.Windows.Forms.Label();
this.tb_sangho = new System.Windows.Forms.TextBox();
this.tb_jongmok = new System.Windows.Forms.TextBox();
this.label23 = new System.Windows.Forms.Label();
this.tb_cobin = new System.Windows.Forms.TextBox();
this.tb_bank_comp = new System.Windows.Forms.TextBox();
this.tb_bubin = new System.Windows.Forms.TextBox();
this.tb_uptae = new System.Windows.Forms.TextBox();
this.tb_email = new System.Windows.Forms.TextBox();
this.panel7 = new System.Windows.Forms.Panel();
this.tb_addr = new System.Windows.Forms.TextBox();
this.tb_zip = new System.Windows.Forms.TextBox();
this.tb_tel = new System.Windows.Forms.TextBox();
this.label27 = new System.Windows.Forms.Label();
this.label28 = new System.Windows.Forms.Label();
this.label29 = new System.Windows.Forms.Label();
this.label30 = new System.Windows.Forms.Label();
this.label31 = new System.Windows.Forms.Label();
this.label32 = new System.Windows.Forms.Label();
this.label25 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.label9 = new System.Windows.Forms.Label();
this.nudCompIDX = new System.Windows.Forms.NumericUpDown();
this.btnUpdate = new System.Windows.Forms.Button();
this.btnClose = new System.Windows.Forms.Button();
this.btnDelete = new System.Windows.Forms.Button();
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
this.btnInsert = new System.Windows.Forms.Button();
((System.ComponentModel.ISupportInitialize)(this.dgvList)).BeginInit();
this.tableLayoutPanel1.SuspendLayout();
this.panel7.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.nudCompIDX)).BeginInit();
this.tableLayoutPanel2.SuspendLayout();
this.SuspendLayout();
//
// dgvList
//
this.dgvList.AllowUserToAddRows = false;
this.dgvList.AllowUserToDeleteRows = false;
this.dgvList.BackgroundColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle1.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dgvList.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
this.dgvList.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.dbIDX,
this.compidx,
this.ip,
this.comp_name,
this.boss,
this.bubin,
this.cobin,
this.uptae,
this.jongmok,
this.zip,
this.addr,
this.tel,
this.fax,
this.bank_comp,
this.bank_no,
this.email,
this.barea,
this.grade});
this.dgvList.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvList.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically;
this.dgvList.Location = new System.Drawing.Point(0, 268);
this.dgvList.MultiSelect = false;
this.dgvList.Name = "dgvList";
this.dgvList.ReadOnly = true;
this.dgvList.RowHeadersWidth = 20;
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
this.dgvList.RowsDefaultCellStyle = dataGridViewCellStyle2;
this.dgvList.RowTemplate.Height = 23;
this.dgvList.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dgvList.Size = new System.Drawing.Size(589, 569);
this.dgvList.TabIndex = 1;
this.dgvList.MouseClick += new System.Windows.Forms.MouseEventHandler(this.dgvList_MouseClick);
//
// dbIDX
//
this.dbIDX.HeaderText = "IDX";
this.dbIDX.Name = "dbIDX";
this.dbIDX.ReadOnly = true;
this.dbIDX.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
this.dbIDX.Visible = false;
this.dbIDX.Width = 70;
//
// compidx
//
this.compidx.HeaderText = "고유번호";
this.compidx.Name = "compidx";
this.compidx.ReadOnly = true;
//
// ip
//
this.ip.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
this.ip.HeaderText = "IP";
this.ip.Name = "ip";
this.ip.ReadOnly = true;
this.ip.Width = 120;
//
// comp_name
//
this.comp_name.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
this.comp_name.HeaderText = "상호";
this.comp_name.Name = "comp_name";
this.comp_name.ReadOnly = true;
this.comp_name.Width = 150;
//
// boss
//
this.boss.HeaderText = "대표자명";
this.boss.Name = "boss";
this.boss.ReadOnly = true;
//
// bubin
//
this.bubin.HeaderText = "등록번호";
this.bubin.Name = "bubin";
this.bubin.ReadOnly = true;
//
// cobin
//
this.cobin.HeaderText = "법인번호";
this.cobin.Name = "cobin";
this.cobin.ReadOnly = true;
//
// uptae
//
this.uptae.HeaderText = "업태";
this.uptae.Name = "uptae";
this.uptae.ReadOnly = true;
//
// jongmok
//
this.jongmok.HeaderText = "종목";
this.jongmok.Name = "jongmok";
this.jongmok.ReadOnly = true;
//
// zip
//
this.zip.HeaderText = "우편번호";
this.zip.Name = "zip";
this.zip.ReadOnly = true;
//
// addr
//
this.addr.HeaderText = "주소";
this.addr.Name = "addr";
this.addr.ReadOnly = true;
//
// tel
//
this.tel.HeaderText = "전화번호";
this.tel.Name = "tel";
this.tel.ReadOnly = true;
//
// fax
//
this.fax.HeaderText = "팩스번호";
this.fax.Name = "fax";
this.fax.ReadOnly = true;
//
// bank_comp
//
this.bank_comp.HeaderText = "은행명";
this.bank_comp.Name = "bank_comp";
this.bank_comp.ReadOnly = true;
//
// bank_no
//
this.bank_no.HeaderText = "계좌번호";
this.bank_no.Name = "bank_no";
this.bank_no.ReadOnly = true;
//
// email
//
this.email.HeaderText = "이메일";
this.email.Name = "email";
this.email.ReadOnly = true;
//
// barea
//
this.barea.HeaderText = "발송처";
this.barea.Name = "barea";
this.barea.ReadOnly = true;
//
// grade
//
this.grade.HeaderText = "등급";
this.grade.Name = "grade";
this.grade.ReadOnly = true;
//
// tableLayoutPanel1
//
this.tableLayoutPanel1.CellBorderStyle = System.Windows.Forms.TableLayoutPanelCellBorderStyle.Inset;
this.tableLayoutPanel1.ColumnCount = 4;
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 15F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 35F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 15F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 35F));
this.tableLayoutPanel1.Controls.Add(this.tbIP, 1, 7);
this.tableLayoutPanel1.Controls.Add(this.label1, 0, 0);
this.tableLayoutPanel1.Controls.Add(this.label3, 0, 1);
this.tableLayoutPanel1.Controls.Add(this.label12, 0, 2);
this.tableLayoutPanel1.Controls.Add(this.label14, 0, 3);
this.tableLayoutPanel1.Controls.Add(this.label20, 0, 4);
this.tableLayoutPanel1.Controls.Add(this.tb_barea, 3, 6);
this.tableLayoutPanel1.Controls.Add(this.tb_bank_no, 3, 5);
this.tableLayoutPanel1.Controls.Add(this.tb_boss, 3, 0);
this.tableLayoutPanel1.Controls.Add(this.tb_fax, 3, 4);
this.tableLayoutPanel1.Controls.Add(this.label22, 0, 5);
this.tableLayoutPanel1.Controls.Add(this.tb_sangho, 1, 0);
this.tableLayoutPanel1.Controls.Add(this.tb_jongmok, 3, 2);
this.tableLayoutPanel1.Controls.Add(this.label23, 0, 6);
this.tableLayoutPanel1.Controls.Add(this.tb_cobin, 3, 1);
this.tableLayoutPanel1.Controls.Add(this.tb_bank_comp, 1, 5);
this.tableLayoutPanel1.Controls.Add(this.tb_bubin, 1, 1);
this.tableLayoutPanel1.Controls.Add(this.tb_uptae, 1, 2);
this.tableLayoutPanel1.Controls.Add(this.tb_email, 1, 6);
this.tableLayoutPanel1.Controls.Add(this.panel7, 1, 3);
this.tableLayoutPanel1.Controls.Add(this.tb_tel, 1, 4);
this.tableLayoutPanel1.Controls.Add(this.label27, 2, 0);
this.tableLayoutPanel1.Controls.Add(this.label28, 2, 1);
this.tableLayoutPanel1.Controls.Add(this.label29, 2, 2);
this.tableLayoutPanel1.Controls.Add(this.label30, 2, 4);
this.tableLayoutPanel1.Controls.Add(this.label31, 2, 5);
this.tableLayoutPanel1.Controls.Add(this.label32, 2, 6);
this.tableLayoutPanel1.Controls.Add(this.label25, 0, 7);
this.tableLayoutPanel1.Controls.Add(this.label2, 0, 8);
this.tableLayoutPanel1.Controls.Add(this.label4, 2, 8);
this.tableLayoutPanel1.Controls.Add(this.label9, 2, 7);
this.tableLayoutPanel1.Controls.Add(this.nudCompIDX, 1, 8);
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Top;
this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(0);
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
this.tableLayoutPanel1.RowCount = 9;
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 11.11111F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 11.11111F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 11.11111F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 11.11111F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 11.11111F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 11.11111F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 11.11111F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 11.11111F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 11.11111F));
this.tableLayoutPanel1.Size = new System.Drawing.Size(589, 230);
this.tableLayoutPanel1.TabIndex = 2;
//
// tbIP
//
this.tbIP.BackColor = System.Drawing.SystemColors.Info;
this.tbIP.Dock = System.Windows.Forms.DockStyle.Fill;
this.tbIP.Location = new System.Drawing.Point(90, 177);
this.tbIP.Margin = new System.Windows.Forms.Padding(0);
this.tbIP.Name = "tbIP";
this.tbIP.Size = new System.Drawing.Size(202, 23);
this.tbIP.TabIndex = 7;
this.tbIP.Text = "ALL";
//
// label1
//
this.label1.BackColor = System.Drawing.SystemColors.ActiveBorder;
this.label1.Dock = System.Windows.Forms.DockStyle.Fill;
this.label1.Location = new System.Drawing.Point(2, 2);
this.label1.Margin = new System.Windows.Forms.Padding(0);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(86, 23);
this.label1.TabIndex = 1;
this.label1.Text = "상 호";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label3
//
this.label3.BackColor = System.Drawing.SystemColors.ActiveBorder;
this.label3.Dock = System.Windows.Forms.DockStyle.Fill;
this.label3.Location = new System.Drawing.Point(2, 27);
this.label3.Margin = new System.Windows.Forms.Padding(0);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(86, 23);
this.label3.TabIndex = 1;
this.label3.Text = "등록번호";
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label12
//
this.label12.BackColor = System.Drawing.SystemColors.ActiveBorder;
this.label12.Dock = System.Windows.Forms.DockStyle.Fill;
this.label12.Location = new System.Drawing.Point(2, 52);
this.label12.Margin = new System.Windows.Forms.Padding(0);
this.label12.Name = "label12";
this.label12.Size = new System.Drawing.Size(86, 23);
this.label12.TabIndex = 1;
this.label12.Text = "업 태";
this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label14
//
this.label14.BackColor = System.Drawing.SystemColors.ActiveBorder;
this.label14.Dock = System.Windows.Forms.DockStyle.Fill;
this.label14.Location = new System.Drawing.Point(2, 77);
this.label14.Margin = new System.Windows.Forms.Padding(0);
this.label14.Name = "label14";
this.label14.Size = new System.Drawing.Size(86, 23);
this.label14.TabIndex = 1;
this.label14.Text = "회사주소";
this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label20
//
this.label20.BackColor = System.Drawing.SystemColors.ActiveBorder;
this.label20.Dock = System.Windows.Forms.DockStyle.Fill;
this.label20.Location = new System.Drawing.Point(2, 102);
this.label20.Margin = new System.Windows.Forms.Padding(0);
this.label20.Name = "label20";
this.label20.Size = new System.Drawing.Size(86, 23);
this.label20.TabIndex = 1;
this.label20.Text = "전화번호";
this.label20.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// tb_barea
//
this.tb_barea.Location = new System.Drawing.Point(382, 152);
this.tb_barea.Margin = new System.Windows.Forms.Padding(0);
this.tb_barea.Name = "tb_barea";
this.tb_barea.Size = new System.Drawing.Size(205, 23);
this.tb_barea.TabIndex = 0;
//
// tb_bank_no
//
this.tb_bank_no.Dock = System.Windows.Forms.DockStyle.Fill;
this.tb_bank_no.Location = new System.Drawing.Point(382, 127);
this.tb_bank_no.Margin = new System.Windows.Forms.Padding(0);
this.tb_bank_no.Name = "tb_bank_no";
this.tb_bank_no.Size = new System.Drawing.Size(205, 23);
this.tb_bank_no.TabIndex = 0;
//
// tb_boss
//
this.tb_boss.Dock = System.Windows.Forms.DockStyle.Fill;
this.tb_boss.Location = new System.Drawing.Point(382, 2);
this.tb_boss.Margin = new System.Windows.Forms.Padding(0);
this.tb_boss.Name = "tb_boss";
this.tb_boss.Size = new System.Drawing.Size(205, 23);
this.tb_boss.TabIndex = 0;
//
// tb_fax
//
this.tb_fax.Dock = System.Windows.Forms.DockStyle.Fill;
this.tb_fax.Location = new System.Drawing.Point(382, 102);
this.tb_fax.Margin = new System.Windows.Forms.Padding(0);
this.tb_fax.Name = "tb_fax";
this.tb_fax.Size = new System.Drawing.Size(205, 23);
this.tb_fax.TabIndex = 0;
//
// label22
//
this.label22.BackColor = System.Drawing.SystemColors.ActiveBorder;
this.label22.Dock = System.Windows.Forms.DockStyle.Fill;
this.label22.Location = new System.Drawing.Point(2, 127);
this.label22.Margin = new System.Windows.Forms.Padding(0);
this.label22.Name = "label22";
this.label22.Size = new System.Drawing.Size(86, 23);
this.label22.TabIndex = 1;
this.label22.Text = "은 행 명";
this.label22.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// tb_sangho
//
this.tb_sangho.BackColor = System.Drawing.SystemColors.Info;
this.tb_sangho.Dock = System.Windows.Forms.DockStyle.Fill;
this.tb_sangho.Location = new System.Drawing.Point(90, 2);
this.tb_sangho.Margin = new System.Windows.Forms.Padding(0);
this.tb_sangho.Name = "tb_sangho";
this.tb_sangho.Size = new System.Drawing.Size(202, 23);
this.tb_sangho.TabIndex = 0;
//
// tb_jongmok
//
this.tb_jongmok.Dock = System.Windows.Forms.DockStyle.Fill;
this.tb_jongmok.Location = new System.Drawing.Point(382, 52);
this.tb_jongmok.Margin = new System.Windows.Forms.Padding(0);
this.tb_jongmok.Name = "tb_jongmok";
this.tb_jongmok.Size = new System.Drawing.Size(205, 23);
this.tb_jongmok.TabIndex = 0;
//
// label23
//
this.label23.BackColor = System.Drawing.SystemColors.ActiveBorder;
this.label23.Dock = System.Windows.Forms.DockStyle.Fill;
this.label23.Location = new System.Drawing.Point(2, 152);
this.label23.Margin = new System.Windows.Forms.Padding(0);
this.label23.Name = "label23";
this.label23.Size = new System.Drawing.Size(86, 23);
this.label23.TabIndex = 1;
this.label23.Text = "이 메 일";
this.label23.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// tb_cobin
//
this.tb_cobin.Dock = System.Windows.Forms.DockStyle.Fill;
this.tb_cobin.Location = new System.Drawing.Point(382, 27);
this.tb_cobin.Margin = new System.Windows.Forms.Padding(0);
this.tb_cobin.Name = "tb_cobin";
this.tb_cobin.Size = new System.Drawing.Size(205, 23);
this.tb_cobin.TabIndex = 0;
//
// tb_bank_comp
//
this.tb_bank_comp.Dock = System.Windows.Forms.DockStyle.Fill;
this.tb_bank_comp.Location = new System.Drawing.Point(90, 127);
this.tb_bank_comp.Margin = new System.Windows.Forms.Padding(0);
this.tb_bank_comp.Name = "tb_bank_comp";
this.tb_bank_comp.Size = new System.Drawing.Size(202, 23);
this.tb_bank_comp.TabIndex = 0;
//
// tb_bubin
//
this.tb_bubin.Dock = System.Windows.Forms.DockStyle.Fill;
this.tb_bubin.Location = new System.Drawing.Point(90, 27);
this.tb_bubin.Margin = new System.Windows.Forms.Padding(0);
this.tb_bubin.Name = "tb_bubin";
this.tb_bubin.Size = new System.Drawing.Size(202, 23);
this.tb_bubin.TabIndex = 0;
//
// tb_uptae
//
this.tb_uptae.Dock = System.Windows.Forms.DockStyle.Fill;
this.tb_uptae.Location = new System.Drawing.Point(90, 52);
this.tb_uptae.Margin = new System.Windows.Forms.Padding(0);
this.tb_uptae.Name = "tb_uptae";
this.tb_uptae.Size = new System.Drawing.Size(202, 23);
this.tb_uptae.TabIndex = 0;
//
// tb_email
//
this.tb_email.BackColor = System.Drawing.SystemColors.Info;
this.tb_email.Dock = System.Windows.Forms.DockStyle.Fill;
this.tb_email.Location = new System.Drawing.Point(90, 152);
this.tb_email.Margin = new System.Windows.Forms.Padding(0);
this.tb_email.Name = "tb_email";
this.tb_email.Size = new System.Drawing.Size(202, 23);
this.tb_email.TabIndex = 0;
//
// panel7
//
this.tableLayoutPanel1.SetColumnSpan(this.panel7, 3);
this.panel7.Controls.Add(this.tb_addr);
this.panel7.Controls.Add(this.tb_zip);
this.panel7.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel7.Location = new System.Drawing.Point(90, 77);
this.panel7.Margin = new System.Windows.Forms.Padding(0);
this.panel7.Name = "panel7";
this.panel7.Size = new System.Drawing.Size(497, 23);
this.panel7.TabIndex = 2;
//
// tb_addr
//
this.tb_addr.Dock = System.Windows.Forms.DockStyle.Fill;
this.tb_addr.Location = new System.Drawing.Point(95, 0);
this.tb_addr.Margin = new System.Windows.Forms.Padding(0);
this.tb_addr.Name = "tb_addr";
this.tb_addr.Size = new System.Drawing.Size(402, 23);
this.tb_addr.TabIndex = 0;
//
// tb_zip
//
this.tb_zip.Dock = System.Windows.Forms.DockStyle.Left;
this.tb_zip.Location = new System.Drawing.Point(0, 0);
this.tb_zip.Margin = new System.Windows.Forms.Padding(0);
this.tb_zip.Name = "tb_zip";
this.tb_zip.Size = new System.Drawing.Size(95, 23);
this.tb_zip.TabIndex = 0;
this.tb_zip.Text = " -";
//
// tb_tel
//
this.tb_tel.BackColor = System.Drawing.SystemColors.Info;
this.tb_tel.Dock = System.Windows.Forms.DockStyle.Fill;
this.tb_tel.Location = new System.Drawing.Point(90, 102);
this.tb_tel.Margin = new System.Windows.Forms.Padding(0);
this.tb_tel.Name = "tb_tel";
this.tb_tel.Size = new System.Drawing.Size(202, 23);
this.tb_tel.TabIndex = 0;
//
// label27
//
this.label27.BackColor = System.Drawing.SystemColors.ActiveBorder;
this.label27.Dock = System.Windows.Forms.DockStyle.Fill;
this.label27.Location = new System.Drawing.Point(294, 2);
this.label27.Margin = new System.Windows.Forms.Padding(0);
this.label27.Name = "label27";
this.label27.Size = new System.Drawing.Size(86, 23);
this.label27.TabIndex = 1;
this.label27.Text = "대표자명";
this.label27.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label28
//
this.label28.BackColor = System.Drawing.SystemColors.ActiveBorder;
this.label28.Dock = System.Windows.Forms.DockStyle.Fill;
this.label28.Location = new System.Drawing.Point(294, 27);
this.label28.Margin = new System.Windows.Forms.Padding(0);
this.label28.Name = "label28";
this.label28.Size = new System.Drawing.Size(86, 23);
this.label28.TabIndex = 1;
this.label28.Text = "법인번호";
this.label28.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label29
//
this.label29.BackColor = System.Drawing.SystemColors.ActiveBorder;
this.label29.Dock = System.Windows.Forms.DockStyle.Fill;
this.label29.Location = new System.Drawing.Point(294, 52);
this.label29.Margin = new System.Windows.Forms.Padding(0);
this.label29.Name = "label29";
this.label29.Size = new System.Drawing.Size(86, 23);
this.label29.TabIndex = 1;
this.label29.Text = "종 목";
this.label29.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label30
//
this.label30.BackColor = System.Drawing.SystemColors.ActiveBorder;
this.label30.Dock = System.Windows.Forms.DockStyle.Fill;
this.label30.Location = new System.Drawing.Point(294, 102);
this.label30.Margin = new System.Windows.Forms.Padding(0);
this.label30.Name = "label30";
this.label30.Size = new System.Drawing.Size(86, 23);
this.label30.TabIndex = 1;
this.label30.Text = "팩스번호";
this.label30.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label31
//
this.label31.BackColor = System.Drawing.SystemColors.ActiveBorder;
this.label31.Dock = System.Windows.Forms.DockStyle.Fill;
this.label31.Location = new System.Drawing.Point(294, 127);
this.label31.Margin = new System.Windows.Forms.Padding(0);
this.label31.Name = "label31";
this.label31.Size = new System.Drawing.Size(86, 23);
this.label31.TabIndex = 1;
this.label31.Text = "계좌번호";
this.label31.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label32
//
this.label32.BackColor = System.Drawing.SystemColors.ActiveBorder;
this.label32.Dock = System.Windows.Forms.DockStyle.Fill;
this.label32.Location = new System.Drawing.Point(294, 152);
this.label32.Margin = new System.Windows.Forms.Padding(0);
this.label32.Name = "label32";
this.label32.Size = new System.Drawing.Size(86, 23);
this.label32.TabIndex = 1;
this.label32.Text = "발 송 처";
this.label32.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label25
//
this.label25.BackColor = System.Drawing.SystemColors.ActiveBorder;
this.label25.Dock = System.Windows.Forms.DockStyle.Fill;
this.label25.Location = new System.Drawing.Point(2, 177);
this.label25.Margin = new System.Windows.Forms.Padding(0);
this.label25.Name = "label25";
this.label25.Size = new System.Drawing.Size(86, 23);
this.label25.TabIndex = 1;
this.label25.Text = "IP";
this.label25.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label2
//
this.label2.BackColor = System.Drawing.SystemColors.ActiveBorder;
this.label2.Dock = System.Windows.Forms.DockStyle.Fill;
this.label2.Location = new System.Drawing.Point(2, 202);
this.label2.Margin = new System.Windows.Forms.Padding(0);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(86, 26);
this.label2.TabIndex = 1;
this.label2.Text = "고유번호";
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label4
//
this.tableLayoutPanel1.SetColumnSpan(this.label4, 2);
this.label4.Dock = System.Windows.Forms.DockStyle.Fill;
this.label4.Location = new System.Drawing.Point(297, 202);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(287, 26);
this.label4.TabIndex = 8;
this.label4.Text = "고유번호는 숫자만 입력 될 수 있습니다.";
this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label9
//
this.tableLayoutPanel1.SetColumnSpan(this.label9, 2);
this.label9.Dock = System.Windows.Forms.DockStyle.Fill;
this.label9.Location = new System.Drawing.Point(297, 177);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(287, 23);
this.label9.TabIndex = 8;
this.label9.Text = "IP 확인 : http://ipinfo.io/ip 예시(127.0.0.1)";
this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// nudCompIDX
//
this.nudCompIDX.Dock = System.Windows.Forms.DockStyle.Fill;
this.nudCompIDX.Location = new System.Drawing.Point(90, 202);
this.nudCompIDX.Margin = new System.Windows.Forms.Padding(0);
this.nudCompIDX.Name = "nudCompIDX";
this.nudCompIDX.Size = new System.Drawing.Size(202, 23);
this.nudCompIDX.TabIndex = 9;
this.nudCompIDX.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
//
// btnUpdate
//
this.btnUpdate.Dock = System.Windows.Forms.DockStyle.Fill;
this.btnUpdate.Location = new System.Drawing.Point(147, 0);
this.btnUpdate.Margin = new System.Windows.Forms.Padding(0);
this.btnUpdate.Name = "btnUpdate";
this.btnUpdate.Size = new System.Drawing.Size(147, 38);
this.btnUpdate.TabIndex = 0;
this.btnUpdate.Text = "수정";
this.btnUpdate.UseVisualStyleBackColor = true;
this.btnUpdate.Click += new System.EventHandler(this.btnUpdate_Click);
//
// btnClose
//
this.btnClose.Dock = System.Windows.Forms.DockStyle.Fill;
this.btnClose.Location = new System.Drawing.Point(441, 0);
this.btnClose.Margin = new System.Windows.Forms.Padding(0);
this.btnClose.Name = "btnClose";
this.btnClose.Size = new System.Drawing.Size(148, 38);
this.btnClose.TabIndex = 0;
this.btnClose.Text = "닫기";
this.btnClose.UseVisualStyleBackColor = true;
this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
//
// btnDelete
//
this.btnDelete.Dock = System.Windows.Forms.DockStyle.Fill;
this.btnDelete.Location = new System.Drawing.Point(294, 0);
this.btnDelete.Margin = new System.Windows.Forms.Padding(0);
this.btnDelete.Name = "btnDelete";
this.btnDelete.Size = new System.Drawing.Size(147, 38);
this.btnDelete.TabIndex = 0;
this.btnDelete.Text = "삭제";
this.btnDelete.UseVisualStyleBackColor = true;
this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click);
//
// tableLayoutPanel2
//
this.tableLayoutPanel2.ColumnCount = 4;
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel2.Controls.Add(this.btnUpdate, 1, 0);
this.tableLayoutPanel2.Controls.Add(this.btnClose, 3, 0);
this.tableLayoutPanel2.Controls.Add(this.btnDelete, 2, 0);
this.tableLayoutPanel2.Controls.Add(this.btnInsert, 0, 0);
this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Top;
this.tableLayoutPanel2.Location = new System.Drawing.Point(0, 230);
this.tableLayoutPanel2.Margin = new System.Windows.Forms.Padding(0);
this.tableLayoutPanel2.Name = "tableLayoutPanel2";
this.tableLayoutPanel2.RowCount = 1;
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel2.Size = new System.Drawing.Size(589, 38);
this.tableLayoutPanel2.TabIndex = 3;
//
// btnInsert
//
this.btnInsert.Dock = System.Windows.Forms.DockStyle.Fill;
this.btnInsert.Location = new System.Drawing.Point(0, 0);
this.btnInsert.Margin = new System.Windows.Forms.Padding(0);
this.btnInsert.Name = "btnInsert";
this.btnInsert.Size = new System.Drawing.Size(147, 38);
this.btnInsert.TabIndex = 0;
this.btnInsert.Text = "추가";
this.btnInsert.UseVisualStyleBackColor = true;
this.btnInsert.Click += new System.EventHandler(this.btnInsert_Click);
//
// From_User_manage_List
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(589, 837);
this.Controls.Add(this.dgvList);
this.Controls.Add(this.tableLayoutPanel2);
this.Controls.Add(this.tableLayoutPanel1);
this.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.Name = "From_User_manage_List";
this.Text = "사업자 등록 관리";
this.Load += new System.EventHandler(this.From_User_manage_List_Load);
((System.ComponentModel.ISupportInitialize)(this.dgvList)).EndInit();
this.tableLayoutPanel1.ResumeLayout(false);
this.tableLayoutPanel1.PerformLayout();
this.panel7.ResumeLayout(false);
this.panel7.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.nudCompIDX)).EndInit();
this.tableLayoutPanel2.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.DataGridView dgvList;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
private System.Windows.Forms.Button btnUpdate;
private System.Windows.Forms.Button btnClose;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label12;
private System.Windows.Forms.Label label14;
private System.Windows.Forms.Label label20;
private System.Windows.Forms.Label label22;
private System.Windows.Forms.TextBox tb_sangho;
private System.Windows.Forms.Label label23;
private System.Windows.Forms.TextBox tb_bank_comp;
private System.Windows.Forms.TextBox tb_bubin;
private System.Windows.Forms.TextBox tb_uptae;
private System.Windows.Forms.TextBox tb_email;
private System.Windows.Forms.Panel panel7;
private System.Windows.Forms.TextBox tb_zip;
private System.Windows.Forms.TextBox tb_addr;
private System.Windows.Forms.TextBox tb_tel;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.TextBox tbIP;
private System.Windows.Forms.Button btnDelete;
private System.Windows.Forms.Label label25;
private System.Windows.Forms.TextBox tb_barea;
private System.Windows.Forms.TextBox tb_bank_no;
private System.Windows.Forms.TextBox tb_boss;
private System.Windows.Forms.TextBox tb_fax;
private System.Windows.Forms.TextBox tb_jongmok;
private System.Windows.Forms.TextBox tb_cobin;
private System.Windows.Forms.Label label27;
private System.Windows.Forms.Label label28;
private System.Windows.Forms.Label label29;
private System.Windows.Forms.Label label30;
private System.Windows.Forms.Label label31;
private System.Windows.Forms.Label label32;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
private System.Windows.Forms.Button btnInsert;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.NumericUpDown nudCompIDX;
private System.Windows.Forms.DataGridViewTextBoxColumn dbIDX;
private System.Windows.Forms.DataGridViewTextBoxColumn compidx;
private System.Windows.Forms.DataGridViewTextBoxColumn ip;
private System.Windows.Forms.DataGridViewTextBoxColumn comp_name;
private System.Windows.Forms.DataGridViewTextBoxColumn boss;
private System.Windows.Forms.DataGridViewTextBoxColumn bubin;
private System.Windows.Forms.DataGridViewTextBoxColumn cobin;
private System.Windows.Forms.DataGridViewTextBoxColumn uptae;
private System.Windows.Forms.DataGridViewTextBoxColumn jongmok;
private System.Windows.Forms.DataGridViewTextBoxColumn zip;
private System.Windows.Forms.DataGridViewTextBoxColumn addr;
private System.Windows.Forms.DataGridViewTextBoxColumn tel;
private System.Windows.Forms.DataGridViewTextBoxColumn fax;
private System.Windows.Forms.DataGridViewTextBoxColumn bank_comp;
private System.Windows.Forms.DataGridViewTextBoxColumn bank_no;
private System.Windows.Forms.DataGridViewTextBoxColumn email;
private System.Windows.Forms.DataGridViewTextBoxColumn barea;
private System.Windows.Forms.DataGridViewTextBoxColumn grade;
}
}

View File

@@ -0,0 +1,217 @@
using ExcelTest;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using WindowsFormsApp1;
namespace UniMarc
{
public partial class From_User_manage_List : Form
{
Helper_DB mDb = new Helper_DB();
public From_User_manage_List()
{
InitializeComponent();
}
private void CheckText()
{
string[] tNeedText = {
tb_sangho.Text, tb_tel.Text, tb_email.Text
};
foreach (string tCheckText in tNeedText)
{
if (tCheckText == "")
{
MessageBox.Show("전화번호, 상호, 이메일, IP, 고유번호는 필수 입력 사항입니다.");
return;
}
}
}
private void btnInsert_Click(object sender, EventArgs e)
{
CheckText();
string tCmd = string.Format("SELECT * FROM `Comp` WHERE `comp_name` = \"{0}\"", tb_sangho.Text);
string tResult = mDb.DB_Send_CMD_Search(tCmd);
if (tResult != "")
{
MessageBox.Show("상호명이 중복되었습니다.\n다시 확인해주세요.");
return;
}
tCmd = string.Format("SELECT * FROM `comp` WHERE `compidx` = \"{0}\"", nudCompIDX.Value.ToString());
tResult = mDb.DB_Send_CMD_Search(tCmd);
if (tResult != "")
{
MessageBox.Show("고유번호가 중복되었습니다.\n다시 확인해주세요.");
return;
}
string[] tInsertCol = {
"comp_name", "boss", "bubin", "cobin", "uptae",
"jongmok", "zip", "addr", "tel", "fax",
"bank_comp", "bank_no", "email", "barea", "grade"
,"compidx", "IP"
}; // 15
string[] tInsertData = {
tb_sangho.Text, tb_boss.Text, tb_bubin.Text, tb_cobin.Text, tb_uptae.Text,
tb_jongmok.Text, tb_zip.Text, tb_addr.Text, tb_tel.Text, tb_fax.Text,
tb_bank_comp.Text, tb_bank_no.Text, tb_email.Text, tb_barea.Text, "외부업체"
,nudCompIDX.Value.ToString(),tbIP.Text
}; // 15
tCmd = mDb.DB_INSERT("Comp", tInsertCol, tInsertData);
mDb.DB_Send_CMD_reVoid(tCmd);
//// IP 적용
//string[] IP_Col = { "compidx", "comp", "IP" };
//string[] IP_Data = { mDb.chk_comp(tb_sangho.Text), tb_sangho.Text, tbIP.Text };//cb_IPList.Text
//tCmd = mDb.DB_INSERT("Comp_IP", IP_Col, IP_Data);
//mDb.DB_Send_CMD_reVoid(tCmd);
RefreshList();
}
private void btnUpdate_Click(object sender, EventArgs e)
{
if (dgvList.CurrentCell == null || dgvList.CurrentCell.RowIndex < 0 || dgvList.SelectedRows.Count == 0)
{
MessageBox.Show("수정할 행을 선택해 주세요.");
return;
}
string tText = string.Format("{0} 를 수정 하시겠습니까?", dgvList.SelectedRows[0].Cells["comp_name"].Value.ToString());
if (CUtill.MsgQ(tText) == DialogResult.Yes)
{
CheckText();
string[] tEdit_tbl = {
"comp_name", "boss", "bubin", "cobin", "uptae",
"jongmok", "zip", "addr", "tel", "fax",
"bank_comp", "bank_no", "email", "barea", "grade" };
string[] tEdit_col = {
tb_sangho.Text, tb_boss.Text, tb_bubin.Text, tb_cobin.Text, tb_uptae.Text,
tb_jongmok.Text, tb_zip.Text, tb_addr.Text, tb_tel.Text, tb_fax.Text,
tb_bank_comp.Text, tb_bank_no.Text, tb_email.Text, tb_barea.Text, "외부업체"
};
string[] tSearch_tbl = { "idx" };
string[] tSearch_col = { dgvList.SelectedRows[0].Cells["dbIDX"].Value.ToString() };
string U_cmd = mDb.More_Update("Comp", tEdit_tbl, tEdit_col, tSearch_tbl, tSearch_col);
mDb.DB_Send_CMD_reVoid(U_cmd);
}
RefreshList();
}
private void btnDelete_Click(object sender, EventArgs e)
{
if (dgvList.CurrentCell == null || dgvList.CurrentCell.RowIndex < 0 || dgvList.SelectedRows.Count == 0)
{
MessageBox.Show("삭제할 행을 선택해 주세요.");
return;
}
string tText = string.Format("{0} 를 삭제 하시겠습니까?", dgvList.SelectedRows[0].Cells["comp_name"].Value.ToString());
if (CUtill.MsgQ(tText) == DialogResult.Yes)
{
string tD_cmd = mDb.DB_Delete("Comp", "idx", dgvList.SelectedRows[0].Cells["dbIDX"].Value.ToString(), "comp_name", dgvList.SelectedRows[0].Cells["comp_name"].Value.ToString());
mDb.DB_Send_CMD_reVoid(tD_cmd);
TextClear();
}
RefreshList();
}
private void btnClose_Click(object sender, EventArgs e)
{
this.Close();
}
private void RefreshList()
{
mDb.DBcon();
dgvList.Rows.Clear();
string tArea = string.Format("idx,compidx,ip,comp_name, boss, bubin, cobin, uptae,jongmok, zip, addr, tel, fax,bank_comp, bank_no, email, barea, grade");
string tCmd = string.Format("SELECT {0} FROM Comp", tArea);
List<string> tData = mDb.DB_Send_CMD_Search(tCmd).Split('|').ToList();
for (int i = 0; i < tData.Count; i = i + 18)
{
if (i + 18 > tData.Count) break;
string[] tDgvData = { tData[i], tData[i+1], tData[i+2], tData[i+3], tData[i+4]
,tData[i+5],tData[i+6],tData[i+7],tData[i+8],tData[i+9]
,tData[i+10],tData[i+11],tData[i+12],tData[i+13],tData[i+14],tData[i+15],tData[i+16],tData[i+17]};
dgvList.Rows.Add(tDgvData);
}
dgvList.ClearSelection();
}
private void From_User_manage_List_Load(object sender, EventArgs e)
{
RefreshList();
}
public class CompIpData
{
public string mIP = string.Empty;
public string mCompName = string.Empty;
public string mCompIDX = string.Empty;
public CompIpData(string pIP, string pCompName, string pCompIDX)
{
mIP = pIP;
mCompName = pCompName;
mCompIDX = pCompIDX;
}
}
private void dgvList_MouseClick(object sender, MouseEventArgs e)
{
if (dgvList.CurrentCell == null || dgvList.CurrentCell.RowIndex < 0 || dgvList.SelectedRows.Count==0) return;
tb_sangho.InvokeText(dgvList.SelectedRows[0].Cells["comp_name"].Value.ToString());
tb_boss.InvokeText(dgvList.SelectedRows[0].Cells["boss"].Value.ToString());
tb_bubin.InvokeText(dgvList.SelectedRows[0].Cells["bubin"].Value.ToString());
tb_cobin.InvokeText(dgvList.SelectedRows[0].Cells["cobin"].Value.ToString());
tb_uptae.InvokeText(dgvList.SelectedRows[0].Cells["uptae"].Value.ToString());
tb_jongmok.InvokeText(dgvList.SelectedRows[0].Cells["jongmok"].Value.ToString());
tb_zip.InvokeText(dgvList.SelectedRows[0].Cells["zip"].Value.ToString());
tb_addr.InvokeText(dgvList.SelectedRows[0].Cells["addr"].Value.ToString());
tb_tel.InvokeText(dgvList.SelectedRows[0].Cells["tel"].Value.ToString());
tb_fax.InvokeText(dgvList.SelectedRows[0].Cells["fax"].Value.ToString());
tb_bank_comp.InvokeText(dgvList.SelectedRows[0].Cells["bank_comp"].Value.ToString());
tb_bank_no.InvokeText(dgvList.SelectedRows[0].Cells["bank_no"].Value.ToString());
tb_email.InvokeText(dgvList.SelectedRows[0].Cells["email"].Value.ToString());
tb_barea.InvokeText(dgvList.SelectedRows[0].Cells["barea"].Value.ToString());
tbIP.InvokeText(dgvList.SelectedRows[0].Cells["ip"].Value.ToString());
int tValue = 0;
int.TryParse(dgvList.SelectedRows[0].Cells["compidx"].Value.ToString(), out tValue);
nudCompIDX.InvokeNumeric(tValue);
}
private void TextClear()
{
tb_sangho.InvokeText("");
tb_boss.InvokeText("");
tb_bubin.InvokeText("");
tb_cobin.InvokeText("");
tb_uptae.InvokeText("");
tb_jongmok.InvokeText("");
tb_zip.InvokeText("");
tb_addr.InvokeText("");
tb_tel.InvokeText("");
tb_fax.InvokeText("");
tb_bank_comp.InvokeText("");
tb_bank_no.InvokeText("");
tb_email.InvokeText("");
tb_barea.InvokeText("");
tbIP.InvokeText("");
}
}
}

Some files were not shown because too many files have changed in this diff Show More