..
This commit is contained in:
		| @@ -223,12 +223,6 @@ | ||||
|     <Compile Include="fMain.Designer.cs"> | ||||
|       <DependentUpon>fMain.cs</DependentUpon> | ||||
|     </Compile> | ||||
|     <Compile Include="Form1.cs"> | ||||
|       <SubType>Form</SubType> | ||||
|     </Compile> | ||||
|     <Compile Include="Form1.Designer.cs"> | ||||
|       <DependentUpon>Form1.cs</DependentUpon> | ||||
|     </Compile> | ||||
|     <Compile Include="fSetting.cs"> | ||||
|       <SubType>Form</SubType> | ||||
|     </Compile> | ||||
| @@ -318,9 +312,6 @@ | ||||
|     <EmbeddedResource Include="fMain.resx"> | ||||
|       <DependentUpon>fMain.cs</DependentUpon> | ||||
|     </EmbeddedResource> | ||||
|     <EmbeddedResource Include="Form1.resx"> | ||||
|       <DependentUpon>Form1.cs</DependentUpon> | ||||
|     </EmbeddedResource> | ||||
|     <EmbeddedResource Include="fSetting.resx"> | ||||
|       <DependentUpon>fSetting.cs</DependentUpon> | ||||
|     </EmbeddedResource> | ||||
|   | ||||
| @@ -1,4 +1,28 @@ | ||||
| 181031	chi	구매 - 프로젝트 검색시 유사 검색 기능이 되도록 수정 | ||||
| 181207	chi	 업체정보화면 에 담당자 목록 추가	 | ||||
| 			업체대표 및 담당자 테이블 데이터 추가 | ||||
| 			품목에 이미지 확인 사항 추가 | ||||
| 			품목 검색창에서 이미지 확인 및 추가 가능 | ||||
| 181205	chi	메뉴한글과 | ||||
| 			업체정보 업데이트 (양진원) | ||||
| 			업체정보 열너비 저장 가능 | ||||
| 181203	chi	구매 - 상태검색 기능 활성 | ||||
| 			일반 - 시작화면 선택 기능 | ||||
| 			프로그램설정 - 처음 실행 화면 설정가능 | ||||
| 구매목록 - 상태 검색 기능 사용 가능 | ||||
| 구매목록 - 데이터 복사시 추가정보 및 상태 초기화  | ||||
| 구매목록 - 본인외 및 SC자료 삭제 불가 | ||||
| 구매추가 - 본인 자료 만 편집 가능 | ||||
| 구매추가  - 입고예정일을 좌측 그룹으로 이동 | ||||
| 구매추가 - 입력자 못 고침 | ||||
| 구매추가 - 상태창 값이 맞지 않는 현상 수정 | ||||
| 구매추가 - 공정 자동 불러오도록 함 | ||||
| 구매추가 - 합계에 천단위 구분기호(콤마) 표시 | ||||
| 구매추가 - 화면 한글 화 | ||||
| 구매추가 - SC 값이 있으면 일반 사용자는 편집 불가 | ||||
| 구매추가 - 견적서 폴더 열기 기능 추가(공유폴더연결) | ||||
|  | ||||
|  | ||||
| 181031	chi	구매 - 프로젝트 검색시 유사 검색 기능이 되도록 수정 | ||||
| 181030	chi	구매시 - 서플라이 검색 기능 추가됨, 날짜 입력 편하게 됨 | ||||
| 			indate 가 자동 활성화되는 현상 수정 | ||||
| 181023	chi	 getAuth_Purchase, 추가 | ||||
|   | ||||
| @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; | ||||
| // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로 | ||||
| // 지정되도록 할 수 있습니다. | ||||
| // [assembly: AssemblyVersion("1.0.*")] | ||||
| [assembly: AssemblyVersion("18.11.19.1300")] | ||||
| [assembly: AssemblyFileVersion("18.11.19.1300")] | ||||
| [assembly: AssemblyVersion("18.12.07.1200")] | ||||
| [assembly: AssemblyFileVersion("18.12.07.1200")] | ||||
|   | ||||
| @@ -6,6 +6,11 @@ using System.ComponentModel; | ||||
|  | ||||
| namespace Project | ||||
| { | ||||
|     public enum eFormList | ||||
|     { | ||||
|         없음=0, | ||||
|         NR구매관리, | ||||
|     } | ||||
|     public class Setting : arUtil.Setting | ||||
|     { | ||||
|         #region "log" | ||||
| @@ -15,6 +20,12 @@ namespace Project | ||||
|  | ||||
|         #endregion | ||||
|          | ||||
|         [Description("시작 화면")] | ||||
|         public eFormList startForm { get; set; } | ||||
|  | ||||
|         [Description("중복으로 창을 열수 있습니다")] | ||||
|         public Boolean DupWindow { get; set; } | ||||
|  | ||||
|         [Description("Password for Setting")] | ||||
|         [Browsable(false)] | ||||
|         public string Password_Setup { get; set; } | ||||
| @@ -54,6 +65,21 @@ namespace Project | ||||
|             if (Language.isEmpty()) Language = "Kor"; | ||||
|             if (Password_Setup.isEmpty()) Password_Setup = "0000"; | ||||
|             if (Password_User.isEmpty()) Password_User = "9999"; | ||||
|  | ||||
|             //시작폼가져오기 | ||||
|             var 시작품 = Xml.get_Data("startForm"); | ||||
|             var list = Enum.GetNames(typeof(eFormList)); | ||||
|             int idx = -1; | ||||
|             for(int i = 0 ;i<list.Length;i++) | ||||
|             { | ||||
|                 if(list[i] == 시작품) | ||||
|                 { | ||||
|                     idx = i; | ||||
|                 } | ||||
|             } | ||||
|             if (idx == -1) this.startForm = eFormList.없음; | ||||
|             else this.startForm = (eFormList)idx; | ||||
|  | ||||
|         } | ||||
|         public override void AfterSave() | ||||
|         { | ||||
|   | ||||
							
								
								
									
										237
									
								
								Project/fMain.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										237
									
								
								Project/fMain.Designer.cs
									
									
									
										generated
									
									
									
								
							| @@ -53,14 +53,15 @@ | ||||
|             this.commonToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.itemsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.codesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.lineCodeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.staffGridToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.userInfoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.userAccountToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.myAccouserToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.aDSUserListToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.mailFormToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.customerToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.lineCodeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator(); | ||||
|             this.staffGridToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.mailFormToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.boardsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.minutesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.holidayToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
| @@ -75,8 +76,6 @@ | ||||
|             this.dataToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.personalInventoryToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.nRPurchaseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.infoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.staffToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.windowsMenu = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.cascadeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.tileVerticalToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
| @@ -86,6 +85,7 @@ | ||||
|             this.btDev = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.purchaseImportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.purchaseDataConvertToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.customerImportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.toolStrip = new System.Windows.Forms.ToolStrip(); | ||||
|             this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); | ||||
| @@ -190,20 +190,22 @@ | ||||
|             //  | ||||
|             this.btSetting.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; | ||||
|             this.btSetting.Name = "btSetting"; | ||||
|             this.btSetting.Size = new System.Drawing.Size(57, 20); | ||||
|             this.btSetting.Text = "Setting"; | ||||
|             this.btSetting.Size = new System.Drawing.Size(49, 23); | ||||
|             this.btSetting.Text = "설정"; | ||||
|             this.btSetting.Click += new System.EventHandler(this.settingToolStripMenuItem_Click); | ||||
|             //  | ||||
|             // btLog | ||||
|             //  | ||||
|             this.btLog.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; | ||||
|             this.btLog.ForeColor = System.Drawing.Color.DimGray; | ||||
|             this.btLog.Name = "btLog"; | ||||
|             this.btLog.Size = new System.Drawing.Size(39, 20); | ||||
|             this.btLog.Text = "Log"; | ||||
|             this.btLog.Size = new System.Drawing.Size(105, 23); | ||||
|             this.btLog.Text = "프로그램기록"; | ||||
|             this.btLog.Click += new System.EventHandler(this.logToolStripMenuItem_Click); | ||||
|             //  | ||||
|             // menuStrip1 | ||||
|             //  | ||||
|             this.menuStrip1.Font = new System.Drawing.Font("맑은 고딕", 10F); | ||||
|             this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { | ||||
|             this.btSetting, | ||||
|             this.btLog, | ||||
| @@ -211,13 +213,12 @@ | ||||
|             this.commonToolStripMenuItem, | ||||
|             this.boardsToolStripMenuItem, | ||||
|             this.managementToolStripMenuItem, | ||||
|             this.infoToolStripMenuItem, | ||||
|             this.windowsMenu, | ||||
|             this.btDev}); | ||||
|             this.menuStrip1.Location = new System.Drawing.Point(1, 1); | ||||
|             this.menuStrip1.MdiWindowListItem = this.windowsMenu; | ||||
|             this.menuStrip1.Name = "menuStrip1"; | ||||
|             this.menuStrip1.Size = new System.Drawing.Size(1035, 24); | ||||
|             this.menuStrip1.Size = new System.Drawing.Size(1035, 27); | ||||
|             this.menuStrip1.TabIndex = 29; | ||||
|             this.menuStrip1.Text = "menuStrip1"; | ||||
|             //  | ||||
| @@ -227,21 +228,22 @@ | ||||
|             this.listToolStripMenuItem, | ||||
|             this.workReportToolStripMenuItem}); | ||||
|             this.projectToolStripMenuItem.Name = "projectToolStripMenuItem"; | ||||
|             this.projectToolStripMenuItem.Size = new System.Drawing.Size(56, 20); | ||||
|             this.projectToolStripMenuItem.Text = "Project"; | ||||
|             this.projectToolStripMenuItem.Size = new System.Drawing.Size(77, 23); | ||||
|             this.projectToolStripMenuItem.Text = "프로젝트"; | ||||
|             //  | ||||
|             // listToolStripMenuItem | ||||
|             //  | ||||
|             this.listToolStripMenuItem.Name = "listToolStripMenuItem"; | ||||
|             this.listToolStripMenuItem.Size = new System.Drawing.Size(152, 22); | ||||
|             this.listToolStripMenuItem.Text = "List"; | ||||
|             this.listToolStripMenuItem.Size = new System.Drawing.Size(134, 24); | ||||
|             this.listToolStripMenuItem.Text = "목록"; | ||||
|             this.listToolStripMenuItem.Click += new System.EventHandler(this.listToolStripMenuItem_Click); | ||||
|             //  | ||||
|             // workReportToolStripMenuItem | ||||
|             //  | ||||
|             this.workReportToolStripMenuItem.ForeColor = System.Drawing.Color.HotPink; | ||||
|             this.workReportToolStripMenuItem.Name = "workReportToolStripMenuItem"; | ||||
|             this.workReportToolStripMenuItem.Size = new System.Drawing.Size(152, 22); | ||||
|             this.workReportToolStripMenuItem.Text = "Work_Report"; | ||||
|             this.workReportToolStripMenuItem.Size = new System.Drawing.Size(134, 24); | ||||
|             this.workReportToolStripMenuItem.Text = "업무일지"; | ||||
|             this.workReportToolStripMenuItem.Click += new System.EventHandler(this.workReportToolStripMenuItem_Click); | ||||
|             //  | ||||
|             // commonToolStripMenuItem | ||||
| @@ -249,43 +251,30 @@ | ||||
|             this.commonToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { | ||||
|             this.itemsToolStripMenuItem, | ||||
|             this.codesToolStripMenuItem, | ||||
|             this.lineCodeToolStripMenuItem, | ||||
|             this.staffGridToolStripMenuItem, | ||||
|             this.userInfoToolStripMenuItem, | ||||
|             this.mailFormToolStripMenuItem, | ||||
|             this.customerToolStripMenuItem}); | ||||
|             this.customerToolStripMenuItem, | ||||
|             this.lineCodeToolStripMenuItem, | ||||
|             this.toolStripMenuItem1, | ||||
|             this.staffGridToolStripMenuItem, | ||||
|             this.mailFormToolStripMenuItem}); | ||||
|             this.commonToolStripMenuItem.Name = "commonToolStripMenuItem"; | ||||
|             this.commonToolStripMenuItem.Size = new System.Drawing.Size(70, 20); | ||||
|             this.commonToolStripMenuItem.Text = "Common"; | ||||
|             this.commonToolStripMenuItem.Size = new System.Drawing.Size(77, 23); | ||||
|             this.commonToolStripMenuItem.Text = "공용정보"; | ||||
|             //  | ||||
|             // itemsToolStripMenuItem | ||||
|             //  | ||||
|             this.itemsToolStripMenuItem.Name = "itemsToolStripMenuItem"; | ||||
|             this.itemsToolStripMenuItem.Size = new System.Drawing.Size(129, 22); | ||||
|             this.itemsToolStripMenuItem.Text = "Items"; | ||||
|             this.itemsToolStripMenuItem.Size = new System.Drawing.Size(156, 24); | ||||
|             this.itemsToolStripMenuItem.Text = "품목"; | ||||
|             this.itemsToolStripMenuItem.Click += new System.EventHandler(this.itemsToolStripMenuItem_Click); | ||||
|             //  | ||||
|             // codesToolStripMenuItem | ||||
|             //  | ||||
|             this.codesToolStripMenuItem.Name = "codesToolStripMenuItem"; | ||||
|             this.codesToolStripMenuItem.Size = new System.Drawing.Size(129, 22); | ||||
|             this.codesToolStripMenuItem.Text = "Codes"; | ||||
|             this.codesToolStripMenuItem.Size = new System.Drawing.Size(156, 24); | ||||
|             this.codesToolStripMenuItem.Text = "공용코드"; | ||||
|             this.codesToolStripMenuItem.Click += new System.EventHandler(this.codesToolStripMenuItem_Click); | ||||
|             //  | ||||
|             // lineCodeToolStripMenuItem | ||||
|             //  | ||||
|             this.lineCodeToolStripMenuItem.Name = "lineCodeToolStripMenuItem"; | ||||
|             this.lineCodeToolStripMenuItem.Size = new System.Drawing.Size(129, 22); | ||||
|             this.lineCodeToolStripMenuItem.Text = "Line Code"; | ||||
|             this.lineCodeToolStripMenuItem.Click += new System.EventHandler(this.lineCodeToolStripMenuItem_Click); | ||||
|             //  | ||||
|             // staffGridToolStripMenuItem | ||||
|             //  | ||||
|             this.staffGridToolStripMenuItem.Name = "staffGridToolStripMenuItem"; | ||||
|             this.staffGridToolStripMenuItem.Size = new System.Drawing.Size(129, 22); | ||||
|             this.staffGridToolStripMenuItem.Text = "Staff Grid"; | ||||
|             this.staffGridToolStripMenuItem.Click += new System.EventHandler(this.staffGridToolStripMenuItem_Click); | ||||
|             //  | ||||
|             // userInfoToolStripMenuItem | ||||
|             //  | ||||
|             this.userInfoToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { | ||||
| @@ -293,46 +282,67 @@ | ||||
|             this.myAccouserToolStripMenuItem, | ||||
|             this.aDSUserListToolStripMenuItem}); | ||||
|             this.userInfoToolStripMenuItem.Name = "userInfoToolStripMenuItem"; | ||||
|             this.userInfoToolStripMenuItem.Size = new System.Drawing.Size(129, 22); | ||||
|             this.userInfoToolStripMenuItem.Text = "User Info"; | ||||
|             this.userInfoToolStripMenuItem.Size = new System.Drawing.Size(156, 24); | ||||
|             this.userInfoToolStripMenuItem.Text = "사용자"; | ||||
|             this.userInfoToolStripMenuItem.Click += new System.EventHandler(this.userInfoToolStripMenuItem_Click); | ||||
|             //  | ||||
|             // userAccountToolStripMenuItem | ||||
|             //  | ||||
|             this.userAccountToolStripMenuItem.Name = "userAccountToolStripMenuItem"; | ||||
|             this.userAccountToolStripMenuItem.Size = new System.Drawing.Size(151, 22); | ||||
|             this.userAccountToolStripMenuItem.Text = "User Account"; | ||||
|             this.userAccountToolStripMenuItem.Size = new System.Drawing.Size(134, 24); | ||||
|             this.userAccountToolStripMenuItem.Text = "계정정보"; | ||||
|             this.userAccountToolStripMenuItem.Click += new System.EventHandler(this.userAccountToolStripMenuItem_Click); | ||||
|             //  | ||||
|             // myAccouserToolStripMenuItem | ||||
|             //  | ||||
|             this.myAccouserToolStripMenuItem.Name = "myAccouserToolStripMenuItem"; | ||||
|             this.myAccouserToolStripMenuItem.Size = new System.Drawing.Size(151, 22); | ||||
|             this.myAccouserToolStripMenuItem.Text = "User List"; | ||||
|             this.myAccouserToolStripMenuItem.Size = new System.Drawing.Size(134, 24); | ||||
|             this.myAccouserToolStripMenuItem.Text = "목록"; | ||||
|             this.myAccouserToolStripMenuItem.Click += new System.EventHandler(this.myAccouserToolStripMenuItem_Click); | ||||
|             //  | ||||
|             // aDSUserListToolStripMenuItem | ||||
|             //  | ||||
|             this.aDSUserListToolStripMenuItem.ForeColor = System.Drawing.Color.Blue; | ||||
|             this.aDSUserListToolStripMenuItem.Name = "aDSUserListToolStripMenuItem"; | ||||
|             this.aDSUserListToolStripMenuItem.Size = new System.Drawing.Size(151, 22); | ||||
|             this.aDSUserListToolStripMenuItem.Text = "User List(ADS)"; | ||||
|             this.aDSUserListToolStripMenuItem.Size = new System.Drawing.Size(134, 24); | ||||
|             this.aDSUserListToolStripMenuItem.Text = "목록(AD)"; | ||||
|             this.aDSUserListToolStripMenuItem.Click += new System.EventHandler(this.aDSUserListToolStripMenuItem_Click); | ||||
|             //  | ||||
|             // mailFormToolStripMenuItem | ||||
|             //  | ||||
|             this.mailFormToolStripMenuItem.Name = "mailFormToolStripMenuItem"; | ||||
|             this.mailFormToolStripMenuItem.Size = new System.Drawing.Size(129, 22); | ||||
|             this.mailFormToolStripMenuItem.Text = "Mail Form"; | ||||
|             this.mailFormToolStripMenuItem.Click += new System.EventHandler(this.mailFormToolStripMenuItem_Click); | ||||
|             //  | ||||
|             // customerToolStripMenuItem | ||||
|             //  | ||||
|             this.customerToolStripMenuItem.Name = "customerToolStripMenuItem"; | ||||
|             this.customerToolStripMenuItem.Size = new System.Drawing.Size(129, 22); | ||||
|             this.customerToolStripMenuItem.Text = "Customer"; | ||||
|             this.customerToolStripMenuItem.Size = new System.Drawing.Size(156, 24); | ||||
|             this.customerToolStripMenuItem.Text = "업체정보"; | ||||
|             this.customerToolStripMenuItem.Click += new System.EventHandler(this.customerToolStripMenuItem_Click); | ||||
|             //  | ||||
|             // lineCodeToolStripMenuItem | ||||
|             //  | ||||
|             this.lineCodeToolStripMenuItem.Name = "lineCodeToolStripMenuItem"; | ||||
|             this.lineCodeToolStripMenuItem.Size = new System.Drawing.Size(156, 24); | ||||
|             this.lineCodeToolStripMenuItem.Text = "라인코드"; | ||||
|             this.lineCodeToolStripMenuItem.Click += new System.EventHandler(this.lineCodeToolStripMenuItem_Click); | ||||
|             //  | ||||
|             // toolStripMenuItem1 | ||||
|             //  | ||||
|             this.toolStripMenuItem1.Name = "toolStripMenuItem1"; | ||||
|             this.toolStripMenuItem1.Size = new System.Drawing.Size(153, 6); | ||||
|             //  | ||||
|             // staffGridToolStripMenuItem | ||||
|             //  | ||||
|             this.staffGridToolStripMenuItem.ForeColor = System.Drawing.Color.HotPink; | ||||
|             this.staffGridToolStripMenuItem.Name = "staffGridToolStripMenuItem"; | ||||
|             this.staffGridToolStripMenuItem.Size = new System.Drawing.Size(156, 24); | ||||
|             this.staffGridToolStripMenuItem.Text = "Staff Grid"; | ||||
|             this.staffGridToolStripMenuItem.Click += new System.EventHandler(this.staffGridToolStripMenuItem_Click); | ||||
|             //  | ||||
|             // mailFormToolStripMenuItem | ||||
|             //  | ||||
|             this.mailFormToolStripMenuItem.ForeColor = System.Drawing.Color.HotPink; | ||||
|             this.mailFormToolStripMenuItem.Name = "mailFormToolStripMenuItem"; | ||||
|             this.mailFormToolStripMenuItem.Size = new System.Drawing.Size(156, 24); | ||||
|             this.mailFormToolStripMenuItem.Text = "메일 양식"; | ||||
|             this.mailFormToolStripMenuItem.Click += new System.EventHandler(this.mailFormToolStripMenuItem_Click); | ||||
|             //  | ||||
|             // boardsToolStripMenuItem | ||||
|             //  | ||||
|             this.boardsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { | ||||
| @@ -343,49 +353,52 @@ | ||||
|             this.bugReportToolStripMenuItem, | ||||
|             this.todoListToolStripMenuItem}); | ||||
|             this.boardsToolStripMenuItem.Name = "boardsToolStripMenuItem"; | ||||
|             this.boardsToolStripMenuItem.Size = new System.Drawing.Size(55, 20); | ||||
|             this.boardsToolStripMenuItem.Text = "Boards"; | ||||
|             this.boardsToolStripMenuItem.Size = new System.Drawing.Size(49, 23); | ||||
|             this.boardsToolStripMenuItem.Text = "문서"; | ||||
|             //  | ||||
|             // minutesToolStripMenuItem | ||||
|             //  | ||||
|             this.minutesToolStripMenuItem.ForeColor = System.Drawing.Color.HotPink; | ||||
|             this.minutesToolStripMenuItem.Name = "minutesToolStripMenuItem"; | ||||
|             this.minutesToolStripMenuItem.Size = new System.Drawing.Size(144, 22); | ||||
|             this.minutesToolStripMenuItem.Text = "Minutes"; | ||||
|             this.minutesToolStripMenuItem.Size = new System.Drawing.Size(149, 24); | ||||
|             this.minutesToolStripMenuItem.Text = "회의록"; | ||||
|             this.minutesToolStripMenuItem.Click += new System.EventHandler(this.minutesToolStripMenuItem_Click); | ||||
|             //  | ||||
|             // holidayToolStripMenuItem | ||||
|             //  | ||||
|             this.holidayToolStripMenuItem.ForeColor = System.Drawing.Color.HotPink; | ||||
|             this.holidayToolStripMenuItem.Name = "holidayToolStripMenuItem"; | ||||
|             this.holidayToolStripMenuItem.Size = new System.Drawing.Size(144, 22); | ||||
|             this.holidayToolStripMenuItem.Text = "holiday"; | ||||
|             this.holidayToolStripMenuItem.Size = new System.Drawing.Size(149, 24); | ||||
|             this.holidayToolStripMenuItem.Text = "휴가"; | ||||
|             this.holidayToolStripMenuItem.Click += new System.EventHandler(this.holidayToolStripMenuItem_Click); | ||||
|             //  | ||||
|             // requestITemToolStripMenuItem | ||||
|             //  | ||||
|             this.requestITemToolStripMenuItem.ForeColor = System.Drawing.Color.HotPink; | ||||
|             this.requestITemToolStripMenuItem.Name = "requestITemToolStripMenuItem"; | ||||
|             this.requestITemToolStripMenuItem.Size = new System.Drawing.Size(144, 22); | ||||
|             this.requestITemToolStripMenuItem.Text = "Request Item"; | ||||
|             this.requestITemToolStripMenuItem.Size = new System.Drawing.Size(149, 24); | ||||
|             this.requestITemToolStripMenuItem.Text = "견적요청"; | ||||
|             this.requestITemToolStripMenuItem.Click += new System.EventHandler(this.requestITemToolStripMenuItem_Click); | ||||
|             //  | ||||
|             // freeBoardToolStripMenuItem | ||||
|             //  | ||||
|             this.freeBoardToolStripMenuItem.Enabled = false; | ||||
|             this.freeBoardToolStripMenuItem.Name = "freeBoardToolStripMenuItem"; | ||||
|             this.freeBoardToolStripMenuItem.Size = new System.Drawing.Size(144, 22); | ||||
|             this.freeBoardToolStripMenuItem.Size = new System.Drawing.Size(149, 24); | ||||
|             this.freeBoardToolStripMenuItem.Text = "Free Board"; | ||||
|             //  | ||||
|             // bugReportToolStripMenuItem | ||||
|             //  | ||||
|             this.bugReportToolStripMenuItem.Enabled = false; | ||||
|             this.bugReportToolStripMenuItem.Name = "bugReportToolStripMenuItem"; | ||||
|             this.bugReportToolStripMenuItem.Size = new System.Drawing.Size(144, 22); | ||||
|             this.bugReportToolStripMenuItem.Size = new System.Drawing.Size(149, 24); | ||||
|             this.bugReportToolStripMenuItem.Text = "Bug Report"; | ||||
|             //  | ||||
|             // todoListToolStripMenuItem | ||||
|             //  | ||||
|             this.todoListToolStripMenuItem.Enabled = false; | ||||
|             this.todoListToolStripMenuItem.Name = "todoListToolStripMenuItem"; | ||||
|             this.todoListToolStripMenuItem.Size = new System.Drawing.Size(144, 22); | ||||
|             this.todoListToolStripMenuItem.Size = new System.Drawing.Size(149, 24); | ||||
|             this.todoListToolStripMenuItem.Text = "Todo List"; | ||||
|             //  | ||||
|             // managementToolStripMenuItem | ||||
| @@ -395,8 +408,8 @@ | ||||
|             this.personalInventoryToolStripMenuItem, | ||||
|             this.nRPurchaseToolStripMenuItem}); | ||||
|             this.managementToolStripMenuItem.Name = "managementToolStripMenuItem"; | ||||
|             this.managementToolStripMenuItem.Size = new System.Drawing.Size(90, 20); | ||||
|             this.managementToolStripMenuItem.Text = "Management"; | ||||
|             this.managementToolStripMenuItem.Size = new System.Drawing.Size(49, 23); | ||||
|             this.managementToolStripMenuItem.Text = "관리"; | ||||
|             //  | ||||
|             // equipmentToolStripMenuItem | ||||
|             //  | ||||
| @@ -405,59 +418,46 @@ | ||||
|             this.dataMoldEOLToolStripMenuItem, | ||||
|             this.dataToolStripMenuItem}); | ||||
|             this.equipmentToolStripMenuItem.Name = "equipmentToolStripMenuItem"; | ||||
|             this.equipmentToolStripMenuItem.Size = new System.Drawing.Size(173, 22); | ||||
|             this.equipmentToolStripMenuItem.Text = "Equipment"; | ||||
|             this.equipmentToolStripMenuItem.Size = new System.Drawing.Size(154, 24); | ||||
|             this.equipmentToolStripMenuItem.Text = "장비 목록"; | ||||
|             this.equipmentToolStripMenuItem.Click += new System.EventHandler(this.equipmentToolStripMenuItem_Click); | ||||
|             //  | ||||
|             // dataFOLToolStripMenuItem | ||||
|             //  | ||||
|             this.dataFOLToolStripMenuItem.Name = "dataFOLToolStripMenuItem"; | ||||
|             this.dataFOLToolStripMenuItem.Size = new System.Drawing.Size(138, 22); | ||||
|             this.dataFOLToolStripMenuItem.Size = new System.Drawing.Size(154, 24); | ||||
|             this.dataFOLToolStripMenuItem.Text = "FOL"; | ||||
|             this.dataFOLToolStripMenuItem.Click += new System.EventHandler(this.dataFOLToolStripMenuItem_Click); | ||||
|             //  | ||||
|             // dataMoldEOLToolStripMenuItem | ||||
|             //  | ||||
|             this.dataMoldEOLToolStripMenuItem.Name = "dataMoldEOLToolStripMenuItem"; | ||||
|             this.dataMoldEOLToolStripMenuItem.Size = new System.Drawing.Size(138, 22); | ||||
|             this.dataMoldEOLToolStripMenuItem.Size = new System.Drawing.Size(154, 24); | ||||
|             this.dataMoldEOLToolStripMenuItem.Text = "MOLD & EOL"; | ||||
|             this.dataMoldEOLToolStripMenuItem.Click += new System.EventHandler(this.dataMoldEOLToolStripMenuItem_Click); | ||||
|             //  | ||||
|             // dataToolStripMenuItem | ||||
|             //  | ||||
|             this.dataToolStripMenuItem.Name = "dataToolStripMenuItem"; | ||||
|             this.dataToolStripMenuItem.Size = new System.Drawing.Size(138, 22); | ||||
|             this.dataToolStripMenuItem.Size = new System.Drawing.Size(154, 24); | ||||
|             this.dataToolStripMenuItem.Text = "BUMP"; | ||||
|             this.dataToolStripMenuItem.Click += new System.EventHandler(this.dataToolStripMenuItem_Click); | ||||
|             //  | ||||
|             // personalInventoryToolStripMenuItem | ||||
|             //  | ||||
|             this.personalInventoryToolStripMenuItem.ForeColor = System.Drawing.Color.HotPink; | ||||
|             this.personalInventoryToolStripMenuItem.Name = "personalInventoryToolStripMenuItem"; | ||||
|             this.personalInventoryToolStripMenuItem.Size = new System.Drawing.Size(173, 22); | ||||
|             this.personalInventoryToolStripMenuItem.Text = "Personal Inventory"; | ||||
|             this.personalInventoryToolStripMenuItem.Size = new System.Drawing.Size(154, 24); | ||||
|             this.personalInventoryToolStripMenuItem.Text = "개인별 물품"; | ||||
|             this.personalInventoryToolStripMenuItem.Click += new System.EventHandler(this.personalInventoryToolStripMenuItem_Click); | ||||
|             //  | ||||
|             // nRPurchaseToolStripMenuItem | ||||
|             //  | ||||
|             this.nRPurchaseToolStripMenuItem.Name = "nRPurchaseToolStripMenuItem"; | ||||
|             this.nRPurchaseToolStripMenuItem.Size = new System.Drawing.Size(173, 22); | ||||
|             this.nRPurchaseToolStripMenuItem.Text = "NR Purchase"; | ||||
|             this.nRPurchaseToolStripMenuItem.Size = new System.Drawing.Size(154, 24); | ||||
|             this.nRPurchaseToolStripMenuItem.Text = "NR구매신청"; | ||||
|             this.nRPurchaseToolStripMenuItem.Click += new System.EventHandler(this.nRPurchaseToolStripMenuItem_Click); | ||||
|             //  | ||||
|             // infoToolStripMenuItem | ||||
|             //  | ||||
|             this.infoToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { | ||||
|             this.staffToolStripMenuItem}); | ||||
|             this.infoToolStripMenuItem.Name = "infoToolStripMenuItem"; | ||||
|             this.infoToolStripMenuItem.Size = new System.Drawing.Size(40, 20); | ||||
|             this.infoToolStripMenuItem.Text = "Info"; | ||||
|             //  | ||||
|             // staffToolStripMenuItem | ||||
|             //  | ||||
|             this.staffToolStripMenuItem.Name = "staffToolStripMenuItem"; | ||||
|             this.staffToolStripMenuItem.Size = new System.Drawing.Size(99, 22); | ||||
|             this.staffToolStripMenuItem.Text = "Staff"; | ||||
|             //  | ||||
|             // windowsMenu | ||||
|             //  | ||||
|             this.windowsMenu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { | ||||
| @@ -467,41 +467,41 @@ | ||||
|             this.closeAllToolStripMenuItem, | ||||
|             this.arrangeIconsToolStripMenuItem}); | ||||
|             this.windowsMenu.Name = "windowsMenu"; | ||||
|             this.windowsMenu.Size = new System.Drawing.Size(82, 20); | ||||
|             this.windowsMenu.Text = "Window(&W)"; | ||||
|             this.windowsMenu.Size = new System.Drawing.Size(84, 23); | ||||
|             this.windowsMenu.Text = "윈도우(&W)"; | ||||
|             //  | ||||
|             // cascadeToolStripMenuItem | ||||
|             //  | ||||
|             this.cascadeToolStripMenuItem.Name = "cascadeToolStripMenuItem"; | ||||
|             this.cascadeToolStripMenuItem.Size = new System.Drawing.Size(195, 22); | ||||
|             this.cascadeToolStripMenuItem.Size = new System.Drawing.Size(218, 24); | ||||
|             this.cascadeToolStripMenuItem.Text = "계단식 배열(&C)"; | ||||
|             this.cascadeToolStripMenuItem.Click += new System.EventHandler(this.cascadeToolStripMenuItem_Click); | ||||
|             //  | ||||
|             // tileVerticalToolStripMenuItem | ||||
|             //  | ||||
|             this.tileVerticalToolStripMenuItem.Name = "tileVerticalToolStripMenuItem"; | ||||
|             this.tileVerticalToolStripMenuItem.Size = new System.Drawing.Size(195, 22); | ||||
|             this.tileVerticalToolStripMenuItem.Size = new System.Drawing.Size(218, 24); | ||||
|             this.tileVerticalToolStripMenuItem.Text = "세로 바둑판식 배열(&V)"; | ||||
|             this.tileVerticalToolStripMenuItem.Click += new System.EventHandler(this.tileVerticalToolStripMenuItem_Click); | ||||
|             //  | ||||
|             // tileHorizontalToolStripMenuItem | ||||
|             //  | ||||
|             this.tileHorizontalToolStripMenuItem.Name = "tileHorizontalToolStripMenuItem"; | ||||
|             this.tileHorizontalToolStripMenuItem.Size = new System.Drawing.Size(195, 22); | ||||
|             this.tileHorizontalToolStripMenuItem.Size = new System.Drawing.Size(218, 24); | ||||
|             this.tileHorizontalToolStripMenuItem.Text = "가로 바둑판식 배열(&H)"; | ||||
|             this.tileHorizontalToolStripMenuItem.Click += new System.EventHandler(this.tileHorizontalToolStripMenuItem_Click); | ||||
|             //  | ||||
|             // closeAllToolStripMenuItem | ||||
|             //  | ||||
|             this.closeAllToolStripMenuItem.Name = "closeAllToolStripMenuItem"; | ||||
|             this.closeAllToolStripMenuItem.Size = new System.Drawing.Size(195, 22); | ||||
|             this.closeAllToolStripMenuItem.Size = new System.Drawing.Size(218, 24); | ||||
|             this.closeAllToolStripMenuItem.Text = "모두 닫기(&L)"; | ||||
|             this.closeAllToolStripMenuItem.Click += new System.EventHandler(this.closeAllToolStripMenuItem_Click); | ||||
|             //  | ||||
|             // arrangeIconsToolStripMenuItem | ||||
|             //  | ||||
|             this.arrangeIconsToolStripMenuItem.Name = "arrangeIconsToolStripMenuItem"; | ||||
|             this.arrangeIconsToolStripMenuItem.Size = new System.Drawing.Size(195, 22); | ||||
|             this.arrangeIconsToolStripMenuItem.Size = new System.Drawing.Size(218, 24); | ||||
|             this.arrangeIconsToolStripMenuItem.Text = "아이콘 정렬(&A)"; | ||||
|             this.arrangeIconsToolStripMenuItem.Click += new System.EventHandler(this.arrangeIconsToolStripMenuItem_Click); | ||||
|             //  | ||||
| @@ -509,37 +509,46 @@ | ||||
|             //  | ||||
|             this.btDev.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { | ||||
|             this.purchaseImportToolStripMenuItem, | ||||
|             this.purchaseDataConvertToolStripMenuItem}); | ||||
|             this.purchaseDataConvertToolStripMenuItem, | ||||
|             this.customerImportToolStripMenuItem}); | ||||
|             this.btDev.ForeColor = System.Drawing.Color.Blue; | ||||
|             this.btDev.Name = "btDev"; | ||||
|             this.btDev.Size = new System.Drawing.Size(73, 20); | ||||
|             this.btDev.Text = "Developer"; | ||||
|             this.btDev.Size = new System.Drawing.Size(91, 23); | ||||
|             this.btDev.Text = "개발자메뉴"; | ||||
|             this.btDev.Visible = false; | ||||
|             //  | ||||
|             // purchaseImportToolStripMenuItem | ||||
|             //  | ||||
|             this.purchaseImportToolStripMenuItem.Name = "purchaseImportToolStripMenuItem"; | ||||
|             this.purchaseImportToolStripMenuItem.Size = new System.Drawing.Size(197, 22); | ||||
|             this.purchaseImportToolStripMenuItem.Size = new System.Drawing.Size(222, 24); | ||||
|             this.purchaseImportToolStripMenuItem.Text = "Purchase Import"; | ||||
|             this.purchaseImportToolStripMenuItem.Click += new System.EventHandler(this.purchaseImportToolStripMenuItem_Click); | ||||
|             //  | ||||
|             // purchaseDataConvertToolStripMenuItem | ||||
|             //  | ||||
|             this.purchaseDataConvertToolStripMenuItem.Name = "purchaseDataConvertToolStripMenuItem"; | ||||
|             this.purchaseDataConvertToolStripMenuItem.Size = new System.Drawing.Size(197, 22); | ||||
|             this.purchaseDataConvertToolStripMenuItem.Size = new System.Drawing.Size(222, 24); | ||||
|             this.purchaseDataConvertToolStripMenuItem.Text = "Purchase Data Convert"; | ||||
|             this.purchaseDataConvertToolStripMenuItem.Click += new System.EventHandler(this.purchaseDataConvertToolStripMenuItem_Click); | ||||
|             //  | ||||
|             // customerImportToolStripMenuItem | ||||
|             //  | ||||
|             this.customerImportToolStripMenuItem.Name = "customerImportToolStripMenuItem"; | ||||
|             this.customerImportToolStripMenuItem.Size = new System.Drawing.Size(222, 24); | ||||
|             this.customerImportToolStripMenuItem.Text = "Customer Import"; | ||||
|             this.customerImportToolStripMenuItem.Click += new System.EventHandler(this.customerImportToolStripMenuItem_Click); | ||||
|             //  | ||||
|             // toolStrip | ||||
|             //  | ||||
|             this.toolStrip.ImageScalingSize = new System.Drawing.Size(20, 20); | ||||
|             this.toolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { | ||||
|             this.toolStripButton1, | ||||
|             this.toolStripButton2, | ||||
|             this.toolStripButton3, | ||||
|             this.toolStripButton4}); | ||||
|             this.toolStrip.Location = new System.Drawing.Point(1, 25); | ||||
|             this.toolStrip.Location = new System.Drawing.Point(1, 28); | ||||
|             this.toolStrip.Name = "toolStrip"; | ||||
|             this.toolStrip.Size = new System.Drawing.Size(1035, 25); | ||||
|             this.toolStrip.Size = new System.Drawing.Size(1035, 27); | ||||
|             this.toolStrip.TabIndex = 32; | ||||
|             this.toolStrip.Text = "ToolStrip"; | ||||
|             //  | ||||
| @@ -549,7 +558,7 @@ | ||||
|             this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image"))); | ||||
|             this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta; | ||||
|             this.toolStripButton1.Name = "toolStripButton1"; | ||||
|             this.toolStripButton1.Size = new System.Drawing.Size(23, 22); | ||||
|             this.toolStripButton1.Size = new System.Drawing.Size(24, 24); | ||||
|             this.toolStripButton1.Text = "메일전송"; | ||||
|             this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click); | ||||
|             //  | ||||
| @@ -559,7 +568,7 @@ | ||||
|             this.toolStripButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton2.Image"))); | ||||
|             this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta; | ||||
|             this.toolStripButton2.Name = "toolStripButton2"; | ||||
|             this.toolStripButton2.Size = new System.Drawing.Size(23, 22); | ||||
|             this.toolStripButton2.Size = new System.Drawing.Size(24, 24); | ||||
|             this.toolStripButton2.Text = "구매신청"; | ||||
|             this.toolStripButton2.ToolTipText = "파트구매신청서 작성"; | ||||
|             this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click); | ||||
| @@ -570,7 +579,7 @@ | ||||
|             this.toolStripButton3.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton3.Image"))); | ||||
|             this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta; | ||||
|             this.toolStripButton3.Name = "toolStripButton3"; | ||||
|             this.toolStripButton3.Size = new System.Drawing.Size(23, 22); | ||||
|             this.toolStripButton3.Size = new System.Drawing.Size(24, 24); | ||||
|             this.toolStripButton3.Text = "toolStripButton3"; | ||||
|             this.toolStripButton3.Click += new System.EventHandler(this.toolStripButton3_Click); | ||||
|             //  | ||||
| @@ -580,7 +589,7 @@ | ||||
|             this.toolStripButton4.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton4.Image"))); | ||||
|             this.toolStripButton4.ImageTransparentColor = System.Drawing.Color.Magenta; | ||||
|             this.toolStripButton4.Name = "toolStripButton4"; | ||||
|             this.toolStripButton4.Size = new System.Drawing.Size(23, 22); | ||||
|             this.toolStripButton4.Size = new System.Drawing.Size(24, 24); | ||||
|             this.toolStripButton4.Text = "toolStripButton4"; | ||||
|             this.toolStripButton4.Click += new System.EventHandler(this.toolStripButton4_Click); | ||||
|             //  | ||||
| @@ -645,8 +654,6 @@ | ||||
|         private System.Windows.Forms.ToolStripMenuItem managementToolStripMenuItem; | ||||
|         private System.Windows.Forms.ToolStripMenuItem equipmentToolStripMenuItem; | ||||
|         private System.Windows.Forms.ToolStripMenuItem lineCodeToolStripMenuItem; | ||||
|         private System.Windows.Forms.ToolStripMenuItem infoToolStripMenuItem; | ||||
|         private System.Windows.Forms.ToolStripMenuItem staffToolStripMenuItem; | ||||
|         private System.Windows.Forms.ToolStripMenuItem staffGridToolStripMenuItem; | ||||
|         private System.Windows.Forms.ToolStripMenuItem dataToolStripMenuItem; | ||||
|         private System.Windows.Forms.ToolStripMenuItem dataFOLToolStripMenuItem; | ||||
| @@ -677,6 +684,8 @@ | ||||
|         private System.Windows.Forms.ToolStripButton toolStripButton3; | ||||
|         private System.Windows.Forms.ToolStripMenuItem workReportToolStripMenuItem; | ||||
|         private System.Windows.Forms.ToolStripButton toolStripButton4; | ||||
|         private System.Windows.Forms.ToolStripMenuItem customerImportToolStripMenuItem; | ||||
|         private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1; | ||||
|     } | ||||
| } | ||||
|  | ||||
|   | ||||
| @@ -96,10 +96,11 @@ namespace Project | ||||
|                 FCOMMON.info.Login.tel); | ||||
|             Pub.log.Add("Program Start"); | ||||
|  | ||||
|  | ||||
|             bw.RunWorkerAsync(); //background worker | ||||
|  | ||||
|              | ||||
|             if(Pub.setting.startForm == eFormList.NR구매관리) | ||||
|             { | ||||
|                 menu_nrpurchase(); | ||||
|             } | ||||
|         } | ||||
|  | ||||
|  | ||||
| @@ -337,7 +338,7 @@ namespace Project | ||||
|         private void codesToolStripMenuItem_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             var f = new FCM0000.fCode(); | ||||
|             f.MdiParent = this; | ||||
|             //f.MdiParent = this; | ||||
|             f.Show(); | ||||
|         } | ||||
|  | ||||
| @@ -367,12 +368,35 @@ namespace Project | ||||
|             f.Show(); | ||||
|         } | ||||
|  | ||||
|         private void nRPurchaseToolStripMenuItem_Click(object sender, EventArgs e) | ||||
|         FEQ0000.fPurchase fpurchase = null; | ||||
|         void menu_nrpurchase() | ||||
|         { | ||||
|             if(Pub.setting.DupWindow) | ||||
|             { | ||||
|                 var f = new FEQ0000.fPurchase(); | ||||
|                 f.MdiParent = this; | ||||
|                 f.Show(); | ||||
|             } | ||||
|             else | ||||
|             { | ||||
|                 if(fpurchase == null || fpurchase.IsDisposed) | ||||
|                 { | ||||
|                     fpurchase = new FEQ0000.fPurchase(); | ||||
|                     fpurchase.MdiParent = this; | ||||
|                     fpurchase.Show(); | ||||
|                 } | ||||
|                 else | ||||
|                 { | ||||
|                     if (fpurchase.WindowState == FormWindowState.Minimized) fpurchase.WindowState = FormWindowState.Normal; | ||||
|                     fpurchase.Show(); | ||||
|                     fpurchase.Activate(); | ||||
|                 } | ||||
|             } | ||||
|         } | ||||
|         private void nRPurchaseToolStripMenuItem_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             menu_nrpurchase(); | ||||
|         } | ||||
|  | ||||
|         private void purchaseImportToolStripMenuItem_Click(object sender, EventArgs e) | ||||
|         { | ||||
| @@ -441,5 +465,22 @@ namespace Project | ||||
|             f.MdiParent = this; | ||||
|             f.Show(); | ||||
|         } | ||||
|  | ||||
|         private void customerImportToolStripMenuItem_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             var f = new FCM0000.Customer_Import(); | ||||
|             f.MdiParent = this; | ||||
|             f.Show(); | ||||
|         } | ||||
|  | ||||
|         private void staffToolStripMenuItem_Click(object sender, EventArgs e) | ||||
|         { | ||||
|  | ||||
|         } | ||||
|  | ||||
|         private void 업체담당자ToolStripMenuItem_Click(object sender, EventArgs e) | ||||
|         { | ||||
|  | ||||
|         } | ||||
|     } | ||||
| } | ||||
|   | ||||
| @@ -153,16 +153,16 @@ | ||||
|   <data name="toolStripButton2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 | ||||
|         YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIcSURBVDhPY0iaU3o9aWbN/7Ty3ovplX3WDFAwrd5VbGad | ||||
|         +65pVS4WcH61y64pFW4qYAUwkDS/8lLi3KqLqZW9UUkVfXcYGP4zTq10sZ9S4f5204TgX9PL3d9PrnRz | ||||
|         nV7n9GrnhJg/cxpcHs8pteKFakcFqdWtf1JmFL0p6c3+M3Nlyf9du+v/r1qQ96+n3u/f2VWF/76ea/2/ | ||||
|         f3bqz9m1HkdXhYYyQ7UhQHxj1+eWtbP+zzq59H/f/ln/m7dO+F++pvV/+sLK//Fzyv/nLa7+37Cq9n/t | ||||
|         3IJfRRNTjsXNLo+BaoWAtJbOK7Xzp//f9WAvBt5+d/f/VVc2/p97etn/CQfn/i/Z2PM3Zl7FW6hWCEhq | ||||
|         bl6c1tv/G6apZ99MrDQIzzm17H/ygqoLUK0QkNTamppe3/IHpihuThlWGoRBroifV74aqhUCUjo6ZNKq | ||||
|         +v5vv7eboAH12yf/iJtT2gLVigCxxb1/Fx5fB1aEzwvFa9o/xs4pS4VqQ4DE+u53XevmwxViw5tubf8f | ||||
|         Pa/yR8LMClOoNgRIau44FdXV8jdpWsF3GI6eX/Ejen4lHCdOy/+ZvKCmH6oFFaRV9GWkVvZthXJJB6ll | ||||
|         vbpp5e3vU6r6DaBCpIOM2omHM6o7/mXWTPqfVtmPgjNqJv6PL5r4O6duCnYvgEB8VcePOesO/U8v6v8O | ||||
|         FYIDfHJwkAk0Pb5wwu/s2sk9UCE4QJVjYAAANRyjD7U4Ir0AAAAASUVORK5CYII= | ||||
|         YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIbSURBVDhPY0iaU3o9aWbN/7Ty3ovplX3WDFAwrd5VbGad | ||||
|         +65pVS4WcH61y64pFW4qYAUwkDS/8lLi3KqLqZW9UUkVfXcYGP4zTq10sZ9S4f52U4//r+nl7u8nV7q5 | ||||
|         Tq9zerWzJ+bPnAaXx3NKrXih2lFBanXjn5QZRW9KOrP/zFxZ8n/X7vr/y+bk/euo9/t3clnhv6/nWv/v | ||||
|         n576c3atx9FVoaHMUG0IEN/Y9bll7az/s04u/d+3f9b/5q0T/pevaf2fvrDyf/yc8v95i6v/N6yq/V87 | ||||
|         t+BX0cSUY3Gzy2OgWiEgraXzSu386f93PdiLgbff3f1/1ZWN/+eeXvZ/wsG5/ws29vyNmVfxFqoVApKa | ||||
|         mxcn9fb/hmnq2TcTKw3Cc04t+5+8oOoCVCsEJLW2pqbXN/yBKYqbU4aVBmGQK+Lnla+GaoWAlI4OmbSq | ||||
|         vv/b7+0maED99sk/4uaUtkC1IkBkfu/fhcfXgRXh80LxmvaPsXPKUqHaECCxvvtd17r5cIXY8KZb2/9H | ||||
|         z6v8kTCzwhSqDQGSmjtOhXW1/E2alP8dhqPnV/yInl8Jx4lTsn8mL6jph2pBBWkVfRmplX1boVzSQWpZ | ||||
|         r25aefv7lKp+A6gQ6SCjduLhjOqWf5k1k/6nVfaj4Iyaif/j8yb+zqmbgt0LIBBd1fJjzrpD/9Pz+79D | ||||
|         heAAnxwcZAJNj8+d8Du7dnIPVAgOUOUYGAA7lKKQuxE4AgAAAABJRU5ErkJggg== | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="toolStripButton3.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|   | ||||
| @@ -53,14 +53,14 @@ namespace Project | ||||
|             this.bsModel.EndEdit(); | ||||
|             this.Invalidate(); | ||||
|  | ||||
|             var f = new Dialog.fPassword(); | ||||
|             if (f.ShowDialog() != DialogResult.OK) return; | ||||
|             var pass = f.tbInput.Text; | ||||
|             if (pass != Pub.setting.Password_Setup) | ||||
|             { | ||||
|                 Util.MsgE("Password incorrect"); | ||||
|                 return; | ||||
|             } | ||||
|             //var f = new Dialog.fPassword(); | ||||
|             //if (f.ShowDialog() != DialogResult.OK) return; | ||||
|             //var pass = f.tbInput.Text; | ||||
|             //if (pass != Pub.setting.Password_Setup) | ||||
|             //{ | ||||
|             //    Util.MsgE("Password incorrect"); | ||||
|             //    return; | ||||
|             //} | ||||
|  | ||||
|             if(this.dataSet1.HasChanges()) | ||||
|             { | ||||
|   | ||||
							
								
								
									
										322
									
								
								SubProject/FBS0000/Holiday/fHolyday.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										322
									
								
								SubProject/FBS0000/Holiday/fHolyday.Designer.cs
									
									
									
										generated
									
									
									
								
							| @@ -37,8 +37,6 @@ | ||||
|             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); | ||||
|             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); | ||||
|             this.bn = new System.Windows.Forms.BindingNavigator(this.components); | ||||
|             this.bs = new System.Windows.Forms.BindingSource(this.components); | ||||
|             this.dsMSSQL = new FBS0000.dsMSSQL(); | ||||
|             this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel(); | ||||
|             this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton(); | ||||
| @@ -52,13 +50,6 @@ | ||||
|             this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.boardBindingNavigatorSaveItem = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.dv1 = new System.Windows.Forms.DataGridView(); | ||||
|             this.dvc_user = new System.Windows.Forms.DataGridViewComboBoxColumn(); | ||||
|             this.dvc_cate = new System.Windows.Forms.DataGridViewComboBoxColumn(); | ||||
|             this.sdateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
|             this.edateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
|             this.termDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
|             this.dvc_result = new System.Windows.Forms.DataGridViewComboBoxColumn(); | ||||
|             this.contents = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
|             this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components); | ||||
|             this.sendToMailToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator(); | ||||
| @@ -71,15 +62,32 @@ | ||||
|             this.toolStripLabel3 = new System.Windows.Forms.ToolStripLabel(); | ||||
|             this.cmbUser = new System.Windows.Forms.ToolStripComboBox(); | ||||
|             this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.bs = new System.Windows.Forms.BindingSource(this.components); | ||||
|             this.dsMSSQL = new FBS0000.dsMSSQL(); | ||||
|             this.tam = new FBS0000.dsMSSQLTableAdapters.TableAdapterManager(); | ||||
|             this.ta = new FBS0000.dsMSSQLTableAdapters.HolydayTableAdapter(); | ||||
|             this.dvc_user = new System.Windows.Forms.DataGridViewComboBoxColumn(); | ||||
|             this.dvc_cate = new System.Windows.Forms.DataGridViewComboBoxColumn(); | ||||
|             this.sdateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
|             this.edateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
|             this.termDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
|             this.termDr = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
|             this.dvc_result = new System.Windows.Forms.DataGridViewComboBoxColumn(); | ||||
|             this.contents = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
|             this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); | ||||
|             this.sbGen = new System.Windows.Forms.ToolStripLabel(); | ||||
|             this.toolStripLabel5 = new System.Windows.Forms.ToolStripLabel(); | ||||
|             this.sbUse = new System.Windows.Forms.ToolStripLabel(); | ||||
|             this.toolStripLabel7 = new System.Windows.Forms.ToolStripLabel(); | ||||
|             this.toolStripLabel8 = new System.Windows.Forms.ToolStripLabel(); | ||||
|             this.sbJan = new System.Windows.Forms.ToolStripLabel(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); | ||||
|             this.bn.SuspendLayout(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.dv1)).BeginInit(); | ||||
|             this.cm1.SuspendLayout(); | ||||
|             this.toolStrip1.SuspendLayout(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit(); | ||||
|             this.SuspendLayout(); | ||||
|             //  | ||||
|             // bn | ||||
| @@ -89,6 +97,7 @@ | ||||
|             this.bn.CountItem = this.bindingNavigatorCountItem; | ||||
|             this.bn.DeleteItem = this.bindingNavigatorDeleteItem; | ||||
|             this.bn.Dock = System.Windows.Forms.DockStyle.Bottom; | ||||
|             this.bn.ImageScalingSize = new System.Drawing.Size(24, 24); | ||||
|             this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { | ||||
|             this.bindingNavigatorMoveFirstItem, | ||||
|             this.bindingNavigatorMovePreviousItem, | ||||
| @@ -101,32 +110,29 @@ | ||||
|             this.bindingNavigatorSeparator2, | ||||
|             this.bindingNavigatorAddNewItem, | ||||
|             this.bindingNavigatorDeleteItem, | ||||
|             this.boardBindingNavigatorSaveItem}); | ||||
|             this.bn.Location = new System.Drawing.Point(0, 469); | ||||
|             this.boardBindingNavigatorSaveItem, | ||||
|             this.toolStripSeparator1, | ||||
|             this.toolStripLabel7, | ||||
|             this.sbUse, | ||||
|             this.toolStripLabel5, | ||||
|             this.sbGen, | ||||
|             this.toolStripLabel8, | ||||
|             this.sbJan}); | ||||
|             this.bn.Location = new System.Drawing.Point(0, 507); | ||||
|             this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem; | ||||
|             this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem; | ||||
|             this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem; | ||||
|             this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem; | ||||
|             this.bn.Name = "bn"; | ||||
|             this.bn.PositionItem = this.bindingNavigatorPositionItem; | ||||
|             this.bn.Size = new System.Drawing.Size(735, 25); | ||||
|             this.bn.Size = new System.Drawing.Size(849, 31); | ||||
|             this.bn.TabIndex = 0; | ||||
|             this.bn.Text = "bindingNavigator1"; | ||||
|             //  | ||||
|             // bs | ||||
|             //  | ||||
|             this.bs.DataMember = "Holyday"; | ||||
|             this.bs.DataSource = this.dsMSSQL; | ||||
|             //  | ||||
|             // dsMSSQL | ||||
|             //  | ||||
|             this.dsMSSQL.DataSetName = "dsMSSQL"; | ||||
|             this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; | ||||
|             //  | ||||
|             // bindingNavigatorCountItem | ||||
|             //  | ||||
|             this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem"; | ||||
|             this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22); | ||||
|             this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 28); | ||||
|             this.bindingNavigatorCountItem.Text = "/{0}"; | ||||
|             this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수"; | ||||
|             //  | ||||
| @@ -135,8 +141,8 @@ | ||||
|             this.bindingNavigatorDeleteItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image"))); | ||||
|             this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem"; | ||||
|             this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true; | ||||
|             this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(78, 22); | ||||
|             this.bindingNavigatorDeleteItem.Text = "Delete(&D)"; | ||||
|             this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(76, 28); | ||||
|             this.bindingNavigatorDeleteItem.Text = "삭제(&D)"; | ||||
|             //  | ||||
|             // bindingNavigatorMoveFirstItem | ||||
|             //  | ||||
| @@ -144,7 +150,7 @@ | ||||
|             this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image"))); | ||||
|             this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem"; | ||||
|             this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true; | ||||
|             this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22); | ||||
|             this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(28, 28); | ||||
|             this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동"; | ||||
|             //  | ||||
|             // bindingNavigatorMovePreviousItem | ||||
| @@ -153,13 +159,13 @@ | ||||
|             this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image"))); | ||||
|             this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem"; | ||||
|             this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true; | ||||
|             this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22); | ||||
|             this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(28, 28); | ||||
|             this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동"; | ||||
|             //  | ||||
|             // bindingNavigatorSeparator | ||||
|             //  | ||||
|             this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator"; | ||||
|             this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25); | ||||
|             this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 31); | ||||
|             //  | ||||
|             // bindingNavigatorPositionItem | ||||
|             //  | ||||
| @@ -173,7 +179,7 @@ | ||||
|             // bindingNavigatorSeparator1 | ||||
|             //  | ||||
|             this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1"; | ||||
|             this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25); | ||||
|             this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 31); | ||||
|             //  | ||||
|             // bindingNavigatorMoveNextItem | ||||
|             //  | ||||
| @@ -181,7 +187,7 @@ | ||||
|             this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image"))); | ||||
|             this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem"; | ||||
|             this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true; | ||||
|             this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22); | ||||
|             this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(28, 28); | ||||
|             this.bindingNavigatorMoveNextItem.Text = "다음으로 이동"; | ||||
|             //  | ||||
|             // bindingNavigatorMoveLastItem | ||||
| @@ -190,29 +196,29 @@ | ||||
|             this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image"))); | ||||
|             this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem"; | ||||
|             this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true; | ||||
|             this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22); | ||||
|             this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(28, 28); | ||||
|             this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동"; | ||||
|             //  | ||||
|             // bindingNavigatorSeparator2 | ||||
|             //  | ||||
|             this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2"; | ||||
|             this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25); | ||||
|             this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 31); | ||||
|             //  | ||||
|             // bindingNavigatorAddNewItem | ||||
|             //  | ||||
|             this.bindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image"))); | ||||
|             this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem"; | ||||
|             this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true; | ||||
|             this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(65, 22); | ||||
|             this.bindingNavigatorAddNewItem.Text = "Add(&A)"; | ||||
|             this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(75, 28); | ||||
|             this.bindingNavigatorAddNewItem.Text = "추가(&A)"; | ||||
|             this.bindingNavigatorAddNewItem.Click += new System.EventHandler(this.bindingNavigatorAddNewItem_Click); | ||||
|             //  | ||||
|             // boardBindingNavigatorSaveItem | ||||
|             //  | ||||
|             this.boardBindingNavigatorSaveItem.Image = ((System.Drawing.Image)(resources.GetObject("boardBindingNavigatorSaveItem.Image"))); | ||||
|             this.boardBindingNavigatorSaveItem.Name = "boardBindingNavigatorSaveItem"; | ||||
|             this.boardBindingNavigatorSaveItem.Size = new System.Drawing.Size(67, 22); | ||||
|             this.boardBindingNavigatorSaveItem.Text = "Save(&S)"; | ||||
|             this.boardBindingNavigatorSaveItem.Size = new System.Drawing.Size(74, 28); | ||||
|             this.boardBindingNavigatorSaveItem.Text = "저장(&S)"; | ||||
|             this.boardBindingNavigatorSaveItem.Click += new System.EventHandler(this.boardBindingNavigatorSaveItem_Click); | ||||
|             //  | ||||
|             // dv1 | ||||
| @@ -228,89 +234,22 @@ | ||||
|             this.sdateDataGridViewTextBoxColumn, | ||||
|             this.edateDataGridViewTextBoxColumn, | ||||
|             this.termDataGridViewTextBoxColumn, | ||||
|             this.termDr, | ||||
|             this.dvc_result, | ||||
|             this.contents}); | ||||
|             this.dv1.ContextMenuStrip = this.cm1; | ||||
|             this.dv1.DataSource = this.bs; | ||||
|             this.dv1.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.dv1.Location = new System.Drawing.Point(0, 25); | ||||
|             this.dv1.Location = new System.Drawing.Point(0, 31); | ||||
|             this.dv1.Name = "dv1"; | ||||
|             this.dv1.ReadOnly = true; | ||||
|             this.dv1.RowTemplate.Height = 23; | ||||
|             this.dv1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; | ||||
|             this.dv1.Size = new System.Drawing.Size(735, 444); | ||||
|             this.dv1.Size = new System.Drawing.Size(849, 476); | ||||
|             this.dv1.TabIndex = 2; | ||||
|             this.dv1.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dv1_DataError); | ||||
|             this.dv1.DoubleClick += new System.EventHandler(this.dv1_DoubleClick); | ||||
|             //  | ||||
|             // dvc_user | ||||
|             //  | ||||
|             this.dvc_user.DataPropertyName = "uid"; | ||||
|             dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; | ||||
|             this.dvc_user.DefaultCellStyle = dataGridViewCellStyle1; | ||||
|             this.dvc_user.HeaderText = "User"; | ||||
|             this.dvc_user.Name = "dvc_user"; | ||||
|             this.dvc_user.ReadOnly = true; | ||||
|             this.dvc_user.Resizable = System.Windows.Forms.DataGridViewTriState.True; | ||||
|             this.dvc_user.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; | ||||
|             //  | ||||
|             // dvc_cate | ||||
|             //  | ||||
|             this.dvc_cate.DataPropertyName = "cate"; | ||||
|             dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; | ||||
|             this.dvc_cate.DefaultCellStyle = dataGridViewCellStyle2; | ||||
|             this.dvc_cate.HeaderText = "Type"; | ||||
|             this.dvc_cate.Name = "dvc_cate"; | ||||
|             this.dvc_cate.ReadOnly = true; | ||||
|             this.dvc_cate.Resizable = System.Windows.Forms.DataGridViewTriState.True; | ||||
|             this.dvc_cate.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; | ||||
|             //  | ||||
|             // sdateDataGridViewTextBoxColumn | ||||
|             //  | ||||
|             this.sdateDataGridViewTextBoxColumn.DataPropertyName = "sdate"; | ||||
|             dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; | ||||
|             this.sdateDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle3; | ||||
|             this.sdateDataGridViewTextBoxColumn.HeaderText = "Start"; | ||||
|             this.sdateDataGridViewTextBoxColumn.Name = "sdateDataGridViewTextBoxColumn"; | ||||
|             this.sdateDataGridViewTextBoxColumn.ReadOnly = true; | ||||
|             //  | ||||
|             // edateDataGridViewTextBoxColumn | ||||
|             //  | ||||
|             this.edateDataGridViewTextBoxColumn.DataPropertyName = "edate"; | ||||
|             dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; | ||||
|             this.edateDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle4; | ||||
|             this.edateDataGridViewTextBoxColumn.HeaderText = "End"; | ||||
|             this.edateDataGridViewTextBoxColumn.Name = "edateDataGridViewTextBoxColumn"; | ||||
|             this.edateDataGridViewTextBoxColumn.ReadOnly = true; | ||||
|             //  | ||||
|             // termDataGridViewTextBoxColumn | ||||
|             //  | ||||
|             this.termDataGridViewTextBoxColumn.DataPropertyName = "term"; | ||||
|             dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; | ||||
|             this.termDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle5; | ||||
|             this.termDataGridViewTextBoxColumn.HeaderText = "Term"; | ||||
|             this.termDataGridViewTextBoxColumn.Name = "termDataGridViewTextBoxColumn"; | ||||
|             this.termDataGridViewTextBoxColumn.ReadOnly = true; | ||||
|             //  | ||||
|             // dvc_result | ||||
|             //  | ||||
|             this.dvc_result.DataPropertyName = "result"; | ||||
|             dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; | ||||
|             this.dvc_result.DefaultCellStyle = dataGridViewCellStyle6; | ||||
|             this.dvc_result.HeaderText = "result"; | ||||
|             this.dvc_result.Name = "dvc_result"; | ||||
|             this.dvc_result.ReadOnly = true; | ||||
|             this.dvc_result.Resizable = System.Windows.Forms.DataGridViewTriState.True; | ||||
|             this.dvc_result.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; | ||||
|             //  | ||||
|             // contents | ||||
|             //  | ||||
|             this.contents.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; | ||||
|             this.contents.DataPropertyName = "contents"; | ||||
|             this.contents.HeaderText = "Remark"; | ||||
|             this.contents.Name = "contents"; | ||||
|             this.contents.ReadOnly = true; | ||||
|             //  | ||||
|             // cm1 | ||||
|             //  | ||||
|             this.cm1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { | ||||
| @@ -318,7 +257,7 @@ | ||||
|             this.toolStripMenuItem1, | ||||
|             this.autoResizeComlumnsToolStripMenuItem}); | ||||
|             this.cm1.Name = "contextMenuStrip1"; | ||||
|             this.cm1.Size = new System.Drawing.Size(201, 76); | ||||
|             this.cm1.Size = new System.Drawing.Size(201, 54); | ||||
|             //  | ||||
|             // sendToMailToolStripMenuItem | ||||
|             //  | ||||
| @@ -341,6 +280,7 @@ | ||||
|             //  | ||||
|             // toolStrip1 | ||||
|             //  | ||||
|             this.toolStrip1.ImageScalingSize = new System.Drawing.Size(24, 24); | ||||
|             this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { | ||||
|             this.toolStripLabel1, | ||||
|             this.tbSD, | ||||
| @@ -351,59 +291,69 @@ | ||||
|             this.toolStripButton1}); | ||||
|             this.toolStrip1.Location = new System.Drawing.Point(0, 0); | ||||
|             this.toolStrip1.Name = "toolStrip1"; | ||||
|             this.toolStrip1.Size = new System.Drawing.Size(735, 25); | ||||
|             this.toolStrip1.Size = new System.Drawing.Size(849, 31); | ||||
|             this.toolStrip1.TabIndex = 3; | ||||
|             this.toolStrip1.Text = "toolStrip1"; | ||||
|             //  | ||||
|             // toolStripLabel1 | ||||
|             //  | ||||
|             this.toolStripLabel1.Name = "toolStripLabel1"; | ||||
|             this.toolStripLabel1.Size = new System.Drawing.Size(34, 22); | ||||
|             this.toolStripLabel1.Size = new System.Drawing.Size(34, 28); | ||||
|             this.toolStripLabel1.Text = "Term"; | ||||
|             //  | ||||
|             // tbSD | ||||
|             //  | ||||
|             this.tbSD.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; | ||||
|             this.tbSD.Name = "tbSD"; | ||||
|             this.tbSD.Size = new System.Drawing.Size(100, 25); | ||||
|             this.tbSD.Size = new System.Drawing.Size(100, 31); | ||||
|             this.tbSD.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||
|             this.tbSD.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbSD_KeyDown); | ||||
|             //  | ||||
|             // toolStripLabel2 | ||||
|             //  | ||||
|             this.toolStripLabel2.Name = "toolStripLabel2"; | ||||
|             this.toolStripLabel2.Size = new System.Drawing.Size(15, 22); | ||||
|             this.toolStripLabel2.Size = new System.Drawing.Size(15, 28); | ||||
|             this.toolStripLabel2.Text = "~"; | ||||
|             //  | ||||
|             // tbED | ||||
|             //  | ||||
|             this.tbED.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; | ||||
|             this.tbED.Name = "tbED"; | ||||
|             this.tbED.Size = new System.Drawing.Size(100, 25); | ||||
|             this.tbED.Size = new System.Drawing.Size(100, 31); | ||||
|             this.tbED.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||
|             this.tbED.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbSD_KeyDown); | ||||
|             //  | ||||
|             // toolStripLabel3 | ||||
|             //  | ||||
|             this.toolStripLabel3.Name = "toolStripLabel3"; | ||||
|             this.toolStripLabel3.Size = new System.Drawing.Size(30, 22); | ||||
|             this.toolStripLabel3.Size = new System.Drawing.Size(30, 28); | ||||
|             this.toolStripLabel3.Text = "User"; | ||||
|             //  | ||||
|             // cmbUser | ||||
|             //  | ||||
|             this.cmbUser.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; | ||||
|             this.cmbUser.Name = "cmbUser"; | ||||
|             this.cmbUser.Size = new System.Drawing.Size(150, 25); | ||||
|             this.cmbUser.Size = new System.Drawing.Size(150, 31); | ||||
|             //  | ||||
|             // toolStripButton1 | ||||
|             //  | ||||
|             this.toolStripButton1.Image = global::FBS0000.Properties.Resources.action_refresh; | ||||
|             this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta; | ||||
|             this.toolStripButton1.Name = "toolStripButton1"; | ||||
|             this.toolStripButton1.Size = new System.Drawing.Size(78, 22); | ||||
|             this.toolStripButton1.Size = new System.Drawing.Size(86, 28); | ||||
|             this.toolStripButton1.Text = "Search(&R)"; | ||||
|             this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click); | ||||
|             //  | ||||
|             // bs | ||||
|             //  | ||||
|             this.bs.DataMember = "Holyday"; | ||||
|             this.bs.DataSource = this.dsMSSQL; | ||||
|             //  | ||||
|             // dsMSSQL | ||||
|             //  | ||||
|             this.dsMSSQL.DataSetName = "dsMSSQL"; | ||||
|             this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; | ||||
|             //  | ||||
|             // tam | ||||
|             //  | ||||
|             this.tam.BackupDataSetBeforeUpdate = false; | ||||
| @@ -416,11 +366,131 @@ | ||||
|             //  | ||||
|             this.ta.ClearBeforeFill = true; | ||||
|             //  | ||||
|             // dvc_user | ||||
|             //  | ||||
|             this.dvc_user.DataPropertyName = "uid"; | ||||
|             dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; | ||||
|             this.dvc_user.DefaultCellStyle = dataGridViewCellStyle1; | ||||
|             this.dvc_user.HeaderText = "사용자"; | ||||
|             this.dvc_user.Name = "dvc_user"; | ||||
|             this.dvc_user.ReadOnly = true; | ||||
|             this.dvc_user.Resizable = System.Windows.Forms.DataGridViewTriState.True; | ||||
|             this.dvc_user.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; | ||||
|             //  | ||||
|             // dvc_cate | ||||
|             //  | ||||
|             this.dvc_cate.DataPropertyName = "cate"; | ||||
|             dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; | ||||
|             this.dvc_cate.DefaultCellStyle = dataGridViewCellStyle2; | ||||
|             this.dvc_cate.HeaderText = "구분"; | ||||
|             this.dvc_cate.Name = "dvc_cate"; | ||||
|             this.dvc_cate.ReadOnly = true; | ||||
|             this.dvc_cate.Resizable = System.Windows.Forms.DataGridViewTriState.True; | ||||
|             this.dvc_cate.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; | ||||
|             //  | ||||
|             // sdateDataGridViewTextBoxColumn | ||||
|             //  | ||||
|             this.sdateDataGridViewTextBoxColumn.DataPropertyName = "sdate"; | ||||
|             dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; | ||||
|             this.sdateDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle3; | ||||
|             this.sdateDataGridViewTextBoxColumn.HeaderText = "시작일"; | ||||
|             this.sdateDataGridViewTextBoxColumn.Name = "sdateDataGridViewTextBoxColumn"; | ||||
|             this.sdateDataGridViewTextBoxColumn.ReadOnly = true; | ||||
|             //  | ||||
|             // edateDataGridViewTextBoxColumn | ||||
|             //  | ||||
|             this.edateDataGridViewTextBoxColumn.DataPropertyName = "edate"; | ||||
|             dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; | ||||
|             this.edateDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle4; | ||||
|             this.edateDataGridViewTextBoxColumn.HeaderText = "종료일"; | ||||
|             this.edateDataGridViewTextBoxColumn.Name = "edateDataGridViewTextBoxColumn"; | ||||
|             this.edateDataGridViewTextBoxColumn.ReadOnly = true; | ||||
|             //  | ||||
|             // termDataGridViewTextBoxColumn | ||||
|             //  | ||||
|             this.termDataGridViewTextBoxColumn.DataPropertyName = "term"; | ||||
|             dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; | ||||
|             this.termDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle5; | ||||
|             this.termDataGridViewTextBoxColumn.HeaderText = "사용"; | ||||
|             this.termDataGridViewTextBoxColumn.Name = "termDataGridViewTextBoxColumn"; | ||||
|             this.termDataGridViewTextBoxColumn.ReadOnly = true; | ||||
|             //  | ||||
|             // termDr | ||||
|             //  | ||||
|             this.termDr.DataPropertyName = "termDr"; | ||||
|             this.termDr.HeaderText = "발생"; | ||||
|             this.termDr.Name = "termDr"; | ||||
|             this.termDr.ReadOnly = true; | ||||
|             //  | ||||
|             // dvc_result | ||||
|             //  | ||||
|             this.dvc_result.DataPropertyName = "result"; | ||||
|             dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; | ||||
|             this.dvc_result.DefaultCellStyle = dataGridViewCellStyle6; | ||||
|             this.dvc_result.HeaderText = "결과"; | ||||
|             this.dvc_result.Name = "dvc_result"; | ||||
|             this.dvc_result.ReadOnly = true; | ||||
|             this.dvc_result.Resizable = System.Windows.Forms.DataGridViewTriState.True; | ||||
|             this.dvc_result.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; | ||||
|             //  | ||||
|             // contents | ||||
|             //  | ||||
|             this.contents.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; | ||||
|             this.contents.DataPropertyName = "contents"; | ||||
|             this.contents.HeaderText = "비고"; | ||||
|             this.contents.Name = "contents"; | ||||
|             this.contents.ReadOnly = true; | ||||
|             //  | ||||
|             // toolStripSeparator1 | ||||
|             //  | ||||
|             this.toolStripSeparator1.Name = "toolStripSeparator1"; | ||||
|             this.toolStripSeparator1.Size = new System.Drawing.Size(6, 31); | ||||
|             //  | ||||
|             // sbGen | ||||
|             //  | ||||
|             this.sbGen.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.sbGen.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192))))); | ||||
|             this.sbGen.Name = "sbGen"; | ||||
|             this.sbGen.Size = new System.Drawing.Size(19, 28); | ||||
|             this.sbGen.Text = "0"; | ||||
|             //  | ||||
|             // toolStripLabel5 | ||||
|             //  | ||||
|             this.toolStripLabel5.Name = "toolStripLabel5"; | ||||
|             this.toolStripLabel5.Size = new System.Drawing.Size(31, 28); | ||||
|             this.toolStripLabel5.Text = "발생"; | ||||
|             //  | ||||
|             // sbUse | ||||
|             //  | ||||
|             this.sbUse.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.sbUse.Name = "sbUse"; | ||||
|             this.sbUse.Size = new System.Drawing.Size(19, 28); | ||||
|             this.sbUse.Text = "0"; | ||||
|             //  | ||||
|             // toolStripLabel7 | ||||
|             //  | ||||
|             this.toolStripLabel7.Name = "toolStripLabel7"; | ||||
|             this.toolStripLabel7.Size = new System.Drawing.Size(31, 28); | ||||
|             this.toolStripLabel7.Text = "사용"; | ||||
|             //  | ||||
|             // toolStripLabel8 | ||||
|             //  | ||||
|             this.toolStripLabel8.Name = "toolStripLabel8"; | ||||
|             this.toolStripLabel8.Size = new System.Drawing.Size(31, 28); | ||||
|             this.toolStripLabel8.Text = "잔량"; | ||||
|             //  | ||||
|             // sbJan | ||||
|             //  | ||||
|             this.sbJan.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.sbJan.Name = "sbJan"; | ||||
|             this.sbJan.Size = new System.Drawing.Size(19, 28); | ||||
|             this.sbJan.Text = "0"; | ||||
|             //  | ||||
|             // fHolyday | ||||
|             //  | ||||
|             this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); | ||||
|             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | ||||
|             this.ClientSize = new System.Drawing.Size(735, 494); | ||||
|             this.ClientSize = new System.Drawing.Size(849, 538); | ||||
|             this.Controls.Add(this.dv1); | ||||
|             this.Controls.Add(this.toolStrip1); | ||||
|             this.Controls.Add(this.bn); | ||||
| @@ -430,12 +500,12 @@ | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit(); | ||||
|             this.bn.ResumeLayout(false); | ||||
|             this.bn.PerformLayout(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.dv1)).EndInit(); | ||||
|             this.cm1.ResumeLayout(false); | ||||
|             this.toolStrip1.ResumeLayout(false); | ||||
|             this.toolStrip1.PerformLayout(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit(); | ||||
|             this.ResumeLayout(false); | ||||
|             this.PerformLayout(); | ||||
|  | ||||
| @@ -471,14 +541,22 @@ | ||||
|         private System.Windows.Forms.ToolStripComboBox cmbUser; | ||||
|         private System.Windows.Forms.ContextMenuStrip cm1; | ||||
|         private System.Windows.Forms.ToolStripMenuItem autoResizeComlumnsToolStripMenuItem; | ||||
|         private System.Windows.Forms.ToolStripMenuItem sendToMailToolStripMenuItem; | ||||
|         private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1; | ||||
|         private System.Windows.Forms.DataGridViewComboBoxColumn dvc_user; | ||||
|         private System.Windows.Forms.DataGridViewComboBoxColumn dvc_cate; | ||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn sdateDataGridViewTextBoxColumn; | ||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn edateDataGridViewTextBoxColumn; | ||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn termDataGridViewTextBoxColumn; | ||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn termDr; | ||||
|         private System.Windows.Forms.DataGridViewComboBoxColumn dvc_result; | ||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn contents; | ||||
|         private System.Windows.Forms.ToolStripMenuItem sendToMailToolStripMenuItem; | ||||
|         private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1; | ||||
|         private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; | ||||
|         private System.Windows.Forms.ToolStripLabel toolStripLabel7; | ||||
|         private System.Windows.Forms.ToolStripLabel sbUse; | ||||
|         private System.Windows.Forms.ToolStripLabel toolStripLabel5; | ||||
|         private System.Windows.Forms.ToolStripLabel sbGen; | ||||
|         private System.Windows.Forms.ToolStripLabel toolStripLabel8; | ||||
|         private System.Windows.Forms.ToolStripLabel sbJan; | ||||
|     } | ||||
| } | ||||
| @@ -44,9 +44,25 @@ namespace FBS0000 | ||||
|             var userList = FCOMMON.DBM.getUserList(); | ||||
|             this.cmbUser.Items.Clear(); | ||||
|             this.cmbUser.Items.Add("-- ALL --"); | ||||
|             int curuserindex = -1; | ||||
|             foreach (var user in userList) | ||||
|                 this.cmbUser.Items.Add(string.Format("[{0}] {1}",user.Key,user.Value)); | ||||
|             this.cmbUser.SelectedIndex = 0; | ||||
|             { | ||||
|                 this.cmbUser.Items.Add(string.Format("[{0}] {1}", user.Key, user.Value)); | ||||
|                 if (user.Key == FCOMMON.info.Login.no) curuserindex = cmbUser.Items.Count - 1; | ||||
|             } | ||||
|             this.cmbUser.SelectedIndex = curuserindex; | ||||
|              | ||||
|             //일반사용자의경우에는 상태를 변경하지 못한다. | ||||
|             int curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAutoType.holyday)); | ||||
|             if (curLevel >= 5) | ||||
|             { | ||||
|                 //권한이 잇으므로 모든 사용자로 한다. | ||||
|             } | ||||
|             else | ||||
|             { | ||||
|                 this.cmbUser.Enabled = false;   //사용자를 고칠수 없게 한다. | ||||
|             } | ||||
|  | ||||
|             RefreshData(); | ||||
|         } | ||||
|  | ||||
| @@ -69,9 +85,26 @@ namespace FBS0000 | ||||
|             string uid = "%"; | ||||
|             if (cmbUser.SelectedIndex > 0) | ||||
|             { | ||||
|                 uid = cmbUser.Text.Split('|')[0]; | ||||
|                 uid = cmbUser.Text.Substring(1, cmbUser.Text.IndexOf(']') - 1); | ||||
|             } | ||||
|             this.ta.Fill(this.dsMSSQL.Holyday, tbSD.Text, tbED.Text, uid); | ||||
|  | ||||
|             //잔량계산 | ||||
|             double sumdr = 0; | ||||
|             double sumcr = 0; | ||||
|             double jan = 0; | ||||
|             foreach( dsMSSQL.HolydayRow dr in this.dsMSSQL.Holyday.Rows) | ||||
|             { | ||||
|                 if (dr.RowState == DataRowState.Deleted || dr.RowState == DataRowState.Detached) continue; | ||||
|                 sumdr += dr.termDr; | ||||
|                 sumcr += dr.term; | ||||
|             } | ||||
|             jan = sumdr - sumcr; | ||||
|             sbGen.Text = sumdr.ToString("N0"); | ||||
|             sbUse.Text = sumcr.ToString("N0"); | ||||
|               sbJan.Text = jan.ToString("N0"); | ||||
|               if (jan < 0) sbJan.ForeColor = Color.Red; | ||||
|               else sbJan.ForeColor = Color.Blue;     | ||||
|         } | ||||
|         private void boardBindingNavigatorSaveItem_Click(object sender, EventArgs e) | ||||
|         { | ||||
|   | ||||
| @@ -198,6 +198,9 @@ | ||||
|         dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII= | ||||
| </value> | ||||
|   </data> | ||||
|   <metadata name="termDr.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>True</value> | ||||
|   </metadata> | ||||
|   <metadata name="dvc_result.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>True</value> | ||||
|   </metadata> | ||||
|   | ||||
							
								
								
									
										78
									
								
								SubProject/FBS0000/Holiday/fHolyday_Add.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										78
									
								
								SubProject/FBS0000/Holiday/fHolyday_Add.Designer.cs
									
									
									
										generated
									
									
									
								
							| @@ -46,11 +46,12 @@ | ||||
|             this.reasonTextBox = new System.Windows.Forms.TextBox(); | ||||
|             this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker(); | ||||
|             this.dateTimePicker2 = new System.Windows.Forms.DateTimePicker(); | ||||
|             this.label1 = new System.Windows.Forms.Label(); | ||||
|             this.cmbCate = new System.Windows.Forms.ComboBox(); | ||||
|             this.cmbUser = new System.Windows.Forms.ComboBox(); | ||||
|             this.cmbRlt = new System.Windows.Forms.ComboBox(); | ||||
|             this.btOK = new System.Windows.Forms.Button(); | ||||
|             this.numericUpDown1 = new System.Windows.Forms.NumericUpDown(); | ||||
|             this.numericUpDown2 = new System.Windows.Forms.NumericUpDown(); | ||||
|             cateLabel = new System.Windows.Forms.Label(); | ||||
|             resutLabel = new System.Windows.Forms.Label(); | ||||
|             sdateLabel = new System.Windows.Forms.Label(); | ||||
| @@ -60,6 +61,8 @@ | ||||
|             tolistLabel = new System.Windows.Forms.Label(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).BeginInit(); | ||||
|             this.SuspendLayout(); | ||||
|             //  | ||||
|             // cateLabel | ||||
| @@ -162,7 +165,7 @@ | ||||
|             this.contentsTextBox.Multiline = true; | ||||
|             this.contentsTextBox.Name = "contentsTextBox"; | ||||
|             this.contentsTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; | ||||
|             this.contentsTextBox.Size = new System.Drawing.Size(277, 145); | ||||
|             this.contentsTextBox.Size = new System.Drawing.Size(301, 145); | ||||
|             this.contentsTextBox.TabIndex = 17; | ||||
|             //  | ||||
|             // tolistTextBox | ||||
| @@ -171,7 +174,7 @@ | ||||
|             this.tolistTextBox.Location = new System.Drawing.Point(91, 360); | ||||
|             this.tolistTextBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); | ||||
|             this.tolistTextBox.Name = "tolistTextBox"; | ||||
|             this.tolistTextBox.Size = new System.Drawing.Size(256, 27); | ||||
|             this.tolistTextBox.Size = new System.Drawing.Size(301, 27); | ||||
|             this.tolistTextBox.TabIndex = 21; | ||||
|             //  | ||||
|             // mailCheckBox | ||||
| @@ -188,12 +191,12 @@ | ||||
|             // reasonTextBox | ||||
|             //  | ||||
|             this.reasonTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "reason", true)); | ||||
|             this.reasonTextBox.Location = new System.Drawing.Point(375, 69); | ||||
|             this.reasonTextBox.Location = new System.Drawing.Point(408, 121); | ||||
|             this.reasonTextBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); | ||||
|             this.reasonTextBox.Multiline = true; | ||||
|             this.reasonTextBox.Name = "reasonTextBox"; | ||||
|             this.reasonTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; | ||||
|             this.reasonTextBox.Size = new System.Drawing.Size(279, 318); | ||||
|             this.reasonTextBox.Size = new System.Drawing.Size(279, 266); | ||||
|             this.reasonTextBox.TabIndex = 27; | ||||
|             //  | ||||
|             // dateTimePicker1 | ||||
| @@ -201,7 +204,7 @@ | ||||
|             this.dateTimePicker1.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.bs, "sdate", true)); | ||||
|             this.dateTimePicker1.Location = new System.Drawing.Point(91, 102); | ||||
|             this.dateTimePicker1.Name = "dateTimePicker1"; | ||||
|             this.dateTimePicker1.Size = new System.Drawing.Size(222, 27); | ||||
|             this.dateTimePicker1.Size = new System.Drawing.Size(301, 27); | ||||
|             this.dateTimePicker1.TabIndex = 28; | ||||
|             this.dateTimePicker1.ValueChanged += new System.EventHandler(this.dateTimePicker1_ValueChanged); | ||||
|             //  | ||||
| @@ -210,21 +213,10 @@ | ||||
|             this.dateTimePicker2.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.bs, "edate", true)); | ||||
|             this.dateTimePicker2.Location = new System.Drawing.Point(91, 135); | ||||
|             this.dateTimePicker2.Name = "dateTimePicker2"; | ||||
|             this.dateTimePicker2.Size = new System.Drawing.Size(222, 27); | ||||
|             this.dateTimePicker2.Size = new System.Drawing.Size(301, 27); | ||||
|             this.dateTimePicker2.TabIndex = 29; | ||||
|             this.dateTimePicker2.ValueChanged += new System.EventHandler(this.dateTimePicker2_ValueChanged); | ||||
|             //  | ||||
|             // label1 | ||||
|             //  | ||||
|             this.label1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; | ||||
|             this.label1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "term", true)); | ||||
|             this.label1.Location = new System.Drawing.Point(319, 102); | ||||
|             this.label1.Name = "label1"; | ||||
|             this.label1.Size = new System.Drawing.Size(49, 60); | ||||
|             this.label1.TabIndex = 30; | ||||
|             this.label1.Text = "0"; | ||||
|             this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; | ||||
|             //  | ||||
|             // cmbCate | ||||
|             //  | ||||
|             this.cmbCate.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.bs, "cate", true)); | ||||
| @@ -232,7 +224,7 @@ | ||||
|             this.cmbCate.FormattingEnabled = true; | ||||
|             this.cmbCate.Location = new System.Drawing.Point(91, 69); | ||||
|             this.cmbCate.Name = "cmbCate"; | ||||
|             this.cmbCate.Size = new System.Drawing.Size(277, 27); | ||||
|             this.cmbCate.Size = new System.Drawing.Size(301, 27); | ||||
|             this.cmbCate.TabIndex = 32; | ||||
|             //  | ||||
|             // cmbUser | ||||
| @@ -242,7 +234,7 @@ | ||||
|             this.cmbUser.FormattingEnabled = true; | ||||
|             this.cmbUser.Location = new System.Drawing.Point(91, 37); | ||||
|             this.cmbUser.Name = "cmbUser"; | ||||
|             this.cmbUser.Size = new System.Drawing.Size(277, 27); | ||||
|             this.cmbUser.Size = new System.Drawing.Size(301, 27); | ||||
|             this.cmbUser.TabIndex = 33; | ||||
|             //  | ||||
|             // cmbRlt | ||||
| @@ -250,7 +242,7 @@ | ||||
|             this.cmbRlt.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.bs, "result", true)); | ||||
|             this.cmbRlt.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; | ||||
|             this.cmbRlt.FormattingEnabled = true; | ||||
|             this.cmbRlt.Location = new System.Drawing.Point(376, 37); | ||||
|             this.cmbRlt.Location = new System.Drawing.Point(409, 89); | ||||
|             this.cmbRlt.Name = "cmbRlt"; | ||||
|             this.cmbRlt.Size = new System.Drawing.Size(278, 27); | ||||
|             this.cmbRlt.TabIndex = 34; | ||||
| @@ -259,22 +251,55 @@ | ||||
|             //  | ||||
|             this.btOK.Location = new System.Drawing.Point(91, 399); | ||||
|             this.btOK.Name = "btOK"; | ||||
|             this.btOK.Size = new System.Drawing.Size(563, 38); | ||||
|             this.btOK.Size = new System.Drawing.Size(596, 38); | ||||
|             this.btOK.TabIndex = 35; | ||||
|             this.btOK.Text = "OK"; | ||||
|             this.btOK.UseVisualStyleBackColor = true; | ||||
|             this.btOK.Click += new System.EventHandler(this.btOK_Click); | ||||
|             //  | ||||
|             // numericUpDown1 | ||||
|             //  | ||||
|             this.numericUpDown1.BackColor = System.Drawing.Color.HotPink; | ||||
|             this.numericUpDown1.DecimalPlaces = 1; | ||||
|             this.numericUpDown1.Font = new System.Drawing.Font("Tahoma", 24F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | ||||
|             this.numericUpDown1.Location = new System.Drawing.Point(409, 37); | ||||
|             this.numericUpDown1.Maximum = new decimal(new int[] { | ||||
|             99999, | ||||
|             0, | ||||
|             0, | ||||
|             0}); | ||||
|             this.numericUpDown1.Name = "numericUpDown1"; | ||||
|             this.numericUpDown1.Size = new System.Drawing.Size(94, 46); | ||||
|             this.numericUpDown1.TabIndex = 36; | ||||
|             this.numericUpDown1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||
|             //  | ||||
|             // numericUpDown2 | ||||
|             //  | ||||
|             this.numericUpDown2.BackColor = System.Drawing.Color.Lime; | ||||
|             this.numericUpDown2.DecimalPlaces = 1; | ||||
|             this.numericUpDown2.Font = new System.Drawing.Font("Tahoma", 24F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | ||||
|             this.numericUpDown2.Location = new System.Drawing.Point(509, 37); | ||||
|             this.numericUpDown2.Maximum = new decimal(new int[] { | ||||
|             99999, | ||||
|             0, | ||||
|             0, | ||||
|             0}); | ||||
|             this.numericUpDown2.Name = "numericUpDown2"; | ||||
|             this.numericUpDown2.Size = new System.Drawing.Size(94, 46); | ||||
|             this.numericUpDown2.TabIndex = 37; | ||||
|             this.numericUpDown2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||
|             //  | ||||
|             // fHolyday_Add | ||||
|             //  | ||||
|             this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 19F); | ||||
|             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | ||||
|             this.ClientSize = new System.Drawing.Size(668, 449); | ||||
|             this.ClientSize = new System.Drawing.Size(704, 449); | ||||
|             this.Controls.Add(this.numericUpDown2); | ||||
|             this.Controls.Add(this.numericUpDown1); | ||||
|             this.Controls.Add(this.btOK); | ||||
|             this.Controls.Add(this.cmbRlt); | ||||
|             this.Controls.Add(this.cmbUser); | ||||
|             this.Controls.Add(this.cmbCate); | ||||
|             this.Controls.Add(this.label1); | ||||
|             this.Controls.Add(this.dateTimePicker2); | ||||
|             this.Controls.Add(this.dateTimePicker1); | ||||
|             this.Controls.Add(cateLabel); | ||||
| @@ -298,6 +323,8 @@ | ||||
|             this.Load += new System.EventHandler(this.@__Load); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).EndInit(); | ||||
|             this.ResumeLayout(false); | ||||
|             this.PerformLayout(); | ||||
|  | ||||
| @@ -315,10 +342,11 @@ | ||||
|         private System.Windows.Forms.TextBox reasonTextBox; | ||||
|         private System.Windows.Forms.DateTimePicker dateTimePicker1; | ||||
|         private System.Windows.Forms.DateTimePicker dateTimePicker2; | ||||
|         private System.Windows.Forms.Label label1; | ||||
|         private System.Windows.Forms.ComboBox cmbCate; | ||||
|         private System.Windows.Forms.ComboBox cmbUser; | ||||
|         private System.Windows.Forms.ComboBox cmbRlt; | ||||
|         private System.Windows.Forms.Button btOK; | ||||
|         private System.Windows.Forms.NumericUpDown numericUpDown1; | ||||
|         private System.Windows.Forms.NumericUpDown numericUpDown2; | ||||
|     } | ||||
| } | ||||
| @@ -64,7 +64,7 @@ namespace FBS0000 | ||||
|         { | ||||
|             var ts = dateTimePicker2.Value - dateTimePicker1.Value; | ||||
|             var days = Math.Ceiling(ts.TotalDays) + 1; | ||||
|             this.label1.Text = days.ToString(); | ||||
|             this.numericUpDown1.Value = (decimal)days; | ||||
|             this.dr.term = days; | ||||
|         } | ||||
|         private void dateTimePicker2_ValueChanged(object sender, EventArgs e) | ||||
|   | ||||
							
								
								
									
										205
									
								
								SubProject/FBS0000/dsMSSQL.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										205
									
								
								SubProject/FBS0000/dsMSSQL.Designer.cs
									
									
									
										generated
									
									
									
								
							| @@ -1200,6 +1200,8 @@ namespace FBS0000 { | ||||
|              | ||||
|             private global::System.Data.DataColumn columnwdate; | ||||
|              | ||||
|             private global::System.Data.DataColumn columntermDr; | ||||
|              | ||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] | ||||
|             public HolydayDataTable() { | ||||
| @@ -1353,6 +1355,14 @@ namespace FBS0000 { | ||||
|                 } | ||||
|             } | ||||
|              | ||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] | ||||
|             public global::System.Data.DataColumn termDrColumn { | ||||
|                 get { | ||||
|                     return this.columntermDr; | ||||
|                 } | ||||
|             } | ||||
|              | ||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] | ||||
|             [global::System.ComponentModel.Browsable(false)] | ||||
| @@ -1390,7 +1400,7 @@ namespace FBS0000 { | ||||
|              | ||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] | ||||
|             public HolydayRow AddHolydayRow(string cate, string result, System.DateTime sdate, System.DateTime edate, double term, string title, string contents, string uid, string tolist, bool mail, bool mailsend, string reason, string wuid, System.DateTime wdate) { | ||||
|             public HolydayRow AddHolydayRow(string cate, string result, System.DateTime sdate, System.DateTime edate, double term, string title, string contents, string uid, string tolist, bool mail, bool mailsend, string reason, string wuid, System.DateTime wdate, double termDr) { | ||||
|                 HolydayRow rowHolydayRow = ((HolydayRow)(this.NewRow())); | ||||
|                 object[] columnValuesArray = new object[] { | ||||
|                         null, | ||||
| @@ -1407,7 +1417,8 @@ namespace FBS0000 { | ||||
|                         mailsend, | ||||
|                         reason, | ||||
|                         wuid, | ||||
|                         wdate}; | ||||
|                         wdate, | ||||
|                         termDr}; | ||||
|                 rowHolydayRow.ItemArray = columnValuesArray; | ||||
|                 this.Rows.Add(rowHolydayRow); | ||||
|                 return rowHolydayRow; | ||||
| @@ -1452,6 +1463,7 @@ namespace FBS0000 { | ||||
|                 this.columnreason = base.Columns["reason"]; | ||||
|                 this.columnwuid = base.Columns["wuid"]; | ||||
|                 this.columnwdate = base.Columns["wdate"]; | ||||
|                 this.columntermDr = base.Columns["termDr"]; | ||||
|             } | ||||
|              | ||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
| @@ -1487,6 +1499,8 @@ namespace FBS0000 { | ||||
|                 base.Columns.Add(this.columnwuid); | ||||
|                 this.columnwdate = new global::System.Data.DataColumn("wdate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); | ||||
|                 base.Columns.Add(this.columnwdate); | ||||
|                 this.columntermDr = new global::System.Data.DataColumn("termDr", typeof(double), null, global::System.Data.MappingType.Element); | ||||
|                 base.Columns.Add(this.columntermDr); | ||||
|                 this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { | ||||
|                                 this.columnidx}, true)); | ||||
|                 this.columnidx.AutoIncrement = true; | ||||
| @@ -2348,11 +2362,11 @@ namespace FBS0000 { | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] | ||||
|             public bool mail { | ||||
|                 get { | ||||
|                     try { | ||||
|                         return ((bool)(this[this.tableHolyday.mailColumn])); | ||||
|                     if (this.IsmailNull()) { | ||||
|                         return false; | ||||
|                     } | ||||
|                     catch (global::System.InvalidCastException e) { | ||||
|                         throw new global::System.Data.StrongTypingException("\'Holyday\' 테이블의 \'mail\' 열의 값이 DBNull입니다.", e); | ||||
|                     else { | ||||
|                         return ((bool)(this[this.tableHolyday.mailColumn])); | ||||
|                     } | ||||
|                 } | ||||
|                 set { | ||||
| @@ -2364,11 +2378,11 @@ namespace FBS0000 { | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] | ||||
|             public bool mailsend { | ||||
|                 get { | ||||
|                     try { | ||||
|                         return ((bool)(this[this.tableHolyday.mailsendColumn])); | ||||
|                     if (this.IsmailsendNull()) { | ||||
|                         return false; | ||||
|                     } | ||||
|                     catch (global::System.InvalidCastException e) { | ||||
|                         throw new global::System.Data.StrongTypingException("\'Holyday\' 테이블의 \'mailsend\' 열의 값이 DBNull입니다.", e); | ||||
|                     else { | ||||
|                         return ((bool)(this[this.tableHolyday.mailsendColumn])); | ||||
|                     } | ||||
|                 } | ||||
|                 set { | ||||
| @@ -2414,6 +2428,22 @@ namespace FBS0000 { | ||||
|                 } | ||||
|             } | ||||
|              | ||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] | ||||
|             public double termDr { | ||||
|                 get { | ||||
|                     if (this.IstermDrNull()) { | ||||
|                         return 0D; | ||||
|                     } | ||||
|                     else { | ||||
|                         return ((double)(this[this.tableHolyday.termDrColumn])); | ||||
|                     } | ||||
|                 } | ||||
|                 set { | ||||
|                     this[this.tableHolyday.termDrColumn] = value; | ||||
|                 } | ||||
|             } | ||||
|              | ||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] | ||||
|             public bool IscateNull() { | ||||
| @@ -2557,6 +2587,18 @@ namespace FBS0000 { | ||||
|             public void SetreasonNull() { | ||||
|                 this[this.tableHolyday.reasonColumn] = global::System.Convert.DBNull; | ||||
|             } | ||||
|              | ||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] | ||||
|             public bool IstermDrNull() { | ||||
|                 return this.IsNull(this.tableHolyday.termDrColumn); | ||||
|             } | ||||
|              | ||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] | ||||
|             public void SettermDrNull() { | ||||
|                 this[this.tableHolyday.termDrColumn] = global::System.Convert.DBNull; | ||||
|             } | ||||
|         } | ||||
|          | ||||
|         /// <summary> | ||||
| @@ -4077,10 +4119,11 @@ SELECT idx, bidx, header, cate, title, contents, [file], guid, wuid, wdate FROM | ||||
|             tableMapping.ColumnMappings.Add("reason", "reason"); | ||||
|             tableMapping.ColumnMappings.Add("wuid", "wuid"); | ||||
|             tableMapping.ColumnMappings.Add("wdate", "wdate"); | ||||
|             tableMapping.ColumnMappings.Add("termDr", "termDr"); | ||||
|             this._adapter.TableMappings.Add(tableMapping); | ||||
|             this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); | ||||
|             this._adapter.DeleteCommand.Connection = this.Connection; | ||||
|             this._adapter.DeleteCommand.CommandText = @"DELETE FROM [Holyday] WHERE (([idx] = @Original_idx) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_result = 1 AND [result] IS NULL) OR ([result] = @Original_result)) AND ((@IsNull_sdate = 1 AND [sdate] IS NULL) OR ([sdate] = @Original_sdate)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_term = 1 AND [term] IS NULL) OR ([term] = @Original_term)) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ((@IsNull_mail = 1 AND [mail] IS NULL) OR ([mail] = @Original_mail)) AND ((@IsNull_mailsend = 1 AND [mailsend] IS NULL) OR ([mailsend] = @Original_mailsend)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate))"; | ||||
|             this._adapter.DeleteCommand.CommandText = @"DELETE FROM [Holyday] WHERE (([idx] = @Original_idx) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_result = 1 AND [result] IS NULL) OR ([result] = @Original_result)) AND ((@IsNull_sdate = 1 AND [sdate] IS NULL) OR ([sdate] = @Original_sdate)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_term = 1 AND [term] IS NULL) OR ([term] = @Original_term)) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ((@IsNull_mail = 1 AND [mail] IS NULL) OR ([mail] = @Original_mail)) AND ((@IsNull_mailsend = 1 AND [mailsend] IS NULL) OR ([mailsend] = @Original_mailsend)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_termDr = 1 AND [termDr] IS NULL) OR ([termDr] = @Original_termDr)))"; | ||||
|             this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; | ||||
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||
| @@ -4103,10 +4146,12 @@ SELECT idx, bidx, header, cate, title, contents, [file], guid, wuid, wdate FROM | ||||
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_mailsend", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "mailsend", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_termDr", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "termDr", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_termDr", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "termDr", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||
|             this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); | ||||
|             this._adapter.InsertCommand.Connection = this.Connection; | ||||
|             this._adapter.InsertCommand.CommandText = @"INSERT INTO [Holyday] ([cate], [result], [sdate], [edate], [term], [title], [contents], [uid], [tolist], [mail], [mailsend], [reason], [wuid], [wdate]) VALUES (@cate, @result, @sdate, @edate, @term, @title, @contents, @uid, @tolist, @mail, @mailsend, @reason, @wuid, @wdate); | ||||
| SELECT idx, cate, result, sdate, edate, term, title, contents, uid, tolist, mail, mailsend, reason, wuid, wdate FROM Holyday WHERE (idx = SCOPE_IDENTITY()) ORDER BY sdate, edate"; | ||||
|             this._adapter.InsertCommand.CommandText = @"INSERT INTO [Holyday] ([cate], [result], [sdate], [edate], [term], [title], [contents], [uid], [tolist], [mail], [mailsend], [reason], [wuid], [wdate], [termDr]) VALUES (@cate, @result, @sdate, @edate, @term, @title, @contents, @uid, @tolist, @mail, @mailsend, @reason, @wuid, @wdate, @termDr); | ||||
| SELECT idx, cate, result, sdate, edate, term, title, contents, uid, tolist, mail, mailsend, reason, wuid, wdate, termDr FROM Holyday WHERE (idx = SCOPE_IDENTITY()) ORDER BY sdate, edate"; | ||||
|             this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; | ||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@result", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "result", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
| @@ -4122,10 +4167,11 @@ SELECT idx, cate, result, sdate, edate, term, title, contents, uid, tolist, mail | ||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@reason", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "reason", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@termDr", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "termDr", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|             this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); | ||||
|             this._adapter.UpdateCommand.Connection = this.Connection; | ||||
|             this._adapter.UpdateCommand.CommandText = @"UPDATE [Holyday] SET [cate] = @cate, [result] = @result, [sdate] = @sdate, [edate] = @edate, [term] = @term, [title] = @title, [contents] = @contents, [uid] = @uid, [tolist] = @tolist, [mail] = @mail, [mailsend] = @mailsend, [reason] = @reason, [wuid] = @wuid, [wdate] = @wdate WHERE (([idx] = @Original_idx) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_result = 1 AND [result] IS NULL) OR ([result] = @Original_result)) AND ((@IsNull_sdate = 1 AND [sdate] IS NULL) OR ([sdate] = @Original_sdate)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_term = 1 AND [term] IS NULL) OR ([term] = @Original_term)) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ((@IsNull_mail = 1 AND [mail] IS NULL) OR ([mail] = @Original_mail)) AND ((@IsNull_mailsend = 1 AND [mailsend] IS NULL) OR ([mailsend] = @Original_mailsend)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate)); | ||||
| SELECT idx, cate, result, sdate, edate, term, title, contents, uid, tolist, mail, mailsend, reason, wuid, wdate FROM Holyday WHERE (idx = @idx) ORDER BY sdate, edate"; | ||||
|             this._adapter.UpdateCommand.CommandText = @"UPDATE [Holyday] SET [cate] = @cate, [result] = @result, [sdate] = @sdate, [edate] = @edate, [term] = @term, [title] = @title, [contents] = @contents, [uid] = @uid, [tolist] = @tolist, [mail] = @mail, [mailsend] = @mailsend, [reason] = @reason, [wuid] = @wuid, [wdate] = @wdate, [termDr] = @termDr WHERE (([idx] = @Original_idx) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_result = 1 AND [result] IS NULL) OR ([result] = @Original_result)) AND ((@IsNull_sdate = 1 AND [sdate] IS NULL) OR ([sdate] = @Original_sdate)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_term = 1 AND [term] IS NULL) OR ([term] = @Original_term)) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ((@IsNull_mail = 1 AND [mail] IS NULL) OR ([mail] = @Original_mail)) AND ((@IsNull_mailsend = 1 AND [mailsend] IS NULL) OR ([mailsend] = @Original_mailsend)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_termDr = 1 AND [termDr] IS NULL) OR ([termDr] = @Original_termDr))); | ||||
| SELECT idx, cate, result, sdate, edate, term, title, contents, uid, tolist, mail, mailsend, reason, wuid, wdate, termDr FROM Holyday WHERE (idx = @idx) ORDER BY sdate, edate"; | ||||
|             this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; | ||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@result", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "result", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
| @@ -4141,6 +4187,7 @@ SELECT idx, cate, result, sdate, edate, term, title, contents, uid, tolist, mail | ||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@reason", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "reason", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@termDr", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "termDr", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||
| @@ -4162,6 +4209,8 @@ SELECT idx, cate, result, sdate, edate, term, title, contents, uid, tolist, mail | ||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_mailsend", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "mailsend", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_termDr", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "termDr", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_termDr", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "termDr", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|         } | ||||
|          | ||||
| @@ -4179,8 +4228,8 @@ SELECT idx, cate, result, sdate, edate, term, title, contents, uid, tolist, mail | ||||
|             this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); | ||||
|             this._commandCollection[0].Connection = this.Connection; | ||||
|             this._commandCollection[0].CommandText = "SELECT  idx, cate, result, sdate, edate, term, title, contents, uid, tolist, mail" + | ||||
|                 ", mailsend, reason, wuid, wdate\r\nFROM     Holyday\r\nWHERE  (sdate >= @sd) AND (ed" + | ||||
|                 "ate <= @ed) AND (wuid LIKE @uid)\r\nORDER BY sdate, edate"; | ||||
|                 ", mailsend, reason, wuid, wdate, termDr\r\nFROM     Holyday\r\nWHERE  (sdate >= @sd)" + | ||||
|                 " AND (edate <= @ed) AND (wuid LIKE @uid)\r\nORDER BY sdate, edate"; | ||||
|             this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; | ||||
|             this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sd", global::System.Data.SqlDbType.Date, 3, global::System.Data.ParameterDirection.Input, 0, 0, "sdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|             this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ed", global::System.Data.SqlDbType.Date, 3, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
| @@ -4280,7 +4329,7 @@ SELECT idx, cate, result, sdate, edate, term, title, contents, uid, tolist, mail | ||||
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] | ||||
|         [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] | ||||
|         [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] | ||||
|         public virtual int Delete(int Original_idx, string Original_cate, string Original_result, global::System.Nullable<global::System.DateTime> Original_sdate, global::System.Nullable<global::System.DateTime> Original_edate, global::System.Nullable<double> Original_term, string Original_title, string Original_uid, global::System.Nullable<bool> Original_mail, global::System.Nullable<bool> Original_mailsend, string Original_wuid, System.DateTime Original_wdate) { | ||||
|         public virtual int Delete(int Original_idx, string Original_cate, string Original_result, global::System.Nullable<global::System.DateTime> Original_sdate, global::System.Nullable<global::System.DateTime> Original_edate, global::System.Nullable<double> Original_term, string Original_title, string Original_uid, global::System.Nullable<bool> Original_mail, global::System.Nullable<bool> Original_mailsend, string Original_wuid, System.DateTime Original_wdate, global::System.Nullable<double> Original_termDr) { | ||||
|             this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx)); | ||||
|             if ((Original_cate == null)) { | ||||
|                 this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); | ||||
| @@ -4361,6 +4410,14 @@ SELECT idx, cate, result, sdate, edate, term, title, contents, uid, tolist, mail | ||||
|                 this.Adapter.DeleteCommand.Parameters[19].Value = ((string)(Original_wuid)); | ||||
|             } | ||||
|             this.Adapter.DeleteCommand.Parameters[20].Value = ((System.DateTime)(Original_wdate)); | ||||
|             if ((Original_termDr.HasValue == true)) { | ||||
|                 this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(0)); | ||||
|                 this.Adapter.DeleteCommand.Parameters[22].Value = ((double)(Original_termDr.Value)); | ||||
|             } | ||||
|             else { | ||||
|                 this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(1)); | ||||
|                 this.Adapter.DeleteCommand.Parameters[22].Value = global::System.DBNull.Value; | ||||
|             } | ||||
|             global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; | ||||
|             if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)  | ||||
|                         != global::System.Data.ConnectionState.Open)) { | ||||
| @@ -4381,7 +4438,7 @@ SELECT idx, cate, result, sdate, edate, term, title, contents, uid, tolist, mail | ||||
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] | ||||
|         [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] | ||||
|         [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] | ||||
|         public virtual int Insert(string cate, string result, global::System.Nullable<global::System.DateTime> sdate, global::System.Nullable<global::System.DateTime> edate, global::System.Nullable<double> term, string title, string contents, string uid, string tolist, global::System.Nullable<bool> mail, global::System.Nullable<bool> mailsend, string reason, string wuid, System.DateTime wdate) { | ||||
|         public virtual int Insert(string cate, string result, global::System.Nullable<global::System.DateTime> sdate, global::System.Nullable<global::System.DateTime> edate, global::System.Nullable<double> term, string title, string contents, string uid, string tolist, global::System.Nullable<bool> mail, global::System.Nullable<bool> mailsend, string reason, string wuid, System.DateTime wdate, global::System.Nullable<double> termDr) { | ||||
|             if ((cate == null)) { | ||||
|                 this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value; | ||||
|             } | ||||
| @@ -4461,6 +4518,12 @@ SELECT idx, cate, result, sdate, edate, term, title, contents, uid, tolist, mail | ||||
|                 this.Adapter.InsertCommand.Parameters[12].Value = ((string)(wuid)); | ||||
|             } | ||||
|             this.Adapter.InsertCommand.Parameters[13].Value = ((System.DateTime)(wdate)); | ||||
|             if ((termDr.HasValue == true)) { | ||||
|                 this.Adapter.InsertCommand.Parameters[14].Value = ((double)(termDr.Value)); | ||||
|             } | ||||
|             else { | ||||
|                 this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value; | ||||
|             } | ||||
|             global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; | ||||
|             if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)  | ||||
|                         != global::System.Data.ConnectionState.Open)) { | ||||
| @@ -4496,6 +4559,7 @@ SELECT idx, cate, result, sdate, edate, term, title, contents, uid, tolist, mail | ||||
|                     string reason,  | ||||
|                     string wuid,  | ||||
|                     System.DateTime wdate,  | ||||
|                     global::System.Nullable<double> termDr,  | ||||
|                     int Original_idx,  | ||||
|                     string Original_cate,  | ||||
|                     string Original_result,  | ||||
| @@ -4508,6 +4572,7 @@ SELECT idx, cate, result, sdate, edate, term, title, contents, uid, tolist, mail | ||||
|                     global::System.Nullable<bool> Original_mailsend,  | ||||
|                     string Original_wuid,  | ||||
|                     System.DateTime Original_wdate,  | ||||
|                     global::System.Nullable<double> Original_termDr,  | ||||
|                     int idx) { | ||||
|             if ((cate == null)) { | ||||
|                 this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value; | ||||
| @@ -4588,87 +4653,101 @@ SELECT idx, cate, result, sdate, edate, term, title, contents, uid, tolist, mail | ||||
|                 this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(wuid)); | ||||
|             } | ||||
|             this.Adapter.UpdateCommand.Parameters[13].Value = ((System.DateTime)(wdate)); | ||||
|             this.Adapter.UpdateCommand.Parameters[14].Value = ((int)(Original_idx)); | ||||
|             if ((Original_cate == null)) { | ||||
|                 this.Adapter.UpdateCommand.Parameters[15].Value = ((object)(1)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value; | ||||
|             if ((termDr.HasValue == true)) { | ||||
|                 this.Adapter.UpdateCommand.Parameters[14].Value = ((double)(termDr.Value)); | ||||
|             } | ||||
|             else { | ||||
|                 this.Adapter.UpdateCommand.Parameters[15].Value = ((object)(0)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(Original_cate)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value; | ||||
|             } | ||||
|             this.Adapter.UpdateCommand.Parameters[15].Value = ((int)(Original_idx)); | ||||
|             if ((Original_cate == null)) { | ||||
|                 this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(1)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value; | ||||
|             } | ||||
|             else { | ||||
|                 this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(0)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(Original_cate)); | ||||
|             } | ||||
|             if ((Original_result == null)) { | ||||
|                 this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(1)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value; | ||||
|                 this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(1)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value; | ||||
|             } | ||||
|             else { | ||||
|                 this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(0)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(Original_result)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(0)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(Original_result)); | ||||
|             } | ||||
|             if ((Original_sdate.HasValue == true)) { | ||||
|                 this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(0)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[20].Value = ((System.DateTime)(Original_sdate.Value)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(0)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[21].Value = ((System.DateTime)(Original_sdate.Value)); | ||||
|             } | ||||
|             else { | ||||
|                 this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(1)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value; | ||||
|                 this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(1)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value; | ||||
|             } | ||||
|             if ((Original_edate.HasValue == true)) { | ||||
|                 this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(0)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[22].Value = ((System.DateTime)(Original_edate.Value)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(0)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[23].Value = ((System.DateTime)(Original_edate.Value)); | ||||
|             } | ||||
|             else { | ||||
|                 this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(1)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value; | ||||
|                 this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(1)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value; | ||||
|             } | ||||
|             if ((Original_term.HasValue == true)) { | ||||
|                 this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(0)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[24].Value = ((double)(Original_term.Value)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(0)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[25].Value = ((double)(Original_term.Value)); | ||||
|             } | ||||
|             else { | ||||
|                 this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(1)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value; | ||||
|                 this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(1)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[25].Value = global::System.DBNull.Value; | ||||
|             } | ||||
|             if ((Original_title == null)) { | ||||
|                 this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(1)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[26].Value = global::System.DBNull.Value; | ||||
|                 this.Adapter.UpdateCommand.Parameters[26].Value = ((object)(1)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[27].Value = global::System.DBNull.Value; | ||||
|             } | ||||
|             else { | ||||
|                 this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(0)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[26].Value = ((string)(Original_title)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[26].Value = ((object)(0)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[27].Value = ((string)(Original_title)); | ||||
|             } | ||||
|             if ((Original_uid == null)) { | ||||
|                 this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(1)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[28].Value = global::System.DBNull.Value; | ||||
|                 this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(1)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[29].Value = global::System.DBNull.Value; | ||||
|             } | ||||
|             else { | ||||
|                 this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(0)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[28].Value = ((string)(Original_uid)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(0)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[29].Value = ((string)(Original_uid)); | ||||
|             } | ||||
|             if ((Original_mail.HasValue == true)) { | ||||
|                 this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(0)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[30].Value = ((bool)(Original_mail.Value)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(0)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[31].Value = ((bool)(Original_mail.Value)); | ||||
|             } | ||||
|             else { | ||||
|                 this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(1)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[30].Value = global::System.DBNull.Value; | ||||
|                 this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(1)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[31].Value = global::System.DBNull.Value; | ||||
|             } | ||||
|             if ((Original_mailsend.HasValue == true)) { | ||||
|                 this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(0)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[32].Value = ((bool)(Original_mailsend.Value)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[32].Value = ((object)(0)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[33].Value = ((bool)(Original_mailsend.Value)); | ||||
|             } | ||||
|             else { | ||||
|                 this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(1)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[32].Value = global::System.DBNull.Value; | ||||
|                 this.Adapter.UpdateCommand.Parameters[32].Value = ((object)(1)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[33].Value = global::System.DBNull.Value; | ||||
|             } | ||||
|             if ((Original_wuid == null)) { | ||||
|                 throw new global::System.ArgumentNullException("Original_wuid"); | ||||
|             } | ||||
|             else { | ||||
|                 this.Adapter.UpdateCommand.Parameters[33].Value = ((string)(Original_wuid)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[34].Value = ((string)(Original_wuid)); | ||||
|             } | ||||
|             this.Adapter.UpdateCommand.Parameters[34].Value = ((System.DateTime)(Original_wdate)); | ||||
|             this.Adapter.UpdateCommand.Parameters[35].Value = ((int)(idx)); | ||||
|             this.Adapter.UpdateCommand.Parameters[35].Value = ((System.DateTime)(Original_wdate)); | ||||
|             if ((Original_termDr.HasValue == true)) { | ||||
|                 this.Adapter.UpdateCommand.Parameters[36].Value = ((object)(0)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[37].Value = ((double)(Original_termDr.Value)); | ||||
|             } | ||||
|             else { | ||||
|                 this.Adapter.UpdateCommand.Parameters[36].Value = ((object)(1)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[37].Value = global::System.DBNull.Value; | ||||
|             } | ||||
|             this.Adapter.UpdateCommand.Parameters[38].Value = ((int)(idx)); | ||||
|             global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; | ||||
|             if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)  | ||||
|                         != global::System.Data.ConnectionState.Open)) { | ||||
| @@ -4704,6 +4783,7 @@ SELECT idx, cate, result, sdate, edate, term, title, contents, uid, tolist, mail | ||||
|                     string reason,  | ||||
|                     string wuid,  | ||||
|                     System.DateTime wdate,  | ||||
|                     global::System.Nullable<double> termDr,  | ||||
|                     int Original_idx,  | ||||
|                     string Original_cate,  | ||||
|                     string Original_result,  | ||||
| @@ -4715,8 +4795,9 @@ SELECT idx, cate, result, sdate, edate, term, title, contents, uid, tolist, mail | ||||
|                     global::System.Nullable<bool> Original_mail,  | ||||
|                     global::System.Nullable<bool> Original_mailsend,  | ||||
|                     string Original_wuid,  | ||||
|                     System.DateTime Original_wdate) { | ||||
|             return this.Update(cate, result, sdate, edate, term, title, contents, uid, tolist, mail, mailsend, reason, wuid, wdate, Original_idx, Original_cate, Original_result, Original_sdate, Original_edate, Original_term, Original_title, Original_uid, Original_mail, Original_mailsend, Original_wuid, Original_wdate, Original_idx); | ||||
|                     System.DateTime Original_wdate,  | ||||
|                     global::System.Nullable<double> Original_termDr) { | ||||
|             return this.Update(cate, result, sdate, edate, term, title, contents, uid, tolist, mail, mailsend, reason, wuid, wdate, termDr, Original_idx, Original_cate, Original_result, Original_sdate, Original_edate, Original_term, Original_title, Original_uid, Original_mail, Original_mailsend, Original_wuid, Original_wdate, Original_termDr, Original_idx); | ||||
|         } | ||||
|     } | ||||
|      | ||||
|   | ||||
| @@ -234,7 +234,7 @@ SELECT idx, bidx, header, cate, title, contents, [file], guid, wuid, wdate FROM | ||||
|               <DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Holyday" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill"> | ||||
|                 <DeleteCommand> | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||
|                     <CommandText>DELETE FROM [Holyday] WHERE (([idx] = @Original_idx) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_result = 1 AND [result] IS NULL) OR ([result] = @Original_result)) AND ((@IsNull_sdate = 1 AND [sdate] IS NULL) OR ([sdate] = @Original_sdate)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_term = 1 AND [term] IS NULL) OR ([term] = @Original_term)) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ((@IsNull_mail = 1 AND [mail] IS NULL) OR ([mail] = @Original_mail)) AND ((@IsNull_mailsend = 1 AND [mailsend] IS NULL) OR ([mailsend] = @Original_mailsend)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate))</CommandText> | ||||
|                     <CommandText>DELETE FROM [Holyday] WHERE (([idx] = @Original_idx) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_result = 1 AND [result] IS NULL) OR ([result] = @Original_result)) AND ((@IsNull_sdate = 1 AND [sdate] IS NULL) OR ([sdate] = @Original_sdate)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_term = 1 AND [term] IS NULL) OR ([term] = @Original_term)) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ((@IsNull_mail = 1 AND [mail] IS NULL) OR ([mail] = @Original_mail)) AND ((@IsNull_mailsend = 1 AND [mailsend] IS NULL) OR ([mailsend] = @Original_mailsend)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_termDr = 1 AND [termDr] IS NULL) OR ([termDr] = @Original_termDr)))</CommandText> | ||||
|                     <Parameters> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cate" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
| @@ -257,13 +257,15 @@ SELECT idx, bidx, header, cate, title, contents, [file], guid, wuid, wdate FROM | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_mailsend" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="mailsend" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_termDr" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="termDr" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_termDr" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="termDr" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                     </Parameters> | ||||
|                   </DbCommand> | ||||
|                 </DeleteCommand> | ||||
|                 <InsertCommand> | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||
|                     <CommandText>INSERT INTO [Holyday] ([cate], [result], [sdate], [edate], [term], [title], [contents], [uid], [tolist], [mail], [mailsend], [reason], [wuid], [wdate]) VALUES (@cate, @result, @sdate, @edate, @term, @title, @contents, @uid, @tolist, @mail, @mailsend, @reason, @wuid, @wdate); | ||||
| SELECT idx, cate, result, sdate, edate, term, title, contents, uid, tolist, mail, mailsend, reason, wuid, wdate FROM Holyday WHERE (idx = SCOPE_IDENTITY()) ORDER BY sdate, edate</CommandText> | ||||
|                     <CommandText>INSERT INTO [Holyday] ([cate], [result], [sdate], [edate], [term], [title], [contents], [uid], [tolist], [mail], [mailsend], [reason], [wuid], [wdate], [termDr]) VALUES (@cate, @result, @sdate, @edate, @term, @title, @contents, @uid, @tolist, @mail, @mailsend, @reason, @wuid, @wdate, @termDr); | ||||
| SELECT idx, cate, result, sdate, edate, term, title, contents, uid, tolist, mail, mailsend, reason, wuid, wdate, termDr FROM Holyday WHERE (idx = SCOPE_IDENTITY()) ORDER BY sdate, edate</CommandText> | ||||
|                     <Parameters> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@cate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@result" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="result" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
| @@ -279,12 +281,13 @@ SELECT idx, cate, result, sdate, edate, term, title, contents, uid, tolist, mail | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@reason" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="reason" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@termDr" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="termDr" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                     </Parameters> | ||||
|                   </DbCommand> | ||||
|                 </InsertCommand> | ||||
|                 <SelectCommand> | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="true"> | ||||
|                     <CommandText>SELECT  idx, cate, result, sdate, edate, term, title, contents, uid, tolist, mail, mailsend, reason, wuid, wdate | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||
|                     <CommandText>SELECT  idx, cate, result, sdate, edate, term, title, contents, uid, tolist, mail, mailsend, reason, wuid, wdate, termDr | ||||
| FROM     Holyday | ||||
| WHERE  (sdate >= @sd) AND (edate <= @ed) AND (wuid LIKE @uid) | ||||
| ORDER BY sdate, edate</CommandText> | ||||
| @@ -297,8 +300,8 @@ ORDER BY sdate, edate</CommandText> | ||||
|                 </SelectCommand> | ||||
|                 <UpdateCommand> | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||
|                     <CommandText>UPDATE [Holyday] SET [cate] = @cate, [result] = @result, [sdate] = @sdate, [edate] = @edate, [term] = @term, [title] = @title, [contents] = @contents, [uid] = @uid, [tolist] = @tolist, [mail] = @mail, [mailsend] = @mailsend, [reason] = @reason, [wuid] = @wuid, [wdate] = @wdate WHERE (([idx] = @Original_idx) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_result = 1 AND [result] IS NULL) OR ([result] = @Original_result)) AND ((@IsNull_sdate = 1 AND [sdate] IS NULL) OR ([sdate] = @Original_sdate)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_term = 1 AND [term] IS NULL) OR ([term] = @Original_term)) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ((@IsNull_mail = 1 AND [mail] IS NULL) OR ([mail] = @Original_mail)) AND ((@IsNull_mailsend = 1 AND [mailsend] IS NULL) OR ([mailsend] = @Original_mailsend)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate)); | ||||
| SELECT idx, cate, result, sdate, edate, term, title, contents, uid, tolist, mail, mailsend, reason, wuid, wdate FROM Holyday WHERE (idx = @idx) ORDER BY sdate, edate</CommandText> | ||||
|                     <CommandText>UPDATE [Holyday] SET [cate] = @cate, [result] = @result, [sdate] = @sdate, [edate] = @edate, [term] = @term, [title] = @title, [contents] = @contents, [uid] = @uid, [tolist] = @tolist, [mail] = @mail, [mailsend] = @mailsend, [reason] = @reason, [wuid] = @wuid, [wdate] = @wdate, [termDr] = @termDr WHERE (([idx] = @Original_idx) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_result = 1 AND [result] IS NULL) OR ([result] = @Original_result)) AND ((@IsNull_sdate = 1 AND [sdate] IS NULL) OR ([sdate] = @Original_sdate)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_term = 1 AND [term] IS NULL) OR ([term] = @Original_term)) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ((@IsNull_mail = 1 AND [mail] IS NULL) OR ([mail] = @Original_mail)) AND ((@IsNull_mailsend = 1 AND [mailsend] IS NULL) OR ([mailsend] = @Original_mailsend)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_termDr = 1 AND [termDr] IS NULL) OR ([termDr] = @Original_termDr))); | ||||
| SELECT idx, cate, result, sdate, edate, term, title, contents, uid, tolist, mail, mailsend, reason, wuid, wdate, termDr FROM Holyday WHERE (idx = @idx) ORDER BY sdate, edate</CommandText> | ||||
|                     <Parameters> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@cate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@result" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="result" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
| @@ -314,6 +317,7 @@ SELECT idx, cate, result, sdate, edate, term, title, contents, uid, tolist, mail | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@reason" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="reason" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@termDr" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="termDr" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cate" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_cate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cate" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
| @@ -335,6 +339,8 @@ SELECT idx, cate, result, sdate, edate, term, title, contents, uid, tolist, mail | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_mailsend" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="mailsend" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_termDr" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="termDr" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_termDr" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="termDr" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="GroupWare.dbo.Holyday" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                     </Parameters> | ||||
|                   </DbCommand> | ||||
| @@ -357,6 +363,7 @@ SELECT idx, cate, result, sdate, edate, term, title, contents, uid, tolist, mail | ||||
|               <Mapping SourceColumn="reason" DataSetColumn="reason" /> | ||||
|               <Mapping SourceColumn="wuid" DataSetColumn="wuid" /> | ||||
|               <Mapping SourceColumn="wdate" DataSetColumn="wdate" /> | ||||
|               <Mapping SourceColumn="termDr" DataSetColumn="termDr" /> | ||||
|             </Mappings> | ||||
|             <Sources /> | ||||
|           </TableAdapter> | ||||
| @@ -529,8 +536,8 @@ SELECT idx, cate, result, sdate, edate, term, title, contents, uid, tolist, mail | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="mail" msprop:Generator_ColumnVarNameInTable="columnmail" msprop:Generator_ColumnPropNameInRow="mail" msprop:Generator_ColumnPropNameInTable="mailColumn" msprop:Generator_UserColumnName="mail" type="xs:boolean" minOccurs="0" /> | ||||
|               <xs:element name="mailsend" msprop:Generator_ColumnVarNameInTable="columnmailsend" msprop:Generator_ColumnPropNameInRow="mailsend" msprop:Generator_ColumnPropNameInTable="mailsendColumn" msprop:Generator_UserColumnName="mailsend" type="xs:boolean" minOccurs="0" /> | ||||
|               <xs:element name="mail" msprop:nullValue="false" msprop:Generator_ColumnPropNameInRow="mail" msprop:Generator_ColumnVarNameInTable="columnmail" msprop:Generator_ColumnPropNameInTable="mailColumn" msprop:Generator_UserColumnName="mail" type="xs:boolean" minOccurs="0" /> | ||||
|               <xs:element name="mailsend" msprop:nullValue="false" msprop:Generator_ColumnPropNameInRow="mailsend" msprop:Generator_ColumnVarNameInTable="columnmailsend" msprop:Generator_ColumnPropNameInTable="mailsendColumn" msprop:Generator_UserColumnName="mailsend" type="xs:boolean" minOccurs="0" /> | ||||
|               <xs:element name="reason" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="reason" msprop:Generator_ColumnVarNameInTable="columnreason" msprop:Generator_ColumnPropNameInTable="reasonColumn" msprop:Generator_UserColumnName="reason" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
| @@ -546,6 +553,7 @@ SELECT idx, cate, result, sdate, edate, term, title, contents, uid, tolist, mail | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_UserColumnName="wdate" type="xs:dateTime" /> | ||||
|               <xs:element name="termDr" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="termDr" msprop:Generator_ColumnVarNameInTable="columntermDr" msprop:Generator_ColumnPropNameInTable="termDrColumn" msprop:Generator_UserColumnName="termDr" type="xs:double" minOccurs="0" /> | ||||
|             </xs:sequence> | ||||
|           </xs:complexType> | ||||
|         </xs:element> | ||||
|   | ||||
							
								
								
									
										181
									
								
								SubProject/FCM0000/Board/fRequestItem.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										181
									
								
								SubProject/FCM0000/Board/fRequestItem.Designer.cs
									
									
									
										generated
									
									
									
								
							| @@ -31,6 +31,8 @@ | ||||
|             this.components = new System.ComponentModel.Container(); | ||||
|             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fRequestItem)); | ||||
|             this.bn = new System.Windows.Forms.BindingNavigator(this.components); | ||||
|             this.bs = new System.Windows.Forms.BindingSource(this.components); | ||||
|             this.dsMSSQL = new FCM0000.dsMSSQL(); | ||||
|             this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel(); | ||||
|             this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton(); | ||||
| @@ -44,6 +46,14 @@ | ||||
|             this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.boardBindingNavigatorSaveItem = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.dv1 = new System.Windows.Forms.DataGridView(); | ||||
|             this.pdateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
|             this.titleDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
|             this.model = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
|             this.sidDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
|             this.qtyDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
|             this.project = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
|             this.bMail = new System.Windows.Forms.DataGridViewCheckBoxColumn(); | ||||
|             this.memo = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
|             this.cm = new System.Windows.Forms.ContextMenuStrip(this.components); | ||||
|             this.autoResizeColumnsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator(); | ||||
| @@ -64,26 +74,16 @@ | ||||
|             this.label4 = new System.Windows.Forms.Label(); | ||||
|             this.label3 = new System.Windows.Forms.Label(); | ||||
|             this.label2 = new System.Windows.Forms.Label(); | ||||
|             this.bs = new System.Windows.Forms.BindingSource(this.components); | ||||
|             this.dsMSSQL = new FCM0000.dsMSSQL(); | ||||
|             this.tam = new FCM0000.dsMSSQLTableAdapters.TableAdapterManager(); | ||||
|             this.ta = new FCM0000.dsMSSQLTableAdapters.RequestItemTableAdapter(); | ||||
|             this.pdateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
|             this.titleDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
|             this.model = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
|             this.sidDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
|             this.qtyDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
|             this.project = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
|             this.bMail = new System.Windows.Forms.DataGridViewCheckBoxColumn(); | ||||
|             this.memo = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); | ||||
|             this.bn.SuspendLayout(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.dv1)).BeginInit(); | ||||
|             this.cm.SuspendLayout(); | ||||
|             this.toolStrip1.SuspendLayout(); | ||||
|             this.panel1.SuspendLayout(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit(); | ||||
|             this.SuspendLayout(); | ||||
|             //  | ||||
|             // bn | ||||
| @@ -106,17 +106,27 @@ | ||||
|             this.bindingNavigatorAddNewItem, | ||||
|             this.bindingNavigatorDeleteItem, | ||||
|             this.boardBindingNavigatorSaveItem}); | ||||
|             this.bn.Location = new System.Drawing.Point(0, 474); | ||||
|             this.bn.Location = new System.Drawing.Point(0, 550); | ||||
|             this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem; | ||||
|             this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem; | ||||
|             this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem; | ||||
|             this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem; | ||||
|             this.bn.Name = "bn"; | ||||
|             this.bn.PositionItem = this.bindingNavigatorPositionItem; | ||||
|             this.bn.Size = new System.Drawing.Size(784, 25); | ||||
|             this.bn.Size = new System.Drawing.Size(1046, 25); | ||||
|             this.bn.TabIndex = 0; | ||||
|             this.bn.Text = "bindingNavigator1"; | ||||
|             //  | ||||
|             // bs | ||||
|             //  | ||||
|             this.bs.DataMember = "RequestItem"; | ||||
|             this.bs.DataSource = this.dsMSSQL; | ||||
|             //  | ||||
|             // dsMSSQL | ||||
|             //  | ||||
|             this.dsMSSQL.DataSetName = "dsMSSQL"; | ||||
|             this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; | ||||
|             //  | ||||
|             // bindingNavigatorCountItem | ||||
|             //  | ||||
|             this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem"; | ||||
| @@ -234,11 +244,67 @@ | ||||
|             this.dv1.ReadOnly = true; | ||||
|             this.dv1.RowTemplate.Height = 23; | ||||
|             this.dv1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; | ||||
|             this.dv1.Size = new System.Drawing.Size(612, 429); | ||||
|             this.dv1.Size = new System.Drawing.Size(874, 505); | ||||
|             this.dv1.TabIndex = 2; | ||||
|             this.dv1.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dv1_DataError); | ||||
|             this.dv1.DoubleClick += new System.EventHandler(this.boardDataGridView_DoubleClick); | ||||
|             //  | ||||
|             // pdateDataGridViewTextBoxColumn | ||||
|             //  | ||||
|             this.pdateDataGridViewTextBoxColumn.DataPropertyName = "pdate"; | ||||
|             this.pdateDataGridViewTextBoxColumn.HeaderText = "Pdate"; | ||||
|             this.pdateDataGridViewTextBoxColumn.Name = "pdateDataGridViewTextBoxColumn"; | ||||
|             this.pdateDataGridViewTextBoxColumn.ReadOnly = true; | ||||
|             //  | ||||
|             // titleDataGridViewTextBoxColumn | ||||
|             //  | ||||
|             this.titleDataGridViewTextBoxColumn.DataPropertyName = "title"; | ||||
|             this.titleDataGridViewTextBoxColumn.HeaderText = "Item"; | ||||
|             this.titleDataGridViewTextBoxColumn.Name = "titleDataGridViewTextBoxColumn"; | ||||
|             this.titleDataGridViewTextBoxColumn.ReadOnly = true; | ||||
|             //  | ||||
|             // model | ||||
|             //  | ||||
|             this.model.DataPropertyName = "model"; | ||||
|             this.model.HeaderText = "Model"; | ||||
|             this.model.Name = "model"; | ||||
|             this.model.ReadOnly = true; | ||||
|             //  | ||||
|             // sidDataGridViewTextBoxColumn | ||||
|             //  | ||||
|             this.sidDataGridViewTextBoxColumn.DataPropertyName = "sid"; | ||||
|             this.sidDataGridViewTextBoxColumn.HeaderText = "sid"; | ||||
|             this.sidDataGridViewTextBoxColumn.Name = "sidDataGridViewTextBoxColumn"; | ||||
|             this.sidDataGridViewTextBoxColumn.ReadOnly = true; | ||||
|             //  | ||||
|             // qtyDataGridViewTextBoxColumn | ||||
|             //  | ||||
|             this.qtyDataGridViewTextBoxColumn.DataPropertyName = "qty"; | ||||
|             this.qtyDataGridViewTextBoxColumn.HeaderText = "qty"; | ||||
|             this.qtyDataGridViewTextBoxColumn.Name = "qtyDataGridViewTextBoxColumn"; | ||||
|             this.qtyDataGridViewTextBoxColumn.ReadOnly = true; | ||||
|             //  | ||||
|             // project | ||||
|             //  | ||||
|             this.project.DataPropertyName = "projectName"; | ||||
|             this.project.HeaderText = "project"; | ||||
|             this.project.Name = "project"; | ||||
|             this.project.ReadOnly = true; | ||||
|             //  | ||||
|             // bMail | ||||
|             //  | ||||
|             this.bMail.DataPropertyName = "bMail"; | ||||
|             this.bMail.HeaderText = "Mail"; | ||||
|             this.bMail.Name = "bMail"; | ||||
|             this.bMail.ReadOnly = true; | ||||
|             //  | ||||
|             // memo | ||||
|             //  | ||||
|             this.memo.DataPropertyName = "memo"; | ||||
|             this.memo.HeaderText = "memo"; | ||||
|             this.memo.Name = "memo"; | ||||
|             this.memo.ReadOnly = true; | ||||
|             //  | ||||
|             // cm | ||||
|             //  | ||||
|             this.cm.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { | ||||
| @@ -286,7 +352,7 @@ | ||||
|             this.btSearch}); | ||||
|             this.toolStrip1.Location = new System.Drawing.Point(0, 0); | ||||
|             this.toolStrip1.Name = "toolStrip1"; | ||||
|             this.toolStrip1.Size = new System.Drawing.Size(784, 25); | ||||
|             this.toolStrip1.Size = new System.Drawing.Size(1046, 25); | ||||
|             this.toolStrip1.TabIndex = 4; | ||||
|             this.toolStrip1.Text = "toolStrip1"; | ||||
|             //  | ||||
| @@ -335,9 +401,9 @@ | ||||
|             this.label1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "url", true)); | ||||
|             this.label1.Dock = System.Windows.Forms.DockStyle.Bottom; | ||||
|             this.label1.ForeColor = System.Drawing.Color.White; | ||||
|             this.label1.Location = new System.Drawing.Point(0, 454); | ||||
|             this.label1.Location = new System.Drawing.Point(0, 530); | ||||
|             this.label1.Name = "label1"; | ||||
|             this.label1.Size = new System.Drawing.Size(784, 20); | ||||
|             this.label1.Size = new System.Drawing.Size(1046, 20); | ||||
|             this.label1.TabIndex = 5; | ||||
|             this.label1.Text = "-- URL --"; | ||||
|             this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; | ||||
| @@ -352,9 +418,9 @@ | ||||
|             this.panel1.Controls.Add(this.label3); | ||||
|             this.panel1.Controls.Add(this.label2); | ||||
|             this.panel1.Dock = System.Windows.Forms.DockStyle.Right; | ||||
|             this.panel1.Location = new System.Drawing.Point(612, 25); | ||||
|             this.panel1.Location = new System.Drawing.Point(874, 25); | ||||
|             this.panel1.Name = "panel1"; | ||||
|             this.panel1.Size = new System.Drawing.Size(172, 429); | ||||
|             this.panel1.Size = new System.Drawing.Size(172, 505); | ||||
|             this.panel1.TabIndex = 7; | ||||
|             //  | ||||
|             // label7 | ||||
| @@ -363,7 +429,7 @@ | ||||
|             this.label7.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.label7.Location = new System.Drawing.Point(0, 300); | ||||
|             this.label7.Name = "label7"; | ||||
|             this.label7.Size = new System.Drawing.Size(172, 129); | ||||
|             this.label7.Size = new System.Drawing.Size(172, 205); | ||||
|             this.label7.TabIndex = 5; | ||||
|             this.label7.Text = "--"; | ||||
|             this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; | ||||
| @@ -429,21 +495,12 @@ | ||||
|             this.label2.Text = "TO List"; | ||||
|             this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; | ||||
|             //  | ||||
|             // bs | ||||
|             //  | ||||
|             this.bs.DataMember = "RequestItem"; | ||||
|             this.bs.DataSource = this.dsMSSQL; | ||||
|             //  | ||||
|             // dsMSSQL | ||||
|             //  | ||||
|             this.dsMSSQL.DataSetName = "dsMSSQL"; | ||||
|             this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; | ||||
|             //  | ||||
|             // tam | ||||
|             //  | ||||
|             this.tam.BackupDataSetBeforeUpdate = false; | ||||
|             this.tam.BoardTableAdapter = null; | ||||
|             this.tam.CommonTableAdapter = null; | ||||
|             this.tam.CustomsTableAdapter = null; | ||||
|             this.tam.InventoryTableAdapter = null; | ||||
|             this.tam.ItemsTableAdapter = null; | ||||
|             this.tam.MailDataTableAdapter = null; | ||||
| @@ -456,67 +513,11 @@ | ||||
|             //  | ||||
|             this.ta.ClearBeforeFill = true; | ||||
|             //  | ||||
|             // pdateDataGridViewTextBoxColumn | ||||
|             //  | ||||
|             this.pdateDataGridViewTextBoxColumn.DataPropertyName = "pdate"; | ||||
|             this.pdateDataGridViewTextBoxColumn.HeaderText = "Pdate"; | ||||
|             this.pdateDataGridViewTextBoxColumn.Name = "pdateDataGridViewTextBoxColumn"; | ||||
|             this.pdateDataGridViewTextBoxColumn.ReadOnly = true; | ||||
|             //  | ||||
|             // titleDataGridViewTextBoxColumn | ||||
|             //  | ||||
|             this.titleDataGridViewTextBoxColumn.DataPropertyName = "title"; | ||||
|             this.titleDataGridViewTextBoxColumn.HeaderText = "Item"; | ||||
|             this.titleDataGridViewTextBoxColumn.Name = "titleDataGridViewTextBoxColumn"; | ||||
|             this.titleDataGridViewTextBoxColumn.ReadOnly = true; | ||||
|             //  | ||||
|             // model | ||||
|             //  | ||||
|             this.model.DataPropertyName = "model"; | ||||
|             this.model.HeaderText = "Model"; | ||||
|             this.model.Name = "model"; | ||||
|             this.model.ReadOnly = true; | ||||
|             //  | ||||
|             // sidDataGridViewTextBoxColumn | ||||
|             //  | ||||
|             this.sidDataGridViewTextBoxColumn.DataPropertyName = "sid"; | ||||
|             this.sidDataGridViewTextBoxColumn.HeaderText = "sid"; | ||||
|             this.sidDataGridViewTextBoxColumn.Name = "sidDataGridViewTextBoxColumn"; | ||||
|             this.sidDataGridViewTextBoxColumn.ReadOnly = true; | ||||
|             //  | ||||
|             // qtyDataGridViewTextBoxColumn | ||||
|             //  | ||||
|             this.qtyDataGridViewTextBoxColumn.DataPropertyName = "qty"; | ||||
|             this.qtyDataGridViewTextBoxColumn.HeaderText = "qty"; | ||||
|             this.qtyDataGridViewTextBoxColumn.Name = "qtyDataGridViewTextBoxColumn"; | ||||
|             this.qtyDataGridViewTextBoxColumn.ReadOnly = true; | ||||
|             //  | ||||
|             // project | ||||
|             //  | ||||
|             this.project.DataPropertyName = "projectName"; | ||||
|             this.project.HeaderText = "project"; | ||||
|             this.project.Name = "project"; | ||||
|             this.project.ReadOnly = true; | ||||
|             //  | ||||
|             // bMail | ||||
|             //  | ||||
|             this.bMail.DataPropertyName = "bMail"; | ||||
|             this.bMail.HeaderText = "Mail"; | ||||
|             this.bMail.Name = "bMail"; | ||||
|             this.bMail.ReadOnly = true; | ||||
|             //  | ||||
|             // memo | ||||
|             //  | ||||
|             this.memo.DataPropertyName = "memo"; | ||||
|             this.memo.HeaderText = "memo"; | ||||
|             this.memo.Name = "memo"; | ||||
|             this.memo.ReadOnly = true; | ||||
|             //  | ||||
|             // fRequestItem | ||||
|             //  | ||||
|             this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); | ||||
|             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | ||||
|             this.ClientSize = new System.Drawing.Size(784, 499); | ||||
|             this.ClientSize = new System.Drawing.Size(1046, 575); | ||||
|             this.Controls.Add(this.dv1); | ||||
|             this.Controls.Add(this.panel1); | ||||
|             this.Controls.Add(this.label1); | ||||
| @@ -528,13 +529,13 @@ | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit(); | ||||
|             this.bn.ResumeLayout(false); | ||||
|             this.bn.PerformLayout(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.dv1)).EndInit(); | ||||
|             this.cm.ResumeLayout(false); | ||||
|             this.toolStrip1.ResumeLayout(false); | ||||
|             this.toolStrip1.PerformLayout(); | ||||
|             this.panel1.ResumeLayout(false); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit(); | ||||
|             this.ResumeLayout(false); | ||||
|             this.PerformLayout(); | ||||
|  | ||||
|   | ||||
| @@ -198,6 +198,9 @@ | ||||
|         dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII= | ||||
| </value> | ||||
|   </data> | ||||
|   <metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>17, 17</value> | ||||
|   </metadata> | ||||
|   <metadata name="model.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>True</value> | ||||
|   </metadata> | ||||
| @@ -227,9 +230,6 @@ | ||||
|         dBo6zn/3OB7XHovRyuhQ6+hhYKA9DpL+A1keRebNAhkaJH0OHOcP031C4EjYr6wAAAAASUVORK5CYII= | ||||
| </value> | ||||
|   </data> | ||||
|   <metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>17, 17</value> | ||||
|   </metadata> | ||||
|   <metadata name="tam.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>186, 17</value> | ||||
|   </metadata> | ||||
|   | ||||
| @@ -35,42 +35,18 @@ | ||||
|     <Reference Include="ArSetting.Net4"> | ||||
|       <HintPath>..\..\DLL\ArSetting.Net4.dll</HintPath> | ||||
|     </Reference> | ||||
|     <Reference Include="FarPoint.CalcEngine, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457"> | ||||
|       <Private>True</Private> | ||||
|     </Reference> | ||||
|     <Reference Include="FarPoint.Excel, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457"> | ||||
|       <Private>True</Private> | ||||
|     </Reference> | ||||
|     <Reference Include="FarPoint.Localization, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457"> | ||||
|       <Private>True</Private> | ||||
|     </Reference> | ||||
|     <Reference Include="FarPoint.PDF, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457"> | ||||
|       <Private>True</Private> | ||||
|     </Reference> | ||||
|     <Reference Include="FarPoint.PluginCalendar.WinForms, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457"> | ||||
|       <Private>True</Private> | ||||
|     </Reference> | ||||
|     <Reference Include="FarPoint.Win, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457"> | ||||
|       <Private>True</Private> | ||||
|     </Reference> | ||||
|     <Reference Include="FarPoint.Win.Chart, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457"> | ||||
|       <Private>True</Private> | ||||
|     </Reference> | ||||
|     <Reference Include="FarPoint.Win.Spread, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457, processorArchitecture=MSIL"> | ||||
|       <Private>True</Private> | ||||
|     </Reference> | ||||
|     <Reference Include="GrapeCity.CalcEngine, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457"> | ||||
|       <Private>True</Private> | ||||
|     </Reference> | ||||
|     <Reference Include="GrapeCity.Spreadsheet, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457"> | ||||
|       <Private>True</Private> | ||||
|     </Reference> | ||||
|     <Reference Include="GrapeCity.Spreadsheet.Win, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457"> | ||||
|       <Private>True</Private> | ||||
|     </Reference> | ||||
|     <Reference Include="GrapeCity.Win.PluginInputMan, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457, processorArchitecture=MSIL"> | ||||
|       <Private>True</Private> | ||||
|     </Reference> | ||||
|     <Reference Include="FarPoint.CalcEngine, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457" /> | ||||
|     <Reference Include="FarPoint.Excel, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457" /> | ||||
|     <Reference Include="FarPoint.Localization, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457" /> | ||||
|     <Reference Include="FarPoint.PDF, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457" /> | ||||
|     <Reference Include="FarPoint.PluginCalendar.WinForms, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457" /> | ||||
|     <Reference Include="FarPoint.Win, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457" /> | ||||
|     <Reference Include="FarPoint.Win.Chart, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457" /> | ||||
|     <Reference Include="FarPoint.Win.Spread, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457, processorArchitecture=MSIL" /> | ||||
|     <Reference Include="GrapeCity.CalcEngine, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457" /> | ||||
|     <Reference Include="GrapeCity.Spreadsheet, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457" /> | ||||
|     <Reference Include="GrapeCity.Spreadsheet.Win, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457" /> | ||||
|     <Reference Include="GrapeCity.Win.PluginInputMan, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457, processorArchitecture=MSIL" /> | ||||
|     <Reference Include="libxl.net"> | ||||
|       <HintPath>..\..\DLL\libxl.net.dll</HintPath> | ||||
|     </Reference> | ||||
| @@ -193,6 +169,12 @@ | ||||
|     <Compile Include="Board\fMailform.Designer.cs"> | ||||
|       <DependentUpon>fMailform.cs</DependentUpon> | ||||
|     </Compile> | ||||
|     <Compile Include="Customer_Import.cs"> | ||||
|       <SubType>Form</SubType> | ||||
|     </Compile> | ||||
|     <Compile Include="Customer_Import.Designer.cs"> | ||||
|       <DependentUpon>Customer_Import.cs</DependentUpon> | ||||
|     </Compile> | ||||
|     <Compile Include="fSelectDate.cs"> | ||||
|       <SubType>Form</SubType> | ||||
|     </Compile> | ||||
| @@ -244,6 +226,9 @@ | ||||
|     <EmbeddedResource Include="Board\fMailform.resx"> | ||||
|       <DependentUpon>fMailform.cs</DependentUpon> | ||||
|     </EmbeddedResource> | ||||
|     <EmbeddedResource Include="Customer_Import.resx"> | ||||
|       <DependentUpon>Customer_Import.cs</DependentUpon> | ||||
|     </EmbeddedResource> | ||||
|     <EmbeddedResource Include="fSelectDate.resx"> | ||||
|       <DependentUpon>fSelectDate.cs</DependentUpon> | ||||
|     </EmbeddedResource> | ||||
|   | ||||
							
								
								
									
										2276
									
								
								SubProject/FCM0000/dsMSSQL.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2276
									
								
								SubProject/FCM0000/dsMSSQL.Designer.cs
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @@ -2,7 +2,7 @@ | ||||
| <xs:schema id="dsMSSQL" targetNamespace="http://tempuri.org/dsMSSQL.xsd" xmlns:mstns="http://tempuri.org/dsMSSQL.xsd" xmlns="http://tempuri.org/dsMSSQL.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified"> | ||||
|   <xs:annotation> | ||||
|     <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource"> | ||||
|       <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> | ||||
|       <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" GeneratorFunctionsComponentClassName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" UserFunctionsComponentName="QueriesTableAdapter" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> | ||||
|         <Connections> | ||||
|           <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="gwcs" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="gwcs (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.FCM0000.Properties.Settings.GlobalReference.Default.gwcs" Provider="System.Data.SqlClient" /> | ||||
|         </Connections> | ||||
| @@ -1040,13 +1040,19 @@ WHERE  (idx = @idx)</CommandText> | ||||
|               <DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Customs" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill"> | ||||
|                 <DeleteCommand> | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||
|                     <CommandText>DELETE FROM [Customs] WHERE (([idx] = @Original_idx) AND ((@IsNull_grp = 1 AND [grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_tel = 1 AND [tel] IS NULL) OR ([tel] = @Original_tel)) AND ((@IsNull_fax = 1 AND [fax] IS NULL) OR ([fax] = @Original_fax)) AND ((@IsNull_email = 1 AND [email] IS NULL) OR ([email] = @Original_email)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate))</CommandText> | ||||
|                     <CommandText>DELETE FROM [Customs] WHERE (([idx] = @Original_idx) AND ((@IsNull_grp = 1 AND [grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_owner = 1 AND [owner] IS NULL) OR ([owner] = @Original_owner)) AND ((@IsNull_ownertel = 1 AND [ownertel] IS NULL) OR ([ownertel] = @Original_ownertel)) AND ((@IsNull_address = 1 AND [address] IS NULL) OR ([address] = @Original_address)) AND ((@IsNull_tel = 1 AND [tel] IS NULL) OR ([tel] = @Original_tel)) AND ((@IsNull_fax = 1 AND [fax] IS NULL) OR ([fax] = @Original_fax)) AND ((@IsNull_email = 1 AND [email] IS NULL) OR ([email] = @Original_email)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_uptae = 1 AND [uptae] IS NULL) OR ([uptae] = @Original_uptae)) AND ((@IsNull_staff = 1 AND [staff] IS NULL) OR ([staff] = @Original_staff)) AND ((@IsNull_stafftel = 1 AND [stafftel] IS NULL) OR ([stafftel] = @Original_stafftel)) AND ((@IsNull_name2 = 1 AND [name2] IS NULL) OR ([name2] = @Original_name2)))</CommandText> | ||||
|                     <Parameters> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_grp" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="grp" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_grp" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="grp" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_owner" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="owner" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_owner" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="owner" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ownertel" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ownertel" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ownertel" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ownertel" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_address" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="address" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="address" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tel" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tel" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_tel" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="tel" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_fax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="fax" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
| @@ -1057,50 +1063,79 @@ WHERE  (idx = @idx)</CommandText> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_uptae" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="uptae" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_uptae" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="uptae" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_staff" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="staff" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_staff" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="staff" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_stafftel" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="stafftel" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_stafftel" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="stafftel" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_name2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="name2" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_name2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name2" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                     </Parameters> | ||||
|                   </DbCommand> | ||||
|                 </DeleteCommand> | ||||
|                 <InsertCommand> | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||
|                     <CommandText>INSERT INTO [Customs] ([grp], [name], [tel], [fax], [email], [memo], [wuid], [wdate]) VALUES (@grp, @name, @tel, @fax, @email, @memo, @wuid, @wdate); | ||||
| SELECT idx, grp, name, tel, fax, email, memo, wuid, wdate FROM Customs WHERE (idx = SCOPE_IDENTITY())</CommandText> | ||||
|                     <CommandText>INSERT INTO [Customs] ([grp], [name], [owner], [ownertel], [address], [tel], [fax], [email], [memo], [wuid], [wdate], [uptae], [staff], [stafftel], [name2]) VALUES (@grp, @name, @owner, @ownertel, @address, @tel, @fax, @email, @memo, @wuid, @wdate, @uptae, @staff, @stafftel, @name2); | ||||
| SELECT idx, grp, name, owner, ownertel, address, tel, fax, email, memo, wuid, wdate, uptae, staff, stafftel, name2 FROM Customs WHERE (idx = SCOPE_IDENTITY()) ORDER BY name</CommandText> | ||||
|                     <Parameters> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@grp" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="grp" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@owner" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="owner" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ownertel" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ownertel" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="address" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@tel" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="tel" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@fax" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="fax" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@email" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="email" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@uptae" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="uptae" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@staff" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="staff" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@stafftel" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="stafftel" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@name2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name2" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                     </Parameters> | ||||
|                   </DbCommand> | ||||
|                 </InsertCommand> | ||||
|                 <SelectCommand> | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="true"> | ||||
|                     <CommandText>SELECT  Customs.* | ||||
| FROM     Customs</CommandText> | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||
|                     <CommandText>SELECT  idx, grp, name, owner, ownertel, address, tel, fax, email, memo, wuid, wdate, uptae, staff, stafftel, name2 | ||||
| FROM     Customs | ||||
| ORDER BY name</CommandText> | ||||
|                     <Parameters /> | ||||
|                   </DbCommand> | ||||
|                 </SelectCommand> | ||||
|                 <UpdateCommand> | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||
|                     <CommandText>UPDATE [Customs] SET [grp] = @grp, [name] = @name, [tel] = @tel, [fax] = @fax, [email] = @email, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate WHERE (([idx] = @Original_idx) AND ((@IsNull_grp = 1 AND [grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_tel = 1 AND [tel] IS NULL) OR ([tel] = @Original_tel)) AND ((@IsNull_fax = 1 AND [fax] IS NULL) OR ([fax] = @Original_fax)) AND ((@IsNull_email = 1 AND [email] IS NULL) OR ([email] = @Original_email)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate)); | ||||
| SELECT idx, grp, name, tel, fax, email, memo, wuid, wdate FROM Customs WHERE (idx = @idx)</CommandText> | ||||
|                     <CommandText>UPDATE [Customs] SET [grp] = @grp, [name] = @name, [owner] = @owner, [ownertel] = @ownertel, [address] = @address, [tel] = @tel, [fax] = @fax, [email] = @email, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate, [uptae] = @uptae, [staff] = @staff, [stafftel] = @stafftel, [name2] = @name2 WHERE (([idx] = @Original_idx) AND ((@IsNull_grp = 1 AND [grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_owner = 1 AND [owner] IS NULL) OR ([owner] = @Original_owner)) AND ((@IsNull_ownertel = 1 AND [ownertel] IS NULL) OR ([ownertel] = @Original_ownertel)) AND ((@IsNull_address = 1 AND [address] IS NULL) OR ([address] = @Original_address)) AND ((@IsNull_tel = 1 AND [tel] IS NULL) OR ([tel] = @Original_tel)) AND ((@IsNull_fax = 1 AND [fax] IS NULL) OR ([fax] = @Original_fax)) AND ((@IsNull_email = 1 AND [email] IS NULL) OR ([email] = @Original_email)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_uptae = 1 AND [uptae] IS NULL) OR ([uptae] = @Original_uptae)) AND ((@IsNull_staff = 1 AND [staff] IS NULL) OR ([staff] = @Original_staff)) AND ((@IsNull_stafftel = 1 AND [stafftel] IS NULL) OR ([stafftel] = @Original_stafftel)) AND ((@IsNull_name2 = 1 AND [name2] IS NULL) OR ([name2] = @Original_name2))); | ||||
| SELECT idx, grp, name, owner, ownertel, address, tel, fax, email, memo, wuid, wdate, uptae, staff, stafftel, name2 FROM Customs WHERE (idx = @idx) ORDER BY name</CommandText> | ||||
|                     <Parameters> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@grp" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="grp" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@owner" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="owner" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ownertel" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ownertel" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="address" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@tel" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="tel" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@fax" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="fax" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@email" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="email" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@uptae" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="uptae" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@staff" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="staff" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@stafftel" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="stafftel" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@name2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name2" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_grp" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="grp" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_grp" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="grp" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_owner" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="owner" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_owner" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="owner" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ownertel" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ownertel" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ownertel" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ownertel" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_address" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="address" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="address" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tel" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tel" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_tel" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="tel" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_fax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="fax" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
| @@ -1111,6 +1146,14 @@ SELECT idx, grp, name, tel, fax, email, memo, wuid, wdate FROM Customs WHERE (id | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_uptae" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="uptae" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_uptae" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="uptae" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_staff" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="staff" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_staff" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="staff" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_stafftel" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="stafftel" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_stafftel" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="stafftel" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_name2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="name2" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_name2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name2" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="GroupWare.dbo.Customs" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                     </Parameters> | ||||
|                   </DbCommand> | ||||
| @@ -1127,14 +1170,32 @@ SELECT idx, grp, name, tel, fax, email, memo, wuid, wdate FROM Customs WHERE (id | ||||
|               <Mapping SourceColumn="memo" DataSetColumn="memo" /> | ||||
|               <Mapping SourceColumn="wuid" DataSetColumn="wuid" /> | ||||
|               <Mapping SourceColumn="wdate" DataSetColumn="wdate" /> | ||||
|               <Mapping SourceColumn="owner" DataSetColumn="owner" /> | ||||
|               <Mapping SourceColumn="ownertel" DataSetColumn="ownertel" /> | ||||
|               <Mapping SourceColumn="address" DataSetColumn="address" /> | ||||
|               <Mapping SourceColumn="uptae" DataSetColumn="uptae" /> | ||||
|               <Mapping SourceColumn="staff" DataSetColumn="staff" /> | ||||
|               <Mapping SourceColumn="stafftel" DataSetColumn="stafftel" /> | ||||
|               <Mapping SourceColumn="name2" DataSetColumn="name2" /> | ||||
|             </Mappings> | ||||
|             <Sources> | ||||
|               <DbSource ConnectionRef="gwcs (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="ExistName" Modifier="Public" Name="ExistName" QueryType="Scalar" ScalarCallRetval="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="ExistName"> | ||||
|                 <SelectCommand> | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="true"> | ||||
|                     <CommandText>SELECT  ISNULL(COUNT(*), 0) AS Expr1 | ||||
| FROM     Customs | ||||
| WHERE  (ISNULL(name, N'') LIKE @name) OR | ||||
|                (ISNULL(name2, N'') LIKE @name)</CommandText> | ||||
|                     <Parameters> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="name" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="String" Direction="Input" ParameterName="@name" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                     </Parameters> | ||||
|                   </DbCommand> | ||||
|                 </SelectCommand> | ||||
|               </DbSource> | ||||
|               <DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Customs" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillbyGrp" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetbyGrp" GeneratorSourceName="FillbyGrp" GetMethodModifier="Public" GetMethodName="GetbyGrp" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetbyGrp" UserSourceName="FillbyGrp"> | ||||
|                 <SelectCommand> | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="true"> | ||||
|                     <CommandText>SELECT  Customs.* | ||||
| FROM     Customs | ||||
| where Grp = @grp</CommandText> | ||||
|                     <CommandText>SELECT address, email, fax, grp, idx, memo, name, name2, owner, ownertel, staff, stafftel, tel, uptae, wdate, wuid FROM Customs WHERE (grp = @grp)</CommandText> | ||||
|                     <Parameters> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="grp" ColumnName="grp" DataSourceName="GroupWare.dbo.Customs" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@grp" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="grp" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                     </Parameters> | ||||
| @@ -1144,19 +1205,132 @@ where Grp = @grp</CommandText> | ||||
|               <DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Customs" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillSearch" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetSearch" GeneratorSourceName="FillSearch" GetMethodModifier="Public" GetMethodName="GetSearch" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetSearch" UserSourceName="FillSearch"> | ||||
|                 <SelectCommand> | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="true"> | ||||
|                     <CommandText>SELECT  Customs.* | ||||
| FROM     Customs | ||||
| where name like @search or tel like @search or email like @search or memo like @search</CommandText> | ||||
|                     <CommandText>SELECT address, email, fax, grp, idx, memo, name, name2, owner, ownertel, staff, stafftel, tel, uptae, wdate, wuid FROM Customs WHERE (ISNULL(name, N'') LIKE @search) OR (ISNULL(tel, N'') LIKE @search) OR (ISNULL(email, N'') LIKE @search) OR (ISNULL(name2, N'') LIKE @search) OR (memo LIKE @search)</CommandText> | ||||
|                     <Parameters> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="search" ColumnName="name" DataSourceName="GroupWare.dbo.Customs" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@search" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="search" ColumnName="" DataSourceName="" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@search" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                     </Parameters> | ||||
|                   </DbCommand> | ||||
|                 </SelectCommand> | ||||
|               </DbSource> | ||||
|             </Sources> | ||||
|           </TableAdapter> | ||||
|         </Tables> | ||||
|           <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="StaffTableAdapter" GeneratorDataComponentClassName="StaffTableAdapter" Name="Staff" UserDataComponentName="StaffTableAdapter"> | ||||
|             <MainSource> | ||||
|               <DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Staff" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill"> | ||||
|                 <DeleteCommand> | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||
|                     <CommandText>DELETE FROM [Staff] WHERE (([idx] = @Original_idx) AND ((@IsNull_cid = 1 AND [cid] IS NULL) OR ([cid] = @Original_cid)) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_grade = 1 AND [grade] IS NULL) OR ([grade] = @Original_grade)) AND ((@IsNull_dept = 1 AND [dept] IS NULL) OR ([dept] = @Original_dept)) AND ((@IsNull_tel = 1 AND [tel] IS NULL) OR ([tel] = @Original_tel)) AND ((@IsNull_email = 1 AND [email] IS NULL) OR ([email] = @Original_email)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate))</CommandText> | ||||
|                     <Parameters> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cid" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_cid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cid" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_grade" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="grade" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_grade" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="grade" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dept" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dept" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dept" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dept" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tel" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tel" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_tel" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="tel" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_email" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="email" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_email" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="email" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_memo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                     </Parameters> | ||||
|                   </DbCommand> | ||||
|                 </DeleteCommand> | ||||
|                 <InsertCommand> | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||
|                     <CommandText>INSERT INTO [Staff] ([cid], [name], [grade], [dept], [tel], [email], [memo], [wuid], [wdate]) VALUES (@cid, @name, @grade, @dept, @tel, @email, @memo, @wuid, @wdate); | ||||
| SELECT idx, cid, name, grade, dept, tel, email, memo, wuid, wdate FROM Staff WHERE (idx = SCOPE_IDENTITY())</CommandText> | ||||
|                     <Parameters> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@cid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cid" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@grade" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="grade" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dept" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dept" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@tel" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="tel" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@email" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="email" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                     </Parameters> | ||||
|                   </DbCommand> | ||||
|                 </InsertCommand> | ||||
|                 <SelectCommand> | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="true"> | ||||
|                     <CommandText>SELECT  Staff.* | ||||
| FROM     Staff</CommandText> | ||||
|                     <Parameters /> | ||||
|                   </DbCommand> | ||||
|                 </SelectCommand> | ||||
|                 <UpdateCommand> | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||
|                     <CommandText>UPDATE [Staff] SET [cid] = @cid, [name] = @name, [grade] = @grade, [dept] = @dept, [tel] = @tel, [email] = @email, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate WHERE (([idx] = @Original_idx) AND ((@IsNull_cid = 1 AND [cid] IS NULL) OR ([cid] = @Original_cid)) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_grade = 1 AND [grade] IS NULL) OR ([grade] = @Original_grade)) AND ((@IsNull_dept = 1 AND [dept] IS NULL) OR ([dept] = @Original_dept)) AND ((@IsNull_tel = 1 AND [tel] IS NULL) OR ([tel] = @Original_tel)) AND ((@IsNull_email = 1 AND [email] IS NULL) OR ([email] = @Original_email)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate)); | ||||
| SELECT idx, cid, name, grade, dept, tel, email, memo, wuid, wdate FROM Staff WHERE (idx = @idx)</CommandText> | ||||
|                     <Parameters> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@cid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cid" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@grade" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="grade" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dept" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dept" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@tel" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="tel" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@email" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="email" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cid" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_cid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cid" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_grade" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="grade" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_grade" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="grade" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dept" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dept" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dept" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dept" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tel" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tel" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_tel" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="tel" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_email" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="email" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_email" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="email" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_memo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="GroupWare.dbo.Staff" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                     </Parameters> | ||||
|                   </DbCommand> | ||||
|                 </UpdateCommand> | ||||
|               </DbSource> | ||||
|             </MainSource> | ||||
|             <Mappings> | ||||
|               <Mapping SourceColumn="idx" DataSetColumn="idx" /> | ||||
|               <Mapping SourceColumn="cid" DataSetColumn="cid" /> | ||||
|               <Mapping SourceColumn="name" DataSetColumn="name" /> | ||||
|               <Mapping SourceColumn="grade" DataSetColumn="grade" /> | ||||
|               <Mapping SourceColumn="dept" DataSetColumn="dept" /> | ||||
|               <Mapping SourceColumn="tel" DataSetColumn="tel" /> | ||||
|               <Mapping SourceColumn="email" DataSetColumn="email" /> | ||||
|               <Mapping SourceColumn="memo" DataSetColumn="memo" /> | ||||
|               <Mapping SourceColumn="wuid" DataSetColumn="wuid" /> | ||||
|               <Mapping SourceColumn="wdate" DataSetColumn="wdate" /> | ||||
|             </Mappings> | ||||
|             <Sources /> | ||||
|           </TableAdapter> | ||||
|         </Tables> | ||||
|         <Sources> | ||||
|           <DbSource ConnectionRef="gwcs (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="CheckSupplyUsage" MethodsParameterType="CLR" Modifier="Public" Name="CheckSupplyUsage" QueryType="Scalar" ScalarCallRetval="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="CheckSupplyUsage"> | ||||
|             <SelectCommand> | ||||
|               <DbCommand CommandType="Text" ModifiedByUser="true"> | ||||
|                 <CommandText>SELECT  ISNULL(SUM(cnt), 0) AS Expr1 | ||||
| FROM     vSupplyUsage | ||||
| WHERE  (supplyidx = @idx)</CommandText> | ||||
|                 <Parameters> | ||||
|                   <Parameter AllowDbNull="true" AutogeneratedName="idx" ColumnName="supplyidx" DataSourceName="GroupWare.dbo.vSupplyUsage" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="supplyidx" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                 </Parameters> | ||||
|               </DbCommand> | ||||
|             </SelectCommand> | ||||
|           </DbSource> | ||||
|         </Sources> | ||||
|       </DataSource> | ||||
|     </xs:appinfo> | ||||
|   </xs:annotation> | ||||
| @@ -1723,21 +1897,21 @@ where name like @search or tel like @search or email like @search or memo like @ | ||||
|               <xs:element name="tel" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="tel" msprop:Generator_ColumnVarNameInTable="columntel" msprop:Generator_ColumnPropNameInTable="telColumn" msprop:Generator_UserColumnName="tel" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="20" /> | ||||
|                     <xs:maxLength value="150" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="fax" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="fax" msprop:Generator_ColumnVarNameInTable="columnfax" msprop:Generator_ColumnPropNameInTable="faxColumn" msprop:Generator_UserColumnName="fax" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="20" /> | ||||
|                     <xs:maxLength value="100" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="email" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="email" msprop:Generator_ColumnVarNameInTable="columnemail" msprop:Generator_ColumnPropNameInTable="emailColumn" msprop:Generator_UserColumnName="email" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="40" /> | ||||
|                     <xs:maxLength value="100" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
| @@ -1756,6 +1930,113 @@ where name like @search or tel like @search or email like @search or memo like @ | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_UserColumnName="wdate" type="xs:dateTime" /> | ||||
|               <xs:element name="owner" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="owner" msprop:Generator_ColumnVarNameInTable="columnowner" msprop:Generator_ColumnPropNameInTable="ownerColumn" msprop:Generator_UserColumnName="owner" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="50" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="ownertel" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="ownertel" msprop:Generator_ColumnVarNameInTable="columnownertel" msprop:Generator_ColumnPropNameInTable="ownertelColumn" msprop:Generator_UserColumnName="ownertel" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="20" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="address" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="address" msprop:Generator_ColumnVarNameInTable="columnaddress" msprop:Generator_ColumnPropNameInTable="addressColumn" msprop:Generator_UserColumnName="address" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="255" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="uptae" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="uptae" msprop:Generator_ColumnVarNameInTable="columnuptae" msprop:Generator_ColumnPropNameInTable="uptaeColumn" msprop:Generator_UserColumnName="uptae" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="100" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="staff" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="staff" msprop:Generator_ColumnVarNameInTable="columnstaff" msprop:Generator_ColumnPropNameInTable="staffColumn" msprop:Generator_UserColumnName="staff" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="250" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="stafftel" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="stafftel" msprop:Generator_ColumnVarNameInTable="columnstafftel" msprop:Generator_ColumnPropNameInTable="stafftelColumn" msprop:Generator_UserColumnName="stafftel" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="150" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="name2" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="name2" msprop:Generator_ColumnVarNameInTable="columnname2" msprop:Generator_ColumnPropNameInTable="name2Column" msprop:Generator_UserColumnName="name2" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="100" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|             </xs:sequence> | ||||
|           </xs:complexType> | ||||
|         </xs:element> | ||||
|         <xs:element name="Staff" msprop:Generator_TableClassName="StaffDataTable" msprop:Generator_TableVarName="tableStaff" msprop:Generator_TablePropName="Staff" msprop:Generator_RowDeletingName="StaffRowDeleting" msprop:Generator_RowChangingName="StaffRowChanging" msprop:Generator_RowEvHandlerName="StaffRowChangeEventHandler" msprop:Generator_RowDeletedName="StaffRowDeleted" msprop:Generator_UserTableName="Staff" msprop:Generator_RowChangedName="StaffRowChanged" msprop:Generator_RowEvArgName="StaffRowChangeEvent" msprop:Generator_RowClassName="StaffRow"> | ||||
|           <xs:complexType> | ||||
|             <xs:sequence> | ||||
|               <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> | ||||
|               <xs:element name="cid" msprop:Generator_ColumnVarNameInTable="columncid" msprop:Generator_ColumnPropNameInRow="cid" msprop:Generator_ColumnPropNameInTable="cidColumn" msprop:Generator_UserColumnName="cid" type="xs:int" minOccurs="0" /> | ||||
|               <xs:element name="name" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="name" msprop:Generator_ColumnVarNameInTable="columnname" msprop:Generator_ColumnPropNameInTable="nameColumn" msprop:Generator_UserColumnName="name" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="100" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="grade" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="grade" msprop:Generator_ColumnVarNameInTable="columngrade" msprop:Generator_ColumnPropNameInTable="gradeColumn" msprop:Generator_UserColumnName="grade" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="20" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="dept" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="dept" msprop:Generator_ColumnVarNameInTable="columndept" msprop:Generator_ColumnPropNameInTable="deptColumn" msprop:Generator_UserColumnName="dept" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="50" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="tel" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="tel" msprop:Generator_ColumnVarNameInTable="columntel" msprop:Generator_ColumnPropNameInTable="telColumn" msprop:Generator_UserColumnName="tel" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="100" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="email" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="email" msprop:Generator_ColumnVarNameInTable="columnemail" msprop:Generator_ColumnPropNameInTable="emailColumn" msprop:Generator_UserColumnName="email" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="100" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="memo" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="memo" msprop:Generator_ColumnVarNameInTable="columnmemo" msprop:Generator_ColumnPropNameInTable="memoColumn" msprop:Generator_UserColumnName="memo" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="255" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="wuid" msprop:Generator_ColumnVarNameInTable="columnwuid" msprop:Generator_ColumnPropNameInRow="wuid" msprop:Generator_ColumnPropNameInTable="wuidColumn" msprop:Generator_UserColumnName="wuid"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="20" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_UserColumnName="wdate" type="xs:dateTime" /> | ||||
|             </xs:sequence> | ||||
|           </xs:complexType> | ||||
|         </xs:element> | ||||
| @@ -1797,5 +2078,9 @@ where name like @search or tel like @search or email like @search or memo like @ | ||||
|       <xs:selector xpath=".//mstns:Customs" /> | ||||
|       <xs:field xpath="mstns:idx" /> | ||||
|     </xs:unique> | ||||
|     <xs:unique name="Staff_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true"> | ||||
|       <xs:selector xpath=".//mstns:Staff" /> | ||||
|       <xs:field xpath="mstns:idx" /> | ||||
|     </xs:unique> | ||||
|   </xs:element> | ||||
| </xs:schema> | ||||
| @@ -6,15 +6,16 @@ | ||||
| </autogenerated>--> | ||||
| <DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="-13" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout"> | ||||
|   <Shapes> | ||||
|     <Shape ID="DesignTable:Items" ZOrder="1" X="62" Y="-1" Height="381" Width="211" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" /> | ||||
|     <Shape ID="DesignTable:Inventory" ZOrder="9" X="280" Y="-3" Height="324" Width="234" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" /> | ||||
|     <Shape ID="DesignTable:Projects" ZOrder="8" X="563" Y="36" Height="90" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="0" /> | ||||
|     <Shape ID="DesignTable:Common" ZOrder="3" X="27" Y="334" Height="452" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="292" /> | ||||
|     <Shape ID="DesignTable:MailForm" ZOrder="7" X="372" Y="341" Height="440" Width="239" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="330" /> | ||||
|     <Shape ID="DesignTable:Board" ZOrder="6" X="525" Y="80" Height="90" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="0" /> | ||||
|     <Shape ID="DesignTable:MailData" ZOrder="5" X="666" Y="197" Height="476" Width="211" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="408" /> | ||||
|     <Shape ID="DesignTable:RequestItem" ZOrder="4" X="948" Y="148" Height="381" Width="215" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="294" /> | ||||
|     <Shape ID="DesignTable:Customs" ZOrder="2" X="257" Y="375" Height="286" Width="211" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" /> | ||||
|     <Shape ID="DesignTable:Items" ZOrder="4" X="62" Y="-1" Height="381" Width="211" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" /> | ||||
|     <Shape ID="DesignTable:Inventory" ZOrder="10" X="280" Y="-3" Height="324" Width="234" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" /> | ||||
|     <Shape ID="DesignTable:Projects" ZOrder="9" X="563" Y="36" Height="90" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="0" /> | ||||
|     <Shape ID="DesignTable:Common" ZOrder="2" X="28" Y="334" Height="452" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="292" /> | ||||
|     <Shape ID="DesignTable:MailForm" ZOrder="8" X="372" Y="341" Height="440" Width="239" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="330" /> | ||||
|     <Shape ID="DesignTable:Board" ZOrder="7" X="525" Y="80" Height="90" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="0" /> | ||||
|     <Shape ID="DesignTable:MailData" ZOrder="6" X="666" Y="197" Height="476" Width="211" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="408" /> | ||||
|     <Shape ID="DesignTable:RequestItem" ZOrder="5" X="948" Y="148" Height="381" Width="215" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="294" /> | ||||
|     <Shape ID="DesignTable:Customs" ZOrder="3" X="257" Y="375" Height="286" Width="211" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" /> | ||||
|     <Shape ID="DesignSources:QueriesTableAdapter" ZOrder="1" X="852" Y="68" Height="48" Width="189" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="44" /> | ||||
|   </Shapes> | ||||
|   <Connectors /> | ||||
| </DiagramLayout> | ||||
							
								
								
									
										646
									
								
								SubProject/FCM0000/fCustoms.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										646
									
								
								SubProject/FCM0000/fCustoms.Designer.cs
									
									
									
										generated
									
									
									
								
							| @@ -30,15 +30,29 @@ | ||||
|         { | ||||
|             this.components = new System.ComponentModel.Container(); | ||||
|             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fCustoms)); | ||||
|             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType9 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType10 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType11 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType12 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType13 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType14 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType2 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType3 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType4 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType5 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType6 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType8 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             this.dsMSSQL = new FCM0000.dsMSSQL(); | ||||
|             this.bs = new System.Windows.Forms.BindingSource(this.components); | ||||
|             this.ta = new FCM0000.dsMSSQLTableAdapters.CustomsTableAdapter(); | ||||
|             this.tam = new FCM0000.dsMSSQLTableAdapters.TableAdapterManager(); | ||||
|             this.taStaff = new FCM0000.dsMSSQLTableAdapters.StaffTableAdapter(); | ||||
|             this.bn = new System.Windows.Forms.BindingNavigator(this.components); | ||||
|             this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel(); | ||||
|             this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator(); | ||||
| @@ -47,24 +61,59 @@ | ||||
|             this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator(); | ||||
|             this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.customsBindingNavigatorSaveItem = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.dv1 = new System.Windows.Forms.DataGridView(); | ||||
|             this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); | ||||
|             this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel(); | ||||
|             this.tbFind = new System.Windows.Forms.ToolStripTextBox(); | ||||
|             this.btFind = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components); | ||||
|             this.autoResizeColummsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
|             this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
|             this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
|             this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
|             this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
|             this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
|             this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
|             this.columnSizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.autoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.resetToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.loadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.fpSpread1 = new FarPoint.Win.Spread.FpSpread(); | ||||
|             this.groupBox1 = new System.Windows.Forms.GroupBox(); | ||||
|             this.fpSpread2 = new FarPoint.Win.Spread.FpSpread(); | ||||
|             this.cm2 = new System.Windows.Forms.ContextMenuStrip(this.components); | ||||
|             this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.toolStripMenuItem4 = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.toolStripMenuItem5 = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.fpSpread2_Sheet1 = new FarPoint.Win.Spread.SheetView(); | ||||
|             this.bsStaff = new System.Windows.Forms.BindingSource(this.components); | ||||
|             this.bindingNavigator1 = new System.Windows.Forms.BindingNavigator(this.components); | ||||
|             this.bindingNavigatorAddNewItem1 = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.bindingNavigatorCountItem1 = new System.Windows.Forms.ToolStripLabel(); | ||||
|             this.bindingNavigatorDeleteItem1 = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.bindingNavigatorMoveFirstItem1 = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.bindingNavigatorMovePreviousItem1 = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.bindingNavigatorSeparator3 = new System.Windows.Forms.ToolStripSeparator(); | ||||
|             this.bindingNavigatorPositionItem1 = new System.Windows.Forms.ToolStripTextBox(); | ||||
|             this.bindingNavigatorSeparator4 = new System.Windows.Forms.ToolStripSeparator(); | ||||
|             this.bindingNavigatorMoveNextItem1 = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.bindingNavigatorMoveLastItem1 = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.bindingNavigatorSeparator5 = new System.Windows.Forms.ToolStripSeparator(); | ||||
|             this.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.toolStripButton3 = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); | ||||
|             this.bn.SuspendLayout(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.dv1)).BeginInit(); | ||||
|             this.cm1.SuspendLayout(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit(); | ||||
|             this.groupBox1.SuspendLayout(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.fpSpread2)).BeginInit(); | ||||
|             this.cm2.SuspendLayout(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.fpSpread2_Sheet1)).BeginInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bsStaff)).BeginInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bindingNavigator1)).BeginInit(); | ||||
|             this.bindingNavigator1.SuspendLayout(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit(); | ||||
|             this.SuspendLayout(); | ||||
|             //  | ||||
|             // dsMSSQL | ||||
| @@ -76,6 +125,7 @@ | ||||
|             //  | ||||
|             this.bs.DataMember = "Customs"; | ||||
|             this.bs.DataSource = this.dsMSSQL; | ||||
|             this.bs.CurrentChanged += new System.EventHandler(this.bs_CurrentChanged); | ||||
|             //  | ||||
|             // ta | ||||
|             //  | ||||
| @@ -93,14 +143,19 @@ | ||||
|             this.tam.MailFormTableAdapter = null; | ||||
|             this.tam.ProjectsTableAdapter = null; | ||||
|             this.tam.RequestItemTableAdapter = null; | ||||
|             this.tam.StaffTableAdapter = this.taStaff; | ||||
|             this.tam.UpdateOrder = FCM0000.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; | ||||
|             //  | ||||
|             // taStaff | ||||
|             //  | ||||
|             this.taStaff.ClearBeforeFill = true; | ||||
|             //  | ||||
|             // bn | ||||
|             //  | ||||
|             this.bn.AddNewItem = this.bindingNavigatorAddNewItem; | ||||
|             this.bn.BindingSource = this.bs; | ||||
|             this.bn.CountItem = this.bindingNavigatorCountItem; | ||||
|             this.bn.DeleteItem = this.bindingNavigatorDeleteItem; | ||||
|             this.bn.DeleteItem = null; | ||||
|             this.bn.Dock = System.Windows.Forms.DockStyle.Bottom; | ||||
|             this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { | ||||
|             this.bindingNavigatorMoveFirstItem, | ||||
| @@ -115,15 +170,19 @@ | ||||
|             this.bindingNavigatorAddNewItem, | ||||
|             this.bindingNavigatorDeleteItem, | ||||
|             this.customsBindingNavigatorSaveItem, | ||||
|             this.toolStripButton1}); | ||||
|             this.bn.Location = new System.Drawing.Point(0, 433); | ||||
|             this.toolStripButton1, | ||||
|             this.toolStripSeparator1, | ||||
|             this.toolStripLabel2, | ||||
|             this.tbFind, | ||||
|             this.btFind}); | ||||
|             this.bn.Location = new System.Drawing.Point(0, 449); | ||||
|             this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem; | ||||
|             this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem; | ||||
|             this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem; | ||||
|             this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem; | ||||
|             this.bn.Name = "bn"; | ||||
|             this.bn.PositionItem = this.bindingNavigatorPositionItem; | ||||
|             this.bn.Size = new System.Drawing.Size(738, 25); | ||||
|             this.bn.Size = new System.Drawing.Size(1134, 25); | ||||
|             this.bn.TabIndex = 0; | ||||
|             this.bn.Text = "bindingNavigator1"; | ||||
|             //  | ||||
| @@ -132,8 +191,9 @@ | ||||
|             this.bindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image"))); | ||||
|             this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem"; | ||||
|             this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true; | ||||
|             this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(65, 22); | ||||
|             this.bindingNavigatorAddNewItem.Text = "Add(&A)"; | ||||
|             this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(95, 22); | ||||
|             this.bindingNavigatorAddNewItem.Text = "업체 추가(&A)"; | ||||
|             this.bindingNavigatorAddNewItem.Click += new System.EventHandler(this.bindingNavigatorAddNewItem_Click); | ||||
|             //  | ||||
|             // bindingNavigatorCountItem | ||||
|             //  | ||||
| @@ -142,14 +202,6 @@ | ||||
|             this.bindingNavigatorCountItem.Text = "/{0}"; | ||||
|             this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수"; | ||||
|             //  | ||||
|             // bindingNavigatorDeleteItem | ||||
|             //  | ||||
|             this.bindingNavigatorDeleteItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image"))); | ||||
|             this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem"; | ||||
|             this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true; | ||||
|             this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(78, 22); | ||||
|             this.bindingNavigatorDeleteItem.Text = "Delete(&D)"; | ||||
|             //  | ||||
|             // bindingNavigatorMoveFirstItem | ||||
|             //  | ||||
|             this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; | ||||
| @@ -210,12 +262,21 @@ | ||||
|             this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2"; | ||||
|             this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25); | ||||
|             //  | ||||
|             // bindingNavigatorDeleteItem | ||||
|             //  | ||||
|             this.bindingNavigatorDeleteItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image"))); | ||||
|             this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem"; | ||||
|             this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true; | ||||
|             this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(96, 22); | ||||
|             this.bindingNavigatorDeleteItem.Text = "업체 삭제(&D)"; | ||||
|             this.bindingNavigatorDeleteItem.Click += new System.EventHandler(this.bindingNavigatorDeleteItem_Click); | ||||
|             //  | ||||
|             // customsBindingNavigatorSaveItem | ||||
|             //  | ||||
|             this.customsBindingNavigatorSaveItem.Image = ((System.Drawing.Image)(resources.GetObject("customsBindingNavigatorSaveItem.Image"))); | ||||
|             this.customsBindingNavigatorSaveItem.Name = "customsBindingNavigatorSaveItem"; | ||||
|             this.customsBindingNavigatorSaveItem.Size = new System.Drawing.Size(67, 22); | ||||
|             this.customsBindingNavigatorSaveItem.Text = "Save(&S)"; | ||||
|             this.customsBindingNavigatorSaveItem.Size = new System.Drawing.Size(94, 22); | ||||
|             this.customsBindingNavigatorSaveItem.Text = "업체 저장(&S)"; | ||||
|             this.customsBindingNavigatorSaveItem.Click += new System.EventHandler(this.customsBindingNavigatorSaveItem_Click); | ||||
|             //  | ||||
|             // toolStripButton1 | ||||
| @@ -223,111 +284,461 @@ | ||||
|             this.toolStripButton1.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; | ||||
|             this.toolStripButton1.Image = global::FCM0000.Properties.Resources.action_refresh; | ||||
|             this.toolStripButton1.Name = "toolStripButton1"; | ||||
|             this.toolStripButton1.Size = new System.Drawing.Size(66, 22); | ||||
|             this.toolStripButton1.Text = "Refresh"; | ||||
|             this.toolStripButton1.Size = new System.Drawing.Size(114, 22); | ||||
|             this.toolStripButton1.Text = "업체새로고침(&R)"; | ||||
|             this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click); | ||||
|             //  | ||||
|             // dv1 | ||||
|             // toolStripSeparator1 | ||||
|             //  | ||||
|             this.dv1.AllowUserToAddRows = false; | ||||
|             this.dv1.AutoGenerateColumns = false; | ||||
|             this.dv1.ColumnHeadersHeight = 30; | ||||
|             this.dv1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing; | ||||
|             this.dv1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { | ||||
|             this.dataGridViewTextBoxColumn1, | ||||
|             this.dataGridViewTextBoxColumn2, | ||||
|             this.dataGridViewTextBoxColumn3, | ||||
|             this.dataGridViewTextBoxColumn4, | ||||
|             this.dataGridViewTextBoxColumn5, | ||||
|             this.dataGridViewTextBoxColumn6, | ||||
|             this.dataGridViewTextBoxColumn7}); | ||||
|             this.dv1.ContextMenuStrip = this.cm1; | ||||
|             this.dv1.DataSource = this.bs; | ||||
|             this.dv1.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.dv1.Location = new System.Drawing.Point(0, 0); | ||||
|             this.dv1.Name = "dv1"; | ||||
|             this.dv1.RowTemplate.Height = 23; | ||||
|             this.dv1.Size = new System.Drawing.Size(738, 433); | ||||
|             this.dv1.TabIndex = 1; | ||||
|             this.toolStripSeparator1.Name = "toolStripSeparator1"; | ||||
|             this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25); | ||||
|             //  | ||||
|             // toolStripLabel2 | ||||
|             //  | ||||
|             this.toolStripLabel2.Name = "toolStripLabel2"; | ||||
|             this.toolStripLabel2.Size = new System.Drawing.Size(31, 22); | ||||
|             this.toolStripLabel2.Text = "검색"; | ||||
|             //  | ||||
|             // tbFind | ||||
|             //  | ||||
|             this.tbFind.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; | ||||
|             this.tbFind.Name = "tbFind"; | ||||
|             this.tbFind.Size = new System.Drawing.Size(100, 25); | ||||
|             this.tbFind.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbFind_KeyDown); | ||||
|             //  | ||||
|             // btFind | ||||
|             //  | ||||
|             this.btFind.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; | ||||
|             this.btFind.Image = ((System.Drawing.Image)(resources.GetObject("btFind.Image"))); | ||||
|             this.btFind.ImageTransparentColor = System.Drawing.Color.Magenta; | ||||
|             this.btFind.Name = "btFind"; | ||||
|             this.btFind.Size = new System.Drawing.Size(23, 22); | ||||
|             this.btFind.Text = "toolStripButton2"; | ||||
|             this.btFind.Click += new System.EventHandler(this.btFind_Click); | ||||
|             //  | ||||
|             // cm1 | ||||
|             //  | ||||
|             this.cm1.Font = new System.Drawing.Font("맑은 고딕", 20F); | ||||
|             this.cm1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { | ||||
|             this.autoResizeColummsToolStripMenuItem}); | ||||
|             this.columnSizeToolStripMenuItem}); | ||||
|             this.cm1.Name = "cm1"; | ||||
|             this.cm1.Size = new System.Drawing.Size(186, 26); | ||||
|             this.cm1.Size = new System.Drawing.Size(248, 46); | ||||
|             //  | ||||
|             // autoResizeColummsToolStripMenuItem | ||||
|             // columnSizeToolStripMenuItem | ||||
|             //  | ||||
|             this.autoResizeColummsToolStripMenuItem.Name = "autoResizeColummsToolStripMenuItem"; | ||||
|             this.autoResizeColummsToolStripMenuItem.Size = new System.Drawing.Size(185, 22); | ||||
|             this.autoResizeColummsToolStripMenuItem.Text = "AutoResizeColumms"; | ||||
|             this.autoResizeColummsToolStripMenuItem.Click += new System.EventHandler(this.autoResizeColummsToolStripMenuItem_Click); | ||||
|             this.columnSizeToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { | ||||
|             this.autoToolStripMenuItem, | ||||
|             this.resetToolStripMenuItem, | ||||
|             this.saveToolStripMenuItem, | ||||
|             this.loadToolStripMenuItem}); | ||||
|             this.columnSizeToolStripMenuItem.Name = "columnSizeToolStripMenuItem"; | ||||
|             this.columnSizeToolStripMenuItem.Size = new System.Drawing.Size(247, 42); | ||||
|             this.columnSizeToolStripMenuItem.Text = "Column Size"; | ||||
|             //  | ||||
|             // dataGridViewTextBoxColumn1 | ||||
|             // autoToolStripMenuItem | ||||
|             //  | ||||
|             this.dataGridViewTextBoxColumn1.DataPropertyName = "idx"; | ||||
|             dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; | ||||
|             dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); | ||||
|             this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle1; | ||||
|             this.dataGridViewTextBoxColumn1.HeaderText = "idx"; | ||||
|             this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1"; | ||||
|             this.dataGridViewTextBoxColumn1.ReadOnly = true; | ||||
|             this.dataGridViewTextBoxColumn1.Width = 50; | ||||
|             this.autoToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("autoToolStripMenuItem.Image"))); | ||||
|             this.autoToolStripMenuItem.Name = "autoToolStripMenuItem"; | ||||
|             this.autoToolStripMenuItem.Size = new System.Drawing.Size(159, 42); | ||||
|             this.autoToolStripMenuItem.Text = "Auto"; | ||||
|             this.autoToolStripMenuItem.Click += new System.EventHandler(this.autoToolStripMenuItem_Click); | ||||
|             //  | ||||
|             // dataGridViewTextBoxColumn2 | ||||
|             // resetToolStripMenuItem | ||||
|             //  | ||||
|             this.dataGridViewTextBoxColumn2.DataPropertyName = "grp"; | ||||
|             this.dataGridViewTextBoxColumn2.HeaderText = "grp"; | ||||
|             this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2"; | ||||
|             this.resetToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("resetToolStripMenuItem.Image"))); | ||||
|             this.resetToolStripMenuItem.Name = "resetToolStripMenuItem"; | ||||
|             this.resetToolStripMenuItem.Size = new System.Drawing.Size(159, 42); | ||||
|             this.resetToolStripMenuItem.Text = "Reset"; | ||||
|             this.resetToolStripMenuItem.Click += new System.EventHandler(this.resetToolStripMenuItem_Click); | ||||
|             //  | ||||
|             // dataGridViewTextBoxColumn3 | ||||
|             // saveToolStripMenuItem | ||||
|             //  | ||||
|             this.dataGridViewTextBoxColumn3.DataPropertyName = "name"; | ||||
|             this.dataGridViewTextBoxColumn3.HeaderText = "name"; | ||||
|             this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3"; | ||||
|             this.saveToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("saveToolStripMenuItem.Image"))); | ||||
|             this.saveToolStripMenuItem.Name = "saveToolStripMenuItem"; | ||||
|             this.saveToolStripMenuItem.Size = new System.Drawing.Size(159, 42); | ||||
|             this.saveToolStripMenuItem.Text = "Save"; | ||||
|             this.saveToolStripMenuItem.Click += new System.EventHandler(this.saveToolStripMenuItem_Click); | ||||
|             //  | ||||
|             // dataGridViewTextBoxColumn4 | ||||
|             // loadToolStripMenuItem | ||||
|             //  | ||||
|             this.dataGridViewTextBoxColumn4.DataPropertyName = "tel"; | ||||
|             this.dataGridViewTextBoxColumn4.HeaderText = "tel"; | ||||
|             this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4"; | ||||
|             this.loadToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("loadToolStripMenuItem.Image"))); | ||||
|             this.loadToolStripMenuItem.Name = "loadToolStripMenuItem"; | ||||
|             this.loadToolStripMenuItem.Size = new System.Drawing.Size(159, 42); | ||||
|             this.loadToolStripMenuItem.Text = "Load"; | ||||
|             this.loadToolStripMenuItem.Click += new System.EventHandler(this.loadToolStripMenuItem_Click); | ||||
|             //  | ||||
|             // dataGridViewTextBoxColumn5 | ||||
|             // fpSpread1 | ||||
|             //  | ||||
|             this.dataGridViewTextBoxColumn5.DataPropertyName = "fax"; | ||||
|             this.dataGridViewTextBoxColumn5.HeaderText = "fax"; | ||||
|             this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5"; | ||||
|             this.fpSpread1.AccessibleDescription = ""; | ||||
|             this.fpSpread1.ContextMenuStrip = this.cm1; | ||||
|             this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.fpSpread1.Font = new System.Drawing.Font("맑은 고딕", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.fpSpread1.Location = new System.Drawing.Point(0, 0); | ||||
|             this.fpSpread1.Name = "fpSpread1"; | ||||
|             this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] { | ||||
|             this.fpSpread1_Sheet1}); | ||||
|             this.fpSpread1.Size = new System.Drawing.Size(1134, 449); | ||||
|             this.fpSpread1.TabIndex = 2; | ||||
|             //  | ||||
|             // dataGridViewTextBoxColumn6 | ||||
|             // groupBox1 | ||||
|             //  | ||||
|             this.dataGridViewTextBoxColumn6.DataPropertyName = "email"; | ||||
|             this.dataGridViewTextBoxColumn6.HeaderText = "email"; | ||||
|             this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6"; | ||||
|             this.groupBox1.Controls.Add(this.fpSpread2); | ||||
|             this.groupBox1.Controls.Add(this.bindingNavigator1); | ||||
|             this.groupBox1.Dock = System.Windows.Forms.DockStyle.Bottom; | ||||
|             this.groupBox1.Location = new System.Drawing.Point(0, 474); | ||||
|             this.groupBox1.Name = "groupBox1"; | ||||
|             this.groupBox1.Padding = new System.Windows.Forms.Padding(10, 3, 10, 10); | ||||
|             this.groupBox1.Size = new System.Drawing.Size(1134, 195); | ||||
|             this.groupBox1.TabIndex = 3; | ||||
|             this.groupBox1.TabStop = false; | ||||
|             this.groupBox1.Text = "업체 담당자 목록"; | ||||
|             //  | ||||
|             // dataGridViewTextBoxColumn7 | ||||
|             // fpSpread2 | ||||
|             //  | ||||
|             this.dataGridViewTextBoxColumn7.DataPropertyName = "memo"; | ||||
|             this.dataGridViewTextBoxColumn7.HeaderText = "memo"; | ||||
|             this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7"; | ||||
|             this.fpSpread2.AccessibleDescription = ""; | ||||
|             this.fpSpread2.ContextMenuStrip = this.cm2; | ||||
|             this.fpSpread2.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.fpSpread2.Font = new System.Drawing.Font("맑은 고딕", 9.75F); | ||||
|             this.fpSpread2.Location = new System.Drawing.Point(10, 17); | ||||
|             this.fpSpread2.Name = "fpSpread2"; | ||||
|             this.fpSpread2.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] { | ||||
|             this.fpSpread2_Sheet1}); | ||||
|             this.fpSpread2.Size = new System.Drawing.Size(1114, 143); | ||||
|             this.fpSpread2.TabIndex = 0; | ||||
|             //  | ||||
|             // cm2 | ||||
|             //  | ||||
|             this.cm2.Font = new System.Drawing.Font("맑은 고딕", 20F); | ||||
|             this.cm2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { | ||||
|             this.toolStripMenuItem1}); | ||||
|             this.cm2.Name = "cm1"; | ||||
|             this.cm2.Size = new System.Drawing.Size(248, 46); | ||||
|             //  | ||||
|             // toolStripMenuItem1 | ||||
|             //  | ||||
|             this.toolStripMenuItem1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { | ||||
|             this.toolStripMenuItem2, | ||||
|             this.toolStripMenuItem3, | ||||
|             this.toolStripMenuItem4, | ||||
|             this.toolStripMenuItem5}); | ||||
|             this.toolStripMenuItem1.Name = "toolStripMenuItem1"; | ||||
|             this.toolStripMenuItem1.Size = new System.Drawing.Size(247, 42); | ||||
|             this.toolStripMenuItem1.Text = "Column Size"; | ||||
|             //  | ||||
|             // toolStripMenuItem2 | ||||
|             //  | ||||
|             this.toolStripMenuItem2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripMenuItem2.Image"))); | ||||
|             this.toolStripMenuItem2.Name = "toolStripMenuItem2"; | ||||
|             this.toolStripMenuItem2.Size = new System.Drawing.Size(159, 42); | ||||
|             this.toolStripMenuItem2.Text = "Auto"; | ||||
|             this.toolStripMenuItem2.Click += new System.EventHandler(this.toolStripMenuItem2_Click); | ||||
|             //  | ||||
|             // toolStripMenuItem3 | ||||
|             //  | ||||
|             this.toolStripMenuItem3.Image = ((System.Drawing.Image)(resources.GetObject("toolStripMenuItem3.Image"))); | ||||
|             this.toolStripMenuItem3.Name = "toolStripMenuItem3"; | ||||
|             this.toolStripMenuItem3.Size = new System.Drawing.Size(159, 42); | ||||
|             this.toolStripMenuItem3.Text = "Reset"; | ||||
|             this.toolStripMenuItem3.Click += new System.EventHandler(this.toolStripMenuItem3_Click); | ||||
|             //  | ||||
|             // toolStripMenuItem4 | ||||
|             //  | ||||
|             this.toolStripMenuItem4.Image = ((System.Drawing.Image)(resources.GetObject("toolStripMenuItem4.Image"))); | ||||
|             this.toolStripMenuItem4.Name = "toolStripMenuItem4"; | ||||
|             this.toolStripMenuItem4.Size = new System.Drawing.Size(159, 42); | ||||
|             this.toolStripMenuItem4.Text = "Save"; | ||||
|             this.toolStripMenuItem4.Click += new System.EventHandler(this.toolStripMenuItem4_Click); | ||||
|             //  | ||||
|             // toolStripMenuItem5 | ||||
|             //  | ||||
|             this.toolStripMenuItem5.Image = ((System.Drawing.Image)(resources.GetObject("toolStripMenuItem5.Image"))); | ||||
|             this.toolStripMenuItem5.Name = "toolStripMenuItem5"; | ||||
|             this.toolStripMenuItem5.Size = new System.Drawing.Size(159, 42); | ||||
|             this.toolStripMenuItem5.Text = "Load"; | ||||
|             this.toolStripMenuItem5.Click += new System.EventHandler(this.toolStripMenuItem5_Click); | ||||
|             //  | ||||
|             // fpSpread2_Sheet1 | ||||
|             //  | ||||
|             this.fpSpread2_Sheet1.Reset(); | ||||
|             this.fpSpread2_Sheet1.SheetName = "Sheet1"; | ||||
|             // Formulas and custom names must be loaded with R1C1 reference style | ||||
|             this.fpSpread2_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1; | ||||
|             this.fpSpread2_Sheet1.ColumnCount = 6; | ||||
|             this.fpSpread2_Sheet1.ActiveColumnIndex = -1; | ||||
|             this.fpSpread2_Sheet1.ActiveRowIndex = -1; | ||||
|             this.fpSpread2_Sheet1.AutoGenerateColumns = false; | ||||
|             this.fpSpread2_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "성명"; | ||||
|             this.fpSpread2_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "직급"; | ||||
|             this.fpSpread2_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "부서"; | ||||
|             this.fpSpread2_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "전화"; | ||||
|             this.fpSpread2_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "이메일"; | ||||
|             this.fpSpread2_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "비고"; | ||||
|             this.fpSpread2_Sheet1.Columns.Get(0).CellType = textCellType9; | ||||
|             this.fpSpread2_Sheet1.Columns.Get(0).DataField = "name"; | ||||
|             this.fpSpread2_Sheet1.Columns.Get(0).Label = "성명"; | ||||
|             this.fpSpread2_Sheet1.Columns.Get(1).CellType = textCellType10; | ||||
|             this.fpSpread2_Sheet1.Columns.Get(1).DataField = "grade"; | ||||
|             this.fpSpread2_Sheet1.Columns.Get(1).Label = "직급"; | ||||
|             this.fpSpread2_Sheet1.Columns.Get(2).CellType = textCellType11; | ||||
|             this.fpSpread2_Sheet1.Columns.Get(2).DataField = "dept"; | ||||
|             this.fpSpread2_Sheet1.Columns.Get(2).Label = "부서"; | ||||
|             this.fpSpread2_Sheet1.Columns.Get(3).CellType = textCellType12; | ||||
|             this.fpSpread2_Sheet1.Columns.Get(3).DataField = "tel"; | ||||
|             this.fpSpread2_Sheet1.Columns.Get(3).Label = "전화"; | ||||
|             this.fpSpread2_Sheet1.Columns.Get(4).CellType = textCellType13; | ||||
|             this.fpSpread2_Sheet1.Columns.Get(4).DataField = "email"; | ||||
|             this.fpSpread2_Sheet1.Columns.Get(4).Label = "이메일"; | ||||
|             this.fpSpread2_Sheet1.Columns.Get(5).CellType = textCellType14; | ||||
|             this.fpSpread2_Sheet1.Columns.Get(5).DataField = "memo"; | ||||
|             this.fpSpread2_Sheet1.Columns.Get(5).Label = "비고"; | ||||
|             this.fpSpread2_Sheet1.DataAutoHeadings = false; | ||||
|             this.fpSpread2_Sheet1.DataSource = this.bsStaff; | ||||
|             this.fpSpread2_Sheet1.RowHeader.Columns.Default.Resizable = false; | ||||
|             this.fpSpread2_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1; | ||||
|             //  | ||||
|             // bsStaff | ||||
|             //  | ||||
|             this.bsStaff.DataMember = "Staff"; | ||||
|             this.bsStaff.DataSource = this.dsMSSQL; | ||||
|             //  | ||||
|             // bindingNavigator1 | ||||
|             //  | ||||
|             this.bindingNavigator1.AddNewItem = this.bindingNavigatorAddNewItem1; | ||||
|             this.bindingNavigator1.BindingSource = this.bsStaff; | ||||
|             this.bindingNavigator1.CountItem = this.bindingNavigatorCountItem1; | ||||
|             this.bindingNavigator1.DeleteItem = this.bindingNavigatorDeleteItem1; | ||||
|             this.bindingNavigator1.Dock = System.Windows.Forms.DockStyle.Bottom; | ||||
|             this.bindingNavigator1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { | ||||
|             this.bindingNavigatorMoveFirstItem1, | ||||
|             this.bindingNavigatorMovePreviousItem1, | ||||
|             this.bindingNavigatorSeparator3, | ||||
|             this.bindingNavigatorPositionItem1, | ||||
|             this.bindingNavigatorCountItem1, | ||||
|             this.bindingNavigatorSeparator4, | ||||
|             this.bindingNavigatorMoveNextItem1, | ||||
|             this.bindingNavigatorMoveLastItem1, | ||||
|             this.bindingNavigatorSeparator5, | ||||
|             this.bindingNavigatorAddNewItem1, | ||||
|             this.bindingNavigatorDeleteItem1, | ||||
|             this.toolStripButton2, | ||||
|             this.toolStripButton3}); | ||||
|             this.bindingNavigator1.Location = new System.Drawing.Point(10, 160); | ||||
|             this.bindingNavigator1.MoveFirstItem = this.bindingNavigatorMoveFirstItem1; | ||||
|             this.bindingNavigator1.MoveLastItem = this.bindingNavigatorMoveLastItem1; | ||||
|             this.bindingNavigator1.MoveNextItem = this.bindingNavigatorMoveNextItem1; | ||||
|             this.bindingNavigator1.MovePreviousItem = this.bindingNavigatorMovePreviousItem1; | ||||
|             this.bindingNavigator1.Name = "bindingNavigator1"; | ||||
|             this.bindingNavigator1.PositionItem = this.bindingNavigatorPositionItem1; | ||||
|             this.bindingNavigator1.Size = new System.Drawing.Size(1114, 25); | ||||
|             this.bindingNavigator1.TabIndex = 1; | ||||
|             this.bindingNavigator1.Text = "bindingNavigator1"; | ||||
|             //  | ||||
|             // bindingNavigatorAddNewItem1 | ||||
|             //  | ||||
|             this.bindingNavigatorAddNewItem1.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem1.Image"))); | ||||
|             this.bindingNavigatorAddNewItem1.Name = "bindingNavigatorAddNewItem1"; | ||||
|             this.bindingNavigatorAddNewItem1.RightToLeftAutoMirrorImage = true; | ||||
|             this.bindingNavigatorAddNewItem1.Size = new System.Drawing.Size(102, 22); | ||||
|             this.bindingNavigatorAddNewItem1.Text = "담당자 추가(&I)"; | ||||
|             //  | ||||
|             // bindingNavigatorCountItem1 | ||||
|             //  | ||||
|             this.bindingNavigatorCountItem1.Name = "bindingNavigatorCountItem1"; | ||||
|             this.bindingNavigatorCountItem1.Size = new System.Drawing.Size(27, 22); | ||||
|             this.bindingNavigatorCountItem1.Text = "/{0}"; | ||||
|             this.bindingNavigatorCountItem1.ToolTipText = "전체 항목 수"; | ||||
|             //  | ||||
|             // bindingNavigatorDeleteItem1 | ||||
|             //  | ||||
|             this.bindingNavigatorDeleteItem1.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem1.Image"))); | ||||
|             this.bindingNavigatorDeleteItem1.Name = "bindingNavigatorDeleteItem1"; | ||||
|             this.bindingNavigatorDeleteItem1.RightToLeftAutoMirrorImage = true; | ||||
|             this.bindingNavigatorDeleteItem1.Size = new System.Drawing.Size(91, 22); | ||||
|             this.bindingNavigatorDeleteItem1.Text = "담당자 삭제"; | ||||
|             //  | ||||
|             // bindingNavigatorMoveFirstItem1 | ||||
|             //  | ||||
|             this.bindingNavigatorMoveFirstItem1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; | ||||
|             this.bindingNavigatorMoveFirstItem1.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem1.Image"))); | ||||
|             this.bindingNavigatorMoveFirstItem1.Name = "bindingNavigatorMoveFirstItem1"; | ||||
|             this.bindingNavigatorMoveFirstItem1.RightToLeftAutoMirrorImage = true; | ||||
|             this.bindingNavigatorMoveFirstItem1.Size = new System.Drawing.Size(23, 22); | ||||
|             this.bindingNavigatorMoveFirstItem1.Text = "처음으로 이동"; | ||||
|             //  | ||||
|             // bindingNavigatorMovePreviousItem1 | ||||
|             //  | ||||
|             this.bindingNavigatorMovePreviousItem1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; | ||||
|             this.bindingNavigatorMovePreviousItem1.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem1.Image"))); | ||||
|             this.bindingNavigatorMovePreviousItem1.Name = "bindingNavigatorMovePreviousItem1"; | ||||
|             this.bindingNavigatorMovePreviousItem1.RightToLeftAutoMirrorImage = true; | ||||
|             this.bindingNavigatorMovePreviousItem1.Size = new System.Drawing.Size(23, 22); | ||||
|             this.bindingNavigatorMovePreviousItem1.Text = "이전으로 이동"; | ||||
|             //  | ||||
|             // bindingNavigatorSeparator3 | ||||
|             //  | ||||
|             this.bindingNavigatorSeparator3.Name = "bindingNavigatorSeparator3"; | ||||
|             this.bindingNavigatorSeparator3.Size = new System.Drawing.Size(6, 25); | ||||
|             //  | ||||
|             // bindingNavigatorPositionItem1 | ||||
|             //  | ||||
|             this.bindingNavigatorPositionItem1.AccessibleName = "위치"; | ||||
|             this.bindingNavigatorPositionItem1.AutoSize = false; | ||||
|             this.bindingNavigatorPositionItem1.Name = "bindingNavigatorPositionItem1"; | ||||
|             this.bindingNavigatorPositionItem1.Size = new System.Drawing.Size(50, 23); | ||||
|             this.bindingNavigatorPositionItem1.Text = "0"; | ||||
|             this.bindingNavigatorPositionItem1.ToolTipText = "현재 위치"; | ||||
|             //  | ||||
|             // bindingNavigatorSeparator4 | ||||
|             //  | ||||
|             this.bindingNavigatorSeparator4.Name = "bindingNavigatorSeparator4"; | ||||
|             this.bindingNavigatorSeparator4.Size = new System.Drawing.Size(6, 25); | ||||
|             //  | ||||
|             // bindingNavigatorMoveNextItem1 | ||||
|             //  | ||||
|             this.bindingNavigatorMoveNextItem1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; | ||||
|             this.bindingNavigatorMoveNextItem1.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem1.Image"))); | ||||
|             this.bindingNavigatorMoveNextItem1.Name = "bindingNavigatorMoveNextItem1"; | ||||
|             this.bindingNavigatorMoveNextItem1.RightToLeftAutoMirrorImage = true; | ||||
|             this.bindingNavigatorMoveNextItem1.Size = new System.Drawing.Size(23, 22); | ||||
|             this.bindingNavigatorMoveNextItem1.Text = "다음으로 이동"; | ||||
|             //  | ||||
|             // bindingNavigatorMoveLastItem1 | ||||
|             //  | ||||
|             this.bindingNavigatorMoveLastItem1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; | ||||
|             this.bindingNavigatorMoveLastItem1.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem1.Image"))); | ||||
|             this.bindingNavigatorMoveLastItem1.Name = "bindingNavigatorMoveLastItem1"; | ||||
|             this.bindingNavigatorMoveLastItem1.RightToLeftAutoMirrorImage = true; | ||||
|             this.bindingNavigatorMoveLastItem1.Size = new System.Drawing.Size(23, 22); | ||||
|             this.bindingNavigatorMoveLastItem1.Text = "마지막으로 이동"; | ||||
|             //  | ||||
|             // bindingNavigatorSeparator5 | ||||
|             //  | ||||
|             this.bindingNavigatorSeparator5.Name = "bindingNavigatorSeparator5"; | ||||
|             this.bindingNavigatorSeparator5.Size = new System.Drawing.Size(6, 25); | ||||
|             //  | ||||
|             // toolStripButton2 | ||||
|             //  | ||||
|             this.toolStripButton2.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; | ||||
|             this.toolStripButton2.Image = global::FCM0000.Properties.Resources.action_refresh; | ||||
|             this.toolStripButton2.Name = "toolStripButton2"; | ||||
|             this.toolStripButton2.Size = new System.Drawing.Size(111, 22); | ||||
|             this.toolStripButton2.Text = "담당자새로고침"; | ||||
|             this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click); | ||||
|             //  | ||||
|             // toolStripButton3 | ||||
|             //  | ||||
|             this.toolStripButton3.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton3.Image"))); | ||||
|             this.toolStripButton3.Name = "toolStripButton3"; | ||||
|             this.toolStripButton3.Size = new System.Drawing.Size(91, 22); | ||||
|             this.toolStripButton3.Text = "담당자 저장"; | ||||
|             this.toolStripButton3.Click += new System.EventHandler(this.toolStripButton3_Click); | ||||
|             //  | ||||
|             // fpSpread1_Sheet1 | ||||
|             //  | ||||
|             this.fpSpread1_Sheet1.Reset(); | ||||
|             this.fpSpread1_Sheet1.SheetName = "Sheet1"; | ||||
|             // Formulas and custom names must be loaded with R1C1 reference style | ||||
|             this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1; | ||||
|             this.fpSpread1_Sheet1.ColumnCount = 9; | ||||
|             this.fpSpread1_Sheet1.ActiveColumnIndex = -1; | ||||
|             this.fpSpread1_Sheet1.ActiveRowIndex = -1; | ||||
|             this.fpSpread1_Sheet1.AutoGenerateColumns = false; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "그룹"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "업체명"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "보조명칭"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "전화"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "팩스"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).Value = "이메일"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 7).Value = "주소"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 8).Value = "비고"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 34F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(0).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); | ||||
|             numberCellType1.DecimalPlaces = 0; | ||||
|             numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; | ||||
|             numberCellType1.MaximumValue = 2147483647D; | ||||
|             numberCellType1.MinimumValue = -2147483648D; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(0).CellType = numberCellType1; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(0).DataField = "idx"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(0).Width = 88F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType1; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(1).DataField = "grp"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(1).Label = "그룹"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(1).Width = 113F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType2; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).DataField = "name"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).Label = "업체명"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).Width = 113F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType3; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).DataField = "name2"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).Label = "보조명칭"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).Width = 77F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType4; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).DataField = "tel"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).Label = "전화"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).Width = 113F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType5; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(5).DataField = "fax"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(5).Label = "팩스"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(5).Width = 113F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType6; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).DataField = "email"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).Label = "이메일"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).Width = 113F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType7; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(7).DataField = "address"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(7).Label = "주소"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(7).Width = 113F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType8; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(8).DataField = "memo"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(8).Label = "비고"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(8).Width = 113F; | ||||
|             this.fpSpread1_Sheet1.DataAutoSizeColumns = false; | ||||
|             this.fpSpread1_Sheet1.DataSource = this.bs; | ||||
|             this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false; | ||||
|             this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1; | ||||
|             //  | ||||
|             // fCustoms | ||||
|             //  | ||||
|             this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); | ||||
|             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | ||||
|             this.ClientSize = new System.Drawing.Size(738, 458); | ||||
|             this.Controls.Add(this.dv1); | ||||
|             this.ClientSize = new System.Drawing.Size(1134, 669); | ||||
|             this.Controls.Add(this.fpSpread1); | ||||
|             this.Controls.Add(this.bn); | ||||
|             this.Controls.Add(this.groupBox1); | ||||
|             this.Name = "fCustoms"; | ||||
|             this.Text = "fCustoms"; | ||||
|             this.Text = "업체 및 담당자 정보"; | ||||
|             this.Load += new System.EventHandler(this.@__Load); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit(); | ||||
|             this.bn.ResumeLayout(false); | ||||
|             this.bn.PerformLayout(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.dv1)).EndInit(); | ||||
|             this.cm1.ResumeLayout(false); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit(); | ||||
|             this.groupBox1.ResumeLayout(false); | ||||
|             this.groupBox1.PerformLayout(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.fpSpread2)).EndInit(); | ||||
|             this.cm2.ResumeLayout(false); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.fpSpread2_Sheet1)).EndInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bsStaff)).EndInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bindingNavigator1)).EndInit(); | ||||
|             this.bindingNavigator1.ResumeLayout(false); | ||||
|             this.bindingNavigator1.PerformLayout(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit(); | ||||
|             this.ResumeLayout(false); | ||||
|             this.PerformLayout(); | ||||
|  | ||||
| @@ -352,16 +763,43 @@ | ||||
|         private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem; | ||||
|         private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2; | ||||
|         private System.Windows.Forms.ToolStripButton customsBindingNavigatorSaveItem; | ||||
|         private System.Windows.Forms.DataGridView dv1; | ||||
|         private System.Windows.Forms.ToolStripButton toolStripButton1; | ||||
|         private System.Windows.Forms.ContextMenuStrip cm1; | ||||
|         private System.Windows.Forms.ToolStripMenuItem autoResizeColummsToolStripMenuItem; | ||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1; | ||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2; | ||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3; | ||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4; | ||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5; | ||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn6; | ||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn7; | ||||
|         private FarPoint.Win.Spread.FpSpread fpSpread1; | ||||
|         private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; | ||||
|         private System.Windows.Forms.ToolStripLabel toolStripLabel2; | ||||
|         private System.Windows.Forms.ToolStripTextBox tbFind; | ||||
|         private System.Windows.Forms.ToolStripButton btFind; | ||||
|         private System.Windows.Forms.ToolStripMenuItem columnSizeToolStripMenuItem; | ||||
|         private System.Windows.Forms.ToolStripMenuItem autoToolStripMenuItem; | ||||
|         private System.Windows.Forms.ToolStripMenuItem resetToolStripMenuItem; | ||||
|         private System.Windows.Forms.ToolStripMenuItem saveToolStripMenuItem; | ||||
|         private System.Windows.Forms.ToolStripMenuItem loadToolStripMenuItem; | ||||
|         private System.Windows.Forms.GroupBox groupBox1; | ||||
|         private FarPoint.Win.Spread.FpSpread fpSpread2; | ||||
|         private System.Windows.Forms.BindingSource bsStaff; | ||||
|         private dsMSSQLTableAdapters.StaffTableAdapter taStaff; | ||||
|         private System.Windows.Forms.BindingNavigator bindingNavigator1; | ||||
|         private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem1; | ||||
|         private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem1; | ||||
|         private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem1; | ||||
|         private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem1; | ||||
|         private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem1; | ||||
|         private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator3; | ||||
|         private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem1; | ||||
|         private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator4; | ||||
|         private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem1; | ||||
|         private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem1; | ||||
|         private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator5; | ||||
|         private FarPoint.Win.Spread.SheetView fpSpread2_Sheet1; | ||||
|         private System.Windows.Forms.ContextMenuStrip cm2; | ||||
|         private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem1; | ||||
|         private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem2; | ||||
|         private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem3; | ||||
|         private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem4; | ||||
|         private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem5; | ||||
|         private System.Windows.Forms.ToolStripButton toolStripButton2; | ||||
|         private System.Windows.Forms.ToolStripButton toolStripButton3; | ||||
|         private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1; | ||||
|     } | ||||
| } | ||||
| @@ -11,27 +11,75 @@ namespace FCM0000 | ||||
| { | ||||
|     public partial class fCustoms : FCOMMON.fBase | ||||
|     { | ||||
|         string fn_fpcolsize1 = ""; | ||||
|         string fn_fpcolsize2 = ""; | ||||
|         public fCustoms() | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|  | ||||
|             fn_fpcolsize1 = FCOMMON.Util.MakeFilePath(FCOMMON.Util.CurrentPath, "formSetting", "fp1_" + this.Name + ".ini"); | ||||
|             fn_fpcolsize2 = FCOMMON.Util.MakeFilePath(FCOMMON.Util.CurrentPath, "formSetting", "fp2_" + this.Name + ".ini"); | ||||
|         } | ||||
|  | ||||
|         private void __Load(object sender, EventArgs e) | ||||
|         { | ||||
|             refreshData(); | ||||
|             // TODO: 이 코드는 데이터를 'dsMSSQL.Staff' 테이블에 로드합니다. 필요한 경우 이 코드를 이동하거나 제거할 수 있습니다. | ||||
|              | ||||
|             refreshData(); | ||||
|             refreshDataS(); | ||||
|             FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize1); | ||||
|             FPUtil.ColSizeLoad(ref this.fpSpread2, fn_fpcolsize2); | ||||
|             this.dsMSSQL.Customs.TableNewRow += Customs_TableNewRow; | ||||
|             this.dsMSSQL.Staff.TableNewRow += Staff_TableNewRow; | ||||
|         } | ||||
|  | ||||
|         void Staff_TableNewRow(object sender, DataTableNewRowEventArgs e) | ||||
|         { | ||||
|             e.Row["wuid"] = FCOMMON.info.Login.no; | ||||
|             e.Row["wdate"] = DateTime.Now; | ||||
|             e.Row["cid"] = selcectIDX; | ||||
|         } | ||||
|  | ||||
|         void Customs_TableNewRow(object sender, DataTableNewRowEventArgs e) | ||||
|         { | ||||
|             e.Row["wuid"] = FCOMMON.info.Login.no; | ||||
|             e.Row["wdate"] = DateTime.Now; | ||||
|             e.Row["grp"] = "Supply";             | ||||
|         } | ||||
|  | ||||
|         void refreshData() | ||||
|         { | ||||
|             // TODO: 이 코드는 데이터를 'dsMSSQL.Customs' 테이블에 로드합니다. 필요한 경우 이 코드를 이동하거나 제거할 수 있습니다. | ||||
|             try | ||||
|             { | ||||
|                 this.ta.Fill(this.dsMSSQL.Customs); | ||||
|                // this.taStaff.Fill(this.dsMSSQL.Staff); | ||||
|             }catch (Exception ex) | ||||
|             { | ||||
|                 FCOMMON.Util.MsgE(ex.Message); | ||||
|             } | ||||
|         } | ||||
|         void refreshDataS() | ||||
|         { | ||||
|             try | ||||
|             { | ||||
|                // this.ta.Fill(this.dsMSSQL.Customs); | ||||
|                 this.taStaff.Fill(this.dsMSSQL.Staff); | ||||
|             } | ||||
|             catch (Exception ex) | ||||
|             { | ||||
|                 FCOMMON.Util.MsgE(ex.Message); | ||||
|             } | ||||
|         } | ||||
|         private void customsBindingNavigatorSaveItem_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             this.Validate(); | ||||
|             this.bs.EndEdit(); | ||||
|             this.tam.UpdateAll(this.dsMSSQL); | ||||
|             int cnt = this.ta.Update(this.dsMSSQL.Customs); | ||||
|             if (cnt < 1) | ||||
|             { | ||||
|                 FCOMMON.Util.MsgI("변경된 내역이 없습니다."); | ||||
|             } | ||||
|             else FCOMMON.Util.MsgI(string.Format("{0} 건의 자료가 업데이트 되었습니다.",cnt)); | ||||
|  | ||||
|         } | ||||
|  | ||||
| @@ -42,7 +90,155 @@ namespace FCM0000 | ||||
|  | ||||
|         private void autoResizeColummsToolStripMenuItem_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             this.dv1.AutoResizeColumns(); | ||||
|             this.fpSpread1.ActiveSheet.DataAutoSizeColumns = true; | ||||
|  | ||||
|             for (int i = 0; i < this.fpSpread1.ActiveSheet.Rows.Count; i++) | ||||
|                 this.fpSpread1.ActiveSheet.SetRowHeight(i, 25); | ||||
|         } | ||||
|  | ||||
|         private void btFind_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             var search = tbFind.Text.Trim(); | ||||
|             search = search.Replace("*", "x"); | ||||
|             if (tbFind.Text != search) tbFind.Text = search; | ||||
|             try | ||||
|             { | ||||
|                 if (search.isEmpty()) | ||||
|                 { | ||||
|                     this.bs.Filter = ""; | ||||
|                     tbFind.BackColor = Color.White; | ||||
|                 } | ||||
|                 else | ||||
|                 { | ||||
|                     search = search.Replace("'", "''"); | ||||
|                     string filter = "stafftel like ? or grp like ?  or name2 like ? or name like ? or owner like ? or address like ? or tel like ? or email like ? or memo like ?  or staff like ?"; | ||||
|                     filter = filter.Replace("?", "'%" + search + "%'"); | ||||
|                     this.bs.Filter = filter; | ||||
|                     tbFind.BackColor = Color.Lime; | ||||
|                 } | ||||
|                 tbFind.SelectAll(); | ||||
|                 tbFind.Focus(); | ||||
|             } | ||||
|             catch (Exception ex) | ||||
|             { | ||||
|                 this.tbFind.BackColor = Color.Tomato; | ||||
|                 FCOMMON.Util.MsgE(ex.Message); | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         private void tbFind_KeyDown(object sender, KeyEventArgs e) | ||||
|         { | ||||
|             if (e.KeyCode == Keys.Enter) btFind.PerformClick(); | ||||
|         } | ||||
|  | ||||
|         private void autoToolStripMenuItem_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             this.fpSpread1.ActiveSheet.DataAutoSizeColumns = true; | ||||
|  | ||||
|             for (int i = 0; i < this.fpSpread1.ActiveSheet.Rows.Count; i++) | ||||
|                 this.fpSpread1.ActiveSheet.SetRowHeight(i, 25); | ||||
|         } | ||||
|  | ||||
|         private void resetToolStripMenuItem_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             foreach (FarPoint.Win.Spread.Column col in this.fpSpread1.ActiveSheet.Columns) | ||||
|             { | ||||
|                 col.Width = 100; | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         private void saveToolStripMenuItem_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             FCOMMON.Util.FPColsizeSave(this.fpSpread1, fn_fpcolsize1); | ||||
|         } | ||||
|  | ||||
|         private void loadToolStripMenuItem_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             FCOMMON.Util.FPColSizeLoad(ref this.fpSpread1, fn_fpcolsize1); | ||||
|         } | ||||
|  | ||||
|         private void bindingNavigatorAddNewItem_Click(object sender, EventArgs e) | ||||
|         { | ||||
|  | ||||
|         } | ||||
|  | ||||
|         private void bindingNavigatorDeleteItem_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             var drv = this.bs.Current as DataRowView; | ||||
|             if (drv == null) return; | ||||
|             var dr = drv.Row as dsMSSQL.CustomsRow; | ||||
|             if (dr.RowState == DataRowState.Added || dr.RowState == DataRowState.Detached || dr.RowState == DataRowState.Deleted) this.bs.RemoveCurrent(); | ||||
|  | ||||
|             dsMSSQLTableAdapters.QueriesTableAdapter taq = new dsMSSQLTableAdapters.QueriesTableAdapter(); | ||||
|             var cnt = (int)taq.CheckSupplyUsage(dr.idx); | ||||
|             if(cnt > 0) | ||||
|             { | ||||
|                 FCOMMON.Util.MsgE("해당 거래처가 연결된 자료가 있어 삭제할 수 없습니다.\n\n" + | ||||
|                     "개발자에 문의 하세요"); | ||||
|                 return; | ||||
|             } | ||||
|             var dlg =FCOMMON.Util.MsgQ("다음 거래처를 삭제하시겠습니까?\n"+  | ||||
|                 dr.name + "\n" + dr.staff); | ||||
|             if(dlg == System.Windows.Forms.DialogResult.Yes) | ||||
|             { | ||||
|                 this.bs.RemoveCurrent(); | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         private int selcectIDX = -1; | ||||
|         private void bs_CurrentChanged(object sender, EventArgs e) | ||||
|         { | ||||
|             //선택되면 staff 를 연결해준다. | ||||
|             var drv = this.bs.Current as DataRowView; | ||||
|             if(drv == null) | ||||
|             { | ||||
|                 selcectIDX = -1; | ||||
|                 this.bsStaff.Filter = "cid=-1"; | ||||
|                 bindingNavigator1.Enabled = false; | ||||
|             } | ||||
|             else | ||||
|             { | ||||
|                 selcectIDX = int.Parse(drv["idx"].ToString()); | ||||
|                 this.bsStaff.Filter = "cid=" + selcectIDX; | ||||
|                 bindingNavigator1.Enabled = true; | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         private void toolStripMenuItem2_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             FCOMMON.Util.FPColSizeAuto(this.fpSpread2); | ||||
|         } | ||||
|  | ||||
|         private void toolStripMenuItem3_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             FCOMMON.Util.FPCollSizeReset(this.fpSpread2); | ||||
|         } | ||||
|  | ||||
|         private void toolStripMenuItem4_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             FCOMMON.Util.FPColsizeSave(this.fpSpread2, fn_fpcolsize2); | ||||
|         } | ||||
|  | ||||
|         private void toolStripMenuItem5_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             FCOMMON.Util.FPColsizeSave(this.fpSpread2, fn_fpcolsize2); | ||||
|         } | ||||
|  | ||||
|         private void toolStripButton2_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             refreshDataS(); | ||||
|         } | ||||
|  | ||||
|         private void toolStripButton3_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             this.Validate(); | ||||
|             this.bsStaff.EndEdit(); | ||||
|             int cnt = this.taStaff.Update(this.dsMSSQL.Staff); | ||||
|             if (cnt < 1) | ||||
|             { | ||||
|                 FCOMMON.Util.MsgI("변경된 내역이 없습니다."); | ||||
|             } | ||||
|             else FCOMMON.Util.MsgI(string.Format("{0} 건의 자료가 업데이트 되었습니다.", cnt)); | ||||
|         } | ||||
|     } | ||||
| } | ||||
|   | ||||
| @@ -129,6 +129,9 @@ | ||||
|   <metadata name="tam.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>248, 17</value> | ||||
|   </metadata> | ||||
|   <metadata name="taStaff.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>703, 17</value> | ||||
|   </metadata> | ||||
|   <metadata name="bn.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>321, 17</value> | ||||
|   </metadata> | ||||
| @@ -143,18 +146,6 @@ | ||||
|         zpX/v6RC8f/fWzFAjeH/p+Zp/J+QpfW/O0P3f3uq/v/mREPCYTIb6E+Qc//dCPjfk6FDWAM6APnz3w1/ | ||||
|         IPb735qsT7oB3em6YP+CcH2cEekGtCQZ/G+IN/xfE2v8vzLahHQD6AQYGAAkI9iedfyIaQAAAABJRU5E | ||||
|         rkJggg== | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="bindingNavigatorDeleteItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||
|         wwAADsMBx2+oZAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC | ||||
|         DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC | ||||
|         rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV | ||||
|         i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG | ||||
|         86CNhdrsX9a/uQZTPhQl4rMY4OLofbl3aX7I8uwPC7y/g1YdjyVJuEvT8e1tfwUYteHUxCCfHChDeHmG | ||||
|         QQvokjlOU+PbWA0x3pZnILVVI3uvQyHsbiLnqnGmRCF1NYD8pDhpRxOH7HQoAKZGkFKjceszQbpSrumX | ||||
|         bO+G80MFwKUTxgfgcO/b8D9IpXoFiiMDHIQm0skAAAAASUVORK5CYII= | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
| @@ -195,6 +186,18 @@ | ||||
|         kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG | ||||
|         WOTd+W9TcAVDMwiA5FL7X8O9hBUYZt3GqhkEQHJhLS//6wbPw22ATtoNnJIgOb/qh/81fKfhNgAfcMq9 | ||||
|         8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg== | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="bindingNavigatorDeleteItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||
|         wwAADsMBx2+oZAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC | ||||
|         DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC | ||||
|         rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV | ||||
|         i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG | ||||
|         86CNhdrsX9a/uQZTPhQl4rMY4OLofbl3aX7I8uwPC7y/g1YdjyVJuEvT8e1tfwUYteHUxCCfHChDeHmG | ||||
|         QQvokjlOU+PbWA0x3pZnILVVI3uvQyHsbiLnqnGmRCF1NYD8pDhpRxOH7HQoAKZGkFKjceszQbpSrumX | ||||
|         bO+G80MFwKUTxgfgcO/b8D9IpXoFiiMDHIQm0skAAAAASUVORK5CYII= | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="customsBindingNavigatorSaveItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
| @@ -202,9 +205,184 @@ | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||
|         wwAADsMBx2+oZAAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo | ||||
|         dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII= | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="btFind.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 | ||||
|         YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAE3SURBVDhPnZIxS8NQFEb7W/wLjh0Fl9a1SxBHBekkWFd1 | ||||
|         qYg4Ci5dndSCg2AHl4LQSaRSKDqoFUE7VAjUmvTKueWmL2mw2gunL7zmO+/mJhmZoTJusdF868vpXUfO | ||||
|         b5/lpPEox9f3SvnsRtk8uojxHQ7HEgSEkXS6vrz3xqtdu+xdfUiheEBsJOGCk/mz/hROUHsIIrp+qIKY | ||||
|         hB/a9r+CVAG4Auj5g7iA5/1NACaptgIVLHkb0wWVw13ZL60p2+uerqkCJs1mMgwUU6d1k/xJwI10RZj1 | ||||
|         9TPUN7Wam9dgTMC75QR7TjCBkRQs5Jd1jQS8c1ewtZLTPcQW/peADpC44cudgnjZOQ1OCGjTwkwaGBon | ||||
|         GoSrpcVIQqmAj6LZftFBup9vWiUlUQdIDCbsQrsGZRJKBbOXyA++SlEsu6QjvQAAAABJRU5ErkJggg== | ||||
| </value> | ||||
|   </data> | ||||
|   <metadata name="cm1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>387, 17</value> | ||||
|   </metadata> | ||||
|   <data name="autoToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         R0lGODlhEAAQAIQfAJXG2JXa+ZLO5ChrlkCy4TZ1kiVvpCN0trvo9SN5xTd4lrfh7iR9zo3S+EGz7JDJ | ||||
|         4TaCromrvC9ymyV+0Dd3mTl1koe72YvN7LTj+9ne6N3g6v7+/0Cw2Stoh////////yH/C05FVFNDQVBF | ||||
|         Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAInwA/CBzooaAHgQUHKvRQoUABCgUlHFT4IYMCBAsQIIBg | ||||
|         wcBEgh0WCBDAgcAFDAc+fvDQIUKHDgMeEHDQIIFKlgoMGgjQoAGDmwUOehhg4EACBhM+GlzKVOkEBgkO | ||||
|         GBggNOhCBhgCBPBYUEGHmwkCOCDwYMCAll8XHghwgQCHkQDSLjRgAcKDBwAAKNCwgaIHiR4oOKygkuDE | ||||
|         pRQTK6YYEAA7 | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="resetToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         R0lGODlhEAAQAIQfALnik2aXQv7+/dPut73llbfala3LmW6gSWqdQ2eYRGqaSLfck568iYrUQN7yzF6R | ||||
|         PLTXlYjUP8XwmYfQQLbYl4jRQGiaQsPumNbyu7nglNPzsLXYlf7+/lCHK////////yH/C05FVFNDQVBF | ||||
|         Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIlgA/CBzooaAHgQUHEvSgIEAABQUfHFTIwQECDAMwYDhg | ||||
|         oENCgRw8dBgAAECFBgsweJxYsAODDjApTIhAwCMHkCItGOxwgUCGlQQTeAgJsyhQg0iTGvzQ0qhND0IX | ||||
|         dtBwQcJKDxZsIhQpIcIECkVffmwpYUGDCiUheBQg1cCBAgU2QFDg4KZCDxIZOoQ48S7LpQoDCx4cEAA7 | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="saveToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         R0lGODlhEAAQAIQAAJXD9Iasxm6MqnSn2lZtjVaRyEpXbYu767TX/2KZztvr/4Gy5KrT/3ut32+gzlFh | ||||
|         e+r0/0RNX9/u/9Ln+8Xg//n8/4e36CkxQz9GVkSCvKjL35/N/Je91K7T5bDS4////yH/C05FVFNDQVBF | ||||
|         Mi4wAwEBAAAh+QQAAAAAACwAAAAAEAAQAAAIuQA/CBxIsKDACRwScggQwIGAhwIICBDYQcEEgwg+bNjw | ||||
|         QKCHCQgkQBgpQcKBCg0AEBCoAaRIkhIsVBigUiAHCgwkKNjJU8GAAx0/3NwIAMABCwsaDHCwIGgAChuK | ||||
|         HjiQdMDSAQYEPpWKtKqDBA6yfgiAwGhXpUsTJIgg0AGCo0nRfi1QgO0HAQyQNpCrtkAGDAIFbKi69GsC | ||||
|         un8FEohqdEFavxkyXAhMoPKDBwYMRIiAAcOFoAZDCwwIADs= | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="loadToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         R0lGODlhEAAQAIQfAJfL/OTs9HWVsW6aUqnT+6bnZldwkYiux7TZ/O3z+UlVa/P2+ZfTW36wWJDLV4m7 | ||||
|         69nn78bi/qjL3qDP+VJhe4rAVa7S40NLXJ3bYJrA1ikxQz5FVdDU22OPRf///////yH/C05FVFNDQVBF | ||||
|         Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIwQA9CBxIcOCHgx4gWLAgIUOGAwcESBTgAaEFCAEGaBwQ | ||||
|         IGOABwYqerCQsYBJBho7JHgAUqCEDjAxYGBQgYHKBAsoCMzQIUIEmA6CdkCAIOfOBT5/MnBQYSgBozCj | ||||
|         SoVJ4KkCDx1MFhhKFEFVAhMCXM1aAANMoh2qTgh7AWvZmQ6igp0AIEDbDg0aLA06YC4AABA2eBjgYcHG | ||||
|         vmv/Akgg2IMBDgsSdJwcAEICDhoECjDAmQIFBQouXNiwQYPOgqgLBgQAOw== | ||||
| </value> | ||||
|   </data> | ||||
|   <metadata name="fpSpread1_Sheet1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>1173, 17</value> | ||||
|   </metadata> | ||||
|   <metadata name="cm2.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>1098, 17</value> | ||||
|   </metadata> | ||||
|   <data name="toolStripMenuItem2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         R0lGODlhEAAQAIQfAJXG2JXa+ZLO5ChrlkCy4TZ1kiVvpCN0trvo9SN5xTd4lrfh7iR9zo3S+EGz7JDJ | ||||
|         4TaCromrvC9ymyV+0Dd3mTl1koe72YvN7LTj+9ne6N3g6v7+/0Cw2Stoh////////yH/C05FVFNDQVBF | ||||
|         Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAInwA/CBzooaAHgQUHKvRQoUABCgUlHFT4IYMCBAsQIIBg | ||||
|         wcBEgh0WCBDAgcAFDAc+fvDQIUKHDgMeEHDQIIFKlgoMGgjQoAGDmwUOehhg4EACBhM+GlzKVOkEBgkO | ||||
|         GBggNOhCBhgCBPBYUEGHmwkCOCDwYMCAll8XHghwgQCHkQDSLjRgAcKDBwAAKNCwgaIHiR4oOKygkuDE | ||||
|         pRQTK6YYEAA7 | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="toolStripMenuItem3.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         R0lGODlhEAAQAIQfALnik2aXQv7+/dPut73llbfala3LmW6gSWqdQ2eYRGqaSLfck568iYrUQN7yzF6R | ||||
|         PLTXlYjUP8XwmYfQQLbYl4jRQGiaQsPumNbyu7nglNPzsLXYlf7+/lCHK////////yH/C05FVFNDQVBF | ||||
|         Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIlgA/CBzooaAHgQUHEvSgIEAABQUfHFTIwQECDAMwYDhg | ||||
|         oENCgRw8dBgAAECFBgsweJxYsAODDjApTIhAwCMHkCItGOxwgUCGlQQTeAgJsyhQg0iTGvzQ0qhND0IX | ||||
|         dtBwQcJKDxZsIhQpIcIECkVffmwpYUGDCiUheBQg1cCBAgU2QFDg4KZCDxIZOoQ48S7LpQoDCx4cEAA7 | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="toolStripMenuItem4.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         R0lGODlhEAAQAIQAAJXD9Iasxm6MqnSn2lZtjVaRyEpXbYu767TX/2KZztvr/4Gy5KrT/3ut32+gzlFh | ||||
|         e+r0/0RNX9/u/9Ln+8Xg//n8/4e36CkxQz9GVkSCvKjL35/N/Je91K7T5bDS4////yH/C05FVFNDQVBF | ||||
|         Mi4wAwEBAAAh+QQAAAAAACwAAAAAEAAQAAAIuQA/CBxIsKDACRwScggQwIGAhwIICBDYQcEEgwg+bNjw | ||||
|         QKCHCQgkQBgpQcKBCg0AEBCoAaRIkhIsVBigUiAHCgwkKNjJU8GAAx0/3NwIAMABCwsaDHCwIGgAChuK | ||||
|         HjiQdMDSAQYEPpWKtKqDBA6yfgiAwGhXpUsTJIgg0AGCo0nRfi1QgO0HAQyQNpCrtkAGDAIFbKi69GsC | ||||
|         un8FEohqdEFavxkyXAhMoPKDBwYMRIiAAcOFoAZDCwwIADs= | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="toolStripMenuItem5.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         R0lGODlhEAAQAIQfAJfL/OTs9HWVsW6aUqnT+6bnZldwkYiux7TZ/O3z+UlVa/P2+ZfTW36wWJDLV4m7 | ||||
|         69nn78bi/qjL3qDP+VJhe4rAVa7S40NLXJ3bYJrA1ikxQz5FVdDU22OPRf///////yH/C05FVFNDQVBF | ||||
|         Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIwQA9CBxIcOCHgx4gWLAgIUOGAwcESBTgAaEFCAEGaBwQ | ||||
|         IGOABwYqerCQsYBJBho7JHgAUqCEDjAxYGBQgYHKBAsoCMzQIUIEmA6CdkCAIOfOBT5/MnBQYSgBozCj | ||||
|         SoVJ4KkCDx1MFhhKFEFVAhMCXM1aAANMoh2qTgh7AWvZmQ6igp0AIEDbDg0aLA06YC4AABA2eBjgYcHG | ||||
|         vmv/Akgg2IMBDgsSdJwcAEICDhoECjDAmQIFBQouXNiwQYPOgqgLBgQAOw== | ||||
| </value> | ||||
|   </data> | ||||
|   <metadata name="fpSpread2_Sheet1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>946, 17</value> | ||||
|   </metadata> | ||||
|   <metadata name="bsStaff.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>614, 17</value> | ||||
|   </metadata> | ||||
|   <metadata name="bindingNavigator1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>790, 17</value> | ||||
|   </metadata> | ||||
|   <data name="bindingNavigatorAddNewItem1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||
|         wwAADsMBx2+oZAAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC | ||||
|         pBtwfjov3ICDPSKkG3B8kiBQc93/Pw+q/u9oFydswKWZPP/PTuX7fxKo8Ui/0P993SJAzeX//94r+r++ | ||||
|         Qeb/qhq5/0srFf/PL1X+P6tIFdPAU0B//nlYD9RUC8SV///cKwHivP9/72b+/3sn+f/f23H//92MAOKQ | ||||
|         /5NyNDENONQrDHbu3/ulQI0FQI3ZQI2pQI0J///digZqDPv/70bQ/3/X/f53peliGrCzXeL/lmap/+vA | ||||
|         zpX/v6RC8f/fWzFAjeH/p+Zp/J+QpfW/O0P3f3uq/v/mREPCYTIb6E+Qc//dCPjfk6FDWAM6APnz3w1/ | ||||
|         IPb735qsT7oB3em6YP+CcH2cEekGtCQZ/G+IN/xfE2v8vzLahHQD6AQYGAAkI9iedfyIaQAAAABJRU5E | ||||
|         rkJggg== | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="bindingNavigatorDeleteItem1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||
|         wwAADsMBx2+oZAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC | ||||
|         DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC | ||||
|         rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV | ||||
|         i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG | ||||
|         86CNhdrsX9a/uQZTPhQl4rMY4OLofbl3aX7I8uwPC7y/g1YdjyVJuEvT8e1tfwUYteHUxCCfHChDeHmG | ||||
|         QQvokjlOU+PbWA0x3pZnILVVI3uvQyHsbiLnqnGmRCF1NYD8pDhpRxOH7HQoAKZGkFKjceszQbpSrumX | ||||
|         bO+G80MFwKUTxgfgcO/b8D9IpXoFiiMDHIQm0skAAAAASUVORK5CYII= | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="bindingNavigatorMoveFirstItem1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||
|         wwAADsMBx2+oZAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77 | ||||
|         wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0 | ||||
|         v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg | ||||
|         UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA | ||||
|         Iu/O/9T+11gVGSSd+C+b9vW/bvA83AYYZt3+H9byEqci/dTL/zV8p+E2QCftxn+/6od4Fal4TMBtgFPu | ||||
|         lf8gBXgVDULAwAAA8HbAq6XlmnAAAAAASUVORK5CYII= | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="bindingNavigatorMovePreviousItem1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||
|         wwAADsMBx2+oZAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w | ||||
|         5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f | ||||
|         Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+ | ||||
|         08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="bindingNavigatorMoveNextItem1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||
|         wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78 | ||||
|         n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI | ||||
|         N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f | ||||
|         oAc0QjgAAAAASUVORK5CYII= | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="bindingNavigatorMoveLastItem1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||
|         wwAADsMBx2+oZAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+// | ||||
|         h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B | ||||
|         twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA | ||||
|         kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG | ||||
|         WOTd+W9TcAVDMwiA5FL7X8O9hBUYZt3GqhkEQHJhLS//6wbPw22ATtoNnJIgOb/qh/81fKfhNgAfcMq9 | ||||
|         8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg== | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="toolStripButton3.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||
|         wwAADsMBx2+oZAAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo | ||||
|         dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII= | ||||
| </value> | ||||
|   </data> | ||||
| </root> | ||||
							
								
								
									
										174
									
								
								SubProject/FCM0000/fItems.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										174
									
								
								SubProject/FCM0000/fItems.Designer.cs
									
									
									
										generated
									
									
									
								
							| @@ -30,16 +30,16 @@ | ||||
|         { | ||||
|             this.components = new System.ComponentModel.Container(); | ||||
|             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fItems)); | ||||
|             FarPoint.Win.Spread.CellType.NumberCellType numberCellType7 = new FarPoint.Win.Spread.CellType.NumberCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType15 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType16 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType17 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType18 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType19 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.NumberCellType numberCellType8 = new FarPoint.Win.Spread.CellType.NumberCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType20 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType21 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.NumberCellType numberCellType9 = new FarPoint.Win.Spread.CellType.NumberCellType(); | ||||
|             FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType2 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType3 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType4 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType5 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType6 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.NumberCellType numberCellType3 = new FarPoint.Win.Spread.CellType.NumberCellType(); | ||||
|             this.bn = new System.Windows.Forms.BindingNavigator(this.components); | ||||
|             this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.bs = new System.Windows.Forms.BindingSource(this.components); | ||||
| @@ -65,6 +65,8 @@ | ||||
|             this.resetToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.loadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator(); | ||||
|             this.viewPurchaseListToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.ta = new FCM0000.dsMSSQLTableAdapters.ItemsTableAdapter(); | ||||
|             this.tam = new FCM0000.dsMSSQLTableAdapters.TableAdapterManager(); | ||||
|             this.toolStrip1 = new System.Windows.Forms.ToolStrip(); | ||||
| @@ -74,10 +76,14 @@ | ||||
|             this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel(); | ||||
|             this.cmbMode = new System.Windows.Forms.ToolStripComboBox(); | ||||
|             this.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); | ||||
|             this.chkImg = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.fpSpread1 = new FarPoint.Win.Spread.FpSpread(); | ||||
|             this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); | ||||
|             this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator(); | ||||
|             this.viewPurchaseListToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.panel1 = new System.Windows.Forms.Panel(); | ||||
|             this.groupBox1 = new System.Windows.Forms.GroupBox(); | ||||
|             this.button1 = new System.Windows.Forms.Button(); | ||||
|             this.pictureBox1 = new System.Windows.Forms.PictureBox(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); | ||||
|             this.bn.SuspendLayout(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); | ||||
| @@ -86,6 +92,8 @@ | ||||
|             this.toolStrip1.SuspendLayout(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit(); | ||||
|             this.groupBox1.SuspendLayout(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); | ||||
|             this.SuspendLayout(); | ||||
|             //  | ||||
|             // bn | ||||
| @@ -112,14 +120,14 @@ | ||||
|             this.toolStripLabel3, | ||||
|             this.tbFind, | ||||
|             this.btFind}); | ||||
|             this.bn.Location = new System.Drawing.Point(0, 441); | ||||
|             this.bn.Location = new System.Drawing.Point(0, 566); | ||||
|             this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem; | ||||
|             this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem; | ||||
|             this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem; | ||||
|             this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem; | ||||
|             this.bn.Name = "bn"; | ||||
|             this.bn.PositionItem = this.bindingNavigatorPositionItem; | ||||
|             this.bn.Size = new System.Drawing.Size(758, 25); | ||||
|             this.bn.Size = new System.Drawing.Size(682, 25); | ||||
|             this.bn.TabIndex = 0; | ||||
|             this.bn.Text = "bindingNavigator1"; | ||||
|             //  | ||||
| @@ -136,6 +144,7 @@ | ||||
|             this.bs.DataMember = "Items"; | ||||
|             this.bs.DataSource = this.dsMSSQL; | ||||
|             this.bs.Sort = "sid,name"; | ||||
|             this.bs.CurrentChanged += new System.EventHandler(this.bs_CurrentChanged); | ||||
|             //  | ||||
|             // dsMSSQL | ||||
|             //  | ||||
| @@ -262,7 +271,7 @@ | ||||
|             this.toolStripMenuItem1, | ||||
|             this.viewPurchaseListToolStripMenuItem}); | ||||
|             this.cm1.Name = "cm1"; | ||||
|             this.cm1.Size = new System.Drawing.Size(318, 116); | ||||
|             this.cm1.Size = new System.Drawing.Size(318, 94); | ||||
|             //  | ||||
|             // columnSizeToolStripMenuItem | ||||
|             //  | ||||
| @@ -272,7 +281,7 @@ | ||||
|             this.saveToolStripMenuItem, | ||||
|             this.loadToolStripMenuItem}); | ||||
|             this.columnSizeToolStripMenuItem.Name = "columnSizeToolStripMenuItem"; | ||||
|             this.columnSizeToolStripMenuItem.Size = new System.Drawing.Size(247, 42); | ||||
|             this.columnSizeToolStripMenuItem.Size = new System.Drawing.Size(317, 42); | ||||
|             this.columnSizeToolStripMenuItem.Text = "Column Size"; | ||||
|             //  | ||||
|             // autoToolStripMenuItem | ||||
| @@ -307,6 +316,18 @@ | ||||
|             this.loadToolStripMenuItem.Text = "Load"; | ||||
|             this.loadToolStripMenuItem.Click += new System.EventHandler(this.loadToolStripMenuItem_Click); | ||||
|             //  | ||||
|             // toolStripMenuItem1 | ||||
|             //  | ||||
|             this.toolStripMenuItem1.Name = "toolStripMenuItem1"; | ||||
|             this.toolStripMenuItem1.Size = new System.Drawing.Size(314, 6); | ||||
|             //  | ||||
|             // viewPurchaseListToolStripMenuItem | ||||
|             //  | ||||
|             this.viewPurchaseListToolStripMenuItem.Enabled = false; | ||||
|             this.viewPurchaseListToolStripMenuItem.Name = "viewPurchaseListToolStripMenuItem"; | ||||
|             this.viewPurchaseListToolStripMenuItem.Size = new System.Drawing.Size(317, 42); | ||||
|             this.viewPurchaseListToolStripMenuItem.Text = "view Purchase List"; | ||||
|             //  | ||||
|             // ta | ||||
|             //  | ||||
|             this.ta.ClearBeforeFill = true; | ||||
| @@ -323,6 +344,7 @@ | ||||
|             this.tam.MailFormTableAdapter = null; | ||||
|             this.tam.ProjectsTableAdapter = null; | ||||
|             this.tam.RequestItemTableAdapter = null; | ||||
|             this.tam.StaffTableAdapter = null; | ||||
|             this.tam.UpdateOrder = FCM0000.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; | ||||
|             //  | ||||
|             // toolStrip1 | ||||
| @@ -333,10 +355,12 @@ | ||||
|             this.toolStripSeparator1, | ||||
|             this.toolStripLabel1, | ||||
|             this.cmbMode, | ||||
|             this.toolStripButton2}); | ||||
|             this.toolStripButton2, | ||||
|             this.toolStripSeparator3, | ||||
|             this.chkImg}); | ||||
|             this.toolStrip1.Location = new System.Drawing.Point(0, 0); | ||||
|             this.toolStrip1.Name = "toolStrip1"; | ||||
|             this.toolStrip1.Size = new System.Drawing.Size(758, 25); | ||||
|             this.toolStrip1.Size = new System.Drawing.Size(977, 25); | ||||
|             this.toolStrip1.TabIndex = 2; | ||||
|             this.toolStrip1.Text = "toolStrip1"; | ||||
|             //  | ||||
| @@ -384,6 +408,23 @@ | ||||
|             this.toolStripButton2.Text = "Refresh"; | ||||
|             this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click); | ||||
|             //  | ||||
|             // toolStripSeparator3 | ||||
|             //  | ||||
|             this.toolStripSeparator3.Name = "toolStripSeparator3"; | ||||
|             this.toolStripSeparator3.Size = new System.Drawing.Size(6, 25); | ||||
|             //  | ||||
|             // chkImg | ||||
|             //  | ||||
|             this.chkImg.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; | ||||
|             this.chkImg.Checked = true; | ||||
|             this.chkImg.CheckOnClick = true; | ||||
|             this.chkImg.CheckState = System.Windows.Forms.CheckState.Checked; | ||||
|             this.chkImg.Image = ((System.Drawing.Image)(resources.GetObject("chkImg.Image"))); | ||||
|             this.chkImg.ImageTransparentColor = System.Drawing.Color.Magenta; | ||||
|             this.chkImg.Name = "chkImg"; | ||||
|             this.chkImg.Size = new System.Drawing.Size(87, 22); | ||||
|             this.chkImg.Text = "이미지보기"; | ||||
|             //  | ||||
|             // fpSpread1 | ||||
|             //  | ||||
|             this.fpSpread1.AccessibleDescription = ""; | ||||
| @@ -394,7 +435,7 @@ | ||||
|             this.fpSpread1.Name = "fpSpread1"; | ||||
|             this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] { | ||||
|             this.fpSpread1_Sheet1}); | ||||
|             this.fpSpread1.Size = new System.Drawing.Size(758, 416); | ||||
|             this.fpSpread1.Size = new System.Drawing.Size(682, 541); | ||||
|             this.fpSpread1.TabIndex = 3; | ||||
|             //  | ||||
|             // fpSpread1_Sheet1 | ||||
| @@ -409,61 +450,61 @@ | ||||
|             this.fpSpread1_Sheet1.AutoGenerateColumns = false; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 42F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(0).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); | ||||
|             numberCellType7.DecimalPlaces = 0; | ||||
|             numberCellType7.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; | ||||
|             numberCellType7.MaximumValue = 2147483647D; | ||||
|             numberCellType7.MinimumValue = -2147483648D; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(0).CellType = numberCellType7; | ||||
|             numberCellType1.DecimalPlaces = 0; | ||||
|             numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; | ||||
|             numberCellType1.MaximumValue = 2147483647D; | ||||
|             numberCellType1.MinimumValue = -2147483648D; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(0).CellType = numberCellType1; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(0).DataField = "idx"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(0).Width = 88F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(1).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); | ||||
|             this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType15; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType1; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(1).DataField = "cate"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(1).Width = 113F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType16; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType2; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).DataField = "name"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).Width = 113F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType17; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType3; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).DataField = "sid"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).Width = 113F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType18; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType4; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).DataField = "model"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).Width = 113F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType19; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType5; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(5).DataField = "unit"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(5).Width = 113F; | ||||
|             numberCellType8.MaximumValue = 999999999999999D; | ||||
|             numberCellType8.MinimumValue = -999999999999999D; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).CellType = numberCellType8; | ||||
|             numberCellType2.MaximumValue = 999999999999999D; | ||||
|             numberCellType2.MinimumValue = -999999999999999D; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).CellType = numberCellType2; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).DataField = "price"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).Width = 84F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType20; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType6; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(7).DataField = "manu"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(7).Width = 113F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType21; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType7; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(8).DataField = "memo"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(8).Width = 113F; | ||||
|             numberCellType9.MaximumValue = 999999999999999D; | ||||
|             numberCellType9.MinimumValue = -999999999999999D; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(9).CellType = numberCellType9; | ||||
|             numberCellType3.MaximumValue = 999999999999999D; | ||||
|             numberCellType3.MinimumValue = -999999999999999D; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(9).CellType = numberCellType3; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(9).DataField = "scale"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(9).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
| @@ -473,26 +514,57 @@ | ||||
|             this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false; | ||||
|             this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1; | ||||
|             //  | ||||
|             // toolStripMenuItem1 | ||||
|             // panel1 | ||||
|             //  | ||||
|             this.toolStripMenuItem1.Name = "toolStripMenuItem1"; | ||||
|             this.toolStripMenuItem1.Size = new System.Drawing.Size(314, 6); | ||||
|             this.panel1.Dock = System.Windows.Forms.DockStyle.Right; | ||||
|             this.panel1.Location = new System.Drawing.Point(682, 25); | ||||
|             this.panel1.Name = "panel1"; | ||||
|             this.panel1.Size = new System.Drawing.Size(13, 566); | ||||
|             this.panel1.TabIndex = 4; | ||||
|             //  | ||||
|             // viewPurchaseListToolStripMenuItem | ||||
|             // groupBox1 | ||||
|             //  | ||||
|             this.viewPurchaseListToolStripMenuItem.Enabled = false; | ||||
|             this.viewPurchaseListToolStripMenuItem.Name = "viewPurchaseListToolStripMenuItem"; | ||||
|             this.viewPurchaseListToolStripMenuItem.Size = new System.Drawing.Size(317, 42); | ||||
|             this.viewPurchaseListToolStripMenuItem.Text = "view Purchase List"; | ||||
|             this.groupBox1.Controls.Add(this.button1); | ||||
|             this.groupBox1.Controls.Add(this.pictureBox1); | ||||
|             this.groupBox1.Dock = System.Windows.Forms.DockStyle.Right; | ||||
|             this.groupBox1.Location = new System.Drawing.Point(695, 25); | ||||
|             this.groupBox1.Name = "groupBox1"; | ||||
|             this.groupBox1.Size = new System.Drawing.Size(282, 566); | ||||
|             this.groupBox1.TabIndex = 5; | ||||
|             this.groupBox1.TabStop = false; | ||||
|             this.groupBox1.Text = "기타 정보"; | ||||
|             //  | ||||
|             // button1 | ||||
|             //  | ||||
|             this.button1.Dock = System.Windows.Forms.DockStyle.Top; | ||||
|             this.button1.Location = new System.Drawing.Point(3, 216); | ||||
|             this.button1.Name = "button1"; | ||||
|             this.button1.Size = new System.Drawing.Size(276, 28); | ||||
|             this.button1.TabIndex = 1; | ||||
|             this.button1.Text = "이미지선택(640*480)"; | ||||
|             this.button1.UseVisualStyleBackColor = true; | ||||
|             this.button1.Click += new System.EventHandler(this.button1_Click); | ||||
|             //  | ||||
|             // pictureBox1 | ||||
|             //  | ||||
|             this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Top; | ||||
|             this.pictureBox1.Location = new System.Drawing.Point(3, 17); | ||||
|             this.pictureBox1.Name = "pictureBox1"; | ||||
|             this.pictureBox1.Size = new System.Drawing.Size(276, 199); | ||||
|             this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; | ||||
|             this.pictureBox1.TabIndex = 0; | ||||
|             this.pictureBox1.TabStop = false; | ||||
|             //  | ||||
|             // fItems | ||||
|             //  | ||||
|             this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); | ||||
|             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | ||||
|             this.ClientSize = new System.Drawing.Size(758, 466); | ||||
|             this.ClientSize = new System.Drawing.Size(977, 591); | ||||
|             this.Controls.Add(this.fpSpread1); | ||||
|             this.Controls.Add(this.toolStrip1); | ||||
|             this.Controls.Add(this.bn); | ||||
|             this.Controls.Add(this.panel1); | ||||
|             this.Controls.Add(this.groupBox1); | ||||
|             this.Controls.Add(this.toolStrip1); | ||||
|             this.Name = "fItems"; | ||||
|             this.Text = "fItems"; | ||||
|             this.Load += new System.EventHandler(this.fItems_Load); | ||||
| @@ -506,6 +578,8 @@ | ||||
|             this.toolStrip1.PerformLayout(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit(); | ||||
|             this.groupBox1.ResumeLayout(false); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); | ||||
|             this.ResumeLayout(false); | ||||
|             this.PerformLayout(); | ||||
|  | ||||
| @@ -551,5 +625,11 @@ | ||||
|         private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1; | ||||
|         private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1; | ||||
|         private System.Windows.Forms.ToolStripMenuItem viewPurchaseListToolStripMenuItem; | ||||
|         private System.Windows.Forms.Panel panel1; | ||||
|         private System.Windows.Forms.GroupBox groupBox1; | ||||
|         private System.Windows.Forms.ToolStripSeparator toolStripSeparator3; | ||||
|         private System.Windows.Forms.ToolStripButton chkImg; | ||||
|         private System.Windows.Forms.PictureBox pictureBox1; | ||||
|         private System.Windows.Forms.Button button1; | ||||
|     } | ||||
| } | ||||
| @@ -174,6 +174,50 @@ namespace FCM0000 | ||||
|             FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize); | ||||
|         } | ||||
|  | ||||
|         private void bs_CurrentChanged(object sender, EventArgs e) | ||||
|         { | ||||
|             var drv = this.bs.Current as DataRowView; | ||||
|             var img = this.pictureBox1.Image; | ||||
|             if(drv == null) | ||||
|             {    | ||||
|                 this.pictureBox1.Image = null; | ||||
|             } | ||||
|             else | ||||
|             { | ||||
|                 try { | ||||
|                     var dr = drv.Row as dsMSSQL.ItemsRow; | ||||
|                     var img1 = FCOMMON.DBM.GetImageData("Items", "image", dr.idx); | ||||
|                     if (img1 != null) this.pictureBox1.Image = img1; | ||||
|                     else this.pictureBox1.Image = null; | ||||
|                 } catch (Exception ex) | ||||
|                 { | ||||
|                     this.pictureBox1.Image = null; | ||||
|                 } | ||||
|                  | ||||
|             } | ||||
|             if (img != null) img.Dispose(); | ||||
|         } | ||||
|  | ||||
|         private void button1_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             var drv = this.bs.Current as DataRowView; | ||||
|             if (drv == null) return; | ||||
|             var dr = drv.Row as dsMSSQL.ItemsRow; | ||||
|             if(dr.RowState == DataRowState.Deleted || dr.RowState == DataRowState.Detached || | ||||
|                 dr.RowState == DataRowState.Added) | ||||
|             { | ||||
|                 FCOMMON.Util.MsgE("이미지는 등록 완료된 아이템만 가능합니다. 먼저 저장한 후 다시 시도하세요."); | ||||
|                 return; | ||||
|             } | ||||
|             OpenFileDialog od = new OpenFileDialog(); | ||||
|             if (od.ShowDialog() != System.Windows.Forms.DialogResult.OK) return; | ||||
|             var image = Image.FromFile(od.FileName); | ||||
|             if(!FCOMMON.DBM.setImageData(image, "Items", "image", dr.idx)) | ||||
|             { | ||||
|                 FCOMMON.Util.MsgE("등록 실패"); | ||||
|             } | ||||
|         } | ||||
|  | ||||
|  | ||||
|     } | ||||
| } | ||||
|   | ||||
| @@ -209,9 +209,6 @@ | ||||
|         GoSrpcVIQqmAj6LZftFBup9vWiUlUQdIDCbsQrsGZRJKBbOXyA++SlEsu6QjvQAAAABJRU5ErkJggg== | ||||
| </value> | ||||
|   </data> | ||||
|   <metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>17, 17</value> | ||||
|   </metadata> | ||||
|   <metadata name="cm1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>385, 12</value> | ||||
|   </metadata> | ||||
| @@ -263,6 +260,21 @@ | ||||
|   <metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>462, 17</value> | ||||
|   </metadata> | ||||
|   <data name="chkImg.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 | ||||
|         YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG | ||||
|         YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9 | ||||
|         0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw | ||||
|         bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc | ||||
|         VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9 | ||||
|         c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32 | ||||
|         Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo | ||||
|         mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+ | ||||
|         kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D | ||||
|         TgDQASA1MVpwzwAAAABJRU5ErkJggg== | ||||
| </value> | ||||
|   </data> | ||||
|   <metadata name="fpSpread1_Sheet1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>568, 17</value> | ||||
|   </metadata> | ||||
|   | ||||
							
								
								
									
										95
									
								
								SubProject/FCM0000/fLovItem.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										95
									
								
								SubProject/FCM0000/fLovItem.Designer.cs
									
									
									
										generated
									
									
									
								
							| @@ -36,9 +36,9 @@ | ||||
|             System.Windows.Forms.Label label1; | ||||
|             System.Windows.Forms.Label label2; | ||||
|             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fLovItem)); | ||||
|             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); | ||||
|             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); | ||||
|             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); | ||||
|             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle(); | ||||
|             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle(); | ||||
|             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle(); | ||||
|             this.bn = new System.Windows.Forms.BindingNavigator(this.components); | ||||
|             this.bs = new System.Windows.Forms.BindingSource(this.components); | ||||
|             this.dsMSSQL = new FCM0000.dsMSSQL(); | ||||
| @@ -67,6 +67,8 @@ | ||||
|             this.priceTextBox = new System.Windows.Forms.TextBox(); | ||||
|             this.ta = new FCM0000.dsMSSQLTableAdapters.ItemsTableAdapter(); | ||||
|             this.tam = new FCM0000.dsMSSQLTableAdapters.TableAdapterManager(); | ||||
|             this.pictureBox1 = new System.Windows.Forms.PictureBox(); | ||||
|             this.linkLabel1 = new System.Windows.Forms.LinkLabel(); | ||||
|             manuLabel = new System.Windows.Forms.Label(); | ||||
|             supplyLabel = new System.Windows.Forms.Label(); | ||||
|             memoLabel = new System.Windows.Forms.Label(); | ||||
| @@ -79,6 +81,7 @@ | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.dv)).BeginInit(); | ||||
|             this.panel1.SuspendLayout(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); | ||||
|             this.SuspendLayout(); | ||||
|             //  | ||||
|             // manuLabel | ||||
| @@ -112,7 +115,7 @@ | ||||
|             //  | ||||
|             priceLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); | ||||
|             priceLabel.AutoSize = true; | ||||
|             priceLabel.Location = new System.Drawing.Point(25, 426); | ||||
|             priceLabel.Location = new System.Drawing.Point(25, 435); | ||||
|             priceLabel.Name = "priceLabel"; | ||||
|             priceLabel.Size = new System.Drawing.Size(43, 18); | ||||
|             priceLabel.TabIndex = 18; | ||||
| @@ -122,7 +125,7 @@ | ||||
|             //  | ||||
|             label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); | ||||
|             label1.AutoSize = true; | ||||
|             label1.Location = new System.Drawing.Point(32, 457); | ||||
|             label1.Location = new System.Drawing.Point(32, 466); | ||||
|             label1.Name = "label1"; | ||||
|             label1.Size = new System.Drawing.Size(36, 18); | ||||
|             label1.TabIndex = 20; | ||||
| @@ -132,7 +135,7 @@ | ||||
|             //  | ||||
|             label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); | ||||
|             label2.AutoSize = true; | ||||
|             label2.Location = new System.Drawing.Point(27, 395); | ||||
|             label2.Location = new System.Drawing.Point(27, 404); | ||||
|             label2.Name = "label2"; | ||||
|             label2.Size = new System.Drawing.Size(41, 18); | ||||
|             label2.TabIndex = 22; | ||||
| @@ -156,14 +159,14 @@ | ||||
|             this.bindingNavigatorMoveLastItem, | ||||
|             this.bindingNavigatorSeparator2, | ||||
|             this.btOK}); | ||||
|             this.bn.Location = new System.Drawing.Point(0, 493); | ||||
|             this.bn.Location = new System.Drawing.Point(0, 502); | ||||
|             this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem; | ||||
|             this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem; | ||||
|             this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem; | ||||
|             this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem; | ||||
|             this.bn.Name = "bn"; | ||||
|             this.bn.PositionItem = this.bindingNavigatorPositionItem; | ||||
|             this.bn.Size = new System.Drawing.Size(984, 25); | ||||
|             this.bn.Size = new System.Drawing.Size(985, 25); | ||||
|             this.bn.TabIndex = 0; | ||||
|             this.bn.Text = "bindingNavigator1"; | ||||
|             //  | ||||
| @@ -268,15 +271,15 @@ | ||||
|             this.model, | ||||
|             this.dataGridViewTextBoxColumn3}); | ||||
|             this.dv.DataSource = this.bs; | ||||
|             dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; | ||||
|             dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Window; | ||||
|             dataGridViewCellStyle3.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | ||||
|             dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.ControlText; | ||||
|             dataGridViewCellStyle3.Padding = new System.Windows.Forms.Padding(1, 3, 1, 3); | ||||
|             dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight; | ||||
|             dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText; | ||||
|             dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False; | ||||
|             this.dv.DefaultCellStyle = dataGridViewCellStyle3; | ||||
|             dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; | ||||
|             dataGridViewCellStyle12.BackColor = System.Drawing.SystemColors.Window; | ||||
|             dataGridViewCellStyle12.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | ||||
|             dataGridViewCellStyle12.ForeColor = System.Drawing.SystemColors.ControlText; | ||||
|             dataGridViewCellStyle12.Padding = new System.Windows.Forms.Padding(1, 3, 1, 3); | ||||
|             dataGridViewCellStyle12.SelectionBackColor = System.Drawing.SystemColors.Highlight; | ||||
|             dataGridViewCellStyle12.SelectionForeColor = System.Drawing.SystemColors.HighlightText; | ||||
|             dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.False; | ||||
|             this.dv.DefaultCellStyle = dataGridViewCellStyle12; | ||||
|             this.dv.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.dv.Location = new System.Drawing.Point(0, 0); | ||||
|             this.dv.Name = "dv"; | ||||
| @@ -284,7 +287,7 @@ | ||||
|             this.dv.RowHeadersVisible = false; | ||||
|             this.dv.RowTemplate.Height = 23; | ||||
|             this.dv.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; | ||||
|             this.dv.Size = new System.Drawing.Size(694, 493); | ||||
|             this.dv.Size = new System.Drawing.Size(695, 502); | ||||
|             this.dv.TabIndex = 1; | ||||
|             this.dv.DoubleClick += new System.EventHandler(this.dv_DoubleClick); | ||||
|             this.dv.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dv_KeyDown); | ||||
| @@ -292,9 +295,9 @@ | ||||
|             // dataGridViewTextBoxColumn1 | ||||
|             //  | ||||
|             this.dataGridViewTextBoxColumn1.DataPropertyName = "idx"; | ||||
|             dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; | ||||
|             dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); | ||||
|             this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle1; | ||||
|             dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; | ||||
|             dataGridViewCellStyle10.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); | ||||
|             this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle10; | ||||
|             this.dataGridViewTextBoxColumn1.HeaderText = "IDX"; | ||||
|             this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1"; | ||||
|             this.dataGridViewTextBoxColumn1.ReadOnly = true; | ||||
| @@ -311,8 +314,8 @@ | ||||
|             // model | ||||
|             //  | ||||
|             this.model.DataPropertyName = "model"; | ||||
|             dataGridViewCellStyle2.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | ||||
|             this.model.DefaultCellStyle = dataGridViewCellStyle2; | ||||
|             dataGridViewCellStyle11.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | ||||
|             this.model.DefaultCellStyle = dataGridViewCellStyle11; | ||||
|             this.model.HeaderText = "model"; | ||||
|             this.model.Name = "model"; | ||||
|             this.model.ReadOnly = true; | ||||
| @@ -328,6 +331,8 @@ | ||||
|             //  | ||||
|             // panel1 | ||||
|             //  | ||||
|             this.panel1.Controls.Add(this.linkLabel1); | ||||
|             this.panel1.Controls.Add(this.pictureBox1); | ||||
|             this.panel1.Controls.Add(this.textBox3); | ||||
|             this.panel1.Controls.Add(label2); | ||||
|             this.panel1.Controls.Add(this.textBox2); | ||||
| @@ -342,16 +347,16 @@ | ||||
|             this.panel1.Controls.Add(priceLabel); | ||||
|             this.panel1.Controls.Add(this.priceTextBox); | ||||
|             this.panel1.Dock = System.Windows.Forms.DockStyle.Right; | ||||
|             this.panel1.Location = new System.Drawing.Point(694, 0); | ||||
|             this.panel1.Location = new System.Drawing.Point(695, 0); | ||||
|             this.panel1.Name = "panel1"; | ||||
|             this.panel1.Size = new System.Drawing.Size(290, 493); | ||||
|             this.panel1.Size = new System.Drawing.Size(290, 502); | ||||
|             this.panel1.TabIndex = 2; | ||||
|             //  | ||||
|             // textBox3 | ||||
|             //  | ||||
|             this.textBox3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); | ||||
|             this.textBox3.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "unit", true)); | ||||
|             this.textBox3.Location = new System.Drawing.Point(237, 392); | ||||
|             this.textBox3.Location = new System.Drawing.Point(237, 401); | ||||
|             this.textBox3.Name = "textBox3"; | ||||
|             this.textBox3.ReadOnly = true; | ||||
|             this.textBox3.Size = new System.Drawing.Size(38, 25); | ||||
| @@ -361,7 +366,7 @@ | ||||
|             //  | ||||
|             this.textBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); | ||||
|             this.textBox2.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "scale", true)); | ||||
|             this.textBox2.Location = new System.Drawing.Point(75, 392); | ||||
|             this.textBox2.Location = new System.Drawing.Point(75, 401); | ||||
|             this.textBox2.Name = "textBox2"; | ||||
|             this.textBox2.ReadOnly = true; | ||||
|             this.textBox2.Size = new System.Drawing.Size(156, 25); | ||||
| @@ -371,7 +376,7 @@ | ||||
|             //  | ||||
|             this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); | ||||
|             this.textBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "cate", true)); | ||||
|             this.textBox1.Location = new System.Drawing.Point(75, 455); | ||||
|             this.textBox1.Location = new System.Drawing.Point(75, 464); | ||||
|             this.textBox1.Name = "textBox1"; | ||||
|             this.textBox1.ReadOnly = true; | ||||
|             this.textBox1.Size = new System.Drawing.Size(200, 25); | ||||
| @@ -405,14 +410,14 @@ | ||||
|             this.memoTextBox.Multiline = true; | ||||
|             this.memoTextBox.Name = "memoTextBox"; | ||||
|             this.memoTextBox.ReadOnly = true; | ||||
|             this.memoTextBox.Size = new System.Drawing.Size(200, 306); | ||||
|             this.memoTextBox.Size = new System.Drawing.Size(200, 158); | ||||
|             this.memoTextBox.TabIndex = 13; | ||||
|             //  | ||||
|             // priceTextBox | ||||
|             //  | ||||
|             this.priceTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); | ||||
|             this.priceTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "price", true)); | ||||
|             this.priceTextBox.Location = new System.Drawing.Point(75, 424); | ||||
|             this.priceTextBox.Location = new System.Drawing.Point(75, 433); | ||||
|             this.priceTextBox.Name = "priceTextBox"; | ||||
|             this.priceTextBox.ReadOnly = true; | ||||
|             this.priceTextBox.Size = new System.Drawing.Size(200, 25); | ||||
| @@ -434,12 +439,37 @@ | ||||
|             this.tam.MailFormTableAdapter = null; | ||||
|             this.tam.ProjectsTableAdapter = null; | ||||
|             this.tam.RequestItemTableAdapter = null; | ||||
|             this.tam.StaffTableAdapter = null; | ||||
|             this.tam.UpdateOrder = FCM0000.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; | ||||
|             //  | ||||
|             // pictureBox1 | ||||
|             //  | ||||
|             this.pictureBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)  | ||||
|             | System.Windows.Forms.AnchorStyles.Right))); | ||||
|             this.pictureBox1.BackColor = System.Drawing.Color.Black; | ||||
|             this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; | ||||
|             this.pictureBox1.Location = new System.Drawing.Point(74, 248); | ||||
|             this.pictureBox1.Name = "pictureBox1"; | ||||
|             this.pictureBox1.Size = new System.Drawing.Size(202, 146); | ||||
|             this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; | ||||
|             this.pictureBox1.TabIndex = 26; | ||||
|             this.pictureBox1.TabStop = false; | ||||
|             //  | ||||
|             // linkLabel1 | ||||
|             //  | ||||
|             this.linkLabel1.AutoSize = true; | ||||
|             this.linkLabel1.Location = new System.Drawing.Point(13, 249); | ||||
|             this.linkLabel1.Name = "linkLabel1"; | ||||
|             this.linkLabel1.Size = new System.Drawing.Size(51, 18); | ||||
|             this.linkLabel1.TabIndex = 27; | ||||
|             this.linkLabel1.TabStop = true; | ||||
|             this.linkLabel1.Text = "Image"; | ||||
|             this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked); | ||||
|             //  | ||||
|             // fLovItem | ||||
|             //  | ||||
|             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; | ||||
|             this.ClientSize = new System.Drawing.Size(984, 518); | ||||
|             this.ClientSize = new System.Drawing.Size(985, 527); | ||||
|             this.Controls.Add(this.dv); | ||||
|             this.Controls.Add(this.panel1); | ||||
|             this.Controls.Add(this.bn); | ||||
| @@ -455,6 +485,7 @@ | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.dv)).EndInit(); | ||||
|             this.panel1.ResumeLayout(false); | ||||
|             this.panel1.PerformLayout(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); | ||||
|             this.ResumeLayout(false); | ||||
|             this.PerformLayout(); | ||||
|  | ||||
| @@ -490,6 +521,8 @@ | ||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2; | ||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn model; | ||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3; | ||||
|         private System.Windows.Forms.PictureBox pictureBox1; | ||||
|         private System.Windows.Forms.LinkLabel linkLabel1; | ||||
|  | ||||
|     } | ||||
| } | ||||
| @@ -73,11 +73,30 @@ namespace FCM0000 | ||||
|             else DialogResult = System.Windows.Forms.DialogResult.OK; | ||||
|         } | ||||
|  | ||||
|       | ||||
|         private void bs_CurrentChanged(object sender, EventArgs e) | ||||
|         { | ||||
|             var drv = this.bs.Current as DataRowView; | ||||
|             var img = this.pictureBox1.Image; | ||||
|             if (drv == null) | ||||
|             { | ||||
|                 this.pictureBox1.Image = null; | ||||
|             } | ||||
|             else | ||||
|             { | ||||
|                 try | ||||
|                 { | ||||
|                     var dr = drv.Row as dsMSSQL.ItemsRow; | ||||
|                     var img1 = FCOMMON.DBM.GetImageData("Items", "image", dr.idx); | ||||
|                     if (img1 != null) this.pictureBox1.Image = img1; | ||||
|                     else this.pictureBox1.Image = null; | ||||
|                 }catch (Exception ex) | ||||
|                 { | ||||
|                     this.pictureBox1.Image = null; | ||||
|                 } | ||||
|                  | ||||
|             } | ||||
|             if (img != null) img.Dispose(); | ||||
|         } | ||||
|  | ||||
|         private void dv_KeyDown(object sender, KeyEventArgs e) | ||||
|         { | ||||
| @@ -93,5 +112,29 @@ namespace FCM0000 | ||||
|         { | ||||
|             btOK.PerformClick(); | ||||
|         } | ||||
|  | ||||
|         private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) | ||||
|         { | ||||
|             var drv = this.bs.Current as DataRowView; | ||||
|             if (drv == null) return; | ||||
|             var dr = drv.Row as dsMSSQL.ItemsRow; | ||||
|             if (dr.RowState == DataRowState.Deleted || dr.RowState == DataRowState.Detached || | ||||
|                 dr.RowState == DataRowState.Added) | ||||
|             { | ||||
|                 FCOMMON.Util.MsgE("이미지는 등록 완료된 아이템만 가능합니다. 먼저 저장한 후 다시 시도하세요."); | ||||
|                 return; | ||||
|             } | ||||
|             OpenFileDialog od = new OpenFileDialog();             | ||||
|             if (od.ShowDialog() != System.Windows.Forms.DialogResult.OK) return; | ||||
|             var image = Image.FromFile(od.FileName); | ||||
|             if (!FCOMMON.DBM.setImageData(image, "Items", "image", dr.idx)) | ||||
|             { | ||||
|                 FCOMMON.Util.MsgE("등록 실패"); | ||||
|             } | ||||
|             else | ||||
|             { | ||||
|                 this.pictureBox1.Image = Image.FromFile(od.FileName); | ||||
|             } | ||||
|         } | ||||
|     } | ||||
| } | ||||
|   | ||||
| @@ -192,6 +192,9 @@ | ||||
|         dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII= | ||||
| </value> | ||||
|   </data> | ||||
|   <metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>216, 17</value> | ||||
|   </metadata> | ||||
|   <metadata name="model.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>True</value> | ||||
|   </metadata> | ||||
|   | ||||
							
								
								
									
										88
									
								
								SubProject/FCM0000/fLovSupply.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										88
									
								
								SubProject/FCM0000/fLovSupply.Designer.cs
									
									
									
										generated
									
									
									
								
							| @@ -30,8 +30,8 @@ | ||||
|         { | ||||
|             this.components = new System.ComponentModel.Container(); | ||||
|             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fLovSupply)); | ||||
|             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); | ||||
|             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); | ||||
|             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); | ||||
|             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); | ||||
|             this.dsMSSQL = new FCM0000.dsMSSQL(); | ||||
|             this.bs = new System.Windows.Forms.BindingSource(this.components); | ||||
|             this.bn = new System.Windows.Forms.BindingNavigator(this.components); | ||||
| @@ -46,9 +46,13 @@ | ||||
|             this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator(); | ||||
|             this.btOK = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.dv = new System.Windows.Forms.DataGridView(); | ||||
|             this.ta = new FCM0000.dsMSSQLTableAdapters.CustomsTableAdapter(); | ||||
|             this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
|             this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
|             this.ta = new FCM0000.dsMSSQLTableAdapters.CustomsTableAdapter(); | ||||
|             this.name2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
|             this.tel = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
|             this.fax = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
|             this.owner = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); | ||||
| @@ -182,17 +186,21 @@ | ||||
|             this.dv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; | ||||
|             this.dv.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { | ||||
|             this.dataGridViewTextBoxColumn1, | ||||
|             this.dataGridViewTextBoxColumn2}); | ||||
|             this.dataGridViewTextBoxColumn2, | ||||
|             this.name2, | ||||
|             this.tel, | ||||
|             this.fax, | ||||
|             this.owner}); | ||||
|             this.dv.DataSource = this.bs; | ||||
|             dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; | ||||
|             dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Window; | ||||
|             dataGridViewCellStyle4.Font = new System.Drawing.Font("Tahoma", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | ||||
|             dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.ControlText; | ||||
|             dataGridViewCellStyle4.Padding = new System.Windows.Forms.Padding(1, 3, 1, 3); | ||||
|             dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight; | ||||
|             dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText; | ||||
|             dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False; | ||||
|             this.dv.DefaultCellStyle = dataGridViewCellStyle4; | ||||
|             dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; | ||||
|             dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window; | ||||
|             dataGridViewCellStyle2.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | ||||
|             dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText; | ||||
|             dataGridViewCellStyle2.Padding = new System.Windows.Forms.Padding(1, 3, 1, 3); | ||||
|             dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; | ||||
|             dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; | ||||
|             dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False; | ||||
|             this.dv.DefaultCellStyle = dataGridViewCellStyle2; | ||||
|             this.dv.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.dv.Location = new System.Drawing.Point(0, 0); | ||||
|             this.dv.Name = "dv"; | ||||
| @@ -205,28 +213,60 @@ | ||||
|             this.dv.DoubleClick += new System.EventHandler(this.dv_DoubleClick); | ||||
|             this.dv.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dv_KeyDown); | ||||
|             //  | ||||
|             // ta | ||||
|             //  | ||||
|             this.ta.ClearBeforeFill = true; | ||||
|             //  | ||||
|             // dataGridViewTextBoxColumn1 | ||||
|             //  | ||||
|             this.dataGridViewTextBoxColumn1.DataPropertyName = "idx"; | ||||
|             dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; | ||||
|             dataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); | ||||
|             this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle3; | ||||
|             dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; | ||||
|             dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); | ||||
|             this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle1; | ||||
|             this.dataGridViewTextBoxColumn1.HeaderText = "IDX"; | ||||
|             this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1"; | ||||
|             this.dataGridViewTextBoxColumn1.ReadOnly = true; | ||||
|             this.dataGridViewTextBoxColumn1.Width = 66; | ||||
|             this.dataGridViewTextBoxColumn1.Width = 60; | ||||
|             //  | ||||
|             // dataGridViewTextBoxColumn2 | ||||
|             //  | ||||
|             this.dataGridViewTextBoxColumn2.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; | ||||
|             this.dataGridViewTextBoxColumn2.DataPropertyName = "name"; | ||||
|             this.dataGridViewTextBoxColumn2.HeaderText = "Name"; | ||||
|             this.dataGridViewTextBoxColumn2.HeaderText = "업체명"; | ||||
|             this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2"; | ||||
|             this.dataGridViewTextBoxColumn2.ReadOnly = true; | ||||
|             //  | ||||
|             // ta | ||||
|             // name2 | ||||
|             //  | ||||
|             this.ta.ClearBeforeFill = true; | ||||
|             this.name2.DataPropertyName = "name2"; | ||||
|             this.name2.HeaderText = "--"; | ||||
|             this.name2.Name = "name2"; | ||||
|             this.name2.ReadOnly = true; | ||||
|             this.name2.Width = 48; | ||||
|             //  | ||||
|             // tel | ||||
|             //  | ||||
|             this.tel.DataPropertyName = "tel"; | ||||
|             this.tel.HeaderText = "전화"; | ||||
|             this.tel.Name = "tel"; | ||||
|             this.tel.ReadOnly = true; | ||||
|             this.tel.Width = 66; | ||||
|             //  | ||||
|             // fax | ||||
|             //  | ||||
|             this.fax.DataPropertyName = "fax"; | ||||
|             this.fax.HeaderText = "팩스"; | ||||
|             this.fax.Name = "fax"; | ||||
|             this.fax.ReadOnly = true; | ||||
|             this.fax.Width = 66; | ||||
|             //  | ||||
|             // owner | ||||
|             //  | ||||
|             this.owner.DataPropertyName = "owner"; | ||||
|             this.owner.HeaderText = "대표자"; | ||||
|             this.owner.Name = "owner"; | ||||
|             this.owner.ReadOnly = true; | ||||
|             this.owner.Width = 81; | ||||
|             //  | ||||
|             // fLovSupply | ||||
|             //  | ||||
| @@ -234,7 +274,7 @@ | ||||
|             this.ClientSize = new System.Drawing.Size(771, 433); | ||||
|             this.Controls.Add(this.dv); | ||||
|             this.Controls.Add(this.bn); | ||||
|             this.Font = new System.Drawing.Font("Tahoma", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | ||||
|             this.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | ||||
|             this.Name = "fLovSupply"; | ||||
|             this.Text = "Select Supply"; | ||||
|             this.Load += new System.EventHandler(this.fLovItem_Load); | ||||
| @@ -265,9 +305,13 @@ | ||||
|         private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2; | ||||
|         private System.Windows.Forms.ToolStripButton btOK; | ||||
|         private System.Windows.Forms.DataGridView dv; | ||||
|         private dsMSSQLTableAdapters.CustomsTableAdapter ta; | ||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1; | ||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2; | ||||
|         private dsMSSQLTableAdapters.CustomsTableAdapter ta; | ||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn name2; | ||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn tel; | ||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn fax; | ||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn owner; | ||||
|  | ||||
|     } | ||||
| } | ||||
| @@ -174,6 +174,18 @@ | ||||
|         dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII= | ||||
| </value> | ||||
|   </data> | ||||
|   <metadata name="name2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>True</value> | ||||
|   </metadata> | ||||
|   <metadata name="tel.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>True</value> | ||||
|   </metadata> | ||||
|   <metadata name="fax.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>True</value> | ||||
|   </metadata> | ||||
|   <metadata name="owner.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>True</value> | ||||
|   </metadata> | ||||
|   <metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>252, 17</value> | ||||
|   </metadata> | ||||
|   | ||||
| @@ -9,15 +9,22 @@ namespace FCOMMON | ||||
|     public static partial class DBM | ||||
|     { | ||||
|         | ||||
|         public static int getAuth_Purchase(string uid) | ||||
|         public enum eAutoType | ||||
|         { | ||||
|             return getAuth("purchase", uid); | ||||
|             purchase, | ||||
|             holyday | ||||
|         } | ||||
|         public static int getAuth_Purchase() | ||||
|         public static int getAuth(eAutoType type, string uid) | ||||
|         { | ||||
|             return getAuth("purchase", info.Login.no); | ||||
|             return getAuth(type.ToString(), uid); | ||||
|         } | ||||
|         public static int getAuth(string field,string uid) | ||||
|         public static int getAuth(eAutoType type) | ||||
|         { | ||||
|             return getAuth(type.ToString(), info.Login.no); | ||||
|         } | ||||
|  | ||||
|  | ||||
|         private static int getAuth(string field,string uid) | ||||
|         { | ||||
|             var cn = getCn(); | ||||
|             cn.Open(); | ||||
|   | ||||
| @@ -31,6 +31,58 @@ namespace FCOMMON | ||||
|             public int qty; | ||||
|         } | ||||
|  | ||||
|         public static Boolean setImageData(System.Drawing.Image img, string table, string field, int idx) | ||||
|         { | ||||
|             var cn = getCn(); | ||||
|             cn.Open(); | ||||
|  | ||||
|             Boolean retval = false; | ||||
|             string sql = "update  " + table + " set " + field + " = @data" + " where idx = @idx"; | ||||
|             var cmd = new SqlCommand(sql, cn); | ||||
|  | ||||
|             System.IO.MemoryStream sm = new System.IO.MemoryStream(); | ||||
|             img.Save(sm, System.Drawing.Imaging.ImageFormat.Jpeg); | ||||
|             var buffer = sm.GetBuffer(); | ||||
|             sm.Dispose(); | ||||
|  | ||||
|             cmd.Parameters.Add(new SqlParameter("idx", idx)); | ||||
|             cmd.Parameters.Add(new SqlParameter("data", buffer)); | ||||
|             try | ||||
|             { | ||||
|                 cmd.ExecuteNonQuery(); | ||||
|                 retval = true; | ||||
|             }catch (Exception ex) | ||||
|             { | ||||
|  | ||||
|             } | ||||
|              | ||||
|  | ||||
|             cn.Close(); | ||||
|             cn.Dispose(); | ||||
|             return retval; | ||||
|         } | ||||
|         public static  System.Drawing.Image GetImageData(string table,string field,int idx) | ||||
|         { | ||||
|             var cn = getCn(); | ||||
|             cn.Open(); | ||||
|  | ||||
|            | ||||
|             string sql = "select " + field + " from "+table+" where idx = " + idx.ToString(); | ||||
|             var cmd = new SqlCommand(sql, cn); | ||||
|             var data = cmd.ExecuteScalar() as byte[]; | ||||
|             System.Drawing.Bitmap bmp = null; | ||||
|             if(data != null) | ||||
|             { | ||||
|                 System.IO.MemoryStream ms = new System.IO.MemoryStream(data); | ||||
|                 bmp = new System.Drawing.Bitmap(ms, true); | ||||
|                 ms.Dispose(); | ||||
|             } | ||||
|              | ||||
|             cn.Close(); | ||||
|             cn.Dispose(); | ||||
|             return bmp; | ||||
|         } | ||||
|  | ||||
|         public static sItemInfo getLastPurchaseInfo(int idx) | ||||
|         { | ||||
|             var cn = getCn(); | ||||
|   | ||||
| @@ -34,7 +34,20 @@ | ||||
|     <Reference Include="ArSetting.Net4"> | ||||
|       <HintPath>..\..\DLL\ArSetting.Net4.dll</HintPath> | ||||
|     </Reference> | ||||
|     <Reference Include="FarPoint.CalcEngine, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457" /> | ||||
|     <Reference Include="FarPoint.Excel, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457" /> | ||||
|     <Reference Include="FarPoint.Localization, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457" /> | ||||
|     <Reference Include="FarPoint.PDF, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457" /> | ||||
|     <Reference Include="FarPoint.PluginCalendar.WinForms, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457" /> | ||||
|     <Reference Include="FarPoint.Win, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457" /> | ||||
|     <Reference Include="FarPoint.Win.Chart, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457" /> | ||||
|     <Reference Include="FarPoint.Win.Spread, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457, processorArchitecture=MSIL" /> | ||||
|     <Reference Include="GrapeCity.CalcEngine, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457" /> | ||||
|     <Reference Include="GrapeCity.Spreadsheet, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457" /> | ||||
|     <Reference Include="GrapeCity.Spreadsheet.Win, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457" /> | ||||
|     <Reference Include="GrapeCity.Win.PluginInputMan, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457, processorArchitecture=MSIL" /> | ||||
|     <Reference Include="System" /> | ||||
|     <Reference Include="System.Configuration" /> | ||||
|     <Reference Include="System.Core" /> | ||||
|     <Reference Include="System.Drawing" /> | ||||
|     <Reference Include="System.Windows.Forms" /> | ||||
| @@ -43,6 +56,7 @@ | ||||
|     <Reference Include="Microsoft.CSharp" /> | ||||
|     <Reference Include="System.Data" /> | ||||
|     <Reference Include="System.Xml" /> | ||||
|     <Reference Include="WindowsBase" /> | ||||
|   </ItemGroup> | ||||
|   <ItemGroup> | ||||
|     <Compile Include="Auth.cs" /> | ||||
| @@ -64,6 +78,7 @@ | ||||
|     <Compile Include="Info.cs" /> | ||||
|     <Compile Include="FormUtil.cs" /> | ||||
|     <Compile Include="Util.cs" /> | ||||
|     <Compile Include="Util_Farpoint.cs" /> | ||||
|   </ItemGroup> | ||||
|   <ItemGroup> | ||||
|     <EmbeddedResource Include="fBase.resx"> | ||||
| @@ -72,6 +87,7 @@ | ||||
|     <EmbeddedResource Include="fLovDateList.resx"> | ||||
|       <DependentUpon>fLovDateList.cs</DependentUpon> | ||||
|     </EmbeddedResource> | ||||
|     <EmbeddedResource Include="Properties\licenses.licx" /> | ||||
|   </ItemGroup> | ||||
|   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | ||||
|   <!-- To modify your build process, add your task inside one of the targets below and uncomment it.  | ||||
|   | ||||
| @@ -109,7 +109,6 @@ | ||||
|     <Compile Include="Equipment\fImpEquipment.Designer.cs"> | ||||
|       <DependentUpon>fImpEquipment.cs</DependentUpon> | ||||
|     </Compile> | ||||
|     <Compile Include="FPUtil.cs" /> | ||||
|     <Compile Include="MethodExtentions.cs" /> | ||||
|     <Compile Include="Program.cs" /> | ||||
|     <Compile Include="Properties\AssemblyInfo.cs" /> | ||||
|   | ||||
							
								
								
									
										101
									
								
								SubProject/FEQ0000/Purchase/fPurchase.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										101
									
								
								SubProject/FEQ0000/Purchase/fPurchase.Designer.cs
									
									
									
										generated
									
									
									
								
							| @@ -28,7 +28,6 @@ | ||||
|         /// </summary> | ||||
|         private void InitializeComponent() | ||||
|         { | ||||
|             this.components = new System.ComponentModel.Container(); | ||||
|             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fPurchase)); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType2 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
| @@ -53,10 +52,10 @@ | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType16 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType17 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             this.dsPurchase = new FEQ0000.dsPurchase(); | ||||
|             this.bs = new System.Windows.Forms.BindingSource(this.components); | ||||
|             this.bs = new System.Windows.Forms.BindingSource(); | ||||
|             this.ta = new FEQ0000.dsPurchaseTableAdapters.PurchaseTableAdapter(); | ||||
|             this.tam = new FEQ0000.dsPurchaseTableAdapters.TableAdapterManager(); | ||||
|             this.bn = new System.Windows.Forms.BindingNavigator(this.components); | ||||
|             this.bn = new System.Windows.Forms.BindingNavigator(); | ||||
|             this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel(); | ||||
|             this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton(); | ||||
| @@ -78,7 +77,7 @@ | ||||
|             this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel(); | ||||
|             this.tbFind = new System.Windows.Forms.ToolStripTextBox(); | ||||
|             this.btFind = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components); | ||||
|             this.cm1 = new System.Windows.Forms.ContextMenuStrip(); | ||||
|             this.columnSizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.autoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.resetToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
| @@ -87,6 +86,7 @@ | ||||
|             this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator(); | ||||
|             this.copyDataToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.editDataToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.deleteDataToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator(); | ||||
|             this.viewThisUserDataToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.exportDataToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
| @@ -146,6 +146,7 @@ | ||||
|             this.bn.CountItem = this.bindingNavigatorCountItem; | ||||
|             this.bn.DeleteItem = null; | ||||
|             this.bn.Dock = System.Windows.Forms.DockStyle.Bottom; | ||||
|             this.bn.ImageScalingSize = new System.Drawing.Size(24, 24); | ||||
|             this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { | ||||
|             this.bindingNavigatorMoveFirstItem, | ||||
|             this.bindingNavigatorMovePreviousItem, | ||||
| @@ -168,21 +169,21 @@ | ||||
|             this.toolStripLabel2, | ||||
|             this.tbFind, | ||||
|             this.btFind}); | ||||
|             this.bn.Location = new System.Drawing.Point(0, 493); | ||||
|             this.bn.Location = new System.Drawing.Point(0, 573); | ||||
|             this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem; | ||||
|             this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem; | ||||
|             this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem; | ||||
|             this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem; | ||||
|             this.bn.Name = "bn"; | ||||
|             this.bn.PositionItem = this.bindingNavigatorPositionItem; | ||||
|             this.bn.Size = new System.Drawing.Size(878, 26); | ||||
|             this.bn.Size = new System.Drawing.Size(971, 31); | ||||
|             this.bn.TabIndex = 0; | ||||
|             this.bn.Text = "bindingNavigator1"; | ||||
|             //  | ||||
|             // bindingNavigatorCountItem | ||||
|             //  | ||||
|             this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem"; | ||||
|             this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 23); | ||||
|             this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 28); | ||||
|             this.bindingNavigatorCountItem.Text = "/{0}"; | ||||
|             this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수"; | ||||
|             //  | ||||
| @@ -192,7 +193,7 @@ | ||||
|             this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image"))); | ||||
|             this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem"; | ||||
|             this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true; | ||||
|             this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 23); | ||||
|             this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(28, 28); | ||||
|             this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동"; | ||||
|             //  | ||||
|             // bindingNavigatorMovePreviousItem | ||||
| @@ -201,13 +202,13 @@ | ||||
|             this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image"))); | ||||
|             this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem"; | ||||
|             this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true; | ||||
|             this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 23); | ||||
|             this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(28, 28); | ||||
|             this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동"; | ||||
|             //  | ||||
|             // bindingNavigatorSeparator | ||||
|             //  | ||||
|             this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator"; | ||||
|             this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 26); | ||||
|             this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 31); | ||||
|             //  | ||||
|             // bindingNavigatorPositionItem | ||||
|             //  | ||||
| @@ -221,7 +222,7 @@ | ||||
|             // bindingNavigatorSeparator1 | ||||
|             //  | ||||
|             this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1"; | ||||
|             this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 26); | ||||
|             this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 31); | ||||
|             //  | ||||
|             // bindingNavigatorMoveNextItem | ||||
|             //  | ||||
| @@ -229,7 +230,7 @@ | ||||
|             this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image"))); | ||||
|             this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem"; | ||||
|             this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true; | ||||
|             this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 23); | ||||
|             this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(28, 28); | ||||
|             this.bindingNavigatorMoveNextItem.Text = "다음으로 이동"; | ||||
|             //  | ||||
|             // bindingNavigatorMoveLastItem | ||||
| @@ -238,20 +239,20 @@ | ||||
|             this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image"))); | ||||
|             this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem"; | ||||
|             this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true; | ||||
|             this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 23); | ||||
|             this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(28, 28); | ||||
|             this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동"; | ||||
|             //  | ||||
|             // bindingNavigatorSeparator2 | ||||
|             //  | ||||
|             this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2"; | ||||
|             this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 26); | ||||
|             this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 31); | ||||
|             //  | ||||
|             // bindingNavigatorAddNewItem | ||||
|             //  | ||||
|             this.bindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image"))); | ||||
|             this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem"; | ||||
|             this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true; | ||||
|             this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(65, 23); | ||||
|             this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(73, 28); | ||||
|             this.bindingNavigatorAddNewItem.Text = "Add(&A)"; | ||||
|             this.bindingNavigatorAddNewItem.Click += new System.EventHandler(this.bindingNavigatorAddNewItem_Click); | ||||
|             //  | ||||
| @@ -260,7 +261,7 @@ | ||||
|             this.bindingNavigatorDeleteItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image"))); | ||||
|             this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem"; | ||||
|             this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true; | ||||
|             this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(78, 23); | ||||
|             this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(86, 28); | ||||
|             this.bindingNavigatorDeleteItem.Text = "Delete(&D)"; | ||||
|             this.bindingNavigatorDeleteItem.Click += new System.EventHandler(this.bindingNavigatorDeleteItem_Click); | ||||
|             //  | ||||
| @@ -270,7 +271,7 @@ | ||||
|             this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image"))); | ||||
|             this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta; | ||||
|             this.toolStripButton1.Name = "toolStripButton1"; | ||||
|             this.toolStripButton1.Size = new System.Drawing.Size(122, 23); | ||||
|             this.toolStripButton1.Size = new System.Drawing.Size(130, 28); | ||||
|             this.toolStripButton1.Text = "Report(Summary)"; | ||||
|             this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click_1); | ||||
|             //  | ||||
| @@ -279,7 +280,7 @@ | ||||
|             this.btEdit.Image = ((System.Drawing.Image)(resources.GetObject("btEdit.Image"))); | ||||
|             this.btEdit.ImageTransparentColor = System.Drawing.Color.Magenta; | ||||
|             this.btEdit.Name = "btEdit"; | ||||
|             this.btEdit.Size = new System.Drawing.Size(61, 23); | ||||
|             this.btEdit.Size = new System.Drawing.Size(69, 28); | ||||
|             this.btEdit.Text = "Edit(&E)"; | ||||
|             this.btEdit.Click += new System.EventHandler(this.toolStripButton2_Click); | ||||
|             //  | ||||
| @@ -288,47 +289,47 @@ | ||||
|             this.btSave.Image = global::FEQ0000.Properties.Resources.action_save; | ||||
|             this.btSave.ImageTransparentColor = System.Drawing.Color.Magenta; | ||||
|             this.btSave.Name = "btSave"; | ||||
|             this.btSave.Size = new System.Drawing.Size(67, 23); | ||||
|             this.btSave.Size = new System.Drawing.Size(75, 28); | ||||
|             this.btSave.Text = "Save(&S)"; | ||||
|             this.btSave.Click += new System.EventHandler(this.btSave_Click); | ||||
|             //  | ||||
|             // toolStripSeparator1 | ||||
|             //  | ||||
|             this.toolStripSeparator1.Name = "toolStripSeparator1"; | ||||
|             this.toolStripSeparator1.Size = new System.Drawing.Size(6, 26); | ||||
|             this.toolStripSeparator1.Size = new System.Drawing.Size(6, 31); | ||||
|             //  | ||||
|             // toolStripSeparator4 | ||||
|             //  | ||||
|             this.toolStripSeparator4.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; | ||||
|             this.toolStripSeparator4.Name = "toolStripSeparator4"; | ||||
|             this.toolStripSeparator4.Size = new System.Drawing.Size(6, 26); | ||||
|             this.toolStripSeparator4.Size = new System.Drawing.Size(6, 31); | ||||
|             //  | ||||
|             // lbSum | ||||
|             //  | ||||
|             this.lbSum.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; | ||||
|             this.lbSum.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | ||||
|             this.lbSum.Name = "lbSum"; | ||||
|             this.lbSum.Size = new System.Drawing.Size(22, 23); | ||||
|             this.lbSum.Size = new System.Drawing.Size(22, 28); | ||||
|             this.lbSum.Text = "0"; | ||||
|             //  | ||||
|             // toolStripLabel5 | ||||
|             //  | ||||
|             this.toolStripLabel5.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; | ||||
|             this.toolStripLabel5.Name = "toolStripLabel5"; | ||||
|             this.toolStripLabel5.Size = new System.Drawing.Size(58, 23); | ||||
|             this.toolStripLabel5.Size = new System.Drawing.Size(58, 28); | ||||
|             this.toolStripLabel5.Text = "Sub Total"; | ||||
|             //  | ||||
|             // toolStripLabel2 | ||||
|             //  | ||||
|             this.toolStripLabel2.Name = "toolStripLabel2"; | ||||
|             this.toolStripLabel2.Size = new System.Drawing.Size(43, 23); | ||||
|             this.toolStripLabel2.Size = new System.Drawing.Size(43, 28); | ||||
|             this.toolStripLabel2.Text = "Search"; | ||||
|             //  | ||||
|             // tbFind | ||||
|             //  | ||||
|             this.tbFind.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; | ||||
|             this.tbFind.Name = "tbFind"; | ||||
|             this.tbFind.Size = new System.Drawing.Size(100, 26); | ||||
|             this.tbFind.Size = new System.Drawing.Size(100, 31); | ||||
|             this.tbFind.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbFind_KeyDown); | ||||
|             //  | ||||
|             // btFind | ||||
| @@ -337,7 +338,7 @@ | ||||
|             this.btFind.Image = ((System.Drawing.Image)(resources.GetObject("btFind.Image"))); | ||||
|             this.btFind.ImageTransparentColor = System.Drawing.Color.Magenta; | ||||
|             this.btFind.Name = "btFind"; | ||||
|             this.btFind.Size = new System.Drawing.Size(23, 23); | ||||
|             this.btFind.Size = new System.Drawing.Size(28, 28); | ||||
|             this.btFind.Text = "toolStripButton2"; | ||||
|             this.btFind.Click += new System.EventHandler(this.btFind_Click); | ||||
|             //  | ||||
| @@ -349,11 +350,12 @@ | ||||
|             this.toolStripMenuItem1, | ||||
|             this.copyDataToolStripMenuItem, | ||||
|             this.editDataToolStripMenuItem, | ||||
|             this.deleteDataToolStripMenuItem, | ||||
|             this.toolStripMenuItem2, | ||||
|             this.viewThisUserDataToolStripMenuItem, | ||||
|             this.exportDataToolStripMenuItem}); | ||||
|             this.cm1.Name = "contextMenuStrip1"; | ||||
|             this.cm1.Size = new System.Drawing.Size(337, 226); | ||||
|             this.cm1.Size = new System.Drawing.Size(337, 268); | ||||
|             //  | ||||
|             // columnSizeToolStripMenuItem | ||||
|             //  | ||||
| @@ -417,6 +419,13 @@ | ||||
|             this.editDataToolStripMenuItem.Text = "Edit Data"; | ||||
|             this.editDataToolStripMenuItem.Click += new System.EventHandler(this.editDataToolStripMenuItem_Click); | ||||
|             //  | ||||
|             // deleteDataToolStripMenuItem | ||||
|             //  | ||||
|             this.deleteDataToolStripMenuItem.Name = "deleteDataToolStripMenuItem"; | ||||
|             this.deleteDataToolStripMenuItem.Size = new System.Drawing.Size(336, 42); | ||||
|             this.deleteDataToolStripMenuItem.Text = "Delete Data"; | ||||
|             this.deleteDataToolStripMenuItem.Click += new System.EventHandler(this.deleteDataToolStripMenuItem_Click); | ||||
|             //  | ||||
|             // toolStripMenuItem2 | ||||
|             //  | ||||
|             this.toolStripMenuItem2.Name = "toolStripMenuItem2"; | ||||
| @@ -438,6 +447,7 @@ | ||||
|             //  | ||||
|             // toolStrip1 | ||||
|             //  | ||||
|             this.toolStrip1.ImageScalingSize = new System.Drawing.Size(24, 24); | ||||
|             this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { | ||||
|             this.cmDate, | ||||
|             this.dtSD, | ||||
| @@ -454,7 +464,7 @@ | ||||
|             this.toolStripDropDownButton1}); | ||||
|             this.toolStrip1.Location = new System.Drawing.Point(0, 0); | ||||
|             this.toolStrip1.Name = "toolStrip1"; | ||||
|             this.toolStrip1.Size = new System.Drawing.Size(878, 25); | ||||
|             this.toolStrip1.Size = new System.Drawing.Size(971, 31); | ||||
|             this.toolStrip1.TabIndex = 3; | ||||
|             this.toolStrip1.Text = "toolStrip1"; | ||||
|             //  | ||||
| @@ -466,20 +476,20 @@ | ||||
|             "InDate", | ||||
|             "ExpDate"}); | ||||
|             this.cmDate.Name = "cmDate"; | ||||
|             this.cmDate.Size = new System.Drawing.Size(75, 25); | ||||
|             this.cmDate.Size = new System.Drawing.Size(75, 31); | ||||
|             //  | ||||
|             // dtSD | ||||
|             //  | ||||
|             this.dtSD.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; | ||||
|             this.dtSD.Name = "dtSD"; | ||||
|             this.dtSD.Size = new System.Drawing.Size(90, 25); | ||||
|             this.dtSD.Size = new System.Drawing.Size(90, 31); | ||||
|             this.dtSD.Text = "1982-11-23"; | ||||
|             this.dtSD.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||
|             //  | ||||
|             // lbEnd | ||||
|             //  | ||||
|             this.lbEnd.Name = "lbEnd"; | ||||
|             this.lbEnd.Size = new System.Drawing.Size(15, 22); | ||||
|             this.lbEnd.Size = new System.Drawing.Size(15, 28); | ||||
|             this.lbEnd.Text = "~"; | ||||
|             this.lbEnd.Click += new System.EventHandler(this.lbEnd_Click); | ||||
|             //  | ||||
| @@ -487,36 +497,36 @@ | ||||
|             //  | ||||
|             this.dtED.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; | ||||
|             this.dtED.Name = "dtED"; | ||||
|             this.dtED.Size = new System.Drawing.Size(90, 25); | ||||
|             this.dtED.Size = new System.Drawing.Size(90, 31); | ||||
|             this.dtED.Text = "1982-11-23"; | ||||
|             this.dtED.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||
|             //  | ||||
|             // toolStripSeparator2 | ||||
|             //  | ||||
|             this.toolStripSeparator2.Name = "toolStripSeparator2"; | ||||
|             this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25); | ||||
|             this.toolStripSeparator2.Size = new System.Drawing.Size(6, 31); | ||||
|             //  | ||||
|             // toolStripLabel1 | ||||
|             //  | ||||
|             this.toolStripLabel1.Name = "toolStripLabel1"; | ||||
|             this.toolStripLabel1.Size = new System.Drawing.Size(34, 22); | ||||
|             this.toolStripLabel1.Size = new System.Drawing.Size(34, 28); | ||||
|             this.toolStripLabel1.Text = "State"; | ||||
|             //  | ||||
|             // cmbState | ||||
|             //  | ||||
|             this.cmbState.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; | ||||
|             this.cmbState.Name = "cmbState"; | ||||
|             this.cmbState.Size = new System.Drawing.Size(100, 25); | ||||
|             this.cmbState.Size = new System.Drawing.Size(100, 31); | ||||
|             //  | ||||
|             // toolStripSeparator3 | ||||
|             //  | ||||
|             this.toolStripSeparator3.Name = "toolStripSeparator3"; | ||||
|             this.toolStripSeparator3.Size = new System.Drawing.Size(6, 25); | ||||
|             this.toolStripSeparator3.Size = new System.Drawing.Size(6, 31); | ||||
|             //  | ||||
|             // toolStripLabel3 | ||||
|             //  | ||||
|             this.toolStripLabel3.Name = "toolStripLabel3"; | ||||
|             this.toolStripLabel3.Size = new System.Drawing.Size(66, 22); | ||||
|             this.toolStripLabel3.Size = new System.Drawing.Size(66, 28); | ||||
|             this.toolStripLabel3.Text = "User Name"; | ||||
|             this.toolStripLabel3.Click += new System.EventHandler(this.toolStripLabel3_Click); | ||||
|             //  | ||||
| @@ -524,7 +534,7 @@ | ||||
|             //  | ||||
|             this.tbRequest.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; | ||||
|             this.tbRequest.Name = "tbRequest"; | ||||
|             this.tbRequest.Size = new System.Drawing.Size(70, 25); | ||||
|             this.tbRequest.Size = new System.Drawing.Size(70, 31); | ||||
|             this.tbRequest.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||
|             this.tbRequest.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbRequest_KeyDown); | ||||
|             //  | ||||
| @@ -533,14 +543,14 @@ | ||||
|             this.btSearch.Image = ((System.Drawing.Image)(resources.GetObject("btSearch.Image"))); | ||||
|             this.btSearch.ImageTransparentColor = System.Drawing.Color.Magenta; | ||||
|             this.btSearch.Name = "btSearch"; | ||||
|             this.btSearch.Size = new System.Drawing.Size(81, 22); | ||||
|             this.btSearch.Size = new System.Drawing.Size(89, 28); | ||||
|             this.btSearch.Text = "Refresh(&R)"; | ||||
|             this.btSearch.Click += new System.EventHandler(this.btSearch_Click); | ||||
|             //  | ||||
|             // toolStripSeparator5 | ||||
|             //  | ||||
|             this.toolStripSeparator5.Name = "toolStripSeparator5"; | ||||
|             this.toolStripSeparator5.Size = new System.Drawing.Size(6, 25); | ||||
|             this.toolStripSeparator5.Size = new System.Drawing.Size(6, 31); | ||||
|             //  | ||||
|             // toolStripDropDownButton1 | ||||
|             //  | ||||
| @@ -551,7 +561,7 @@ | ||||
|             this.toolStripDropDownButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripDropDownButton1.Image"))); | ||||
|             this.toolStripDropDownButton1.ImageTransparentColor = System.Drawing.Color.Magenta; | ||||
|             this.toolStripDropDownButton1.Name = "toolStripDropDownButton1"; | ||||
|             this.toolStripDropDownButton1.Size = new System.Drawing.Size(102, 22); | ||||
|             this.toolStripDropDownButton1.Size = new System.Drawing.Size(110, 28); | ||||
|             this.toolStripDropDownButton1.Text = "Quick Menu"; | ||||
|             //  | ||||
|             // 금일입고품목ToolStripMenuItem | ||||
| @@ -582,11 +592,11 @@ | ||||
|             this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.fpSpread1.EditModeReplace = true; | ||||
|             this.fpSpread1.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.fpSpread1.Location = new System.Drawing.Point(0, 25); | ||||
|             this.fpSpread1.Location = new System.Drawing.Point(0, 31); | ||||
|             this.fpSpread1.Name = "fpSpread1"; | ||||
|             this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] { | ||||
|             this.fpSpread1_Sheet1}); | ||||
|             this.fpSpread1.Size = new System.Drawing.Size(878, 468); | ||||
|             this.fpSpread1.Size = new System.Drawing.Size(971, 542); | ||||
|             this.fpSpread1.TabIndex = 4; | ||||
|             //  | ||||
|             // fpSpread1_Sheet1 | ||||
| @@ -762,13 +772,13 @@ | ||||
|             //  | ||||
|             this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); | ||||
|             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | ||||
|             this.ClientSize = new System.Drawing.Size(878, 519); | ||||
|             this.ClientSize = new System.Drawing.Size(971, 604); | ||||
|             this.Controls.Add(this.fpSpread1); | ||||
|             this.Controls.Add(this.toolStrip1); | ||||
|             this.Controls.Add(this.bn); | ||||
|             this.DoubleBuffered = true; | ||||
|             this.Name = "fPurchase"; | ||||
|             this.Text = "Purchase List"; | ||||
|             this.Text = "NR 구매 신청"; | ||||
|             this.Load += new System.EventHandler(this.@__Load); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).EndInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); | ||||
| @@ -844,5 +854,6 @@ | ||||
|         private System.Windows.Forms.ToolStripMenuItem 내가등록한자료ToolStripMenuItem; | ||||
|         private System.Windows.Forms.ToolStripMenuItem 이번달자료ToolStripMenuItem; | ||||
|         private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1; | ||||
|         private System.Windows.Forms.ToolStripMenuItem deleteDataToolStripMenuItem; | ||||
|     } | ||||
| } | ||||
|   | ||||
| @@ -69,7 +69,7 @@ namespace FEQ0000 | ||||
|             e.Row["wuid"] = FCOMMON.info.Login.no; | ||||
|             e.Row["wdate"] = DateTime.Now; | ||||
|             e.Row["pumunit"] = "EA"; | ||||
|             e.Row["state"] = "00"; | ||||
|             e.Row["state"] = "---"; | ||||
|             e.Row["pumqty"] = 1; | ||||
|             e.Row["pumprice"] = 0; | ||||
|             e.Row["pumamt"] = 0; | ||||
| @@ -87,14 +87,13 @@ namespace FEQ0000 | ||||
|             //state list | ||||
|             var stList = FCOMMON.DBM.getCodeList("04"); | ||||
|             this.cmbState.Items.Clear(); | ||||
|             cmbState.Items.Add("-- All --"); | ||||
|             cmbState.Items.Add("-- incomplete --"); | ||||
|             cmbState.Items.Add("-- 전체 --"); | ||||
|             foreach (var item in stList) | ||||
|                 cmbState.Items.Add(item); | ||||
|                 cmbState.Items.Add(item.Value); | ||||
|             this.cmbState.SelectedIndex = 0;    //all기본 - 양진원 | ||||
|  | ||||
|             //일반사용자의경우에는 상태를 변경하지 못한다. | ||||
|             int curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth_Purchase()); | ||||
|             int curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAutoType.purchase)); | ||||
|             if (curLevel >= 5) | ||||
|             { | ||||
|                 btSave.Visible = true; | ||||
| @@ -109,7 +108,7 @@ namespace FEQ0000 | ||||
|             } | ||||
|              | ||||
|             refreshData(); | ||||
|             FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize); | ||||
|             FCOMMON.Util.FPColSizeLoad(ref this.fpSpread1, fn_fpcolsize); | ||||
|         } | ||||
|  | ||||
|  | ||||
| @@ -118,7 +117,7 @@ namespace FEQ0000 | ||||
|             try | ||||
|             { | ||||
|                 string state = "%"; | ||||
|                 if (cmbState.SelectedIndex > 1) state = cmbState.Text.Split(',')[0].Substring(1); | ||||
|                 if (cmbState.SelectedIndex > 0) state = cmbState.Text.Split(',')[0]; | ||||
|                 string request = "%"; | ||||
|                 if (tbRequest.Text.Trim() != "") request = "%" + this.tbRequest.Text.Trim() + "%"; | ||||
|                 string dateField = "pdate"; | ||||
| @@ -127,12 +126,12 @@ namespace FEQ0000 | ||||
|  | ||||
|                 System.Data.SqlClient.SqlDataAdapter da = new System.Data.SqlClient.SqlDataAdapter(); | ||||
|                 System.Data.SqlClient.SqlCommand cmd = new System.Data.SqlClient.SqlCommand(); | ||||
|                 cmd.CommandText = " select *, dbo.getCodeName('04', state) AS stateName" + | ||||
|                 cmd.CommandText = " select *" + | ||||
|                                    " from purchase " + | ||||
|                                    " where isnull(" + dateField + ",'') between @sd and @ed " + | ||||
|                                    " and (isnull(request,'') like @req or isnull(receive,'') like @req)"; | ||||
|  | ||||
|                 if (cmbState.SelectedIndex != 1) cmd.CommandText += " and state like @st"; | ||||
|                 if (cmbState.SelectedIndex != 0) cmd.CommandText += " and isnull([state],'') like @st"; | ||||
|                 else cmd.CommandText += " and (state < '04' or state > '07')"; | ||||
|                 cmd.CommandText += " ORDER BY pdate DESC, idx DESC"; | ||||
|  | ||||
| @@ -271,12 +270,40 @@ namespace FEQ0000 | ||||
|  | ||||
|         private void bindingNavigatorDeleteItem_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             func_delete(); | ||||
|         } | ||||
|         void func_delete() | ||||
|         { | ||||
|             var drv = bs.Current as DataRowView; | ||||
|             if (drv == null) return; | ||||
|  | ||||
|             int curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth( FCOMMON.DBM.eAutoType.purchase)); | ||||
|             var dr = drv.Row as dsPurchase.PurchaseRow; | ||||
|             if (dr.sc != "") | ||||
|             { | ||||
|                 if (curLevel < 5) | ||||
|                 { | ||||
|                     FCOMMON.Util.MsgE("일반 사용자는 SC값이 있는 자료를 삭제할 수 없습니다."); | ||||
|                     return; | ||||
|                 } | ||||
|             } | ||||
|  | ||||
|             if(dr.request != FCOMMON.info.Login.nameK) | ||||
|             { | ||||
|                 if (curLevel < 5) | ||||
|                 { | ||||
|                     FCOMMON.Util.MsgE("일반 사용자는 타인의 자료를 삭제할 수 없습니다."); | ||||
|                     return; | ||||
|                 } | ||||
|             } | ||||
|  | ||||
|             var dlg = FCOMMON.Util.MsgQ("현재 선택된 자료를 삭제하시겠습니까?"); | ||||
|             if (dlg != System.Windows.Forms.DialogResult.Yes) return; | ||||
|             bs.RemoveCurrent(); | ||||
|  | ||||
|             //일반사용자는 데이터를 바로 삭제한다. | ||||
|             if (FCOMMON.info.Login.level > 9) return; | ||||
|             if (curLevel < 5) | ||||
|             { | ||||
|                 try | ||||
|                 { | ||||
|                     int cnt = ta.Update(this.dsPurchase); | ||||
| @@ -288,6 +315,7 @@ namespace FEQ0000 | ||||
|                     FCOMMON.Util.MsgE("delete error\n" + ex.Message); | ||||
|                 } | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         private int AddItemInfoGetIndex(dsPurchase.PurchaseRow newdr) | ||||
|         { | ||||
| @@ -325,9 +353,14 @@ namespace FEQ0000 | ||||
|             FCOMMON.Util.CopyData((System.Data.DataRow)dr, (System.Data.DataRow)newdr); | ||||
|             newdr.wdate = DateTime.Now; | ||||
|             newdr.wuid = FCOMMON.info.Login.no; | ||||
|             newdr.state = "00"; | ||||
|             newdr.state = "---"; | ||||
|             newdr.request = FCOMMON.info.Login.nameK; | ||||
|             newdr.receive = FCOMMON.info.Login.nameK; | ||||
|             newdr.sc = string.Empty; | ||||
|             newdr.po = string.Empty; | ||||
|             newdr.indate = string.Empty; | ||||
|             newdr.edate = string.Empty; | ||||
|             newdr.dept = string.Empty; | ||||
|             newdr.idx = -1; | ||||
|             newdr.EndEdit(); | ||||
|  | ||||
| @@ -442,10 +475,11 @@ namespace FEQ0000 | ||||
|  | ||||
|         private void autoToolStripMenuItem_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             this.fpSpread1.ActiveSheet.DataAutoSizeColumns = true; | ||||
|             FCOMMON.Util.FPColSizeAuto(this.fpSpread1); | ||||
|             //this.fpSpread1.ActiveSheet.DataAutoSizeColumns = true; | ||||
|  | ||||
|             for (int i = 0; i < this.fpSpread1.ActiveSheet.Rows.Count; i++) | ||||
|                 this.fpSpread1.ActiveSheet.SetRowHeight(i, 25); | ||||
|             //for (int i = 0; i < this.fpSpread1.ActiveSheet.Rows.Count; i++) | ||||
|             //    this.fpSpread1.ActiveSheet.SetRowHeight(i, 25); | ||||
|             //dv1.AutoResizeColumns(); | ||||
|         } | ||||
|  | ||||
| @@ -459,12 +493,12 @@ namespace FEQ0000 | ||||
|  | ||||
|         private void saveToolStripMenuItem_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             FPUtil.ColsizeSave(this.fpSpread1, fn_fpcolsize); | ||||
|             FCOMMON.Util.FPColsizeSave(this.fpSpread1, fn_fpcolsize); | ||||
|         } | ||||
|  | ||||
|         private void loadToolStripMenuItem_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize); | ||||
|             FCOMMON.Util.FPColSizeLoad(ref this.fpSpread1, fn_fpcolsize); | ||||
|         } | ||||
|  | ||||
|         private void toolStripButton2_Click(object sender, EventArgs e) | ||||
| @@ -565,5 +599,10 @@ namespace FEQ0000 | ||||
|             refreshData(); | ||||
|         } | ||||
|  | ||||
|         private void deleteDataToolStripMenuItem_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             func_delete(); | ||||
|         } | ||||
|  | ||||
|     } | ||||
| } | ||||
|   | ||||
| @@ -79,6 +79,12 @@ | ||||
|     <Compile Include="fPartList.Designer.cs"> | ||||
|       <DependentUpon>fPartList.cs</DependentUpon> | ||||
|     </Compile> | ||||
|     <Compile Include="fProjectIOMap.cs"> | ||||
|       <SubType>Form</SubType> | ||||
|     </Compile> | ||||
|     <Compile Include="fProjectIOMap.Designer.cs"> | ||||
|       <DependentUpon>fProjectIOMap.cs</DependentUpon> | ||||
|     </Compile> | ||||
|     <Compile Include="fProjectSchedule.cs"> | ||||
|       <SubType>Form</SubType> | ||||
|     </Compile> | ||||
| @@ -116,6 +122,9 @@ | ||||
|     <EmbeddedResource Include="fPartList.resx"> | ||||
|       <DependentUpon>fPartList.cs</DependentUpon> | ||||
|     </EmbeddedResource> | ||||
|     <EmbeddedResource Include="fProjectIOMap.resx"> | ||||
|       <DependentUpon>fProjectIOMap.cs</DependentUpon> | ||||
|     </EmbeddedResource> | ||||
|     <EmbeddedResource Include="fProjectSchedule.resx"> | ||||
|       <DependentUpon>fProjectSchedule.cs</DependentUpon> | ||||
|     </EmbeddedResource> | ||||
|   | ||||
							
								
								
									
										1217
									
								
								SubProject/FPJ0000/dsPRJ.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										1217
									
								
								SubProject/FPJ0000/dsPRJ.Designer.cs
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @@ -544,6 +544,98 @@ SELECT idx, project, title, sw, ew, memo, wuid, wdate, swa, ewa FROM ProjectsSch | ||||
|             </Mappings> | ||||
|             <Sources /> | ||||
|           </TableAdapter> | ||||
|           <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ProjectsIOMapTableAdapter" GeneratorDataComponentClassName="ProjectsIOMapTableAdapter" Name="ProjectsIOMap" UserDataComponentName="ProjectsIOMapTableAdapter"> | ||||
|             <MainSource> | ||||
|               <DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.ProjectsIOMap" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill"> | ||||
|                 <DeleteCommand> | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||
|                     <CommandText>DELETE FROM [ProjectsIOMap] WHERE (([idx] = @Original_idx) AND ((@IsNull_Project = 1 AND [Project] IS NULL) OR ([Project] = @Original_Project)) AND ((@IsNull_Dir = 1 AND [Dir] IS NULL) OR ([Dir] = @Original_Dir)) AND ((@IsNull_PIn = 1 AND [PIn] IS NULL) OR ([PIn] = @Original_PIn)) AND ((@IsNull_Description = 1 AND [Description] IS NULL) OR ([Description] = @Original_Description)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_Remark = 1 AND [Remark] IS NULL) OR ([Remark] = @Original_Remark)))</CommandText> | ||||
|                     <Parameters> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Project" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Project" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Project" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Project" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Dir" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Dir" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Dir" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Dir" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PIn" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PIn" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_PIn" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PIn" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Description" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Description" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Remark" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                     </Parameters> | ||||
|                   </DbCommand> | ||||
|                 </DeleteCommand> | ||||
|                 <InsertCommand> | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||
|                     <CommandText>INSERT INTO [ProjectsIOMap] ([Project], [Dir], [PIn], [Description], [wuid], [wdate], [Remark]) VALUES (@Project, @Dir, @PIn, @Description, @wuid, @wdate, @Remark); | ||||
| SELECT idx, Project, Dir, PIn, Description, wuid, wdate, Remark FROM ProjectsIOMap WHERE (idx = SCOPE_IDENTITY()) ORDER BY Dir, PIn</CommandText> | ||||
|                     <Parameters> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Project" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Project" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Dir" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Dir" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PIn" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PIn" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                     </Parameters> | ||||
|                   </DbCommand> | ||||
|                 </InsertCommand> | ||||
|                 <SelectCommand> | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||
|                     <CommandText>SELECT  idx, Project, Dir, PIn, Description, wuid, wdate, Remark | ||||
| FROM     ProjectsIOMap | ||||
| WHERE  (Project = @Project) | ||||
| ORDER BY Dir, PIn</CommandText> | ||||
|                     <Parameters> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="Project" ColumnName="Project" DataSourceName="GroupWare.dbo.ProjectsIOMap" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Project" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="Project" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                     </Parameters> | ||||
|                   </DbCommand> | ||||
|                 </SelectCommand> | ||||
|                 <UpdateCommand> | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||
|                     <CommandText>UPDATE [ProjectsIOMap] SET [Project] = @Project, [Dir] = @Dir, [PIn] = @PIn, [Description] = @Description, [wuid] = @wuid, [wdate] = @wdate, [Remark] = @Remark WHERE (([idx] = @Original_idx) AND ((@IsNull_Project = 1 AND [Project] IS NULL) OR ([Project] = @Original_Project)) AND ((@IsNull_Dir = 1 AND [Dir] IS NULL) OR ([Dir] = @Original_Dir)) AND ((@IsNull_PIn = 1 AND [PIn] IS NULL) OR ([PIn] = @Original_PIn)) AND ((@IsNull_Description = 1 AND [Description] IS NULL) OR ([Description] = @Original_Description)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_Remark = 1 AND [Remark] IS NULL) OR ([Remark] = @Original_Remark))); | ||||
| SELECT idx, Project, Dir, PIn, Description, wuid, wdate, Remark FROM ProjectsIOMap WHERE (idx = @idx) ORDER BY Dir, PIn</CommandText> | ||||
|                     <Parameters> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Project" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Project" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Dir" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Dir" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PIn" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PIn" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Project" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Project" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Project" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Project" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Dir" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Dir" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Dir" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Dir" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PIn" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PIn" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_PIn" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PIn" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Description" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Description" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Remark" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="GroupWare.dbo.ProjectsIOMap" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                     </Parameters> | ||||
|                   </DbCommand> | ||||
|                 </UpdateCommand> | ||||
|               </DbSource> | ||||
|             </MainSource> | ||||
|             <Mappings> | ||||
|               <Mapping SourceColumn="idx" DataSetColumn="idx" /> | ||||
|               <Mapping SourceColumn="Dir" DataSetColumn="Dir" /> | ||||
|               <Mapping SourceColumn="PIn" DataSetColumn="PIn" /> | ||||
|               <Mapping SourceColumn="Description" DataSetColumn="Description" /> | ||||
|               <Mapping SourceColumn="wuid" DataSetColumn="wuid" /> | ||||
|               <Mapping SourceColumn="wdate" DataSetColumn="wdate" /> | ||||
|               <Mapping SourceColumn="Project" DataSetColumn="Project" /> | ||||
|               <Mapping SourceColumn="Remark" DataSetColumn="Remark" /> | ||||
|             </Mappings> | ||||
|             <Sources /> | ||||
|           </TableAdapter> | ||||
|         </Tables> | ||||
|         <Sources> | ||||
|           <DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.CopyProjectData" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="CopyProjectData" MethodsParameterType="CLR" Modifier="Public" Name="CopyProjectData" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="CopyProjectData"> | ||||
| @@ -830,6 +922,50 @@ SELECT idx, project, title, sw, ew, memo, wuid, wdate, swa, ewa FROM ProjectsSch | ||||
|             </xs:sequence> | ||||
|           </xs:complexType> | ||||
|         </xs:element> | ||||
|         <xs:element name="ProjectsIOMap" msprop:Generator_TableClassName="ProjectsIOMapDataTable" msprop:Generator_TableVarName="tableProjectsIOMap" msprop:Generator_RowChangedName="ProjectsIOMapRowChanged" msprop:Generator_TablePropName="ProjectsIOMap" msprop:Generator_RowDeletingName="ProjectsIOMapRowDeleting" msprop:Generator_RowChangingName="ProjectsIOMapRowChanging" msprop:Generator_RowEvHandlerName="ProjectsIOMapRowChangeEventHandler" msprop:Generator_RowDeletedName="ProjectsIOMapRowDeleted" msprop:Generator_RowClassName="ProjectsIOMapRow" msprop:Generator_UserTableName="ProjectsIOMap" msprop:Generator_RowEvArgName="ProjectsIOMapRowChangeEvent"> | ||||
|           <xs:complexType> | ||||
|             <xs:sequence> | ||||
|               <xs:element name="idx" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> | ||||
|               <xs:element name="Dir" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Dir" msprop:Generator_ColumnVarNameInTable="columnDir" msprop:Generator_ColumnPropNameInTable="DirColumn" msprop:Generator_UserColumnName="Dir" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="20" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="PIn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="PIn" msprop:Generator_ColumnVarNameInTable="columnPIn" msprop:Generator_ColumnPropNameInTable="PInColumn" msprop:Generator_UserColumnName="PIn" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="100" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="Description" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Description" msprop:Generator_ColumnVarNameInTable="columnDescription" msprop:Generator_ColumnPropNameInTable="DescriptionColumn" msprop:Generator_UserColumnName="Description" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="100" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="wuid" msprop:Generator_ColumnVarNameInTable="columnwuid" msprop:Generator_ColumnPropNameInRow="wuid" msprop:Generator_ColumnPropNameInTable="wuidColumn" msprop:Generator_UserColumnName="wuid"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="20" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_UserColumnName="wdate" type="xs:dateTime" /> | ||||
|               <xs:element name="Project" msprop:Generator_ColumnVarNameInTable="columnProject" msprop:Generator_ColumnPropNameInRow="Project" msprop:Generator_ColumnPropNameInTable="ProjectColumn" msprop:Generator_UserColumnName="Project" type="xs:int" minOccurs="0" /> | ||||
|               <xs:element name="Remark" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Remark" msprop:Generator_ColumnVarNameInTable="columnRemark" msprop:Generator_ColumnPropNameInTable="RemarkColumn" msprop:Generator_UserColumnName="Remark" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="100" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|             </xs:sequence> | ||||
|           </xs:complexType> | ||||
|         </xs:element> | ||||
|       </xs:choice> | ||||
|     </xs:complexType> | ||||
|     <xs:unique name="Constraint1" msdata:PrimaryKey="true"> | ||||
| @@ -848,5 +984,9 @@ SELECT idx, project, title, sw, ew, memo, wuid, wdate, swa, ewa FROM ProjectsSch | ||||
|       <xs:selector xpath=".//mstns:ProjectsSchedule" /> | ||||
|       <xs:field xpath="mstns:idx" /> | ||||
|     </xs:unique> | ||||
|     <xs:unique name="ProjectsIOMap_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true"> | ||||
|       <xs:selector xpath=".//mstns:ProjectsIOMap" /> | ||||
|       <xs:field xpath="mstns:idx" /> | ||||
|     </xs:unique> | ||||
|   </xs:element> | ||||
| </xs:schema> | ||||
							
								
								
									
										212
									
								
								SubProject/FPJ0000/fProjectList.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										212
									
								
								SubProject/FPJ0000/fProjectList.Designer.cs
									
									
									
										generated
									
									
									
								
							| @@ -69,10 +69,13 @@ | ||||
|             this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator(); | ||||
|             this.partListToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.scheduleToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.iOMapToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripSeparator(); | ||||
|             this.makeRepeatToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.ta = new FPJ0000.dsPRJTableAdapters.ProjectsTableAdapter(); | ||||
|             this.tam = new FPJ0000.dsPRJTableAdapters.TableAdapterManager(); | ||||
|             this.fpSpread1 = new FarPoint.Win.Spread.FpSpread(); | ||||
|             this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); | ||||
|             this.toolStrip1 = new System.Windows.Forms.ToolStrip(); | ||||
|             this.lbStt = new System.Windows.Forms.ToolStripLabel(); | ||||
|             this.dtSD = new System.Windows.Forms.ToolStripTextBox(); | ||||
| @@ -85,15 +88,14 @@ | ||||
|             this.toolStripLabel3 = new System.Windows.Forms.ToolStripLabel(); | ||||
|             this.tbRequest = new System.Windows.Forms.ToolStripTextBox(); | ||||
|             this.btSearch = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); | ||||
|             this.bn.SuspendLayout(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit(); | ||||
|             this.cm.SuspendLayout(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit(); | ||||
|             this.toolStrip1.SuspendLayout(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit(); | ||||
|             this.toolStrip1.SuspendLayout(); | ||||
|             this.SuspendLayout(); | ||||
|             //  | ||||
|             // bn | ||||
| @@ -244,9 +246,11 @@ | ||||
|             this.toolStripMenuItem1, | ||||
|             this.partListToolStripMenuItem, | ||||
|             this.scheduleToolStripMenuItem, | ||||
|             this.iOMapToolStripMenuItem, | ||||
|             this.toolStripMenuItem3, | ||||
|             this.makeRepeatToolStripMenuItem}); | ||||
|             this.cm.Name = "contextMenuStrip1"; | ||||
|             this.cm.Size = new System.Drawing.Size(233, 196); | ||||
|             this.cm.Size = new System.Drawing.Size(233, 238); | ||||
|             //  | ||||
|             // columnSizeToolStripMenuItem | ||||
|             //  | ||||
| @@ -322,6 +326,18 @@ | ||||
|             this.scheduleToolStripMenuItem.Text = "Schedule"; | ||||
|             this.scheduleToolStripMenuItem.Click += new System.EventHandler(this.scheduleToolStripMenuItem_Click); | ||||
|             //  | ||||
|             // iOMapToolStripMenuItem | ||||
|             //  | ||||
|             this.iOMapToolStripMenuItem.Name = "iOMapToolStripMenuItem"; | ||||
|             this.iOMapToolStripMenuItem.Size = new System.Drawing.Size(232, 36); | ||||
|             this.iOMapToolStripMenuItem.Text = "I/O Map"; | ||||
|             this.iOMapToolStripMenuItem.Click += new System.EventHandler(this.iOMapToolStripMenuItem_Click); | ||||
|             //  | ||||
|             // toolStripMenuItem3 | ||||
|             //  | ||||
|             this.toolStripMenuItem3.Name = "toolStripMenuItem3"; | ||||
|             this.toolStripMenuItem3.Size = new System.Drawing.Size(229, 6); | ||||
|             //  | ||||
|             // makeRepeatToolStripMenuItem | ||||
|             //  | ||||
|             this.makeRepeatToolStripMenuItem.Name = "makeRepeatToolStripMenuItem"; | ||||
| @@ -356,99 +372,6 @@ | ||||
|             this.fpSpread1.Size = new System.Drawing.Size(736, 421); | ||||
|             this.fpSpread1.TabIndex = 2; | ||||
|             //  | ||||
|             // toolStrip1 | ||||
|             //  | ||||
|             this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { | ||||
|             this.lbStt, | ||||
|             this.dtSD, | ||||
|             this.lbEnd, | ||||
|             this.dtED, | ||||
|             this.toolStripSeparator2, | ||||
|             this.toolStripLabel1, | ||||
|             this.cmbState, | ||||
|             this.toolStripSeparator3, | ||||
|             this.toolStripLabel3, | ||||
|             this.tbRequest, | ||||
|             this.btSearch}); | ||||
|             this.toolStrip1.Location = new System.Drawing.Point(0, 0); | ||||
|             this.toolStrip1.Name = "toolStrip1"; | ||||
|             this.toolStrip1.Size = new System.Drawing.Size(736, 25); | ||||
|             this.toolStrip1.TabIndex = 4; | ||||
|             this.toolStrip1.Text = "toolStrip1"; | ||||
|             //  | ||||
|             // lbStt | ||||
|             //  | ||||
|             this.lbStt.Name = "lbStt"; | ||||
|             this.lbStt.Size = new System.Drawing.Size(41, 22); | ||||
|             this.lbStt.Text = "Period"; | ||||
|             //  | ||||
|             // dtSD | ||||
|             //  | ||||
|             this.dtSD.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; | ||||
|             this.dtSD.Name = "dtSD"; | ||||
|             this.dtSD.Size = new System.Drawing.Size(90, 25); | ||||
|             this.dtSD.Text = "1982-11-23"; | ||||
|             this.dtSD.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||
|             //  | ||||
|             // lbEnd | ||||
|             //  | ||||
|             this.lbEnd.Name = "lbEnd"; | ||||
|             this.lbEnd.Size = new System.Drawing.Size(15, 22); | ||||
|             this.lbEnd.Text = "~"; | ||||
|             //  | ||||
|             // dtED | ||||
|             //  | ||||
|             this.dtED.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; | ||||
|             this.dtED.Name = "dtED"; | ||||
|             this.dtED.Size = new System.Drawing.Size(90, 25); | ||||
|             this.dtED.Text = "1982-11-23"; | ||||
|             this.dtED.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||
|             //  | ||||
|             // toolStripSeparator2 | ||||
|             //  | ||||
|             this.toolStripSeparator2.Name = "toolStripSeparator2"; | ||||
|             this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25); | ||||
|             //  | ||||
|             // toolStripLabel1 | ||||
|             //  | ||||
|             this.toolStripLabel1.Name = "toolStripLabel1"; | ||||
|             this.toolStripLabel1.Size = new System.Drawing.Size(34, 22); | ||||
|             this.toolStripLabel1.Text = "State"; | ||||
|             //  | ||||
|             // cmbState | ||||
|             //  | ||||
|             this.cmbState.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; | ||||
|             this.cmbState.Name = "cmbState"; | ||||
|             this.cmbState.Size = new System.Drawing.Size(100, 25); | ||||
|             //  | ||||
|             // toolStripSeparator3 | ||||
|             //  | ||||
|             this.toolStripSeparator3.Name = "toolStripSeparator3"; | ||||
|             this.toolStripSeparator3.Size = new System.Drawing.Size(6, 25); | ||||
|             //  | ||||
|             // toolStripLabel3 | ||||
|             //  | ||||
|             this.toolStripLabel3.Name = "toolStripLabel3"; | ||||
|             this.toolStripLabel3.Size = new System.Drawing.Size(66, 22); | ||||
|             this.toolStripLabel3.Text = "User Name"; | ||||
|             this.toolStripLabel3.Click += new System.EventHandler(this.toolStripLabel3_Click); | ||||
|             //  | ||||
|             // tbRequest | ||||
|             //  | ||||
|             this.tbRequest.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; | ||||
|             this.tbRequest.Name = "tbRequest"; | ||||
|             this.tbRequest.Size = new System.Drawing.Size(70, 25); | ||||
|             this.tbRequest.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||
|             //  | ||||
|             // btSearch | ||||
|             //  | ||||
|             this.btSearch.Image = ((System.Drawing.Image)(resources.GetObject("btSearch.Image"))); | ||||
|             this.btSearch.ImageTransparentColor = System.Drawing.Color.Magenta; | ||||
|             this.btSearch.Name = "btSearch"; | ||||
|             this.btSearch.Size = new System.Drawing.Size(81, 22); | ||||
|             this.btSearch.Text = "Refresh(&R)"; | ||||
|             this.btSearch.Click += new System.EventHandler(this.btSearch_Click); | ||||
|             //  | ||||
|             // fpSpread1_Sheet1 | ||||
|             //  | ||||
|             this.fpSpread1_Sheet1.Reset(); | ||||
| @@ -551,6 +474,99 @@ | ||||
|             this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false; | ||||
|             this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1; | ||||
|             //  | ||||
|             // toolStrip1 | ||||
|             //  | ||||
|             this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { | ||||
|             this.lbStt, | ||||
|             this.dtSD, | ||||
|             this.lbEnd, | ||||
|             this.dtED, | ||||
|             this.toolStripSeparator2, | ||||
|             this.toolStripLabel1, | ||||
|             this.cmbState, | ||||
|             this.toolStripSeparator3, | ||||
|             this.toolStripLabel3, | ||||
|             this.tbRequest, | ||||
|             this.btSearch}); | ||||
|             this.toolStrip1.Location = new System.Drawing.Point(0, 0); | ||||
|             this.toolStrip1.Name = "toolStrip1"; | ||||
|             this.toolStrip1.Size = new System.Drawing.Size(736, 25); | ||||
|             this.toolStrip1.TabIndex = 4; | ||||
|             this.toolStrip1.Text = "toolStrip1"; | ||||
|             //  | ||||
|             // lbStt | ||||
|             //  | ||||
|             this.lbStt.Name = "lbStt"; | ||||
|             this.lbStt.Size = new System.Drawing.Size(41, 22); | ||||
|             this.lbStt.Text = "Period"; | ||||
|             //  | ||||
|             // dtSD | ||||
|             //  | ||||
|             this.dtSD.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; | ||||
|             this.dtSD.Name = "dtSD"; | ||||
|             this.dtSD.Size = new System.Drawing.Size(90, 25); | ||||
|             this.dtSD.Text = "1982-11-23"; | ||||
|             this.dtSD.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||
|             //  | ||||
|             // lbEnd | ||||
|             //  | ||||
|             this.lbEnd.Name = "lbEnd"; | ||||
|             this.lbEnd.Size = new System.Drawing.Size(15, 22); | ||||
|             this.lbEnd.Text = "~"; | ||||
|             //  | ||||
|             // dtED | ||||
|             //  | ||||
|             this.dtED.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; | ||||
|             this.dtED.Name = "dtED"; | ||||
|             this.dtED.Size = new System.Drawing.Size(90, 25); | ||||
|             this.dtED.Text = "1982-11-23"; | ||||
|             this.dtED.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||
|             //  | ||||
|             // toolStripSeparator2 | ||||
|             //  | ||||
|             this.toolStripSeparator2.Name = "toolStripSeparator2"; | ||||
|             this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25); | ||||
|             //  | ||||
|             // toolStripLabel1 | ||||
|             //  | ||||
|             this.toolStripLabel1.Name = "toolStripLabel1"; | ||||
|             this.toolStripLabel1.Size = new System.Drawing.Size(34, 22); | ||||
|             this.toolStripLabel1.Text = "State"; | ||||
|             //  | ||||
|             // cmbState | ||||
|             //  | ||||
|             this.cmbState.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; | ||||
|             this.cmbState.Name = "cmbState"; | ||||
|             this.cmbState.Size = new System.Drawing.Size(100, 25); | ||||
|             //  | ||||
|             // toolStripSeparator3 | ||||
|             //  | ||||
|             this.toolStripSeparator3.Name = "toolStripSeparator3"; | ||||
|             this.toolStripSeparator3.Size = new System.Drawing.Size(6, 25); | ||||
|             //  | ||||
|             // toolStripLabel3 | ||||
|             //  | ||||
|             this.toolStripLabel3.Name = "toolStripLabel3"; | ||||
|             this.toolStripLabel3.Size = new System.Drawing.Size(66, 22); | ||||
|             this.toolStripLabel3.Text = "User Name"; | ||||
|             this.toolStripLabel3.Click += new System.EventHandler(this.toolStripLabel3_Click); | ||||
|             //  | ||||
|             // tbRequest | ||||
|             //  | ||||
|             this.tbRequest.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; | ||||
|             this.tbRequest.Name = "tbRequest"; | ||||
|             this.tbRequest.Size = new System.Drawing.Size(70, 25); | ||||
|             this.tbRequest.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||
|             //  | ||||
|             // btSearch | ||||
|             //  | ||||
|             this.btSearch.Image = ((System.Drawing.Image)(resources.GetObject("btSearch.Image"))); | ||||
|             this.btSearch.ImageTransparentColor = System.Drawing.Color.Magenta; | ||||
|             this.btSearch.Name = "btSearch"; | ||||
|             this.btSearch.Size = new System.Drawing.Size(81, 22); | ||||
|             this.btSearch.Text = "Refresh(&R)"; | ||||
|             this.btSearch.Click += new System.EventHandler(this.btSearch_Click); | ||||
|             //  | ||||
|             // fProjectList | ||||
|             //  | ||||
|             this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); | ||||
| @@ -570,9 +586,9 @@ | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit(); | ||||
|             this.cm.ResumeLayout(false); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit(); | ||||
|             this.toolStrip1.ResumeLayout(false); | ||||
|             this.toolStrip1.PerformLayout(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit(); | ||||
|             this.ResumeLayout(false); | ||||
|             this.PerformLayout(); | ||||
|  | ||||
| @@ -624,5 +640,7 @@ | ||||
|         private System.Windows.Forms.ToolStripMenuItem scheduleToolStripMenuItem; | ||||
|         private System.Windows.Forms.ToolStripMenuItem makeRepeatToolStripMenuItem; | ||||
|         private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1; | ||||
|         private System.Windows.Forms.ToolStripMenuItem iOMapToolStripMenuItem; | ||||
|         private System.Windows.Forms.ToolStripSeparator toolStripMenuItem3; | ||||
|     } | ||||
| } | ||||
| @@ -152,5 +152,15 @@ namespace FPJ0000 | ||||
|                 refreshData(); | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         private void iOMapToolStripMenuItem_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             var drv = this.bs.Current as DataRowView; | ||||
|             if (drv == null) return; | ||||
|             var dr = drv.Row as dsPRJ.ProjectsRow; | ||||
|             var f = new fProjectIOMap(dr.idx); | ||||
|             f.MdiParent = this.MdiParent; | ||||
|             f.Show(); | ||||
|         } | ||||
|     } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 chikyun.kim
					chikyun.kim