프로그램 아이콘 적용.
프로그램 시작시 clientexe 교체 오류로 인해, 바로 종료되는 현상 수정. 복본조사 화면을 old 와 new 로 분리 함.
This commit is contained in:
		| @@ -105,10 +105,43 @@ namespace WindowsFormsApp1 | ||||
|                 SetBtnName(); | ||||
|             } | ||||
|             catch (Exception ex) { MessageBox.Show(ex.ToString()); } | ||||
|  | ||||
|             UpdaterCheck(); | ||||
|         } | ||||
|  | ||||
|  | ||||
|         | ||||
|  | ||||
|         /// <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"); | ||||
|             } | ||||
|         } | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|         #region 즐겨찾기 버튼 세팅 | ||||
|         public void SetBtnName() | ||||
| @@ -224,7 +257,7 @@ namespace WindowsFormsApp1 | ||||
|                 "마크통계", "장비관리" }; | ||||
|             ToolStripMenuItem[] MarcT = { | ||||
|                 마크작성, 마크목록, 소장자료검색, 마크정리, iSBN조회, 목록, 편목, 마크반입, | ||||
|                 마크반출, 복본조사1, dLS복본조사, 마크수집, 전집관리, | ||||
|                 마크반출, 복본조사1, 복본조사2,  dLS복본조사, 마크수집, 전집관리, | ||||
|                 검수, 저자기호, DLS조회, 서류작성, | ||||
|                 마크통계, 장비관리 | ||||
|             }; | ||||
|   | ||||
| @@ -17,8 +17,15 @@ namespace WindowsFormsApp1 | ||||
|             Application.EnableVisualStyles(); | ||||
|             Application.SetCompatibleTextRenderingDefault(false); | ||||
|             //AR.UTIL.MsgE("unitmarc"); | ||||
|             DB_InitSetting(); | ||||
|             UpdaterCheck(); | ||||
|             try | ||||
|             { | ||||
|                 DB_InitSetting(); | ||||
|                | ||||
|             } | ||||
|             catch (Exception ex) | ||||
|             { | ||||
|                 MessageBox.Show(ex.Message); | ||||
|             } | ||||
|  | ||||
|             Application.Run(new Main()); | ||||
|         } | ||||
| @@ -28,34 +35,6 @@ namespace WindowsFormsApp1 | ||||
|  | ||||
|  | ||||
|  | ||||
|         /// <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); | ||||
|   | ||||
| @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; | ||||
| // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호를 | ||||
| // 기본값으로 할 수 있습니다. | ||||
| // [assembly: AssemblyVersion("1.0.*")] | ||||
| [assembly: AssemblyVersion("1.0.187.1")] | ||||
| [assembly: AssemblyFileVersion("1.0.187.1")] | ||||
| [assembly: AssemblyVersion("1.0.187.3")] | ||||
| [assembly: AssemblyFileVersion("1.0.187.3")] | ||||
|   | ||||
| @@ -74,6 +74,9 @@ | ||||
|   <PropertyGroup> | ||||
|     <ManifestKeyFile>UniMarc_TemporaryKey.pfx</ManifestKeyFile> | ||||
|   </PropertyGroup> | ||||
|   <PropertyGroup> | ||||
|     <ApplicationIcon>UniMarc.ico</ApplicationIcon> | ||||
|   </PropertyGroup> | ||||
|   <ItemGroup> | ||||
|     <Reference Include="AngleSharp, Version=1.0.4.0, Culture=neutral, PublicKeyToken=e83494dcdc6d31ea, processorArchitecture=MSIL"> | ||||
|       <HintPath>..\packages\AngleSharp.1.0.4\lib\net472\AngleSharp.dll</HintPath> | ||||
| @@ -1920,6 +1923,7 @@ | ||||
|     <None Include="Resources\0_Empty.png" /> | ||||
|   </ItemGroup> | ||||
|   <ItemGroup> | ||||
|     <Content Include="UniMarc.ico" /> | ||||
|     <None Include="Connected Services\BaroService_TI\configuration91.svcinfo" /> | ||||
|     <None Include="Connected Services\BaroService_TI\configuration.svcinfo" /> | ||||
|     <None Include="Connected Services\BaroService_TI\Reference.svcmap"> | ||||
|   | ||||
							
								
								
									
										
											BIN
										
									
								
								unimarc/unimarc/UniMarc.ico
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								unimarc/unimarc/UniMarc.ico
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 66 KiB | 
										
											Binary file not shown.
										
									
								
							
		Reference in New Issue
	
	Block a user
	 SeungHo Yang
					SeungHo Yang