=====* unimarc *=====
===== 작업중 ===== 주문관리 폼 재 수정작업중 - 팩스 및 이메일 기록 폼 제작해야함. - 제작완료 (현재 목록등록 -> 수정버튼 작업중) ㄴ> 작업 완료후 검토하고, 회계로 넘어갈 것. - 회계전환 회계전환. 매출상세(Sales_Detail.cs) 폼 작업완료. (버튼 이벤트 작업진행중) ㄴ> 매출집계에서 상세까지 가는 도중 MDI 부모로 적용되지않는 버그 수정작업완료. 기타 추가적인 버그 잡을것. / 바로빌 세금계산서알아볼것. / 셋업 자동 업데이트 알아볼 것. ===== 보류 ===== b. 마크목록 폼 작성중 1. 엑셀반출 기능 추가중 사용 작업대기중 c. 마크 반입 폼 수정중 1. 불러오기는 되나 저장 기능이 필요함. ===== 완료 ===== 21.06.08 자동업데이트 기능 완료 - 프로젝트가 새로 바뀜. 1. 주문관리 팩스연동 완료 2. 전송된 팩스 확인 작업개시, 이메일 전송모듈 수정완료. 3. 주문관리에서 주문처와 목록 검색하는 폼 검색 모듈도 재수정 완료함. 4. 데이터베이스 내 이미지URL을 가져오는작업 완료 목록집계 폼 재 수정작업 완료 - 확인 및 수정 필요. ISBN 체크 프로그램 => 본프로그램에 이식중. ㄴ> 코드는 다 옮겼으나 기존 사용하던 방식과 조금 달라서 버그발생 가능성 있음. ㄴ> 버그 체크 계속 해볼것. 21-04-15 ㄴ> 21_04_20 버그 없음. 2. 마크편집 폼 수정 중 (마크 반출 test프로젝트 진행완료, 본 프로젝트에 적용중. / 저장기능활성화 작업완료) 2-1. 기존의 칸채우기에서 예상되지 못한 버그가 발생하여 칸채우기 숨김. 2-2. 008태크 재배치 => TextBox에 적용완료. 변경사항 메모장으로 넘기는 작업 완료. 2-3. 저장기능 완료. (04.14 체크해볼것 - 완료) 주문관리 작업중 (DataGridView 주문처 엔터키 입력시 검색되게끔 하는 코드작성중) - 21.04.27 완료
This commit is contained in:
		
							
								
								
									
										279
									
								
								unimarc/Backup/Factory_Client/Factory_Client.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										279
									
								
								unimarc/Backup/Factory_Client/Factory_Client.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,279 @@ | ||||
| namespace Factory_Client | ||||
| { | ||||
|     partial class Factory_Client | ||||
|     { | ||||
|         /// <summary> | ||||
|         /// 필수 디자이너 변수입니다. | ||||
|         /// </summary> | ||||
|         private System.ComponentModel.IContainer components = null; | ||||
|  | ||||
|         /// <summary> | ||||
|         /// 사용 중인 모든 리소스를 정리합니다. | ||||
|         /// </summary> | ||||
|         /// <param name="disposing">관리되는 리소스를 삭제해야 하면 true이고, 그렇지 않으면 false입니다.</param> | ||||
|         protected override void Dispose(bool disposing) | ||||
|         { | ||||
|             if (disposing && (components != null)) | ||||
|             { | ||||
|                 components.Dispose(); | ||||
|             } | ||||
|             base.Dispose(disposing); | ||||
|         } | ||||
|  | ||||
|         #region Windows Form 디자이너에서 생성한 코드 | ||||
|  | ||||
|         /// <summary> | ||||
|         /// 디자이너 지원에 필요한 메서드입니다. | ||||
|         /// 이 메서드의 내용을 코드 편집기로 수정하지 마십시오. | ||||
|         /// </summary> | ||||
|         private void InitializeComponent() | ||||
|         { | ||||
|             this.btn_ok = new System.Windows.Forms.Button(); | ||||
|             this.button2 = new System.Windows.Forms.Button(); | ||||
|             this.dataGridView1 = new System.Windows.Forms.DataGridView(); | ||||
|             this.file_name = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
|             this.update_status = new System.Windows.Forms.DataGridViewCheckBoxColumn(); | ||||
|             this.panel1 = new System.Windows.Forms.Panel(); | ||||
|             this.lbl_cnt = new System.Windows.Forms.Label(); | ||||
|             this.lbl_filename = new System.Windows.Forms.Label(); | ||||
|             this.lbl_ClientVer = new System.Windows.Forms.Label(); | ||||
|             this.lbl_SerVer = new System.Windows.Forms.Label(); | ||||
|             this.lbl_Files = new System.Windows.Forms.Label(); | ||||
|             this.lbl_Ip = new System.Windows.Forms.Label(); | ||||
|             this.lbl_status = new System.Windows.Forms.Label(); | ||||
|             this.label7 = new System.Windows.Forms.Label(); | ||||
|             this.progressBar1 = new System.Windows.Forms.ProgressBar(); | ||||
|             this.label3 = new System.Windows.Forms.Label(); | ||||
|             this.label2 = new System.Windows.Forms.Label(); | ||||
|             this.label1 = new System.Windows.Forms.Label(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); | ||||
|             this.panel1.SuspendLayout(); | ||||
|             this.SuspendLayout(); | ||||
|             //  | ||||
|             // btn_ok | ||||
|             //  | ||||
|             this.btn_ok.Font = new System.Drawing.Font("굴림", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.btn_ok.Location = new System.Drawing.Point(161, 335); | ||||
|             this.btn_ok.Name = "btn_ok"; | ||||
|             this.btn_ok.Size = new System.Drawing.Size(146, 46); | ||||
|             this.btn_ok.TabIndex = 0; | ||||
|             this.btn_ok.Text = "button1"; | ||||
|             this.btn_ok.UseVisualStyleBackColor = true; | ||||
|             this.btn_ok.Click += new System.EventHandler(this.btn_ok_Click); | ||||
|             //  | ||||
|             // button2 | ||||
|             //  | ||||
|             this.button2.Font = new System.Drawing.Font("굴림", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.button2.Location = new System.Drawing.Point(426, 335); | ||||
|             this.button2.Name = "button2"; | ||||
|             this.button2.Size = new System.Drawing.Size(146, 46); | ||||
|             this.button2.TabIndex = 0; | ||||
|             this.button2.Text = "취        소"; | ||||
|             this.button2.UseVisualStyleBackColor = true; | ||||
|             this.button2.Click += new System.EventHandler(this.button2_Click); | ||||
|             //  | ||||
|             // dataGridView1 | ||||
|             //  | ||||
|             this.dataGridView1.AllowUserToAddRows = false; | ||||
|             this.dataGridView1.AllowUserToDeleteRows = false; | ||||
|             this.dataGridView1.AllowUserToResizeRows = false; | ||||
|             this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; | ||||
|             this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { | ||||
|             this.file_name, | ||||
|             this.update_status}); | ||||
|             this.dataGridView1.Location = new System.Drawing.Point(357, 33); | ||||
|             this.dataGridView1.Name = "dataGridView1"; | ||||
|             this.dataGridView1.RowTemplate.Height = 23; | ||||
|             this.dataGridView1.Size = new System.Drawing.Size(399, 269); | ||||
|             this.dataGridView1.TabIndex = 1; | ||||
|             //  | ||||
|             // file_name | ||||
|             //  | ||||
|             this.file_name.DataPropertyName = "file_name"; | ||||
|             this.file_name.HeaderText = "파일명"; | ||||
|             this.file_name.Name = "file_name"; | ||||
|             this.file_name.ReadOnly = true; | ||||
|             this.file_name.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; | ||||
|             this.file_name.Width = 200; | ||||
|             //  | ||||
|             // update_status | ||||
|             //  | ||||
|             this.update_status.DataPropertyName = "chk"; | ||||
|             this.update_status.FalseValue = "F"; | ||||
|             this.update_status.HeaderText = "업데이트완료"; | ||||
|             this.update_status.IndeterminateValue = "F"; | ||||
|             this.update_status.Name = "update_status"; | ||||
|             this.update_status.ReadOnly = true; | ||||
|             this.update_status.TrueValue = "T"; | ||||
|             //  | ||||
|             // panel1 | ||||
|             //  | ||||
|             this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; | ||||
|             this.panel1.Controls.Add(this.lbl_cnt); | ||||
|             this.panel1.Controls.Add(this.lbl_filename); | ||||
|             this.panel1.Controls.Add(this.lbl_ClientVer); | ||||
|             this.panel1.Controls.Add(this.lbl_SerVer); | ||||
|             this.panel1.Controls.Add(this.lbl_Files); | ||||
|             this.panel1.Controls.Add(this.lbl_Ip); | ||||
|             this.panel1.Controls.Add(this.lbl_status); | ||||
|             this.panel1.Controls.Add(this.label7); | ||||
|             this.panel1.Controls.Add(this.progressBar1); | ||||
|             this.panel1.Controls.Add(this.label3); | ||||
|             this.panel1.Controls.Add(this.label2); | ||||
|             this.panel1.Controls.Add(this.label1); | ||||
|             this.panel1.Location = new System.Drawing.Point(14, 33); | ||||
|             this.panel1.Name = "panel1"; | ||||
|             this.panel1.Size = new System.Drawing.Size(325, 268); | ||||
|             this.panel1.TabIndex = 2; | ||||
|             //  | ||||
|             // lbl_cnt | ||||
|             //  | ||||
|             this.lbl_cnt.AutoSize = true; | ||||
|             this.lbl_cnt.Location = new System.Drawing.Point(265, 217); | ||||
|             this.lbl_cnt.Name = "lbl_cnt"; | ||||
|             this.lbl_cnt.Size = new System.Drawing.Size(45, 12); | ||||
|             this.lbl_cnt.TabIndex = 4; | ||||
|             this.lbl_cnt.Text = "(10/10)"; | ||||
|             //  | ||||
|             // lbl_filename | ||||
|             //  | ||||
|             this.lbl_filename.Location = new System.Drawing.Point(20, 217); | ||||
|             this.lbl_filename.Name = "lbl_filename"; | ||||
|             this.lbl_filename.Size = new System.Drawing.Size(211, 12); | ||||
|             this.lbl_filename.TabIndex = 3; | ||||
|             //  | ||||
|             // lbl_ClientVer | ||||
|             //  | ||||
|             this.lbl_ClientVer.AutoSize = true; | ||||
|             this.lbl_ClientVer.Location = new System.Drawing.Point(142, 104); | ||||
|             this.lbl_ClientVer.Name = "lbl_ClientVer"; | ||||
|             this.lbl_ClientVer.Size = new System.Drawing.Size(0, 12); | ||||
|             this.lbl_ClientVer.TabIndex = 2; | ||||
|             //  | ||||
|             // lbl_SerVer | ||||
|             //  | ||||
|             this.lbl_SerVer.AutoSize = true; | ||||
|             this.lbl_SerVer.Location = new System.Drawing.Point(142, 77); | ||||
|             this.lbl_SerVer.Name = "lbl_SerVer"; | ||||
|             this.lbl_SerVer.Size = new System.Drawing.Size(0, 12); | ||||
|             this.lbl_SerVer.TabIndex = 2; | ||||
|             //  | ||||
|             // lbl_Files | ||||
|             //  | ||||
|             this.lbl_Files.AutoSize = true; | ||||
|             this.lbl_Files.Location = new System.Drawing.Point(142, 50); | ||||
|             this.lbl_Files.Name = "lbl_Files"; | ||||
|             this.lbl_Files.Size = new System.Drawing.Size(0, 12); | ||||
|             this.lbl_Files.TabIndex = 2; | ||||
|             //  | ||||
|             // lbl_Ip | ||||
|             //  | ||||
|             this.lbl_Ip.AutoSize = true; | ||||
|             this.lbl_Ip.Location = new System.Drawing.Point(142, 23); | ||||
|             this.lbl_Ip.Name = "lbl_Ip"; | ||||
|             this.lbl_Ip.Size = new System.Drawing.Size(0, 12); | ||||
|             this.lbl_Ip.TabIndex = 2; | ||||
|             //  | ||||
|             // lbl_status | ||||
|             //  | ||||
|             this.lbl_status.Font = new System.Drawing.Font("굴림", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.lbl_status.ForeColor = System.Drawing.Color.DeepPink; | ||||
|             this.lbl_status.Location = new System.Drawing.Point(-3, 166); | ||||
|             this.lbl_status.Name = "lbl_status"; | ||||
|             this.lbl_status.Size = new System.Drawing.Size(317, 29); | ||||
|             this.lbl_status.TabIndex = 0; | ||||
|             this.lbl_status.Text = "최신파일입니다 !!"; | ||||
|             this.lbl_status.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; | ||||
|             //  | ||||
|             // label7 | ||||
|             //  | ||||
|             this.label7.AutoSize = true; | ||||
|             this.label7.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.label7.Location = new System.Drawing.Point(30, 104); | ||||
|             this.label7.Name = "label7"; | ||||
|             this.label7.Size = new System.Drawing.Size(106, 12); | ||||
|             this.label7.TabIndex = 0; | ||||
|             this.label7.Text = "클라이언트버전 :"; | ||||
|             //  | ||||
|             // progressBar1 | ||||
|             //  | ||||
|             this.progressBar1.Location = new System.Drawing.Point(22, 232); | ||||
|             this.progressBar1.Name = "progressBar1"; | ||||
|             this.progressBar1.Size = new System.Drawing.Size(288, 16); | ||||
|             this.progressBar1.TabIndex = 1; | ||||
|             //  | ||||
|             // label3 | ||||
|             //  | ||||
|             this.label3.AutoSize = true; | ||||
|             this.label3.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.label3.Location = new System.Drawing.Point(69, 77); | ||||
|             this.label3.Name = "label3"; | ||||
|             this.label3.Size = new System.Drawing.Size(67, 12); | ||||
|             this.label3.TabIndex = 0; | ||||
|             this.label3.Text = "서버버전 :"; | ||||
|             //  | ||||
|             // label2 | ||||
|             //  | ||||
|             this.label2.AutoSize = true; | ||||
|             this.label2.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.label2.Location = new System.Drawing.Point(20, 50); | ||||
|             this.label2.Name = "label2"; | ||||
|             this.label2.Size = new System.Drawing.Size(116, 12); | ||||
|             this.label2.TabIndex = 0; | ||||
|             this.label2.Text = "업데이트 파일 수 :"; | ||||
|             //  | ||||
|             // label1 | ||||
|             //  | ||||
|             this.label1.AutoSize = true; | ||||
|             this.label1.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.label1.Location = new System.Drawing.Point(56, 23); | ||||
|             this.label1.Name = "label1"; | ||||
|             this.label1.Size = new System.Drawing.Size(80, 12); | ||||
|             this.label1.TabIndex = 0; | ||||
|             this.label1.Text = "접속서버IP :"; | ||||
|             //  | ||||
|             // Factory_Client | ||||
|             //  | ||||
|             this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); | ||||
|             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | ||||
|             this.ClientSize = new System.Drawing.Size(768, 409); | ||||
|             this.Controls.Add(this.panel1); | ||||
|             this.Controls.Add(this.dataGridView1); | ||||
|             this.Controls.Add(this.button2); | ||||
|             this.Controls.Add(this.btn_ok); | ||||
|             this.MaximizeBox = false; | ||||
|             this.MinimizeBox = false; | ||||
|             this.Name = "Factory_Client"; | ||||
|             this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; | ||||
|             this.Text = "Factory 자동업데이트"; | ||||
|             this.Load += new System.EventHandler(this.Form1_Load); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit(); | ||||
|             this.panel1.ResumeLayout(false); | ||||
|             this.panel1.PerformLayout(); | ||||
|             this.ResumeLayout(false); | ||||
|  | ||||
|         } | ||||
|  | ||||
|         #endregion | ||||
|  | ||||
|         private System.Windows.Forms.Button btn_ok; | ||||
|         private System.Windows.Forms.Button button2; | ||||
|         private System.Windows.Forms.DataGridView dataGridView1; | ||||
|         private System.Windows.Forms.Panel panel1; | ||||
|         private System.Windows.Forms.Label label3; | ||||
|         private System.Windows.Forms.Label label2; | ||||
|         private System.Windows.Forms.Label label1; | ||||
|         private System.Windows.Forms.ProgressBar progressBar1; | ||||
|         private System.Windows.Forms.Label lbl_ClientVer; | ||||
|         private System.Windows.Forms.Label lbl_SerVer; | ||||
|         private System.Windows.Forms.Label lbl_Files; | ||||
|         private System.Windows.Forms.Label lbl_Ip; | ||||
|         private System.Windows.Forms.Label label7; | ||||
|         private System.Windows.Forms.Label lbl_status; | ||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn file_name; | ||||
|         private System.Windows.Forms.DataGridViewCheckBoxColumn update_status; | ||||
|         private System.Windows.Forms.Label lbl_filename; | ||||
|         private System.Windows.Forms.Label lbl_cnt; | ||||
|     } | ||||
| } | ||||
|  | ||||
							
								
								
									
										242
									
								
								unimarc/Backup/Factory_Client/Factory_Client.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										242
									
								
								unimarc/Backup/Factory_Client/Factory_Client.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,242 @@ | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.ComponentModel; | ||||
| using System.Data; | ||||
| using System.Drawing; | ||||
| using System.Linq; | ||||
| using System.Text; | ||||
| using System.Windows.Forms; | ||||
| using System.Net; | ||||
| using System.IO; | ||||
| using System.Collections; | ||||
| using System.Diagnostics; | ||||
|  | ||||
| namespace Factory_Client | ||||
| { | ||||
|     public partial class Factory_Client : Form | ||||
|     { | ||||
|         //FTP아이디 패스워드 | ||||
|         private string Login_id = "kkura"; | ||||
|         private string Login_pw = "1234bb"; | ||||
|  | ||||
|         //서버/클라이언트버전 | ||||
|         private string Sr_Vers = ""; | ||||
|         private string Cl_Vers = ""; | ||||
|  | ||||
|         //서버아이피 | ||||
|         private string Server_Ip = ""; | ||||
|  | ||||
|         //종료시 실행시킬 파일 | ||||
|         private string Start_Prg = ""; | ||||
|  | ||||
|         //파일수 | ||||
|         private int Files_Count = 0; | ||||
|  | ||||
|  | ||||
|         //업데이트 진행 파일수 | ||||
|         private int down_Count = 0; | ||||
|  | ||||
|         //업데이트여부 | ||||
|         bool tf = false; | ||||
|  | ||||
|         private string sLine = ""; | ||||
|  | ||||
|         private string[] str = new string[2]; | ||||
|         int i = -1; | ||||
|  | ||||
|         DataSet ds = new DataSet("files"); | ||||
|  | ||||
|         public Factory_Client() | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|         } | ||||
|  | ||||
|         private void Form1_Load(object sender, EventArgs e) | ||||
|         { | ||||
|             try | ||||
|             { | ||||
|  | ||||
|                 //파일목록 생성을 위한 데이터셋 | ||||
|  | ||||
|                 ds.Tables.Add("파일"); | ||||
|  | ||||
|                 ds.Tables["파일"].Columns.Add("file_name"); | ||||
|                 ds.Tables["파일"].Columns.Add("chk"); | ||||
|  | ||||
|                 File_info(); | ||||
|  | ||||
|                 dataGridView1.DataSource = ds.Tables["파일"]; | ||||
|  | ||||
|                 //서버의 update.inf 파일에서 버전추출 | ||||
|                 FtpWebRequest fwr = (FtpWebRequest)WebRequest.Create("ftp://" + Server_Ip + "/update.inf"); | ||||
|                 fwr.Credentials = new NetworkCredential(Login_id, Login_pw); | ||||
|  | ||||
|                 fwr.Method = WebRequestMethods.Ftp.DownloadFile; | ||||
|  | ||||
|                 FtpWebResponse fr = (FtpWebResponse)fwr.GetResponse(); | ||||
|                 StreamReader sr = new StreamReader(fr.GetResponseStream()); | ||||
|  | ||||
|                 while (sr.EndOfStream != true) | ||||
|                 { | ||||
|                     sLine = sr.ReadLine(); | ||||
|                     i = sLine.IndexOf("count=", 0); | ||||
|  | ||||
|                     //서버버전 추출 | ||||
|                     if (sLine.IndexOf("count=", 0) != -1) | ||||
|                     { | ||||
|                         Sr_Vers = sLine.Replace("count=", ""); | ||||
|                         lbl_SerVer.Text = Sr_Vers; | ||||
|                         break; | ||||
|                     } | ||||
|                 } | ||||
|                 sr.Close(); | ||||
|  | ||||
|                 //버전이 같을경우에 버튼 변경 | ||||
|                 if (Convert.ToDecimal(Sr_Vers) == Convert.ToDecimal(Cl_Vers)) | ||||
|                 { | ||||
|                     btn_ok.Text = "프로그램실행"; | ||||
|  | ||||
|                     lbl_status.Text = "최신파일입니다!!"; | ||||
|                     lbl_status.ForeColor = Color.Blue; | ||||
|  | ||||
|                     lbl_filename.Text = ""; | ||||
|                     lbl_cnt.Text = ""; | ||||
|                     for (int j = 0; j < dataGridView1.Rows.Count; j++) | ||||
|                     { | ||||
|                         dataGridView1.Rows[j].Cells["update_status"].Value = "T"; | ||||
|                     } | ||||
|                 } | ||||
|                 else if (Convert.ToDecimal(Sr_Vers) > Convert.ToDecimal(Cl_Vers)) | ||||
|                 { | ||||
|                     btn_ok.Text = "업데이트"; | ||||
|                     tf = true; | ||||
|  | ||||
|                     lbl_cnt.Text = "(1/" + dataGridView1.Rows.Count.ToString() + ")"; | ||||
|                     lbl_status.Text = "업데이트가 존재합니다!!"; | ||||
|                     lbl_status.ForeColor = Color.DeepPink; | ||||
|                 } | ||||
|             } | ||||
|             catch (System.Exception ex) | ||||
|             { | ||||
|  | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         private void btn_ok_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             if (tf) | ||||
|             { | ||||
|  | ||||
|                 //업데이트가 존재할때 | ||||
|  | ||||
|                 download(0); | ||||
|             } | ||||
|             else | ||||
|             { | ||||
|                 //업데이트가 없을때 | ||||
|                 string start_program = Application.StartupPath + "\\" + Start_Prg; | ||||
|                 Process prc = new Process(); | ||||
|                 prc.StartInfo = new System.Diagnostics.ProcessStartInfo(start_program); | ||||
|                 prc.Start(); | ||||
|  | ||||
|                 this.Close(); | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         private void download(int cnt) | ||||
|         { | ||||
|             if (cnt < Convert.ToInt32(lbl_Files.Text)) | ||||
|             { | ||||
|                 WebClient clnt = new WebClient(); | ||||
|  | ||||
|                 clnt.Credentials = new NetworkCredential(Login_id, Login_pw); | ||||
|  | ||||
|  | ||||
|                 lbl_status.Text = "업데이트 진행중!!"; | ||||
|                 progressBar1.Value = (progressBar1.Maximum / Convert.ToInt32(lbl_Files.Text)) * (down_Count + 1); | ||||
|  | ||||
|                 lbl_filename.Text = dataGridView1.Rows[cnt].Cells["file_name"].Value.ToString(); | ||||
|  | ||||
|                 dataGridView1.Rows[cnt].Cells["update_status"].Value = "T"; | ||||
|                 lbl_cnt.Text = "(" + (cnt + 1).ToString() + "/" + (dataGridView1.Rows.Count).ToString() + ")"; | ||||
|  | ||||
|                 File.Delete(Application.StartupPath + lbl_filename.Text); | ||||
|  | ||||
|                 clnt.DownloadFileAsync(new Uri("ftp://" + Server_Ip + "/" + lbl_filename.Text), Application.StartupPath + "\\" + lbl_filename.Text); | ||||
|  | ||||
|                 clnt.DownloadFileCompleted += new AsyncCompletedEventHandler(clnt_DownloadFileCompleted); | ||||
|             } | ||||
|             else | ||||
|             { | ||||
|                 File_info(); | ||||
|  | ||||
|                 progressBar1.Value = progressBar1.Maximum; | ||||
|                 btn_ok.Text = "프로그램실행"; | ||||
|  | ||||
|                 lbl_status.Text = "최신파일입니다!!"; | ||||
|                 lbl_status.ForeColor = Color.Blue; | ||||
|  | ||||
|                 lbl_filename.Text = ""; | ||||
|                 lbl_cnt.Text = ""; | ||||
|                 tf = false; | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         void  clnt_DownloadFileCompleted(object sender, AsyncCompletedEventArgs e) | ||||
|         { | ||||
|  | ||||
|             down_Count += 1; | ||||
|             download(down_Count); | ||||
|  | ||||
|         } | ||||
|  | ||||
|         private void File_info() | ||||
|         { | ||||
|             //클라이언트 파일 정보 | ||||
|             //update.inf 파일에서 파일갯수,파일명,버전 추출 | ||||
|             StreamReader sr = new StreamReader(Application.StartupPath + "\\update.inf"); | ||||
|             int i = -1; | ||||
|             while (sr.EndOfStream != true) | ||||
|             { | ||||
|                 sLine = sr.ReadLine(); | ||||
|                 i = sLine.IndexOf("count=", 0); | ||||
|  | ||||
|                 //버전추출 | ||||
|                 if (sLine.IndexOf("count=", 0) != -1) | ||||
|                 { | ||||
|                     Cl_Vers = sLine.Replace("count=", ""); | ||||
|                     lbl_ClientVer.Text = Cl_Vers; | ||||
|                 } | ||||
|                 //서버아이피 추출 | ||||
|                 else if (sLine.IndexOf("server_url=", 0) != -1) | ||||
|                 { | ||||
|                     Server_Ip = sLine.Replace("server_url=", ""); | ||||
|                     lbl_Ip.Text = Server_Ip; | ||||
|                 } | ||||
|                 //종료시 실행파일 | ||||
|                 else if (sLine.IndexOf("exe=", 0) != -1) | ||||
|                     Start_Prg = sLine.Replace("exe=", ""); | ||||
|                 //파일개수 | ||||
|                 else if (sLine.IndexOf("Files=", 0) != -1) | ||||
|                 { | ||||
|                     Files_Count = Convert.ToInt32(sLine.Replace("Files=", "")); | ||||
|                     lbl_Files.Text = Files_Count.ToString(); | ||||
|                 } | ||||
|                 //파일종류와 업데이트여부상태를 담아둠 | ||||
|                 else if (sLine.IndexOf("\\", 0) != -1) | ||||
|                 { | ||||
|                     str[0] = sLine.Replace("\\", ""); | ||||
|                     str[1] = "F"; | ||||
|                     ds.Tables["파일"].Rows.Add(str); | ||||
|                 } | ||||
|                 i = -1; | ||||
|             } | ||||
|             sr.Close(); | ||||
|         } | ||||
|  | ||||
|         private void button2_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             this.Close(); | ||||
|         } | ||||
|     } | ||||
| } | ||||
							
								
								
									
										92
									
								
								unimarc/Backup/Factory_Client/Factory_Client.csproj
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										92
									
								
								unimarc/Backup/Factory_Client/Factory_Client.csproj
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,92 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||||
|   <PropertyGroup> | ||||
|     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||||
|     <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||||
|     <ProductVersion>9.0.30729</ProductVersion> | ||||
|     <SchemaVersion>2.0</SchemaVersion> | ||||
|     <ProjectGuid>{380772D6-8825-4008-9F46-AE9F8AA8EE7B}</ProjectGuid> | ||||
|     <OutputType>WinExe</OutputType> | ||||
|     <AppDesignerFolder>Properties</AppDesignerFolder> | ||||
|     <RootNamespace>Factory_Client</RootNamespace> | ||||
|     <AssemblyName>Factory_Client</AssemblyName> | ||||
|     <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> | ||||
|     <FileAlignment>512</FileAlignment> | ||||
|     <TargetFrameworkSubset> | ||||
|     </TargetFrameworkSubset> | ||||
|   </PropertyGroup> | ||||
|   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||||
|     <DebugSymbols>true</DebugSymbols> | ||||
|     <DebugType>full</DebugType> | ||||
|     <Optimize>false</Optimize> | ||||
|     <OutputPath>..\..\..\..\..\..\..\Update\</OutputPath> | ||||
|     <DefineConstants>DEBUG;TRACE</DefineConstants> | ||||
|     <ErrorReport>prompt</ErrorReport> | ||||
|     <WarningLevel>4</WarningLevel> | ||||
|   </PropertyGroup> | ||||
|   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||||
|     <DebugType>pdbonly</DebugType> | ||||
|     <Optimize>true</Optimize> | ||||
|     <OutputPath>bin\Release\</OutputPath> | ||||
|     <DefineConstants>TRACE</DefineConstants> | ||||
|     <ErrorReport>prompt</ErrorReport> | ||||
|     <WarningLevel>4</WarningLevel> | ||||
|   </PropertyGroup> | ||||
|   <ItemGroup> | ||||
|     <Reference Include="System" /> | ||||
|     <Reference Include="System.Core"> | ||||
|       <RequiredTargetFramework>3.5</RequiredTargetFramework> | ||||
|     </Reference> | ||||
|     <Reference Include="System.Xml.Linq"> | ||||
|       <RequiredTargetFramework>3.5</RequiredTargetFramework> | ||||
|     </Reference> | ||||
|     <Reference Include="System.Data.DataSetExtensions"> | ||||
|       <RequiredTargetFramework>3.5</RequiredTargetFramework> | ||||
|     </Reference> | ||||
|     <Reference Include="System.Data" /> | ||||
|     <Reference Include="System.Deployment" /> | ||||
|     <Reference Include="System.Drawing" /> | ||||
|     <Reference Include="System.Windows.Forms" /> | ||||
|     <Reference Include="System.Xml" /> | ||||
|   </ItemGroup> | ||||
|   <ItemGroup> | ||||
|     <Compile Include="Factory_Client.cs"> | ||||
|       <SubType>Form</SubType> | ||||
|     </Compile> | ||||
|     <Compile Include="Factory_Client.Designer.cs"> | ||||
|       <DependentUpon>Factory_Client.cs</DependentUpon> | ||||
|     </Compile> | ||||
|     <Compile Include="Program.cs" /> | ||||
|     <Compile Include="Properties\AssemblyInfo.cs" /> | ||||
|     <EmbeddedResource Include="Factory_Client.resx"> | ||||
|       <DependentUpon>Factory_Client.cs</DependentUpon> | ||||
|     </EmbeddedResource> | ||||
|     <EmbeddedResource Include="Properties\Resources.resx"> | ||||
|       <Generator>ResXFileCodeGenerator</Generator> | ||||
|       <LastGenOutput>Resources.Designer.cs</LastGenOutput> | ||||
|       <SubType>Designer</SubType> | ||||
|     </EmbeddedResource> | ||||
|     <Compile Include="Properties\Resources.Designer.cs"> | ||||
|       <AutoGen>True</AutoGen> | ||||
|       <DependentUpon>Resources.resx</DependentUpon> | ||||
|     </Compile> | ||||
|     <None Include="app.config" /> | ||||
|     <None Include="Properties\Settings.settings"> | ||||
|       <Generator>SettingsSingleFileGenerator</Generator> | ||||
|       <LastGenOutput>Settings.Designer.cs</LastGenOutput> | ||||
|     </None> | ||||
|     <Compile Include="Properties\Settings.Designer.cs"> | ||||
|       <AutoGen>True</AutoGen> | ||||
|       <DependentUpon>Settings.settings</DependentUpon> | ||||
|       <DesignTimeSharedInput>True</DesignTimeSharedInput> | ||||
|     </Compile> | ||||
|   </ItemGroup> | ||||
|   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | ||||
|   <!-- To modify your build process, add your task inside one of the targets below and uncomment it.  | ||||
|        Other similar extension points exist, see Microsoft.Common.targets. | ||||
|   <Target Name="BeforeBuild"> | ||||
|   </Target> | ||||
|   <Target Name="AfterBuild"> | ||||
|   </Target> | ||||
|   --> | ||||
| </Project> | ||||
							
								
								
									
										135
									
								
								unimarc/Backup/Factory_Client/Factory_Client.resx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										135
									
								
								unimarc/Backup/Factory_Client/Factory_Client.resx
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,135 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <root> | ||||
|   <!--  | ||||
|     Microsoft ResX Schema  | ||||
|      | ||||
|     Version 2.0 | ||||
|      | ||||
|     The primary goals of this format is to allow a simple XML format  | ||||
|     that is mostly human readable. The generation and parsing of the  | ||||
|     various data types are done through the TypeConverter classes  | ||||
|     associated with the data types. | ||||
|      | ||||
|     Example: | ||||
|      | ||||
|     ... ado.net/XML headers & schema ... | ||||
|     <resheader name="resmimetype">text/microsoft-resx</resheader> | ||||
|     <resheader name="version">2.0</resheader> | ||||
|     <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> | ||||
|     <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> | ||||
|     <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> | ||||
|     <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> | ||||
|     <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> | ||||
|         <value>[base64 mime encoded serialized .NET Framework object]</value> | ||||
|     </data> | ||||
|     <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|         <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> | ||||
|         <comment>This is a comment</comment> | ||||
|     </data> | ||||
|                  | ||||
|     There are any number of "resheader" rows that contain simple  | ||||
|     name/value pairs. | ||||
|      | ||||
|     Each data row contains a name, and value. The row also contains a  | ||||
|     type or mimetype. Type corresponds to a .NET class that support  | ||||
|     text/value conversion through the TypeConverter architecture.  | ||||
|     Classes that don't support this are serialized and stored with the  | ||||
|     mimetype set. | ||||
|      | ||||
|     The mimetype is used for serialized objects, and tells the  | ||||
|     ResXResourceReader how to depersist the object. This is currently not  | ||||
|     extensible. For a given mimetype the value must be set accordingly: | ||||
|      | ||||
|     Note - application/x-microsoft.net.object.binary.base64 is the format  | ||||
|     that the ResXResourceWriter will generate, however the reader can  | ||||
|     read any of the formats listed below. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.binary.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.soap.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Soap.SoapFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|  | ||||
|     mimetype: application/x-microsoft.net.object.bytearray.base64 | ||||
|     value   : The object must be serialized into a byte array  | ||||
|             : using a System.ComponentModel.TypeConverter | ||||
|             : and then encoded with base64 encoding. | ||||
|     --> | ||||
|   <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | ||||
|     <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> | ||||
|     <xsd:element name="root" msdata:IsDataSet="true"> | ||||
|       <xsd:complexType> | ||||
|         <xsd:choice maxOccurs="unbounded"> | ||||
|           <xsd:element name="metadata"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" use="required" type="xsd:string" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="assembly"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:attribute name="alias" type="xsd:string" /> | ||||
|               <xsd:attribute name="name" type="xsd:string" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="data"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|                 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="resheader"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|         </xsd:choice> | ||||
|       </xsd:complexType> | ||||
|     </xsd:element> | ||||
|   </xsd:schema> | ||||
|   <resheader name="resmimetype"> | ||||
|     <value>text/microsoft-resx</value> | ||||
|   </resheader> | ||||
|   <resheader name="version"> | ||||
|     <value>2.0</value> | ||||
|   </resheader> | ||||
|   <resheader name="reader"> | ||||
|     <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
|   <resheader name="writer"> | ||||
|     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
|   <metadata name="file_name.UserAddedColumn" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>True</value> | ||||
|   </metadata> | ||||
|   <metadata name="update_status.UserAddedColumn" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>True</value> | ||||
|   </metadata> | ||||
|   <metadata name="file_name.UserAddedColumn" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>True</value> | ||||
|   </metadata> | ||||
|   <metadata name="update_status.UserAddedColumn" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>True</value> | ||||
|   </metadata> | ||||
|   <metadata name="$this.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>True</value> | ||||
|   </metadata> | ||||
| </root> | ||||
							
								
								
									
										21
									
								
								unimarc/Backup/Factory_Client/Program.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								unimarc/Backup/Factory_Client/Program.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,21 @@ | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.Linq; | ||||
| using System.Windows.Forms; | ||||
|  | ||||
| namespace Factory_Client | ||||
| { | ||||
|     static class Program | ||||
|     { | ||||
|         /// <summary> | ||||
|         /// 해당 응용 프로그램의 주 진입점입니다. | ||||
|         /// </summary> | ||||
|         [STAThread] | ||||
|         static void Main() | ||||
|         { | ||||
|             Application.EnableVisualStyles(); | ||||
|             Application.SetCompatibleTextRenderingDefault(false); | ||||
|             Application.Run(new Factory_Client()); | ||||
|         } | ||||
|     } | ||||
| } | ||||
							
								
								
									
										36
									
								
								unimarc/Backup/Factory_Client/Properties/AssemblyInfo.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										36
									
								
								unimarc/Backup/Factory_Client/Properties/AssemblyInfo.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,36 @@ | ||||
| using System.Reflection; | ||||
| using System.Runtime.CompilerServices; | ||||
| using System.Runtime.InteropServices; | ||||
|  | ||||
| // 어셈블리의 일반 정보는 다음 특성 집합을 통해 제어됩니다. | ||||
| // 어셈블리와 관련된 정보를 수정하려면 | ||||
| // 이 특성 값을 변경하십시오. | ||||
| [assembly: AssemblyTitle("Factory_Client")] | ||||
| [assembly: AssemblyDescription("")] | ||||
| [assembly: AssemblyConfiguration("")] | ||||
| [assembly: AssemblyCompany("")] | ||||
| [assembly: AssemblyProduct("Factory_Client")] | ||||
| [assembly: AssemblyCopyright("Copyright ©  2013")] | ||||
| [assembly: AssemblyTrademark("")] | ||||
| [assembly: AssemblyCulture("")] | ||||
|  | ||||
| // ComVisible을 false로 설정하면 이 어셈블리의 형식이 COM 구성 요소에  | ||||
| // 표시되지 않습니다. COM에서 이 어셈블리의 형식에 액세스하려면  | ||||
| // 해당 형식에 대해 ComVisible 특성을 true로 설정하십시오. | ||||
| [assembly: ComVisible(false)] | ||||
|  | ||||
| // 이 프로젝트가 COM에 노출되는 경우 다음 GUID는 typelib의 ID를 나타냅니다. | ||||
| [assembly: Guid("b49e359c-9df6-40b6-8497-13b9cac1c4f7")] | ||||
|  | ||||
| // 어셈블리의 버전 정보는 다음 네 가지 값으로 구성됩니다. | ||||
| // | ||||
| //      주 버전 | ||||
| //      부 버전  | ||||
| //      빌드 번호 | ||||
| //      수정 버전 | ||||
| // | ||||
| // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 버전이 자동으로 | ||||
| // 지정되도록 할 수 있습니다. | ||||
| // [assembly: AssemblyVersion("1.0.*")] | ||||
| [assembly: AssemblyVersion("1.0.0.0")] | ||||
| [assembly: AssemblyFileVersion("1.0.0.0")] | ||||
							
								
								
									
										71
									
								
								unimarc/Backup/Factory_Client/Properties/Resources.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										71
									
								
								unimarc/Backup/Factory_Client/Properties/Resources.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,71 @@ | ||||
| //------------------------------------------------------------------------------ | ||||
| // <auto-generated> | ||||
| //     이 코드는 도구를 사용하여 생성되었습니다. | ||||
| //     런타임 버전:2.0.50727.5466 | ||||
| // | ||||
| //     파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 | ||||
| //     이러한 변경 내용이 손실됩니다. | ||||
| // </auto-generated> | ||||
| //------------------------------------------------------------------------------ | ||||
|  | ||||
| namespace Factory_Client.Properties | ||||
| { | ||||
|  | ||||
|  | ||||
|     /// <summary> | ||||
|     ///   지역화된 문자열 등을 찾기 위한 강력한 형식의 리소스 클래스입니다. | ||||
|     /// </summary> | ||||
|     // 이 클래스는 ResGen 또는 Visual Studio와 같은 도구를 통해 StronglyTypedResourceBuilder | ||||
|     // 클래스에서 자동으로 생성되었습니다. | ||||
|     // 멤버를 추가하거나 제거하려면 .ResX 파일을 편집한 다음 /str 옵션을 사용하여 | ||||
|     // ResGen을 다시 실행하거나 VS 프로젝트를 다시 빌드하십시오. | ||||
|     [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")] | ||||
|     [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|     [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] | ||||
|     internal class Resources | ||||
|     { | ||||
|  | ||||
|         private static global::System.Resources.ResourceManager resourceMan; | ||||
|  | ||||
|         private static global::System.Globalization.CultureInfo resourceCulture; | ||||
|  | ||||
|         [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] | ||||
|         internal Resources() | ||||
|         { | ||||
|         } | ||||
|  | ||||
|         /// <summary> | ||||
|         ///   이 클래스에서 사용한 캐시된 ResourceManager 인스턴스를 반환합니다. | ||||
|         /// </summary> | ||||
|         [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] | ||||
|         internal static global::System.Resources.ResourceManager ResourceManager | ||||
|         { | ||||
|             get | ||||
|             { | ||||
|                 if ((resourceMan == null)) | ||||
|                 { | ||||
|                     global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Factory_Client.Properties.Resources", typeof(Resources).Assembly); | ||||
|                     resourceMan = temp; | ||||
|                 } | ||||
|                 return resourceMan; | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         /// <summary> | ||||
|         ///   이 강력한 형식의 리소스 클래스를 사용하여 모든 리소스 조회에 대한 현재 스레드의 CurrentUICulture | ||||
|         ///   속성을 재정의합니다. | ||||
|         /// </summary> | ||||
|         [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] | ||||
|         internal static global::System.Globalization.CultureInfo Culture | ||||
|         { | ||||
|             get | ||||
|             { | ||||
|                 return resourceCulture; | ||||
|             } | ||||
|             set | ||||
|             { | ||||
|                 resourceCulture = value; | ||||
|             } | ||||
|         } | ||||
|     } | ||||
| } | ||||
							
								
								
									
										117
									
								
								unimarc/Backup/Factory_Client/Properties/Resources.resx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										117
									
								
								unimarc/Backup/Factory_Client/Properties/Resources.resx
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,117 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <root> | ||||
|   <!--  | ||||
|     Microsoft ResX Schema  | ||||
|      | ||||
|     Version 2.0 | ||||
|      | ||||
|     The primary goals of this format is to allow a simple XML format  | ||||
|     that is mostly human readable. The generation and parsing of the  | ||||
|     various data types are done through the TypeConverter classes  | ||||
|     associated with the data types. | ||||
|      | ||||
|     Example: | ||||
|      | ||||
|     ... ado.net/XML headers & schema ... | ||||
|     <resheader name="resmimetype">text/microsoft-resx</resheader> | ||||
|     <resheader name="version">2.0</resheader> | ||||
|     <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> | ||||
|     <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> | ||||
|     <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> | ||||
|     <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> | ||||
|     <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> | ||||
|         <value>[base64 mime encoded serialized .NET Framework object]</value> | ||||
|     </data> | ||||
|     <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|         <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> | ||||
|         <comment>This is a comment</comment> | ||||
|     </data> | ||||
|                  | ||||
|     There are any number of "resheader" rows that contain simple  | ||||
|     name/value pairs. | ||||
|      | ||||
|     Each data row contains a name, and value. The row also contains a  | ||||
|     type or mimetype. Type corresponds to a .NET class that support  | ||||
|     text/value conversion through the TypeConverter architecture.  | ||||
|     Classes that don't support this are serialized and stored with the  | ||||
|     mimetype set. | ||||
|      | ||||
|     The mimetype is used for serialized objects, and tells the  | ||||
|     ResXResourceReader how to depersist the object. This is currently not  | ||||
|     extensible. For a given mimetype the value must be set accordingly: | ||||
|      | ||||
|     Note - application/x-microsoft.net.object.binary.base64 is the format  | ||||
|     that the ResXResourceWriter will generate, however the reader can  | ||||
|     read any of the formats listed below. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.binary.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Serialization.Formatters.Binary.BinaryFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.soap.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Soap.SoapFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|  | ||||
|     mimetype: application/x-microsoft.net.object.bytearray.base64 | ||||
|     value   : The object must be serialized into a byte array  | ||||
|             : using a System.ComponentModel.TypeConverter | ||||
|             : and then encoded with base64 encoding. | ||||
|     --> | ||||
|   <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | ||||
|     <xsd:element name="root" msdata:IsDataSet="true"> | ||||
|       <xsd:complexType> | ||||
|         <xsd:choice maxOccurs="unbounded"> | ||||
|           <xsd:element name="metadata"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="assembly"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:attribute name="alias" type="xsd:string" /> | ||||
|               <xsd:attribute name="name" type="xsd:string" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="data"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|                 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="resheader"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|         </xsd:choice> | ||||
|       </xsd:complexType> | ||||
|     </xsd:element> | ||||
|   </xsd:schema> | ||||
|   <resheader name="resmimetype"> | ||||
|     <value>text/microsoft-resx</value> | ||||
|   </resheader> | ||||
|   <resheader name="version"> | ||||
|     <value>2.0</value> | ||||
|   </resheader> | ||||
|   <resheader name="reader"> | ||||
|     <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
|   <resheader name="writer"> | ||||
|     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
| </root> | ||||
							
								
								
									
										30
									
								
								unimarc/Backup/Factory_Client/Properties/Settings.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								unimarc/Backup/Factory_Client/Properties/Settings.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,30 @@ | ||||
| //------------------------------------------------------------------------------ | ||||
| // <auto-generated> | ||||
| //     This code was generated by a tool. | ||||
| //     Runtime Version:2.0.50727.5466 | ||||
| // | ||||
| //     Changes to this file may cause incorrect behavior and will be lost if | ||||
| //     the code is regenerated. | ||||
| // </auto-generated> | ||||
| //------------------------------------------------------------------------------ | ||||
|  | ||||
| namespace Factory_Client.Properties | ||||
| { | ||||
|  | ||||
|  | ||||
|     [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] | ||||
|     [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "9.0.0.0")] | ||||
|     internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase | ||||
|     { | ||||
|  | ||||
|         private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); | ||||
|  | ||||
|         public static Settings Default | ||||
|         { | ||||
|             get | ||||
|             { | ||||
|                 return defaultInstance; | ||||
|             } | ||||
|         } | ||||
|     } | ||||
| } | ||||
| @@ -0,0 +1,7 @@ | ||||
| <?xml version='1.0' encoding='utf-8'?> | ||||
| <SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)"> | ||||
|   <Profiles> | ||||
|     <Profile Name="(Default)" /> | ||||
|   </Profiles> | ||||
|   <Settings /> | ||||
| </SettingsFile> | ||||
							
								
								
									
										3
									
								
								unimarc/Backup/Factory_Client/app.config
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								unimarc/Backup/Factory_Client/app.config
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| <?xml version="1.0"?> | ||||
| <configuration> | ||||
| <startup><supportedRuntime version="v2.0.50727"/></startup></configuration> | ||||
		Reference in New Issue
	
	Block a user
	 SeungHo Yang
					SeungHo Yang