diff --git a/FarpointGridSetting/fItem.xml b/FarpointGridSetting/fItem.xml index e08d4ad..e875943 100644 --- a/FarpointGridSetting/fItem.xml +++ b/FarpointGridSetting/fItem.xml @@ -1,900 +1,900 @@ - - - - - - 0 - False - False - False - False - True - False - False - False - False - Copy - - True - Default - True - False - False - False - True - False - True - True - True - False - False - - Tile - Separate - No - True - True - 0 - Empty - Empty - False - True - True - Default - Default - Both - Split - True - 0.05 - 1.5 - 0 - True - True - False - Row - Column - Off - Off - True - True - Fixed3D - Always - True - AllHeaders - ExcludeSpans - ExcludeSpans - False - Leading - NoControl - True - NoControl - None - Always - False - False - -1 - Always - 1 - False - 0 - True - True - No - Leading - Always - Cells, Rows, Columns, Sheet - 1 - - Control - False - Always - - - - - - - WithHorizontalScrollBar - AsNeeded - 0.5 - - Info - InfoText - - 굴림 - 9 - False - 129 - False - False - False - Point - False - - - 500 - Off - -1 - False - Always - 1 - Auto - - - 3 - -16777216 - - - - - White - White - White - White - White - White - White - White - #ffbaeafd - #ffbaeafd - #ffbaeafd - #ffbaeafd - #ffa6acb3 - Black - White - White - White - White - White - #ffbaeafd - #ffbaeafd - #ffbaeafd - #ffbaeafd - #ffbaeafd - #ffbaeafd - #ffbaeafd - #ffbaeafd - #ffa6acb3 - #ffd5d5d5 - #ffd5d5d5 - #ffdfe3f0 - #ffdfe3f0 - #ffdfe3f0 - White - White - White - White - #ffbaeafd - #ffbaeafd - White - White - #ffbaeafd - #ffbaeafd - #ffbaeafd - #ffbaeafd - White - Empty - #ff666666 - #ff666666 - #ffa6acb3 - #ffb2b2b2 - Trapezoid - Flat - Flat - - - - - #64c1e0ff - #64baeafd - #64baeafd - #64baeafd - #64baeafd - #64c1e0ff - - - - False - - - - - - - Auto - - - - - - - - - Auto - - - - - True - 평균 - 평균(&A) - Right - - - True - 개수 - 개수(&C) - Right - - - False - 숫자 세기 - 숫자세기(&T) - Right - - - False - 최소값 - 최소값(&I) - Right - - - False - 최대값 - 최대값(&X) - Right - - - True - 합계 - 합계 - Right - - - True - - 확대/축소 슬라이더(&Z) - Right - - - True - - 확대/축소(&Z) - Right - - - Default - White - Black - #ffcdcdcd - #ffa6a6a6 - #ffcdcdcd - #ffa6a6a6 - - Microsoft Sans Serif - 8.25 - False - 1 - False - False - False - Point - False - - - True - - - #ffe7eff7 - - - - 0001-01-01T00:00:00.000 - 0001-01-01T00:00:00.000 - 0 - - - - - Sheet1 - - #ffe7eff7 - - - - - - - False - - - - - 10 - 0 - -1 - -1 - - - - - - - - - 6 - - - - - - - - - - - - 맑은 고딕 - 9 - False - 129 - False - False - False - Point - False - - - - - 1 - 1 - 0 - 0 - - - 0 - -1 - 0 - - - - - 0 - -1 - 0 - - - - - - - - - - - 88 - 8 - 1 - - - 113 - 8 - 1 - - - 84 - 8 - 1 - - - 113 - 8 - 1 - - - 84 - 8 - 1 - - - - - - - <_startIndex>-1 - False - 35 - <_endIndex>-1 - - - - - - - <_startIndex>-1 - False - <_endIndex>-1 - - - <_startIndex>-1 - 42 - <_endIndex>-1 - - - - - - - <_startIndex>-1 - False - <_endIndex>-1 - - - - - - - 2 - - - - - 2 - - - - - 2 - - - - - 2 - - - - #ffe0e0e0 - - -1 - None - 0 - True - Yes - 2147483647 - -2147483648 - UseRegional - False - False - False - 1 - 0.1 - False - Auto - 3 - # ???/??? - False - False - False - - Center - Center - - - #ffc0ffff - - -1 - None - Normal - 255 - False - None - Ascii - None - - Center - Center - - - - -1 - None - Normal - 255 - False - None - Ascii - None - - Left - Center - - - - -1 - None - Normal - 255 - False - None - Ascii - None - - Center - Center - - - - -1 - None - Normal - 255 - False - None - Ascii - None - - Left - Center - - - - -1 - None - Normal - 255 - False - None - Ascii - None - - Center - Center - - - - -1 - None - 0 - False - UseRegional - 999999999999999 - -999999999999999 - UseRegional - True - True - False - 1 - 0.1 - False - Auto - 3 - # ???/??? - False - False - False - - Right - Center - - - - -1 - None - Normal - 255 - False - None - Ascii - None - - Left - Center - - - - -1 - None - Normal - 255 - False - None - Ascii - None - - Left - Center - - - - -1 - None - -1 - True - UseRegional - 999999999999999 - -999999999999999 - UseRegional - False - False - False - 1 - 0.1 - False - Auto - 3 - # ???/??? - False - False - False - - Center - Center - - - - 2 - - - - - - - - 0 - 0 - 800 - 904 - spreadNotesContainer - - ControlText - Transparent - Center - Center - 255 - - Empty - 0 - Black - 1 - Solid - 0 - 0 - 0 - 0 - False - True - True - False - True - False - False - TextRotateCustom - None - None - - None - - - 0 - #ffffffff - - - 0 - #ffffffff - - - - - True - - - - 22 - - - - - - - - - - - 0 - 0 - 800 - 904 - spreadShapesContainer - - ControlText - Transparent - Center - Center - 255 - - Empty - 0 - Black - 1 - Solid - 0 - 0 - 0 - 0 - False - True - True - False - True - False - False - TextRotateCustom - None - None - - - - - - - - - True - - - - True - False - A1 - False - 1 - 0.001 - -1 - Sheet1 - - - - idx - - - - - cate - - - - - name - - - - - sid - - - - - model - - - - - unit - - - - - price - - - - - manu - - - - - memo - - - - - scale - - - - - True - - - True - True - A1 - False - 1 - 0.001 - -1 - True - - - True - True - A1 - False - 1 - 0.001 - -1 - True - - - False - - True - True - A1 - False - 1 - 0.001 - -1 - True - - - - SummaryBelow, SummaryRight - True - - - True - True - A1 - False - 1 - 0.001 - -1 - True - - - - + + + + + + 0 + False + False + False + False + True + False + False + False + False + Copy + + True + Default + True + False + False + False + True + False + True + True + True + False + False + + Tile + Separate + No + True + True + 0 + Empty + Empty + False + True + True + Default + Default + Both + Split + True + 0.05 + 1.5 + 0 + True + True + False + Row + Column + Off + Off + True + True + Fixed3D + Always + True + AllHeaders + ExcludeSpans + ExcludeSpans + False + Leading + NoControl + True + NoControl + None + Always + False + False + -1 + Always + 1 + False + 0 + True + True + No + Leading + Always + Cells, Rows, Columns, Sheet + 1 + + Control + False + Always + + + + + + + WithHorizontalScrollBar + AsNeeded + 0.5 + + Info + InfoText + + 굴림 + 9 + False + 129 + False + False + False + Point + False + + + 500 + Off + -1 + False + Always + 1 + Auto + + + 3 + -16777216 + + + + + White + White + White + White + White + White + White + White + #ffbaeafd + #ffbaeafd + #ffbaeafd + #ffbaeafd + #ffa6acb3 + Black + White + White + White + White + White + #ffbaeafd + #ffbaeafd + #ffbaeafd + #ffbaeafd + #ffbaeafd + #ffbaeafd + #ffbaeafd + #ffbaeafd + #ffa6acb3 + #ffd5d5d5 + #ffd5d5d5 + #ffdfe3f0 + #ffdfe3f0 + #ffdfe3f0 + White + White + White + White + #ffbaeafd + #ffbaeafd + White + White + #ffbaeafd + #ffbaeafd + #ffbaeafd + #ffbaeafd + White + Empty + #ff666666 + #ff666666 + #ffa6acb3 + #ffb2b2b2 + Trapezoid + Flat + Flat + + + + + #64c1e0ff + #64baeafd + #64baeafd + #64baeafd + #64baeafd + #64c1e0ff + + + + False + + + + + + + Auto + + + + + + + + + Auto + + + + + True + 평균 + 평균(&A) + Right + + + True + 개수 + 개수(&C) + Right + + + False + 숫자 세기 + 숫자세기(&T) + Right + + + False + 최소값 + 최소값(&I) + Right + + + False + 최대값 + 최대값(&X) + Right + + + True + 합계 + 합계 + Right + + + True + + 확대/축소 슬라이더(&Z) + Right + + + True + + 확대/축소(&Z) + Right + + + Default + White + Black + #ffcdcdcd + #ffa6a6a6 + #ffcdcdcd + #ffa6a6a6 + + Microsoft Sans Serif + 8.25 + False + 1 + False + False + False + Point + False + + + True + + + #ffe7eff7 + + + + 0001-01-01T00:00:00.000 + 0001-01-01T00:00:00.000 + 0 + + + + + Sheet1 + + #ffe7eff7 + + + + + + + False + + + + + 10 + 0 + -1 + -1 + + + + + + + + + 6 + + + + + + + + + + + + 맑은 고딕 + 9 + False + 129 + False + False + False + Point + False + + + + + 1 + 1 + 0 + 0 + + + 0 + -1 + 0 + + + + + 0 + -1 + 0 + + + + + + + + + + + 88 + 8 + 1 + + + 113 + 8 + 1 + + + 84 + 8 + 1 + + + 113 + 8 + 1 + + + 84 + 8 + 1 + + + + + + + <_startIndex>-1 + False + 35 + <_endIndex>-1 + + + + + + + <_startIndex>-1 + False + <_endIndex>-1 + + + <_startIndex>-1 + 42 + <_endIndex>-1 + + + + + + + <_startIndex>-1 + False + <_endIndex>-1 + + + + + + + 2 + + + + + 2 + + + + + 2 + + + + + 2 + + + + #ffe0e0e0 + + -1 + None + 0 + True + Yes + 2147483647 + -2147483648 + UseRegional + False + False + False + 1 + 0.1 + False + Auto + 3 + # ???/??? + False + False + False + + Center + Center + + + #ffc0ffff + + -1 + None + Normal + 255 + False + None + Ascii + None + + Center + Center + + + + -1 + None + Normal + 255 + False + None + Ascii + None + + Left + Center + + + + -1 + None + Normal + 255 + False + None + Ascii + None + + Center + Center + + + + -1 + None + Normal + 255 + False + None + Ascii + None + + Left + Center + + + + -1 + None + Normal + 255 + False + None + Ascii + None + + Center + Center + + + + -1 + None + 0 + False + UseRegional + 999999999999999 + -999999999999999 + UseRegional + True + True + False + 1 + 0.1 + False + Auto + 3 + # ???/??? + False + False + False + + Right + Center + + + + -1 + None + Normal + 255 + False + None + Ascii + None + + Left + Center + + + + -1 + None + Normal + 255 + False + None + Ascii + None + + Left + Center + + + + -1 + None + -1 + True + UseRegional + 999999999999999 + -999999999999999 + UseRegional + False + False + False + 1 + 0.1 + False + Auto + 3 + # ???/??? + False + False + False + + Center + Center + + + + 2 + + + + + + + + 0 + 0 + 800 + 904 + spreadNotesContainer + + ControlText + Transparent + Center + Center + 255 + + Empty + 0 + Black + 1 + Solid + 0 + 0 + 0 + 0 + False + True + True + False + True + False + False + TextRotateCustom + None + None + + None + + + 0 + #ffffffff + + + 0 + #ffffffff + + + + + True + + + + 22 + + + + + + + + + + + 0 + 0 + 800 + 904 + spreadShapesContainer + + ControlText + Transparent + Center + Center + 255 + + Empty + 0 + Black + 1 + Solid + 0 + 0 + 0 + 0 + False + True + True + False + True + False + False + TextRotateCustom + None + None + + + + + + + + + True + + + + True + False + A1 + False + 1 + 0.001 + -1 + Sheet1 + + + + idx + + + + + cate + + + + + name + + + + + sid + + + + + model + + + + + unit + + + + + price + + + + + manu + + + + + memo + + + + + scale + + + + + True + + + True + True + A1 + False + 1 + 0.001 + -1 + True + + + True + True + A1 + False + 1 + 0.001 + -1 + True + + + False + + True + True + A1 + False + 1 + 0.001 + -1 + True + + + + SummaryBelow, SummaryRight + True + + + True + True + A1 + False + 1 + 0.001 + -1 + True + + + + \ No newline at end of file diff --git a/FarpointGridSetting/fPurchase.xml b/FarpointGridSetting/fPurchase.xml index d38c5a5..851e1cd 100644 --- a/FarpointGridSetting/fPurchase.xml +++ b/FarpointGridSetting/fPurchase.xml @@ -1,1297 +1,1297 @@ - - - - - - 0 - False - False - False - False - True - False - False - False - False - Copy - - True - Default - True - False - False - False - True - False - True - True - True - False - False - - Tile - Separate - No - True - True - 0 - Empty - Empty - False - True - True - Default - Default - Both - Split - True - 0.05 - 1.5 - 0 - True - True - False - Row - Column - Off - Off - True - True - Fixed3D - Always - True - AllHeaders - ExcludeSpans - ExcludeSpans - False - Leading - NoControl - True - NoControl - None - Always - False - True - -1 - Always - 1 - False - 0 - True - True - No - Leading - Always - Cells, Rows, Columns, Sheet - 1 - - Control - False - Always - - - - - - - WithHorizontalScrollBar - AsNeeded - 0.5 - - Info - InfoText - - 굴림 - 9 - False - 129 - False - False - False - Point - False - - - 500 - Off - -1 - False - Always - 1 - Auto - - - 3 - -16777216 - - - - - White - White - White - White - White - White - White - White - #ffbaeafd - #ffbaeafd - #ffbaeafd - #ffbaeafd - #ffa6acb3 - Black - White - White - White - White - White - #ffbaeafd - #ffbaeafd - #ffbaeafd - #ffbaeafd - #ffbaeafd - #ffbaeafd - #ffbaeafd - #ffbaeafd - #ffa6acb3 - #ffd5d5d5 - #ffd5d5d5 - #ffdfe3f0 - #ffdfe3f0 - #ffdfe3f0 - White - White - White - White - #ffbaeafd - #ffbaeafd - White - White - #ffbaeafd - #ffbaeafd - #ffbaeafd - #ffbaeafd - White - Empty - #ff666666 - #ff666666 - #ffa6acb3 - #ffb2b2b2 - Trapezoid - Flat - Flat - - - - - #64c1e0ff - #64baeafd - #64baeafd - #64baeafd - #64baeafd - #64c1e0ff - - - - False - - - - - - - Auto - - - - - - - - - Auto - - - - - True - 평균 - 평균(&A) - Right - - - True - 개수 - 개수(&C) - Right - - - False - 숫자 세기 - 숫자세기(&T) - Right - - - False - 최소값 - 최소값(&I) - Right - - - False - 최대값 - 최대값(&X) - Right - - - True - 합계 - 합계 - Right - - - True - - 확대/축소 슬라이더(&Z) - Right - - - True - - 확대/축소(&Z) - Right - - - Default - White - Black - #ffcdcdcd - #ffa6a6a6 - #ffcdcdcd - #ffa6a6a6 - - Microsoft Sans Serif - 8.25 - False - 1 - False - False - False - Point - False - - - True - - - #ffe7eff7 - - - - 0001-01-01T00:00:00.000 - 0001-01-01T00:00:00.000 - 0 - - - - - Sheet1 - - #ffe7eff7 - - - - - - - False - - - - - 23 - 0 - -1 - -1 - - - - - - - - - 1 - - - - - - - - - - - - 맑은 고딕 - 9 - False - 129 - False - False - False - Point - False - - - - - 1 - 1 - 0 - 0 - - - 0 - -1 - 0 - - - - - 0 - -1 - 0 - - - - - - - - - - - 34 - 8 - 1 - - - 49 - 8 - 1 - - - 48 - 8 - 1 - - - 27 - 8 - 1 - - - 46 - 8 - 1 - - - 31 - 8 - 1 - - - 33 - 8 - 1 - - - 14 - 8 - 1 - - - 43 - 8 - 1 - - - 28 - 8 - 1 - - - 31 - 8 - 1 - - - 35 - 8 - 1 - - - 32 - 8 - 1 - - - 46 - 8 - 1 - - - 14 - 8 - 1 - - - 46 - 8 - 1 - - - 14 - 8 - 1 - - - 35 - 8 - 1 - - - 38 - 8 - 1 - - - 42 - 8 - 1 - - - 23 - 8 - 1 - - - 33 - 8 - 1 - - - - - - - <_startIndex>-1 - False - 35 - <_endIndex>-1 - - - - - - - <_startIndex>-1 - False - <_endIndex>-1 - - - <_startIndex>-1 - 37 - <_endIndex>-1 - - - - - - - <_startIndex>-1 - False - <_endIndex>-1 - - - - - - - 2 - - - - - 2 - - - - - 2 - - - - - 2 - - - - - -1 - None - Normal - 255 - False - None - Ascii - None - - Center - Center - - - #ffe0e0e0 - - -1 - None - Normal - 255 - False - None - Ascii - None - - Center - Center - - - - -1 - None - Normal - 255 - False - None - Ascii - None - - Center - Center - - - - -1 - None - Normal - 255 - False - None - Ascii - None - - Left - - - - -1 - None - Normal - 255 - False - None - Ascii - None - - Center - Center - - - - -1 - None - Normal - 255 - False - None - Ascii - None - - Left - - - - -1 - None - Normal - 255 - False - None - Ascii - None - - Center - Center - - - - -1 - None - Normal - 255 - False - None - Ascii - None - - Left - - - #ffe0e0e0 - - -1 - None - 0 - True - Yes - 2147483647 - -2147483648 - UseRegional - False - False - False - 1 - 0.1 - False - Auto - 3 - # ???/??? - False - False - False - - Center - - - - -1 - None - Normal - 255 - False - None - Ascii - None - - Left - - - - -1 - None - 0 - True - Yes - 2147483647 - -2147483648 - UseRegional - False - False - False - 1 - 0.1 - False - Auto - 3 - # ???/??? - False - False - False - - Center - - - - -1 - None - Normal - 255 - False - None - Ascii - None - - Center - - - - -1 - None - -1 - True - UseRegional - 999999999999999 - -999999999999999 - UseRegional - False - False - False - 1 - 0.1 - False - Auto - 3 - # ???/??? - False - False - False - - Right - - - - -1 - None - -1 - True - UseRegional - 999999999999999 - -999999999999999 - UseRegional - False - False - False - 1 - 0.1 - False - Auto - 3 - # ???/??? - False - False - False - - Right - - - - -1 - None - Normal - 255 - False - None - Ascii - None - - Left - - - #ffe0e0e0 - - -1 - None - 0 - True - Yes - 2147483647 - -2147483648 - UseRegional - False - False - False - 1 - 0.1 - False - Auto - 3 - # ???/??? - False - False - False - - Center - - - - -1 - None - Normal - 255 - False - None - Ascii - None - - Left - - - #ffe0e0e0 - - -1 - None - 0 - True - Yes - 2147483647 - -2147483648 - UseRegional - False - False - False - 1 - 0.1 - False - Auto - 3 - # ???/??? - False - False - False - - Center - - - - -1 - None - Normal - 255 - False - None - Ascii - None - - Left - - - - -1 - None - Normal - 255 - False - None - Ascii - None - - Center - - - - -1 - None - Normal - 255 - False - None - Ascii - None - - Center - - - - -1 - None - Normal - 255 - False - None - Ascii - None - - Center - - - - -1 - None - Normal - 255 - False - None - Ascii - None - - Left - - - - 2 - - - - - - - - 0 - 0 - 800 - 904 - spreadNotesContainer - - ControlText - Transparent - Center - Center - 255 - - Empty - 0 - Black - 1 - Solid - 0 - 0 - 0 - 0 - False - True - True - False - True - False - False - TextRotateCustom - None - None - - None - - - 0 - #ffffffff - - - 0 - #ffffffff - - - - - True - - - - 22 - - - - - - - - - - - 0 - 0 - 800 - 904 - spreadShapesContainer - - ControlText - Transparent - Center - Center - 255 - - Empty - 0 - Black - 1 - Solid - 0 - 0 - 0 - 0 - False - True - True - False - True - False - False - TextRotateCustom - None - None - - - - - - - - - True - - - - True - False - A1 - False - 1 - 0.001 - -1 - Sheet1 - - - - pdate - - - - - state - mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:System.String - - - - - process - - - - - request - - - - - sc - - - - - receive - - - - - sid - - - - - pumname - - - - - pumidx - - - - - pumscale - - - - - pumqty - - - - - pumunit - - - - - pumprice - - - - - pumamt - - - - - supply - - - - - supplyidx - - - - - project - - - - - projectidx - - - - - asset - - - - - edate - - - - - indate - - - - - po - - - - - dept - - - - - True - - - True - True - A1 - False - 1 - 0.001 - -1 - True - - - True - True - A1 - False - 1 - 0.001 - -1 - - - Date - - - state - - - sc# - - - sid# - - - Item - - - * - - - Model - - - Qty - - - Unit - - - Price - - - Amt - - - Supply - - - * - - - * - - - True - - - False - - True - True - A1 - False - 1 - 0.001 - -1 - True - - - - SummaryBelow, SummaryRight - True - - - True - True - A1 - False - 1 - 0.001 - -1 - True - - - - + + + + + + 0 + False + False + False + False + True + False + False + False + False + Copy + + True + Default + True + False + False + False + True + False + True + True + True + False + False + + Tile + Separate + No + True + True + 0 + Empty + Empty + False + True + True + Default + Default + Both + Split + True + 0.05 + 1.5 + 0 + True + True + False + Row + Column + Off + Off + True + True + Fixed3D + Always + True + AllHeaders + ExcludeSpans + ExcludeSpans + False + Leading + NoControl + True + NoControl + None + Always + False + True + -1 + Always + 1 + False + 0 + True + True + No + Leading + Always + Cells, Rows, Columns, Sheet + 1 + + Control + False + Always + + + + + + + WithHorizontalScrollBar + AsNeeded + 0.5 + + Info + InfoText + + 굴림 + 9 + False + 129 + False + False + False + Point + False + + + 500 + Off + -1 + False + Always + 1 + Auto + + + 3 + -16777216 + + + + + White + White + White + White + White + White + White + White + #ffbaeafd + #ffbaeafd + #ffbaeafd + #ffbaeafd + #ffa6acb3 + Black + White + White + White + White + White + #ffbaeafd + #ffbaeafd + #ffbaeafd + #ffbaeafd + #ffbaeafd + #ffbaeafd + #ffbaeafd + #ffbaeafd + #ffa6acb3 + #ffd5d5d5 + #ffd5d5d5 + #ffdfe3f0 + #ffdfe3f0 + #ffdfe3f0 + White + White + White + White + #ffbaeafd + #ffbaeafd + White + White + #ffbaeafd + #ffbaeafd + #ffbaeafd + #ffbaeafd + White + Empty + #ff666666 + #ff666666 + #ffa6acb3 + #ffb2b2b2 + Trapezoid + Flat + Flat + + + + + #64c1e0ff + #64baeafd + #64baeafd + #64baeafd + #64baeafd + #64c1e0ff + + + + False + + + + + + + Auto + + + + + + + + + Auto + + + + + True + 평균 + 평균(&A) + Right + + + True + 개수 + 개수(&C) + Right + + + False + 숫자 세기 + 숫자세기(&T) + Right + + + False + 최소값 + 최소값(&I) + Right + + + False + 최대값 + 최대값(&X) + Right + + + True + 합계 + 합계 + Right + + + True + + 확대/축소 슬라이더(&Z) + Right + + + True + + 확대/축소(&Z) + Right + + + Default + White + Black + #ffcdcdcd + #ffa6a6a6 + #ffcdcdcd + #ffa6a6a6 + + Microsoft Sans Serif + 8.25 + False + 1 + False + False + False + Point + False + + + True + + + #ffe7eff7 + + + + 0001-01-01T00:00:00.000 + 0001-01-01T00:00:00.000 + 0 + + + + + Sheet1 + + #ffe7eff7 + + + + + + + False + + + + + 23 + 0 + -1 + -1 + + + + + + + + + 1 + + + + + + + + + + + + 맑은 고딕 + 9 + False + 129 + False + False + False + Point + False + + + + + 1 + 1 + 0 + 0 + + + 0 + -1 + 0 + + + + + 0 + -1 + 0 + + + + + + + + + + + 34 + 8 + 1 + + + 49 + 8 + 1 + + + 48 + 8 + 1 + + + 27 + 8 + 1 + + + 46 + 8 + 1 + + + 31 + 8 + 1 + + + 33 + 8 + 1 + + + 14 + 8 + 1 + + + 43 + 8 + 1 + + + 28 + 8 + 1 + + + 31 + 8 + 1 + + + 35 + 8 + 1 + + + 32 + 8 + 1 + + + 46 + 8 + 1 + + + 14 + 8 + 1 + + + 46 + 8 + 1 + + + 14 + 8 + 1 + + + 35 + 8 + 1 + + + 38 + 8 + 1 + + + 42 + 8 + 1 + + + 23 + 8 + 1 + + + 33 + 8 + 1 + + + + + + + <_startIndex>-1 + False + 35 + <_endIndex>-1 + + + + + + + <_startIndex>-1 + False + <_endIndex>-1 + + + <_startIndex>-1 + 37 + <_endIndex>-1 + + + + + + + <_startIndex>-1 + False + <_endIndex>-1 + + + + + + + 2 + + + + + 2 + + + + + 2 + + + + + 2 + + + + + -1 + None + Normal + 255 + False + None + Ascii + None + + Center + Center + + + #ffe0e0e0 + + -1 + None + Normal + 255 + False + None + Ascii + None + + Center + Center + + + + -1 + None + Normal + 255 + False + None + Ascii + None + + Center + Center + + + + -1 + None + Normal + 255 + False + None + Ascii + None + + Left + + + + -1 + None + Normal + 255 + False + None + Ascii + None + + Center + Center + + + + -1 + None + Normal + 255 + False + None + Ascii + None + + Left + + + + -1 + None + Normal + 255 + False + None + Ascii + None + + Center + Center + + + + -1 + None + Normal + 255 + False + None + Ascii + None + + Left + + + #ffe0e0e0 + + -1 + None + 0 + True + Yes + 2147483647 + -2147483648 + UseRegional + False + False + False + 1 + 0.1 + False + Auto + 3 + # ???/??? + False + False + False + + Center + + + + -1 + None + Normal + 255 + False + None + Ascii + None + + Left + + + + -1 + None + 0 + True + Yes + 2147483647 + -2147483648 + UseRegional + False + False + False + 1 + 0.1 + False + Auto + 3 + # ???/??? + False + False + False + + Center + + + + -1 + None + Normal + 255 + False + None + Ascii + None + + Center + + + + -1 + None + -1 + True + UseRegional + 999999999999999 + -999999999999999 + UseRegional + False + False + False + 1 + 0.1 + False + Auto + 3 + # ???/??? + False + False + False + + Right + + + + -1 + None + -1 + True + UseRegional + 999999999999999 + -999999999999999 + UseRegional + False + False + False + 1 + 0.1 + False + Auto + 3 + # ???/??? + False + False + False + + Right + + + + -1 + None + Normal + 255 + False + None + Ascii + None + + Left + + + #ffe0e0e0 + + -1 + None + 0 + True + Yes + 2147483647 + -2147483648 + UseRegional + False + False + False + 1 + 0.1 + False + Auto + 3 + # ???/??? + False + False + False + + Center + + + + -1 + None + Normal + 255 + False + None + Ascii + None + + Left + + + #ffe0e0e0 + + -1 + None + 0 + True + Yes + 2147483647 + -2147483648 + UseRegional + False + False + False + 1 + 0.1 + False + Auto + 3 + # ???/??? + False + False + False + + Center + + + + -1 + None + Normal + 255 + False + None + Ascii + None + + Left + + + + -1 + None + Normal + 255 + False + None + Ascii + None + + Center + + + + -1 + None + Normal + 255 + False + None + Ascii + None + + Center + + + + -1 + None + Normal + 255 + False + None + Ascii + None + + Center + + + + -1 + None + Normal + 255 + False + None + Ascii + None + + Left + + + + 2 + + + + + + + + 0 + 0 + 800 + 904 + spreadNotesContainer + + ControlText + Transparent + Center + Center + 255 + + Empty + 0 + Black + 1 + Solid + 0 + 0 + 0 + 0 + False + True + True + False + True + False + False + TextRotateCustom + None + None + + None + + + 0 + #ffffffff + + + 0 + #ffffffff + + + + + True + + + + 22 + + + + + + + + + + + 0 + 0 + 800 + 904 + spreadShapesContainer + + ControlText + Transparent + Center + Center + 255 + + Empty + 0 + Black + 1 + Solid + 0 + 0 + 0 + 0 + False + True + True + False + True + False + False + TextRotateCustom + None + None + + + + + + + + + True + + + + True + False + A1 + False + 1 + 0.001 + -1 + Sheet1 + + + + pdate + + + + + state + mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:System.String + + + + + process + + + + + request + + + + + sc + + + + + receive + + + + + sid + + + + + pumname + + + + + pumidx + + + + + pumscale + + + + + pumqty + + + + + pumunit + + + + + pumprice + + + + + pumamt + + + + + supply + + + + + supplyidx + + + + + project + + + + + projectidx + + + + + asset + + + + + edate + + + + + indate + + + + + po + + + + + dept + + + + + True + + + True + True + A1 + False + 1 + 0.001 + -1 + True + + + True + True + A1 + False + 1 + 0.001 + -1 + + + Date + + + state + + + sc# + + + sid# + + + Item + + + * + + + Model + + + Qty + + + Unit + + + Price + + + Amt + + + Supply + + + * + + + * + + + True + + + False + + True + True + A1 + False + 1 + 0.001 + -1 + True + + + + SummaryBelow, SummaryRight + True + + + True + True + A1 + False + 1 + 0.001 + -1 + True + + + + \ No newline at end of file diff --git a/Project/History.txt b/Project/History.txt index e55a5fb..07c6a78 100644 --- a/Project/History.txt +++ b/Project/History.txt @@ -1,32 +1,34 @@ -181207 chi 업체정보화면 에 담당자 목록 추가 - 업체대표 및 담당자 테이블 데이터 추가 - 품목에 이미지 확인 사항 추가 - 품목 검색창에서 이미지 확인 및 추가 가능 -181205 chi 메뉴한글과 - 업체정보 업데이트 (양진원) - 업체정보 열너비 저장 가능 -181203 chi 구매 - 상태검색 기능 활성 - 일반 - 시작화면 선택 기능 - 프로그램설정 - 처음 실행 화면 설정가능 -구매목록 - 상태 검색 기능 사용 가능 -구매목록 - 데이터 복사시 추가정보 및 상태 초기화 -구매목록 - 본인외 및 SC자료 삭제 불가 -구매추가 - 본인 자료 만 편집 가능 -구매추가 - 입고예정일을 좌측 그룹으로 이동 -구매추가 - 입력자 못 고침 -구매추가 - 상태창 값이 맞지 않는 현상 수정 -구매추가 - 공정 자동 불러오도록 함 -구매추가 - 합계에 천단위 구분기호(콤마) 표시 -구매추가 - 화면 한글 화 -구매추가 - SC 값이 있으면 일반 사용자는 편집 불가 -구매추가 - 견적서 폴더 열기 기능 추가(공유폴더연결) - - -181031 chi 구매 - 프로젝트 검색시 유사 검색 기능이 되도록 수정 -181030 chi 구매시 - 서플라이 검색 기능 추가됨, 날짜 입력 편하게 됨 - indate 가 자동 활성화되는 현상 수정 -181023 chi getAuth_Purchase, 추가 -181004 chi 장비목록 출력물이 나오지 않는 현상 제거 (resource path 오류) - 장비목록 내부검색기능 추가 -180917 chi +181210 chi NR구매등록시 이미지 표시 및 추가 기능 + NR구매목록에서 권한 없는 사람이 더블클릭으로 편집할 수 있는 버그 수정 +181207 chi 업체정보화면 에 담당자 목록 추가 + 업체대표 및 담당자 테이블 데이터 추가 + 품목에 이미지 확인 사항 추가 + 품목 검색창에서 이미지 확인 및 추가 가능 +181205 chi 메뉴한글과 + 업체정보 업데이트 (양진원) + 업체정보 열너비 저장 가능 +181203 chi 구매 - 상태검색 기능 활성 + 일반 - 시작화면 선택 기능 + 프로그램설정 - 처음 실행 화면 설정가능 +구매목록 - 상태 검색 기능 사용 가능 +구매목록 - 데이터 복사시 추가정보 및 상태 초기화 +구매목록 - 본인외 및 SC자료 삭제 불가 +구매추가 - 본인 자료 만 편집 가능 +구매추가 - 입고예정일을 좌측 그룹으로 이동 +구매추가 - 입력자 못 고침 +구매추가 - 상태창 값이 맞지 않는 현상 수정 +구매추가 - 공정 자동 불러오도록 함 +구매추가 - 합계에 천단위 구분기호(콤마) 표시 +구매추가 - 화면 한글 화 +구매추가 - SC 값이 있으면 일반 사용자는 편집 불가 +구매추가 - 견적서 폴더 열기 기능 추가(공유폴더연결) + + +181031 chi 구매 - 프로젝트 검색시 유사 검색 기능이 되도록 수정 +181030 chi 구매시 - 서플라이 검색 기능 추가됨, 날짜 입력 편하게 됨 + indate 가 자동 활성화되는 현상 수정 +181023 chi getAuth_Purchase, 추가 +181004 chi 장비목록 출력물이 나오지 않는 현상 제거 (resource path 오류) + 장비목록 내부검색기능 추가 +180917 chi 180624 chi setting 의 경로를 applicationdata 적용 되도록 수정 \ No newline at end of file diff --git a/Project/Manager/keyValuedataTable.cs b/Project/Manager/keyValuedataTable.cs index 2f9abcd..0b0e499 100644 --- a/Project/Manager/keyValuedataTable.cs +++ b/Project/Manager/keyValuedataTable.cs @@ -1,33 +1,33 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.IO; - -namespace Project -{ - - public class keyValuedataTable - { - System.Data.DataTable dt; - public System.Data.DataTable DataTable - { - get - { - return dt; - } - } - public keyValuedataTable() - { - dt = new System.Data.DataTable(); - dt.Columns.Add("key"); - dt.Columns.Add("value"); - } - public void Add(string key, string value) - { - dt.Rows.Add(new string[] { key,value }); - dt.AcceptChanges(); - } - } - -} +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.IO; + +namespace Project +{ + + public class keyValuedataTable + { + System.Data.DataTable dt; + public System.Data.DataTable DataTable + { + get + { + return dt; + } + } + public keyValuedataTable() + { + dt = new System.Data.DataTable(); + dt.Columns.Add("key"); + dt.Columns.Add("value"); + } + public void Add(string key, string value) + { + dt.Rows.Add(new string[] { key,value }); + dt.AcceptChanges(); + } + } + +} diff --git a/Project/Properties/AssemblyInfo.cs b/Project/Properties/AssemblyInfo.cs index e7238da..14bbd42 100644 --- a/Project/Properties/AssemblyInfo.cs +++ b/Project/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로 // 지정되도록 할 수 있습니다. // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("18.12.07.1200")] -[assembly: AssemblyFileVersion("18.12.07.1200")] +[assembly: AssemblyVersion("18.12.10.1200")] +[assembly: AssemblyFileVersion("18.12.10.1200")] diff --git a/Project/Properties/licenses.licx b/Project/Properties/licenses.licx new file mode 100644 index 0000000..e69de29 diff --git a/Project/_Common/fNewID.Designer.cs b/Project/_Common/fNewID.Designer.cs index 0b30955..602ecf8 100644 --- a/Project/_Common/fNewID.Designer.cs +++ b/Project/_Common/fNewID.Designer.cs @@ -1,113 +1,113 @@ -namespace Project._Common -{ - partial class fNewID - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - System.Windows.Forms.Label nameLabel; - System.Windows.Forms.Label label1; - this.tbIDO = new System.Windows.Forms.TextBox(); - this.tbIDN = new System.Windows.Forms.TextBox(); - this.button1 = new System.Windows.Forms.Button(); - nameLabel = new System.Windows.Forms.Label(); - label1 = new System.Windows.Forms.Label(); - this.SuspendLayout(); - // - // nameLabel - // - nameLabel.AutoSize = true; - nameLabel.Location = new System.Drawing.Point(60, 15); - nameLabel.Name = "nameLabel"; - nameLabel.Size = new System.Drawing.Size(46, 12); - nameLabel.TabIndex = 0; - nameLabel.Text = "User ID"; - // - // label1 - // - label1.AutoSize = true; - label1.Location = new System.Drawing.Point(60, 41); - label1.Name = "label1"; - label1.Size = new System.Drawing.Size(46, 12); - label1.TabIndex = 2; - label1.Text = "New ID"; - // - // tbIDO - // - this.tbIDO.Location = new System.Drawing.Point(112, 12); - this.tbIDO.Name = "tbIDO"; - this.tbIDO.ReadOnly = true; - this.tbIDO.Size = new System.Drawing.Size(170, 21); - this.tbIDO.TabIndex = 1; - this.tbIDO.TabStop = false; - this.tbIDO.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; - // - // tbIDN - // - this.tbIDN.Location = new System.Drawing.Point(112, 38); - this.tbIDN.Name = "tbIDN"; - this.tbIDN.Size = new System.Drawing.Size(170, 21); - this.tbIDN.TabIndex = 3; - this.tbIDN.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; - // - // button1 - // - this.button1.Location = new System.Drawing.Point(112, 65); - this.button1.Name = "button1"; - this.button1.Size = new System.Drawing.Size(170, 30); - this.button1.TabIndex = 4; - this.button1.Text = "OK"; - this.button1.UseVisualStyleBackColor = true; - this.button1.Click += new System.EventHandler(this.button1_Click); - // - // fNewID - // - this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(296, 110); - this.Controls.Add(this.button1); - this.Controls.Add(label1); - this.Controls.Add(this.tbIDN); - this.Controls.Add(nameLabel); - this.Controls.Add(this.tbIDO); - this.MaximizeBox = false; - this.MinimizeBox = false; - this.Name = "fNewID"; - this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; - this.Text = "fNewPassword"; - this.Load += new System.EventHandler(this.fNewPassword_Load); - this.ResumeLayout(false); - this.PerformLayout(); - - } - - #endregion - - private System.Windows.Forms.Button button1; - public System.Windows.Forms.TextBox tbIDO; - public System.Windows.Forms.TextBox tbIDN; - } +namespace Project._Common +{ + partial class fNewID + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + System.Windows.Forms.Label nameLabel; + System.Windows.Forms.Label label1; + this.tbIDO = new System.Windows.Forms.TextBox(); + this.tbIDN = new System.Windows.Forms.TextBox(); + this.button1 = new System.Windows.Forms.Button(); + nameLabel = new System.Windows.Forms.Label(); + label1 = new System.Windows.Forms.Label(); + this.SuspendLayout(); + // + // nameLabel + // + nameLabel.AutoSize = true; + nameLabel.Location = new System.Drawing.Point(60, 15); + nameLabel.Name = "nameLabel"; + nameLabel.Size = new System.Drawing.Size(46, 12); + nameLabel.TabIndex = 0; + nameLabel.Text = "User ID"; + // + // label1 + // + label1.AutoSize = true; + label1.Location = new System.Drawing.Point(60, 41); + label1.Name = "label1"; + label1.Size = new System.Drawing.Size(46, 12); + label1.TabIndex = 2; + label1.Text = "New ID"; + // + // tbIDO + // + this.tbIDO.Location = new System.Drawing.Point(112, 12); + this.tbIDO.Name = "tbIDO"; + this.tbIDO.ReadOnly = true; + this.tbIDO.Size = new System.Drawing.Size(170, 21); + this.tbIDO.TabIndex = 1; + this.tbIDO.TabStop = false; + this.tbIDO.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // tbIDN + // + this.tbIDN.Location = new System.Drawing.Point(112, 38); + this.tbIDN.Name = "tbIDN"; + this.tbIDN.Size = new System.Drawing.Size(170, 21); + this.tbIDN.TabIndex = 3; + this.tbIDN.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // button1 + // + this.button1.Location = new System.Drawing.Point(112, 65); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(170, 30); + this.button1.TabIndex = 4; + this.button1.Text = "OK"; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click); + // + // fNewID + // + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(296, 110); + this.Controls.Add(this.button1); + this.Controls.Add(label1); + this.Controls.Add(this.tbIDN); + this.Controls.Add(nameLabel); + this.Controls.Add(this.tbIDO); + this.MaximizeBox = false; + this.MinimizeBox = false; + this.Name = "fNewID"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "fNewPassword"; + this.Load += new System.EventHandler(this.fNewPassword_Load); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Button button1; + public System.Windows.Forms.TextBox tbIDO; + public System.Windows.Forms.TextBox tbIDN; + } } \ No newline at end of file diff --git a/Project/_Common/fNewPassword.Designer.cs b/Project/_Common/fNewPassword.Designer.cs index c298650..17705e7 100644 --- a/Project/_Common/fNewPassword.Designer.cs +++ b/Project/_Common/fNewPassword.Designer.cs @@ -1,162 +1,162 @@ -namespace Project._Common -{ - partial class fNewPassword - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - System.Windows.Forms.Label nameLabel; - System.Windows.Forms.Label deptLabel; - System.Windows.Forms.Label gradeLabel; - System.Windows.Forms.Label label1; - this.tbUserID = new System.Windows.Forms.TextBox(); - this.tbPass1 = new System.Windows.Forms.TextBox(); - this.tbPass2 = new System.Windows.Forms.TextBox(); - this.tbPassO = new System.Windows.Forms.TextBox(); - this.button1 = new System.Windows.Forms.Button(); - nameLabel = new System.Windows.Forms.Label(); - deptLabel = new System.Windows.Forms.Label(); - gradeLabel = new System.Windows.Forms.Label(); - label1 = new System.Windows.Forms.Label(); - this.SuspendLayout(); - // - // nameLabel - // - nameLabel.AutoSize = true; - nameLabel.Location = new System.Drawing.Point(60, 15); - nameLabel.Name = "nameLabel"; - nameLabel.Size = new System.Drawing.Size(46, 12); - nameLabel.TabIndex = 0; - nameLabel.Text = "User ID"; - // - // deptLabel - // - deptLabel.AutoSize = true; - deptLabel.Location = new System.Drawing.Point(14, 67); - deptLabel.Name = "deptLabel"; - deptLabel.Size = new System.Drawing.Size(92, 12); - deptLabel.TabIndex = 4; - deptLabel.Text = "New Password"; - // - // gradeLabel - // - gradeLabel.AutoSize = true; - gradeLabel.Location = new System.Drawing.Point(69, 93); - gradeLabel.Name = "gradeLabel"; - gradeLabel.Size = new System.Drawing.Size(37, 12); - gradeLabel.TabIndex = 6; - gradeLabel.Text = "Verify"; - // - // label1 - // - label1.AutoSize = true; - label1.Location = new System.Drawing.Point(16, 41); - label1.Name = "label1"; - label1.Size = new System.Drawing.Size(90, 12); - label1.TabIndex = 2; - label1.Text = "OLD Password"; - // - // tbUserID - // - this.tbUserID.Location = new System.Drawing.Point(112, 12); - this.tbUserID.Name = "tbUserID"; - this.tbUserID.ReadOnly = true; - this.tbUserID.Size = new System.Drawing.Size(170, 21); - this.tbUserID.TabIndex = 1; - this.tbUserID.TabStop = false; - this.tbUserID.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; - // - // tbPass1 - // - this.tbPass1.Location = new System.Drawing.Point(112, 64); - this.tbPass1.Name = "tbPass1"; - this.tbPass1.PasswordChar = '*'; - this.tbPass1.Size = new System.Drawing.Size(170, 21); - this.tbPass1.TabIndex = 5; - this.tbPass1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; - // - // tbPass2 - // - this.tbPass2.Location = new System.Drawing.Point(112, 90); - this.tbPass2.Name = "tbPass2"; - this.tbPass2.PasswordChar = '*'; - this.tbPass2.Size = new System.Drawing.Size(170, 21); - this.tbPass2.TabIndex = 7; - this.tbPass2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; - // - // tbPassO - // - this.tbPassO.Location = new System.Drawing.Point(112, 38); - this.tbPassO.Name = "tbPassO"; - this.tbPassO.PasswordChar = '*'; - this.tbPassO.Size = new System.Drawing.Size(170, 21); - this.tbPassO.TabIndex = 3; - this.tbPassO.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; - // - // button1 - // - this.button1.Location = new System.Drawing.Point(112, 119); - this.button1.Name = "button1"; - this.button1.Size = new System.Drawing.Size(169, 30); - this.button1.TabIndex = 8; - this.button1.Text = "OK"; - this.button1.UseVisualStyleBackColor = true; - this.button1.Click += new System.EventHandler(this.button1_Click); - // - // fNewPassword - // - this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(296, 157); - this.Controls.Add(this.button1); - this.Controls.Add(label1); - this.Controls.Add(this.tbPassO); - this.Controls.Add(nameLabel); - this.Controls.Add(this.tbUserID); - this.Controls.Add(deptLabel); - this.Controls.Add(this.tbPass1); - this.Controls.Add(gradeLabel); - this.Controls.Add(this.tbPass2); - this.MaximizeBox = false; - this.MinimizeBox = false; - this.Name = "fNewPassword"; - this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; - this.Text = "fNewPassword"; - this.Load += new System.EventHandler(this.fNewPassword_Load); - this.ResumeLayout(false); - this.PerformLayout(); - - } - - #endregion - - private System.Windows.Forms.TextBox tbPass2; - private System.Windows.Forms.Button button1; - public System.Windows.Forms.TextBox tbUserID; - public System.Windows.Forms.TextBox tbPass1; - public System.Windows.Forms.TextBox tbPassO; - } +namespace Project._Common +{ + partial class fNewPassword + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + System.Windows.Forms.Label nameLabel; + System.Windows.Forms.Label deptLabel; + System.Windows.Forms.Label gradeLabel; + System.Windows.Forms.Label label1; + this.tbUserID = new System.Windows.Forms.TextBox(); + this.tbPass1 = new System.Windows.Forms.TextBox(); + this.tbPass2 = new System.Windows.Forms.TextBox(); + this.tbPassO = new System.Windows.Forms.TextBox(); + this.button1 = new System.Windows.Forms.Button(); + nameLabel = new System.Windows.Forms.Label(); + deptLabel = new System.Windows.Forms.Label(); + gradeLabel = new System.Windows.Forms.Label(); + label1 = new System.Windows.Forms.Label(); + this.SuspendLayout(); + // + // nameLabel + // + nameLabel.AutoSize = true; + nameLabel.Location = new System.Drawing.Point(60, 15); + nameLabel.Name = "nameLabel"; + nameLabel.Size = new System.Drawing.Size(46, 12); + nameLabel.TabIndex = 0; + nameLabel.Text = "User ID"; + // + // deptLabel + // + deptLabel.AutoSize = true; + deptLabel.Location = new System.Drawing.Point(14, 67); + deptLabel.Name = "deptLabel"; + deptLabel.Size = new System.Drawing.Size(92, 12); + deptLabel.TabIndex = 4; + deptLabel.Text = "New Password"; + // + // gradeLabel + // + gradeLabel.AutoSize = true; + gradeLabel.Location = new System.Drawing.Point(69, 93); + gradeLabel.Name = "gradeLabel"; + gradeLabel.Size = new System.Drawing.Size(37, 12); + gradeLabel.TabIndex = 6; + gradeLabel.Text = "Verify"; + // + // label1 + // + label1.AutoSize = true; + label1.Location = new System.Drawing.Point(16, 41); + label1.Name = "label1"; + label1.Size = new System.Drawing.Size(90, 12); + label1.TabIndex = 2; + label1.Text = "OLD Password"; + // + // tbUserID + // + this.tbUserID.Location = new System.Drawing.Point(112, 12); + this.tbUserID.Name = "tbUserID"; + this.tbUserID.ReadOnly = true; + this.tbUserID.Size = new System.Drawing.Size(170, 21); + this.tbUserID.TabIndex = 1; + this.tbUserID.TabStop = false; + this.tbUserID.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // tbPass1 + // + this.tbPass1.Location = new System.Drawing.Point(112, 64); + this.tbPass1.Name = "tbPass1"; + this.tbPass1.PasswordChar = '*'; + this.tbPass1.Size = new System.Drawing.Size(170, 21); + this.tbPass1.TabIndex = 5; + this.tbPass1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // tbPass2 + // + this.tbPass2.Location = new System.Drawing.Point(112, 90); + this.tbPass2.Name = "tbPass2"; + this.tbPass2.PasswordChar = '*'; + this.tbPass2.Size = new System.Drawing.Size(170, 21); + this.tbPass2.TabIndex = 7; + this.tbPass2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // tbPassO + // + this.tbPassO.Location = new System.Drawing.Point(112, 38); + this.tbPassO.Name = "tbPassO"; + this.tbPassO.PasswordChar = '*'; + this.tbPassO.Size = new System.Drawing.Size(170, 21); + this.tbPassO.TabIndex = 3; + this.tbPassO.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // button1 + // + this.button1.Location = new System.Drawing.Point(112, 119); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(169, 30); + this.button1.TabIndex = 8; + this.button1.Text = "OK"; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click); + // + // fNewPassword + // + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(296, 157); + this.Controls.Add(this.button1); + this.Controls.Add(label1); + this.Controls.Add(this.tbPassO); + this.Controls.Add(nameLabel); + this.Controls.Add(this.tbUserID); + this.Controls.Add(deptLabel); + this.Controls.Add(this.tbPass1); + this.Controls.Add(gradeLabel); + this.Controls.Add(this.tbPass2); + this.MaximizeBox = false; + this.MinimizeBox = false; + this.Name = "fNewPassword"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "fNewPassword"; + this.Load += new System.EventHandler(this.fNewPassword_Load); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.TextBox tbPass2; + private System.Windows.Forms.Button button1; + public System.Windows.Forms.TextBox tbUserID; + public System.Windows.Forms.TextBox tbPass1; + public System.Windows.Forms.TextBox tbPassO; + } } \ No newline at end of file diff --git a/Project/_Common/fUserInfo.Designer.cs b/Project/_Common/fUserInfo.Designer.cs index 514c2bd..83c4fb8 100644 --- a/Project/_Common/fUserInfo.Designer.cs +++ b/Project/_Common/fUserInfo.Designer.cs @@ -1,405 +1,405 @@ -namespace Project._Common -{ - partial class fUserInfo - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - this.components = new System.ComponentModel.Container(); - System.Windows.Forms.Label idLabel; - System.Windows.Forms.Label passwordLabel; - System.Windows.Forms.Label nameLabel; - System.Windows.Forms.Label deptLabel; - System.Windows.Forms.Label gradeLabel; - System.Windows.Forms.Label emailLabel; - System.Windows.Forms.Label levelLabel; - System.Windows.Forms.Label indateLabel; - System.Windows.Forms.Label outdateLabel; - System.Windows.Forms.Label memoLabel; - System.Windows.Forms.Label label1; - System.Windows.Forms.Label label2; - System.Windows.Forms.Label label3; - this.idTextBox = new System.Windows.Forms.TextBox(); - this.bs = new System.Windows.Forms.BindingSource(this.components); - this.dsMSSQL = new Project.dsMSSQL(); - this.nameTextBox = new System.Windows.Forms.TextBox(); - this.deptTextBox = new System.Windows.Forms.TextBox(); - this.gradeTextBox = new System.Windows.Forms.TextBox(); - this.emailTextBox = new System.Windows.Forms.TextBox(); - this.levelTextBox = new System.Windows.Forms.TextBox(); - this.indateTextBox = new System.Windows.Forms.TextBox(); - this.outdateTextBox = new System.Windows.Forms.TextBox(); - this.memoTextBox = new System.Windows.Forms.TextBox(); - this.button1 = new System.Windows.Forms.Button(); - this.button2 = new System.Windows.Forms.Button(); - this.ta = new Project.dsMSSQLTableAdapters.UsersTableAdapter(); - this.tam = new Project.dsMSSQLTableAdapters.TableAdapterManager(); - this.textBox1 = new System.Windows.Forms.TextBox(); - this.textBox2 = new System.Windows.Forms.TextBox(); - this.textBox3 = new System.Windows.Forms.TextBox(); - idLabel = new System.Windows.Forms.Label(); - passwordLabel = new System.Windows.Forms.Label(); - nameLabel = new System.Windows.Forms.Label(); - deptLabel = new System.Windows.Forms.Label(); - gradeLabel = new System.Windows.Forms.Label(); - emailLabel = new System.Windows.Forms.Label(); - levelLabel = new System.Windows.Forms.Label(); - indateLabel = new System.Windows.Forms.Label(); - outdateLabel = new System.Windows.Forms.Label(); - memoLabel = new System.Windows.Forms.Label(); - label1 = new System.Windows.Forms.Label(); - label2 = new System.Windows.Forms.Label(); - label3 = new System.Windows.Forms.Label(); - ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit(); - this.SuspendLayout(); - // - // idLabel - // - idLabel.AutoSize = true; - idLabel.Location = new System.Drawing.Point(22, 15); - idLabel.Name = "idLabel"; - idLabel.Size = new System.Drawing.Size(19, 12); - idLabel.TabIndex = 0; - idLabel.Text = "id:"; - // - // passwordLabel - // - passwordLabel.AutoSize = true; - passwordLabel.Location = new System.Drawing.Point(22, 42); - passwordLabel.Name = "passwordLabel"; - passwordLabel.Size = new System.Drawing.Size(65, 12); - passwordLabel.TabIndex = 2; - passwordLabel.Text = "password:"; - // - // nameLabel - // - nameLabel.AutoSize = true; - nameLabel.Location = new System.Drawing.Point(22, 69); - nameLabel.Name = "nameLabel"; - nameLabel.Size = new System.Drawing.Size(41, 12); - nameLabel.TabIndex = 4; - nameLabel.Text = "name:"; - // - // deptLabel - // - deptLabel.AutoSize = true; - deptLabel.Location = new System.Drawing.Point(22, 122); - deptLabel.Name = "deptLabel"; - deptLabel.Size = new System.Drawing.Size(33, 12); - deptLabel.TabIndex = 8; - deptLabel.Text = "dept:"; - // - // gradeLabel - // - gradeLabel.AutoSize = true; - gradeLabel.Location = new System.Drawing.Point(22, 149); - gradeLabel.Name = "gradeLabel"; - gradeLabel.Size = new System.Drawing.Size(41, 12); - gradeLabel.TabIndex = 10; - gradeLabel.Text = "grade:"; - // - // emailLabel - // - emailLabel.AutoSize = true; - emailLabel.Location = new System.Drawing.Point(22, 176); - emailLabel.Name = "emailLabel"; - emailLabel.Size = new System.Drawing.Size(40, 12); - emailLabel.TabIndex = 12; - emailLabel.Text = "email:"; - // - // levelLabel - // - levelLabel.AutoSize = true; - levelLabel.Location = new System.Drawing.Point(22, 257); - levelLabel.Name = "levelLabel"; - levelLabel.Size = new System.Drawing.Size(35, 12); - levelLabel.TabIndex = 18; - levelLabel.Text = "level:"; - // - // indateLabel - // - indateLabel.AutoSize = true; - indateLabel.Location = new System.Drawing.Point(22, 284); - indateLabel.Name = "indateLabel"; - indateLabel.Size = new System.Drawing.Size(43, 12); - indateLabel.TabIndex = 20; - indateLabel.Text = "indate:"; - // - // outdateLabel - // - outdateLabel.AutoSize = true; - outdateLabel.Location = new System.Drawing.Point(22, 311); - outdateLabel.Name = "outdateLabel"; - outdateLabel.Size = new System.Drawing.Size(50, 12); - outdateLabel.TabIndex = 22; - outdateLabel.Text = "outdate:"; - // - // memoLabel - // - memoLabel.AutoSize = true; - memoLabel.Location = new System.Drawing.Point(22, 338); - memoLabel.Name = "memoLabel"; - memoLabel.Size = new System.Drawing.Size(45, 12); - memoLabel.TabIndex = 24; - memoLabel.Text = "memo:"; - // - // label1 - // - label1.AutoSize = true; - label1.Location = new System.Drawing.Point(22, 203); - label1.Name = "label1"; - label1.Size = new System.Drawing.Size(23, 12); - label1.TabIndex = 14; - label1.Text = "Tel"; - // - // label2 - // - label2.AutoSize = true; - label2.Location = new System.Drawing.Point(22, 230); - label2.Name = "label2"; - label2.Size = new System.Drawing.Size(20, 12); - label2.TabIndex = 16; - label2.Text = "Hp"; - // - // label3 - // - label3.AutoSize = true; - label3.Location = new System.Drawing.Point(22, 95); - label3.Name = "label3"; - label3.Size = new System.Drawing.Size(55, 12); - label3.TabIndex = 6; - label3.Text = "name(E)"; - // - // idTextBox - // - this.idTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "id", true)); - this.idTextBox.Location = new System.Drawing.Point(93, 12); - this.idTextBox.Name = "idTextBox"; - this.idTextBox.ReadOnly = true; - this.idTextBox.Size = new System.Drawing.Size(200, 21); - this.idTextBox.TabIndex = 1; - // - // bs - // - this.bs.DataMember = "Users"; - this.bs.DataSource = this.dsMSSQL; - this.bs.CurrentChanged += new System.EventHandler(this.bs_CurrentChanged); - // - // dsMSSQL - // - this.dsMSSQL.DataSetName = "dsMSSQL"; - this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; - // - // nameTextBox - // - this.nameTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "name", true)); - this.nameTextBox.Location = new System.Drawing.Point(93, 66); - this.nameTextBox.Name = "nameTextBox"; - this.nameTextBox.Size = new System.Drawing.Size(200, 21); - this.nameTextBox.TabIndex = 5; - // - // deptTextBox - // - this.deptTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "dept", true)); - this.deptTextBox.Location = new System.Drawing.Point(93, 119); - this.deptTextBox.Name = "deptTextBox"; - this.deptTextBox.Size = new System.Drawing.Size(200, 21); - this.deptTextBox.TabIndex = 9; - // - // gradeTextBox - // - this.gradeTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "grade", true)); - this.gradeTextBox.Location = new System.Drawing.Point(93, 146); - this.gradeTextBox.Name = "gradeTextBox"; - this.gradeTextBox.Size = new System.Drawing.Size(200, 21); - this.gradeTextBox.TabIndex = 11; - // - // emailTextBox - // - this.emailTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "email", true)); - this.emailTextBox.Location = new System.Drawing.Point(93, 173); - this.emailTextBox.Name = "emailTextBox"; - this.emailTextBox.Size = new System.Drawing.Size(200, 21); - this.emailTextBox.TabIndex = 13; - // - // levelTextBox - // - this.levelTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "level", true)); - this.levelTextBox.Location = new System.Drawing.Point(93, 254); - this.levelTextBox.Name = "levelTextBox"; - this.levelTextBox.Size = new System.Drawing.Size(200, 21); - this.levelTextBox.TabIndex = 19; - // - // indateTextBox - // - this.indateTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "indate", true)); - this.indateTextBox.Location = new System.Drawing.Point(93, 281); - this.indateTextBox.Name = "indateTextBox"; - this.indateTextBox.Size = new System.Drawing.Size(200, 21); - this.indateTextBox.TabIndex = 21; - // - // outdateTextBox - // - this.outdateTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "outdate", true)); - this.outdateTextBox.Location = new System.Drawing.Point(93, 308); - this.outdateTextBox.Name = "outdateTextBox"; - this.outdateTextBox.Size = new System.Drawing.Size(200, 21); - this.outdateTextBox.TabIndex = 23; - // - // memoTextBox - // - this.memoTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "memo", true)); - this.memoTextBox.Location = new System.Drawing.Point(93, 335); - this.memoTextBox.Name = "memoTextBox"; - this.memoTextBox.Size = new System.Drawing.Size(200, 21); - this.memoTextBox.TabIndex = 25; - // - // button1 - // - this.button1.Location = new System.Drawing.Point(93, 38); - this.button1.Name = "button1"; - this.button1.Size = new System.Drawing.Size(200, 21); - this.button1.TabIndex = 3; - this.button1.Text = "Change"; - this.button1.UseVisualStyleBackColor = true; - this.button1.Click += new System.EventHandler(this.button1_Click); - // - // button2 - // - this.button2.Location = new System.Drawing.Point(93, 363); - this.button2.Name = "button2"; - this.button2.Size = new System.Drawing.Size(200, 30); - this.button2.TabIndex = 26; - this.button2.Text = "Save"; - this.button2.UseVisualStyleBackColor = true; - this.button2.Click += new System.EventHandler(this.button2_Click); - // - // ta - // - this.ta.ClearBeforeFill = true; - // - // tam - // - this.tam.BackupDataSetBeforeUpdate = false; - this.tam.InventoryTableAdapter = null; - this.tam.ItemsTableAdapter = null; - this.tam.LineCodeTableAdapter = null; - this.tam.ProjectsTableAdapter = null; - this.tam.UpdateOrder = Project.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; - this.tam.UsersTableAdapter = this.ta; - // - // textBox1 - // - this.textBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "tel", true)); - this.textBox1.Location = new System.Drawing.Point(93, 200); - this.textBox1.Name = "textBox1"; - this.textBox1.Size = new System.Drawing.Size(200, 21); - this.textBox1.TabIndex = 15; - // - // textBox2 - // - this.textBox2.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "hp", true)); - this.textBox2.Location = new System.Drawing.Point(93, 227); - this.textBox2.Name = "textBox2"; - this.textBox2.Size = new System.Drawing.Size(200, 21); - this.textBox2.TabIndex = 17; - // - // textBox3 - // - this.textBox3.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "nameE", true)); - this.textBox3.Location = new System.Drawing.Point(93, 92); - this.textBox3.Name = "textBox3"; - this.textBox3.Size = new System.Drawing.Size(200, 21); - this.textBox3.TabIndex = 7; - // - // fUserInfo - // - this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(305, 402); - this.Controls.Add(label3); - this.Controls.Add(this.textBox3); - this.Controls.Add(label2); - this.Controls.Add(this.textBox2); - this.Controls.Add(label1); - this.Controls.Add(this.textBox1); - this.Controls.Add(this.button2); - this.Controls.Add(this.button1); - this.Controls.Add(idLabel); - this.Controls.Add(this.idTextBox); - this.Controls.Add(passwordLabel); - this.Controls.Add(nameLabel); - this.Controls.Add(this.nameTextBox); - this.Controls.Add(deptLabel); - this.Controls.Add(this.deptTextBox); - this.Controls.Add(gradeLabel); - this.Controls.Add(this.gradeTextBox); - this.Controls.Add(emailLabel); - this.Controls.Add(this.emailTextBox); - this.Controls.Add(levelLabel); - this.Controls.Add(this.levelTextBox); - this.Controls.Add(indateLabel); - this.Controls.Add(this.indateTextBox); - this.Controls.Add(outdateLabel); - this.Controls.Add(this.outdateTextBox); - this.Controls.Add(memoLabel); - this.Controls.Add(this.memoTextBox); - this.MaximizeBox = false; - this.MinimizeBox = false; - this.Name = "fUserInfo"; - this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; - this.Text = "fUserInfo"; - this.Load += new System.EventHandler(this.fUserInfo_Load); - ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit(); - this.ResumeLayout(false); - this.PerformLayout(); - - } - - #endregion - - private dsMSSQL dsMSSQL; - private System.Windows.Forms.BindingSource bs; - private dsMSSQLTableAdapters.UsersTableAdapter ta; - private dsMSSQLTableAdapters.TableAdapterManager tam; - private System.Windows.Forms.TextBox idTextBox; - private System.Windows.Forms.TextBox nameTextBox; - private System.Windows.Forms.TextBox deptTextBox; - private System.Windows.Forms.TextBox gradeTextBox; - private System.Windows.Forms.TextBox emailTextBox; - private System.Windows.Forms.TextBox levelTextBox; - private System.Windows.Forms.TextBox indateTextBox; - private System.Windows.Forms.TextBox outdateTextBox; - private System.Windows.Forms.TextBox memoTextBox; - private System.Windows.Forms.Button button1; - private System.Windows.Forms.Button button2; - private System.Windows.Forms.TextBox textBox1; - private System.Windows.Forms.TextBox textBox2; - private System.Windows.Forms.TextBox textBox3; - } +namespace Project._Common +{ + partial class fUserInfo + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + System.Windows.Forms.Label idLabel; + System.Windows.Forms.Label passwordLabel; + System.Windows.Forms.Label nameLabel; + System.Windows.Forms.Label deptLabel; + System.Windows.Forms.Label gradeLabel; + System.Windows.Forms.Label emailLabel; + System.Windows.Forms.Label levelLabel; + System.Windows.Forms.Label indateLabel; + System.Windows.Forms.Label outdateLabel; + System.Windows.Forms.Label memoLabel; + System.Windows.Forms.Label label1; + System.Windows.Forms.Label label2; + System.Windows.Forms.Label label3; + this.idTextBox = new System.Windows.Forms.TextBox(); + this.bs = new System.Windows.Forms.BindingSource(this.components); + this.dsMSSQL = new Project.dsMSSQL(); + this.nameTextBox = new System.Windows.Forms.TextBox(); + this.deptTextBox = new System.Windows.Forms.TextBox(); + this.gradeTextBox = new System.Windows.Forms.TextBox(); + this.emailTextBox = new System.Windows.Forms.TextBox(); + this.levelTextBox = new System.Windows.Forms.TextBox(); + this.indateTextBox = new System.Windows.Forms.TextBox(); + this.outdateTextBox = new System.Windows.Forms.TextBox(); + this.memoTextBox = new System.Windows.Forms.TextBox(); + this.button1 = new System.Windows.Forms.Button(); + this.button2 = new System.Windows.Forms.Button(); + this.ta = new Project.dsMSSQLTableAdapters.UsersTableAdapter(); + this.tam = new Project.dsMSSQLTableAdapters.TableAdapterManager(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.textBox2 = new System.Windows.Forms.TextBox(); + this.textBox3 = new System.Windows.Forms.TextBox(); + idLabel = new System.Windows.Forms.Label(); + passwordLabel = new System.Windows.Forms.Label(); + nameLabel = new System.Windows.Forms.Label(); + deptLabel = new System.Windows.Forms.Label(); + gradeLabel = new System.Windows.Forms.Label(); + emailLabel = new System.Windows.Forms.Label(); + levelLabel = new System.Windows.Forms.Label(); + indateLabel = new System.Windows.Forms.Label(); + outdateLabel = new System.Windows.Forms.Label(); + memoLabel = new System.Windows.Forms.Label(); + label1 = new System.Windows.Forms.Label(); + label2 = new System.Windows.Forms.Label(); + label3 = new System.Windows.Forms.Label(); + ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit(); + this.SuspendLayout(); + // + // idLabel + // + idLabel.AutoSize = true; + idLabel.Location = new System.Drawing.Point(22, 15); + idLabel.Name = "idLabel"; + idLabel.Size = new System.Drawing.Size(19, 12); + idLabel.TabIndex = 0; + idLabel.Text = "id:"; + // + // passwordLabel + // + passwordLabel.AutoSize = true; + passwordLabel.Location = new System.Drawing.Point(22, 42); + passwordLabel.Name = "passwordLabel"; + passwordLabel.Size = new System.Drawing.Size(65, 12); + passwordLabel.TabIndex = 2; + passwordLabel.Text = "password:"; + // + // nameLabel + // + nameLabel.AutoSize = true; + nameLabel.Location = new System.Drawing.Point(22, 69); + nameLabel.Name = "nameLabel"; + nameLabel.Size = new System.Drawing.Size(41, 12); + nameLabel.TabIndex = 4; + nameLabel.Text = "name:"; + // + // deptLabel + // + deptLabel.AutoSize = true; + deptLabel.Location = new System.Drawing.Point(22, 122); + deptLabel.Name = "deptLabel"; + deptLabel.Size = new System.Drawing.Size(33, 12); + deptLabel.TabIndex = 8; + deptLabel.Text = "dept:"; + // + // gradeLabel + // + gradeLabel.AutoSize = true; + gradeLabel.Location = new System.Drawing.Point(22, 149); + gradeLabel.Name = "gradeLabel"; + gradeLabel.Size = new System.Drawing.Size(41, 12); + gradeLabel.TabIndex = 10; + gradeLabel.Text = "grade:"; + // + // emailLabel + // + emailLabel.AutoSize = true; + emailLabel.Location = new System.Drawing.Point(22, 176); + emailLabel.Name = "emailLabel"; + emailLabel.Size = new System.Drawing.Size(40, 12); + emailLabel.TabIndex = 12; + emailLabel.Text = "email:"; + // + // levelLabel + // + levelLabel.AutoSize = true; + levelLabel.Location = new System.Drawing.Point(22, 257); + levelLabel.Name = "levelLabel"; + levelLabel.Size = new System.Drawing.Size(35, 12); + levelLabel.TabIndex = 18; + levelLabel.Text = "level:"; + // + // indateLabel + // + indateLabel.AutoSize = true; + indateLabel.Location = new System.Drawing.Point(22, 284); + indateLabel.Name = "indateLabel"; + indateLabel.Size = new System.Drawing.Size(43, 12); + indateLabel.TabIndex = 20; + indateLabel.Text = "indate:"; + // + // outdateLabel + // + outdateLabel.AutoSize = true; + outdateLabel.Location = new System.Drawing.Point(22, 311); + outdateLabel.Name = "outdateLabel"; + outdateLabel.Size = new System.Drawing.Size(50, 12); + outdateLabel.TabIndex = 22; + outdateLabel.Text = "outdate:"; + // + // memoLabel + // + memoLabel.AutoSize = true; + memoLabel.Location = new System.Drawing.Point(22, 338); + memoLabel.Name = "memoLabel"; + memoLabel.Size = new System.Drawing.Size(45, 12); + memoLabel.TabIndex = 24; + memoLabel.Text = "memo:"; + // + // label1 + // + label1.AutoSize = true; + label1.Location = new System.Drawing.Point(22, 203); + label1.Name = "label1"; + label1.Size = new System.Drawing.Size(23, 12); + label1.TabIndex = 14; + label1.Text = "Tel"; + // + // label2 + // + label2.AutoSize = true; + label2.Location = new System.Drawing.Point(22, 230); + label2.Name = "label2"; + label2.Size = new System.Drawing.Size(20, 12); + label2.TabIndex = 16; + label2.Text = "Hp"; + // + // label3 + // + label3.AutoSize = true; + label3.Location = new System.Drawing.Point(22, 95); + label3.Name = "label3"; + label3.Size = new System.Drawing.Size(55, 12); + label3.TabIndex = 6; + label3.Text = "name(E)"; + // + // idTextBox + // + this.idTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "id", true)); + this.idTextBox.Location = new System.Drawing.Point(93, 12); + this.idTextBox.Name = "idTextBox"; + this.idTextBox.ReadOnly = true; + this.idTextBox.Size = new System.Drawing.Size(200, 21); + this.idTextBox.TabIndex = 1; + // + // bs + // + this.bs.DataMember = "Users"; + this.bs.DataSource = this.dsMSSQL; + this.bs.CurrentChanged += new System.EventHandler(this.bs_CurrentChanged); + // + // dsMSSQL + // + this.dsMSSQL.DataSetName = "dsMSSQL"; + this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; + // + // nameTextBox + // + this.nameTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "name", true)); + this.nameTextBox.Location = new System.Drawing.Point(93, 66); + this.nameTextBox.Name = "nameTextBox"; + this.nameTextBox.Size = new System.Drawing.Size(200, 21); + this.nameTextBox.TabIndex = 5; + // + // deptTextBox + // + this.deptTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "dept", true)); + this.deptTextBox.Location = new System.Drawing.Point(93, 119); + this.deptTextBox.Name = "deptTextBox"; + this.deptTextBox.Size = new System.Drawing.Size(200, 21); + this.deptTextBox.TabIndex = 9; + // + // gradeTextBox + // + this.gradeTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "grade", true)); + this.gradeTextBox.Location = new System.Drawing.Point(93, 146); + this.gradeTextBox.Name = "gradeTextBox"; + this.gradeTextBox.Size = new System.Drawing.Size(200, 21); + this.gradeTextBox.TabIndex = 11; + // + // emailTextBox + // + this.emailTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "email", true)); + this.emailTextBox.Location = new System.Drawing.Point(93, 173); + this.emailTextBox.Name = "emailTextBox"; + this.emailTextBox.Size = new System.Drawing.Size(200, 21); + this.emailTextBox.TabIndex = 13; + // + // levelTextBox + // + this.levelTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "level", true)); + this.levelTextBox.Location = new System.Drawing.Point(93, 254); + this.levelTextBox.Name = "levelTextBox"; + this.levelTextBox.Size = new System.Drawing.Size(200, 21); + this.levelTextBox.TabIndex = 19; + // + // indateTextBox + // + this.indateTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "indate", true)); + this.indateTextBox.Location = new System.Drawing.Point(93, 281); + this.indateTextBox.Name = "indateTextBox"; + this.indateTextBox.Size = new System.Drawing.Size(200, 21); + this.indateTextBox.TabIndex = 21; + // + // outdateTextBox + // + this.outdateTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "outdate", true)); + this.outdateTextBox.Location = new System.Drawing.Point(93, 308); + this.outdateTextBox.Name = "outdateTextBox"; + this.outdateTextBox.Size = new System.Drawing.Size(200, 21); + this.outdateTextBox.TabIndex = 23; + // + // memoTextBox + // + this.memoTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "memo", true)); + this.memoTextBox.Location = new System.Drawing.Point(93, 335); + this.memoTextBox.Name = "memoTextBox"; + this.memoTextBox.Size = new System.Drawing.Size(200, 21); + this.memoTextBox.TabIndex = 25; + // + // button1 + // + this.button1.Location = new System.Drawing.Point(93, 38); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(200, 21); + this.button1.TabIndex = 3; + this.button1.Text = "Change"; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click); + // + // button2 + // + this.button2.Location = new System.Drawing.Point(93, 363); + this.button2.Name = "button2"; + this.button2.Size = new System.Drawing.Size(200, 30); + this.button2.TabIndex = 26; + this.button2.Text = "Save"; + this.button2.UseVisualStyleBackColor = true; + this.button2.Click += new System.EventHandler(this.button2_Click); + // + // ta + // + this.ta.ClearBeforeFill = true; + // + // tam + // + this.tam.BackupDataSetBeforeUpdate = false; + this.tam.InventoryTableAdapter = null; + this.tam.ItemsTableAdapter = null; + this.tam.LineCodeTableAdapter = null; + this.tam.ProjectsTableAdapter = null; + this.tam.UpdateOrder = Project.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; + this.tam.UsersTableAdapter = this.ta; + // + // textBox1 + // + this.textBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "tel", true)); + this.textBox1.Location = new System.Drawing.Point(93, 200); + this.textBox1.Name = "textBox1"; + this.textBox1.Size = new System.Drawing.Size(200, 21); + this.textBox1.TabIndex = 15; + // + // textBox2 + // + this.textBox2.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "hp", true)); + this.textBox2.Location = new System.Drawing.Point(93, 227); + this.textBox2.Name = "textBox2"; + this.textBox2.Size = new System.Drawing.Size(200, 21); + this.textBox2.TabIndex = 17; + // + // textBox3 + // + this.textBox3.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "nameE", true)); + this.textBox3.Location = new System.Drawing.Point(93, 92); + this.textBox3.Name = "textBox3"; + this.textBox3.Size = new System.Drawing.Size(200, 21); + this.textBox3.TabIndex = 7; + // + // fUserInfo + // + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(305, 402); + this.Controls.Add(label3); + this.Controls.Add(this.textBox3); + this.Controls.Add(label2); + this.Controls.Add(this.textBox2); + this.Controls.Add(label1); + this.Controls.Add(this.textBox1); + this.Controls.Add(this.button2); + this.Controls.Add(this.button1); + this.Controls.Add(idLabel); + this.Controls.Add(this.idTextBox); + this.Controls.Add(passwordLabel); + this.Controls.Add(nameLabel); + this.Controls.Add(this.nameTextBox); + this.Controls.Add(deptLabel); + this.Controls.Add(this.deptTextBox); + this.Controls.Add(gradeLabel); + this.Controls.Add(this.gradeTextBox); + this.Controls.Add(emailLabel); + this.Controls.Add(this.emailTextBox); + this.Controls.Add(levelLabel); + this.Controls.Add(this.levelTextBox); + this.Controls.Add(indateLabel); + this.Controls.Add(this.indateTextBox); + this.Controls.Add(outdateLabel); + this.Controls.Add(this.outdateTextBox); + this.Controls.Add(memoLabel); + this.Controls.Add(this.memoTextBox); + this.MaximizeBox = false; + this.MinimizeBox = false; + this.Name = "fUserInfo"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "fUserInfo"; + this.Load += new System.EventHandler(this.fUserInfo_Load); + ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private dsMSSQL dsMSSQL; + private System.Windows.Forms.BindingSource bs; + private dsMSSQLTableAdapters.UsersTableAdapter ta; + private dsMSSQLTableAdapters.TableAdapterManager tam; + private System.Windows.Forms.TextBox idTextBox; + private System.Windows.Forms.TextBox nameTextBox; + private System.Windows.Forms.TextBox deptTextBox; + private System.Windows.Forms.TextBox gradeTextBox; + private System.Windows.Forms.TextBox emailTextBox; + private System.Windows.Forms.TextBox levelTextBox; + private System.Windows.Forms.TextBox indateTextBox; + private System.Windows.Forms.TextBox outdateTextBox; + private System.Windows.Forms.TextBox memoTextBox; + private System.Windows.Forms.Button button1; + private System.Windows.Forms.Button button2; + private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.TextBox textBox2; + private System.Windows.Forms.TextBox textBox3; + } } \ No newline at end of file diff --git a/Project/_Common/fUserInfo.cs b/Project/_Common/fUserInfo.cs index 41eab8f..e79dba4 100644 --- a/Project/_Common/fUserInfo.cs +++ b/Project/_Common/fUserInfo.cs @@ -1,79 +1,79 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Data; -using System.Drawing; -using System.Linq; -using System.Text; -using System.Windows.Forms; - -namespace Project._Common -{ - public partial class fUserInfo : Form - { - public fUserInfo() - { - InitializeComponent(); - } - - - private void fUserInfo_Load(object sender, EventArgs e) - { - // TODO: 이 코드는 데이터를 'dsMSSQL.Users' 테이블에 로드합니다. 필요한 경우 이 코드를 이동하거나 제거할 수 있습니다. - this.ta.FillID(this.dsMSSQL.Users,FCOMMON.info.Login.no); - //this.bs.Filter = "id='" + FCOMMON.info.Login.no + "'"; - } - - private void button1_Click(object sender, EventArgs e) - { - _Common.fNewPassword f = new fNewPassword(FCOMMON.info.Login.no); - if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK) - { - var encpassO = Pub.MakePasswordEnc(f.tbPassO.Text); - var encpassN = Pub.MakePasswordEnc(f.tbPass1.Text); - if (currentPassword != encpassO) - { - Util.MsgE("Old password error"); - return; - } - else - { - this.Validate(); - this.bs.EndEdit(); - var drv = bs.Current as DataRowView; - drv["password"] = encpassN; - this.bs.EndEdit(); - } - } - } - - string currentPassword = string.Empty; - private void bs_CurrentChanged(object sender, EventArgs e) - { - var drv = bs.Current as DataRowView; - currentPassword = string.Empty; - if (drv == null) return; - var dr = drv.Row as dsMSSQL.UsersRow; - currentPassword = dr.password; - } - - private void button2_Click(object sender, EventArgs e) - { - this.Validate(); - this.bs.EndEdit(); - try - { - var cnt = this.tam.UpdateAll(this.dsMSSQL); - Util.MsgI(string.Format("{0}건의 자료가 업데이트 됨", cnt)); - DialogResult = System.Windows.Forms.DialogResult.OK; - } - catch (Exception ex) - { - Util.MsgE(ex.Message); - } - - - } - - } -} +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Windows.Forms; + +namespace Project._Common +{ + public partial class fUserInfo : Form + { + public fUserInfo() + { + InitializeComponent(); + } + + + private void fUserInfo_Load(object sender, EventArgs e) + { + // TODO: 이 코드는 데이터를 'dsMSSQL.Users' 테이블에 로드합니다. 필요한 경우 이 코드를 이동하거나 제거할 수 있습니다. + this.ta.FillID(this.dsMSSQL.Users,FCOMMON.info.Login.no); + //this.bs.Filter = "id='" + FCOMMON.info.Login.no + "'"; + } + + private void button1_Click(object sender, EventArgs e) + { + _Common.fNewPassword f = new fNewPassword(FCOMMON.info.Login.no); + if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK) + { + var encpassO = Pub.MakePasswordEnc(f.tbPassO.Text); + var encpassN = Pub.MakePasswordEnc(f.tbPass1.Text); + if (currentPassword != encpassO) + { + Util.MsgE("Old password error"); + return; + } + else + { + this.Validate(); + this.bs.EndEdit(); + var drv = bs.Current as DataRowView; + drv["password"] = encpassN; + this.bs.EndEdit(); + } + } + } + + string currentPassword = string.Empty; + private void bs_CurrentChanged(object sender, EventArgs e) + { + var drv = bs.Current as DataRowView; + currentPassword = string.Empty; + if (drv == null) return; + var dr = drv.Row as dsMSSQL.UsersRow; + currentPassword = dr.password; + } + + private void button2_Click(object sender, EventArgs e) + { + this.Validate(); + this.bs.EndEdit(); + try + { + var cnt = this.tam.UpdateAll(this.dsMSSQL); + Util.MsgI(string.Format("{0}건의 자료가 업데이트 됨", cnt)); + DialogResult = System.Windows.Forms.DialogResult.OK; + } + catch (Exception ex) + { + Util.MsgE(ex.Message); + } + + + } + + } +} diff --git a/Project/_Common/fUserInfo.resx b/Project/_Common/fUserInfo.resx index c574b05..a3096cb 100644 --- a/Project/_Common/fUserInfo.resx +++ b/Project/_Common/fUserInfo.resx @@ -1,171 +1,171 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - False - - - False - - - False - - - False - - - False - - - False - - - False - - - False - - - False - - - False - - - False - - - False - - - False - - - 122, 17 - - - 17, 17 - - - 186, 17 - - - 248, 17 - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + 122, 17 + + + 17, 17 + + + 186, 17 + + + 248, 17 + \ No newline at end of file diff --git a/Project/_Common/fUserList.Designer.cs b/Project/_Common/fUserList.Designer.cs index 8b63ac0..e1f4440 100644 --- a/Project/_Common/fUserList.Designer.cs +++ b/Project/_Common/fUserList.Designer.cs @@ -1,553 +1,553 @@ -namespace Project._Common -{ - partial class fUserList - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - this.components = new System.ComponentModel.Container(); - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fUserList)); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); - this.dsMSSQL = new Project.dsMSSQL(); - this.bs = new System.Windows.Forms.BindingSource(this.components); - this.ta = new Project.dsMSSQLTableAdapters.UsersTableAdapter(); - this.tam = new Project.dsMSSQLTableAdapters.TableAdapterManager(); - 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(); - this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox(); - this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator(); - this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton(); - this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton(); - this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator(); - this.usersBindingNavigatorSaveItem = new System.Windows.Forms.ToolStripButton(); - this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); - this.btDevel = new System.Windows.Forms.ToolStripDropDownButton(); - this.한글이름분리ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.dv1 = new System.Windows.Forms.DataGridView(); - this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components); - this.iDChangeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.passwordChangeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator(); - this.mailToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.autoResizeColumnToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStrip1 = new System.Windows.Forms.ToolStrip(); - this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel(); - this.cmbdept = new System.Windows.Forms.ToolStripComboBox(); - this.btRef = new System.Windows.Forms.ToolStripButton(); - this.textBox1 = new System.Windows.Forms.TextBox(); - this.dvc_id = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dvc_level = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.nameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.nameEDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.deptDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.gradeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.emailDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.indateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.outdateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.telDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.hpDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.placeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.memoDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator(); - ((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(); - this.toolStrip1.SuspendLayout(); - this.SuspendLayout(); - // - // dsMSSQL - // - this.dsMSSQL.DataSetName = "dsMSSQL"; - this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; - // - // bs - // - this.bs.DataMember = "Users"; - this.bs.DataSource = this.dsMSSQL; - // - // ta - // - this.ta.ClearBeforeFill = true; - // - // tam - // - this.tam.BackupDataSetBeforeUpdate = false; - this.tam.InventoryTableAdapter = null; - this.tam.ItemsTableAdapter = null; - this.tam.LineCodeTableAdapter = null; - this.tam.ProjectsTableAdapter = null; - this.tam.UpdateOrder = Project.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; - this.tam.UsersTableAdapter = this.ta; - // - // bn - // - this.bn.AddNewItem = this.bindingNavigatorAddNewItem; - this.bn.BindingSource = this.bs; - this.bn.CountItem = this.bindingNavigatorCountItem; - this.bn.DeleteItem = this.bindingNavigatorDeleteItem; - this.bn.Dock = System.Windows.Forms.DockStyle.Bottom; - this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.bindingNavigatorMoveFirstItem, - this.bindingNavigatorMovePreviousItem, - this.bindingNavigatorSeparator, - this.bindingNavigatorPositionItem, - this.bindingNavigatorCountItem, - this.bindingNavigatorSeparator1, - this.bindingNavigatorMoveNextItem, - this.bindingNavigatorMoveLastItem, - this.bindingNavigatorSeparator2, - this.bindingNavigatorAddNewItem, - this.bindingNavigatorDeleteItem, - this.usersBindingNavigatorSaveItem, - this.toolStripSeparator1, - this.btDevel}); - this.bn.Location = new System.Drawing.Point(0, 419); - 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(755, 25); - this.bn.TabIndex = 0; - this.bn.Text = "bindingNavigator1"; - // - // 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)"; - // - // bindingNavigatorCountItem - // - this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem"; - this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22); - 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; - 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.Text = "처음으로 이동"; - // - // bindingNavigatorMovePreviousItem - // - this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - 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.Text = "이전으로 이동"; - // - // bindingNavigatorSeparator - // - this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator"; - this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25); - // - // bindingNavigatorPositionItem - // - this.bindingNavigatorPositionItem.AccessibleName = "위치"; - this.bindingNavigatorPositionItem.AutoSize = false; - this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem"; - this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23); - this.bindingNavigatorPositionItem.Text = "0"; - this.bindingNavigatorPositionItem.ToolTipText = "현재 위치"; - // - // bindingNavigatorSeparator1 - // - this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1"; - this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25); - // - // bindingNavigatorMoveNextItem - // - this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - 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.Text = "다음으로 이동"; - // - // bindingNavigatorMoveLastItem - // - this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - 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.Text = "마지막으로 이동"; - // - // bindingNavigatorSeparator2 - // - this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2"; - this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25); - // - // usersBindingNavigatorSaveItem - // - this.usersBindingNavigatorSaveItem.Image = ((System.Drawing.Image)(resources.GetObject("usersBindingNavigatorSaveItem.Image"))); - this.usersBindingNavigatorSaveItem.Name = "usersBindingNavigatorSaveItem"; - this.usersBindingNavigatorSaveItem.Size = new System.Drawing.Size(67, 22); - this.usersBindingNavigatorSaveItem.Text = "Save(&S)"; - this.usersBindingNavigatorSaveItem.Click += new System.EventHandler(this.usersBindingNavigatorSaveItem_Click); - // - // toolStripSeparator1 - // - this.toolStripSeparator1.Name = "toolStripSeparator1"; - this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25); - // - // btDevel - // - this.btDevel.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; - this.btDevel.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.한글이름분리ToolStripMenuItem}); - this.btDevel.Image = ((System.Drawing.Image)(resources.GetObject("btDevel.Image"))); - this.btDevel.ImageTransparentColor = System.Drawing.Color.Magenta; - this.btDevel.Name = "btDevel"; - this.btDevel.Size = new System.Drawing.Size(88, 22); - this.btDevel.Text = "developer"; - // - // 한글이름분리ToolStripMenuItem - // - this.한글이름분리ToolStripMenuItem.Name = "한글이름분리ToolStripMenuItem"; - this.한글이름분리ToolStripMenuItem.Size = new System.Drawing.Size(146, 22); - this.한글이름분리ToolStripMenuItem.Text = "한글이름분리"; - this.한글이름분리ToolStripMenuItem.Click += new System.EventHandler(this.한글이름분리ToolStripMenuItem_Click); - // - // dv1 - // - 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.dvc_id, - this.dvc_level, - this.nameDataGridViewTextBoxColumn, - this.nameEDataGridViewTextBoxColumn, - this.deptDataGridViewTextBoxColumn, - this.gradeDataGridViewTextBoxColumn, - this.emailDataGridViewTextBoxColumn, - this.indateDataGridViewTextBoxColumn, - this.outdateDataGridViewTextBoxColumn, - this.telDataGridViewTextBoxColumn, - this.hpDataGridViewTextBoxColumn, - this.placeDataGridViewTextBoxColumn, - this.memoDataGridViewTextBoxColumn}); - 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.Name = "dv1"; - this.dv1.RowTemplate.Height = 23; - this.dv1.Size = new System.Drawing.Size(755, 373); - this.dv1.TabIndex = 1; - // - // cm1 - // - this.cm1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.autoResizeColumnToolStripMenuItem, - this.toolStripMenuItem2, - this.iDChangeToolStripMenuItem, - this.passwordChangeToolStripMenuItem, - this.toolStripMenuItem1, - this.mailToolStripMenuItem}); - this.cm1.Name = "cm1"; - this.cm1.Size = new System.Drawing.Size(181, 126); - // - // iDChangeToolStripMenuItem - // - this.iDChangeToolStripMenuItem.Name = "iDChangeToolStripMenuItem"; - this.iDChangeToolStripMenuItem.Size = new System.Drawing.Size(180, 22); - this.iDChangeToolStripMenuItem.Text = "ID Change"; - this.iDChangeToolStripMenuItem.Click += new System.EventHandler(this.iDChangeToolStripMenuItem_Click); - // - // passwordChangeToolStripMenuItem - // - this.passwordChangeToolStripMenuItem.Name = "passwordChangeToolStripMenuItem"; - this.passwordChangeToolStripMenuItem.Size = new System.Drawing.Size(180, 22); - this.passwordChangeToolStripMenuItem.Text = "Password Change"; - this.passwordChangeToolStripMenuItem.Click += new System.EventHandler(this.passwordChangeToolStripMenuItem_Click); - // - // toolStripMenuItem1 - // - this.toolStripMenuItem1.Name = "toolStripMenuItem1"; - this.toolStripMenuItem1.Size = new System.Drawing.Size(177, 6); - // - // mailToolStripMenuItem - // - this.mailToolStripMenuItem.Name = "mailToolStripMenuItem"; - this.mailToolStripMenuItem.Size = new System.Drawing.Size(180, 22); - this.mailToolStripMenuItem.Text = "Mail"; - this.mailToolStripMenuItem.Click += new System.EventHandler(this.mailToolStripMenuItem_Click); - // - // autoResizeColumnToolStripMenuItem - // - this.autoResizeColumnToolStripMenuItem.Name = "autoResizeColumnToolStripMenuItem"; - this.autoResizeColumnToolStripMenuItem.Size = new System.Drawing.Size(180, 22); - this.autoResizeColumnToolStripMenuItem.Text = "AutoResize Column"; - this.autoResizeColumnToolStripMenuItem.Click += new System.EventHandler(this.autoResizeColumnToolStripMenuItem_Click); - // - // toolStrip1 - // - this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.toolStripLabel1, - this.cmbdept, - this.btRef}); - this.toolStrip1.Location = new System.Drawing.Point(0, 0); - this.toolStrip1.Name = "toolStrip1"; - this.toolStrip1.Size = new System.Drawing.Size(755, 25); - this.toolStrip1.TabIndex = 2; - this.toolStrip1.Text = "toolStrip1"; - // - // toolStripLabel1 - // - this.toolStripLabel1.Name = "toolStripLabel1"; - this.toolStripLabel1.Size = new System.Drawing.Size(43, 22); - this.toolStripLabel1.Text = "Depart"; - // - // cmbdept - // - this.cmbdept.Name = "cmbdept"; - this.cmbdept.Size = new System.Drawing.Size(121, 25); - // - // btRef - // - this.btRef.Image = ((System.Drawing.Image)(resources.GetObject("btRef.Image"))); - this.btRef.ImageTransparentColor = System.Drawing.Color.Magenta; - this.btRef.Name = "btRef"; - this.btRef.Size = new System.Drawing.Size(66, 22); - this.btRef.Text = "Refresh"; - this.btRef.Click += new System.EventHandler(this.btRef_Click); - // - // textBox1 - // - this.textBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "ads_title", true)); - this.textBox1.Dock = System.Windows.Forms.DockStyle.Bottom; - this.textBox1.Location = new System.Drawing.Point(0, 398); - this.textBox1.Name = "textBox1"; - this.textBox1.Size = new System.Drawing.Size(755, 21); - this.textBox1.TabIndex = 3; - // - // dvc_id - // - this.dvc_id.DataPropertyName = "id"; - dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - this.dvc_id.DefaultCellStyle = dataGridViewCellStyle3; - this.dvc_id.HeaderText = "id"; - this.dvc_id.Name = "dvc_id"; - this.dvc_id.Width = 40; - // - // dvc_level - // - this.dvc_level.DataPropertyName = "level"; - dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))); - this.dvc_level.DefaultCellStyle = dataGridViewCellStyle4; - this.dvc_level.HeaderText = "level"; - this.dvc_level.Name = "dvc_level"; - this.dvc_level.Width = 56; - // - // nameDataGridViewTextBoxColumn - // - this.nameDataGridViewTextBoxColumn.DataPropertyName = "name"; - this.nameDataGridViewTextBoxColumn.HeaderText = "name"; - this.nameDataGridViewTextBoxColumn.Name = "nameDataGridViewTextBoxColumn"; - this.nameDataGridViewTextBoxColumn.Width = 62; - // - // nameEDataGridViewTextBoxColumn - // - this.nameEDataGridViewTextBoxColumn.DataPropertyName = "nameE"; - this.nameEDataGridViewTextBoxColumn.HeaderText = "nameE"; - this.nameEDataGridViewTextBoxColumn.Name = "nameEDataGridViewTextBoxColumn"; - this.nameEDataGridViewTextBoxColumn.Width = 70; - // - // deptDataGridViewTextBoxColumn - // - this.deptDataGridViewTextBoxColumn.DataPropertyName = "dept"; - this.deptDataGridViewTextBoxColumn.HeaderText = "dept"; - this.deptDataGridViewTextBoxColumn.Name = "deptDataGridViewTextBoxColumn"; - this.deptDataGridViewTextBoxColumn.Width = 54; - // - // gradeDataGridViewTextBoxColumn - // - this.gradeDataGridViewTextBoxColumn.DataPropertyName = "grade"; - this.gradeDataGridViewTextBoxColumn.HeaderText = "grade"; - this.gradeDataGridViewTextBoxColumn.Name = "gradeDataGridViewTextBoxColumn"; - this.gradeDataGridViewTextBoxColumn.Width = 62; - // - // emailDataGridViewTextBoxColumn - // - this.emailDataGridViewTextBoxColumn.DataPropertyName = "email"; - this.emailDataGridViewTextBoxColumn.HeaderText = "email"; - this.emailDataGridViewTextBoxColumn.Name = "emailDataGridViewTextBoxColumn"; - this.emailDataGridViewTextBoxColumn.Width = 61; - // - // indateDataGridViewTextBoxColumn - // - this.indateDataGridViewTextBoxColumn.DataPropertyName = "indate"; - this.indateDataGridViewTextBoxColumn.HeaderText = "indate"; - this.indateDataGridViewTextBoxColumn.Name = "indateDataGridViewTextBoxColumn"; - this.indateDataGridViewTextBoxColumn.Width = 64; - // - // outdateDataGridViewTextBoxColumn - // - this.outdateDataGridViewTextBoxColumn.DataPropertyName = "outdate"; - this.outdateDataGridViewTextBoxColumn.HeaderText = "outdate"; - this.outdateDataGridViewTextBoxColumn.Name = "outdateDataGridViewTextBoxColumn"; - this.outdateDataGridViewTextBoxColumn.Width = 71; - // - // telDataGridViewTextBoxColumn - // - this.telDataGridViewTextBoxColumn.DataPropertyName = "tel"; - this.telDataGridViewTextBoxColumn.HeaderText = "tel"; - this.telDataGridViewTextBoxColumn.Name = "telDataGridViewTextBoxColumn"; - this.telDataGridViewTextBoxColumn.Width = 43; - // - // hpDataGridViewTextBoxColumn - // - this.hpDataGridViewTextBoxColumn.DataPropertyName = "hp"; - this.hpDataGridViewTextBoxColumn.HeaderText = "hp"; - this.hpDataGridViewTextBoxColumn.Name = "hpDataGridViewTextBoxColumn"; - this.hpDataGridViewTextBoxColumn.Width = 44; - // - // placeDataGridViewTextBoxColumn - // - this.placeDataGridViewTextBoxColumn.DataPropertyName = "place"; - this.placeDataGridViewTextBoxColumn.HeaderText = "place"; - this.placeDataGridViewTextBoxColumn.Name = "placeDataGridViewTextBoxColumn"; - this.placeDataGridViewTextBoxColumn.Width = 61; - // - // memoDataGridViewTextBoxColumn - // - this.memoDataGridViewTextBoxColumn.DataPropertyName = "memo"; - this.memoDataGridViewTextBoxColumn.HeaderText = "memo"; - this.memoDataGridViewTextBoxColumn.Name = "memoDataGridViewTextBoxColumn"; - this.memoDataGridViewTextBoxColumn.Width = 66; - // - // toolStripMenuItem2 - // - this.toolStripMenuItem2.Name = "toolStripMenuItem2"; - this.toolStripMenuItem2.Size = new System.Drawing.Size(177, 6); - // - // fUserList - // - this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(755, 444); - this.Controls.Add(this.dv1); - this.Controls.Add(this.textBox1); - this.Controls.Add(this.toolStrip1); - this.Controls.Add(this.bn); - this.Name = "fUserList"; - this.Text = "fUserList"; - 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); - this.toolStrip1.ResumeLayout(false); - this.toolStrip1.PerformLayout(); - this.ResumeLayout(false); - this.PerformLayout(); - - } - - #endregion - - private dsMSSQL dsMSSQL; - private System.Windows.Forms.BindingSource bs; - private dsMSSQLTableAdapters.UsersTableAdapter ta; - private dsMSSQLTableAdapters.TableAdapterManager tam; - private System.Windows.Forms.BindingNavigator bn; - private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem; - private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem; - private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem; - private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem; - private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem; - private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator; - private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem; - private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1; - private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem; - private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem; - private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2; - private System.Windows.Forms.ToolStripButton usersBindingNavigatorSaveItem; - private System.Windows.Forms.DataGridView dv1; - private System.Windows.Forms.ContextMenuStrip cm1; - private System.Windows.Forms.ToolStripMenuItem iDChangeToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem passwordChangeToolStripMenuItem; - private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1; - private System.Windows.Forms.ToolStripMenuItem mailToolStripMenuItem; - private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; - private System.Windows.Forms.ToolStripDropDownButton btDevel; - private System.Windows.Forms.ToolStripMenuItem 한글이름분리ToolStripMenuItem; - private System.Windows.Forms.ToolStrip toolStrip1; - private System.Windows.Forms.ToolStripLabel toolStripLabel1; - private System.Windows.Forms.ToolStripComboBox cmbdept; - private System.Windows.Forms.ToolStripButton btRef; - private System.Windows.Forms.ToolStripMenuItem autoResizeColumnToolStripMenuItem; - private System.Windows.Forms.TextBox textBox1; - private System.Windows.Forms.DataGridViewTextBoxColumn dvc_id; - private System.Windows.Forms.DataGridViewTextBoxColumn dvc_level; - private System.Windows.Forms.DataGridViewTextBoxColumn nameDataGridViewTextBoxColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn nameEDataGridViewTextBoxColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn deptDataGridViewTextBoxColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn gradeDataGridViewTextBoxColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn emailDataGridViewTextBoxColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn indateDataGridViewTextBoxColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn outdateDataGridViewTextBoxColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn telDataGridViewTextBoxColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn hpDataGridViewTextBoxColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn placeDataGridViewTextBoxColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn memoDataGridViewTextBoxColumn; - private System.Windows.Forms.ToolStripSeparator toolStripMenuItem2; - } +namespace Project._Common +{ + partial class fUserList + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fUserList)); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); + this.dsMSSQL = new Project.dsMSSQL(); + this.bs = new System.Windows.Forms.BindingSource(this.components); + this.ta = new Project.dsMSSQLTableAdapters.UsersTableAdapter(); + this.tam = new Project.dsMSSQLTableAdapters.TableAdapterManager(); + 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(); + this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox(); + this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator(); + this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator(); + this.usersBindingNavigatorSaveItem = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); + this.btDevel = new System.Windows.Forms.ToolStripDropDownButton(); + this.한글이름분리ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.dv1 = new System.Windows.Forms.DataGridView(); + this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components); + this.iDChangeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.passwordChangeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator(); + this.mailToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.autoResizeColumnToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStrip1 = new System.Windows.Forms.ToolStrip(); + this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel(); + this.cmbdept = new System.Windows.Forms.ToolStripComboBox(); + this.btRef = new System.Windows.Forms.ToolStripButton(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.dvc_id = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dvc_level = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.nameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.nameEDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.deptDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.gradeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.emailDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.indateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.outdateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.telDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.hpDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.placeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.memoDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator(); + ((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(); + this.toolStrip1.SuspendLayout(); + this.SuspendLayout(); + // + // dsMSSQL + // + this.dsMSSQL.DataSetName = "dsMSSQL"; + this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; + // + // bs + // + this.bs.DataMember = "Users"; + this.bs.DataSource = this.dsMSSQL; + // + // ta + // + this.ta.ClearBeforeFill = true; + // + // tam + // + this.tam.BackupDataSetBeforeUpdate = false; + this.tam.InventoryTableAdapter = null; + this.tam.ItemsTableAdapter = null; + this.tam.LineCodeTableAdapter = null; + this.tam.ProjectsTableAdapter = null; + this.tam.UpdateOrder = Project.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; + this.tam.UsersTableAdapter = this.ta; + // + // bn + // + this.bn.AddNewItem = this.bindingNavigatorAddNewItem; + this.bn.BindingSource = this.bs; + this.bn.CountItem = this.bindingNavigatorCountItem; + this.bn.DeleteItem = this.bindingNavigatorDeleteItem; + this.bn.Dock = System.Windows.Forms.DockStyle.Bottom; + this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.bindingNavigatorMoveFirstItem, + this.bindingNavigatorMovePreviousItem, + this.bindingNavigatorSeparator, + this.bindingNavigatorPositionItem, + this.bindingNavigatorCountItem, + this.bindingNavigatorSeparator1, + this.bindingNavigatorMoveNextItem, + this.bindingNavigatorMoveLastItem, + this.bindingNavigatorSeparator2, + this.bindingNavigatorAddNewItem, + this.bindingNavigatorDeleteItem, + this.usersBindingNavigatorSaveItem, + this.toolStripSeparator1, + this.btDevel}); + this.bn.Location = new System.Drawing.Point(0, 419); + 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(755, 25); + this.bn.TabIndex = 0; + this.bn.Text = "bindingNavigator1"; + // + // 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)"; + // + // bindingNavigatorCountItem + // + this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem"; + this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22); + 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; + 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.Text = "처음으로 이동"; + // + // bindingNavigatorMovePreviousItem + // + this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + 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.Text = "이전으로 이동"; + // + // bindingNavigatorSeparator + // + this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator"; + this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25); + // + // bindingNavigatorPositionItem + // + this.bindingNavigatorPositionItem.AccessibleName = "위치"; + this.bindingNavigatorPositionItem.AutoSize = false; + this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem"; + this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23); + this.bindingNavigatorPositionItem.Text = "0"; + this.bindingNavigatorPositionItem.ToolTipText = "현재 위치"; + // + // bindingNavigatorSeparator1 + // + this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1"; + this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25); + // + // bindingNavigatorMoveNextItem + // + this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + 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.Text = "다음으로 이동"; + // + // bindingNavigatorMoveLastItem + // + this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + 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.Text = "마지막으로 이동"; + // + // bindingNavigatorSeparator2 + // + this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2"; + this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25); + // + // usersBindingNavigatorSaveItem + // + this.usersBindingNavigatorSaveItem.Image = ((System.Drawing.Image)(resources.GetObject("usersBindingNavigatorSaveItem.Image"))); + this.usersBindingNavigatorSaveItem.Name = "usersBindingNavigatorSaveItem"; + this.usersBindingNavigatorSaveItem.Size = new System.Drawing.Size(67, 22); + this.usersBindingNavigatorSaveItem.Text = "Save(&S)"; + this.usersBindingNavigatorSaveItem.Click += new System.EventHandler(this.usersBindingNavigatorSaveItem_Click); + // + // toolStripSeparator1 + // + this.toolStripSeparator1.Name = "toolStripSeparator1"; + this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25); + // + // btDevel + // + this.btDevel.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; + this.btDevel.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.한글이름분리ToolStripMenuItem}); + this.btDevel.Image = ((System.Drawing.Image)(resources.GetObject("btDevel.Image"))); + this.btDevel.ImageTransparentColor = System.Drawing.Color.Magenta; + this.btDevel.Name = "btDevel"; + this.btDevel.Size = new System.Drawing.Size(88, 22); + this.btDevel.Text = "developer"; + // + // 한글이름분리ToolStripMenuItem + // + this.한글이름분리ToolStripMenuItem.Name = "한글이름분리ToolStripMenuItem"; + this.한글이름분리ToolStripMenuItem.Size = new System.Drawing.Size(146, 22); + this.한글이름분리ToolStripMenuItem.Text = "한글이름분리"; + this.한글이름분리ToolStripMenuItem.Click += new System.EventHandler(this.한글이름분리ToolStripMenuItem_Click); + // + // dv1 + // + 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.dvc_id, + this.dvc_level, + this.nameDataGridViewTextBoxColumn, + this.nameEDataGridViewTextBoxColumn, + this.deptDataGridViewTextBoxColumn, + this.gradeDataGridViewTextBoxColumn, + this.emailDataGridViewTextBoxColumn, + this.indateDataGridViewTextBoxColumn, + this.outdateDataGridViewTextBoxColumn, + this.telDataGridViewTextBoxColumn, + this.hpDataGridViewTextBoxColumn, + this.placeDataGridViewTextBoxColumn, + this.memoDataGridViewTextBoxColumn}); + 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.Name = "dv1"; + this.dv1.RowTemplate.Height = 23; + this.dv1.Size = new System.Drawing.Size(755, 373); + this.dv1.TabIndex = 1; + // + // cm1 + // + this.cm1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.autoResizeColumnToolStripMenuItem, + this.toolStripMenuItem2, + this.iDChangeToolStripMenuItem, + this.passwordChangeToolStripMenuItem, + this.toolStripMenuItem1, + this.mailToolStripMenuItem}); + this.cm1.Name = "cm1"; + this.cm1.Size = new System.Drawing.Size(181, 126); + // + // iDChangeToolStripMenuItem + // + this.iDChangeToolStripMenuItem.Name = "iDChangeToolStripMenuItem"; + this.iDChangeToolStripMenuItem.Size = new System.Drawing.Size(180, 22); + this.iDChangeToolStripMenuItem.Text = "ID Change"; + this.iDChangeToolStripMenuItem.Click += new System.EventHandler(this.iDChangeToolStripMenuItem_Click); + // + // passwordChangeToolStripMenuItem + // + this.passwordChangeToolStripMenuItem.Name = "passwordChangeToolStripMenuItem"; + this.passwordChangeToolStripMenuItem.Size = new System.Drawing.Size(180, 22); + this.passwordChangeToolStripMenuItem.Text = "Password Change"; + this.passwordChangeToolStripMenuItem.Click += new System.EventHandler(this.passwordChangeToolStripMenuItem_Click); + // + // toolStripMenuItem1 + // + this.toolStripMenuItem1.Name = "toolStripMenuItem1"; + this.toolStripMenuItem1.Size = new System.Drawing.Size(177, 6); + // + // mailToolStripMenuItem + // + this.mailToolStripMenuItem.Name = "mailToolStripMenuItem"; + this.mailToolStripMenuItem.Size = new System.Drawing.Size(180, 22); + this.mailToolStripMenuItem.Text = "Mail"; + this.mailToolStripMenuItem.Click += new System.EventHandler(this.mailToolStripMenuItem_Click); + // + // autoResizeColumnToolStripMenuItem + // + this.autoResizeColumnToolStripMenuItem.Name = "autoResizeColumnToolStripMenuItem"; + this.autoResizeColumnToolStripMenuItem.Size = new System.Drawing.Size(180, 22); + this.autoResizeColumnToolStripMenuItem.Text = "AutoResize Column"; + this.autoResizeColumnToolStripMenuItem.Click += new System.EventHandler(this.autoResizeColumnToolStripMenuItem_Click); + // + // toolStrip1 + // + this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.toolStripLabel1, + this.cmbdept, + this.btRef}); + this.toolStrip1.Location = new System.Drawing.Point(0, 0); + this.toolStrip1.Name = "toolStrip1"; + this.toolStrip1.Size = new System.Drawing.Size(755, 25); + this.toolStrip1.TabIndex = 2; + this.toolStrip1.Text = "toolStrip1"; + // + // toolStripLabel1 + // + this.toolStripLabel1.Name = "toolStripLabel1"; + this.toolStripLabel1.Size = new System.Drawing.Size(43, 22); + this.toolStripLabel1.Text = "Depart"; + // + // cmbdept + // + this.cmbdept.Name = "cmbdept"; + this.cmbdept.Size = new System.Drawing.Size(121, 25); + // + // btRef + // + this.btRef.Image = ((System.Drawing.Image)(resources.GetObject("btRef.Image"))); + this.btRef.ImageTransparentColor = System.Drawing.Color.Magenta; + this.btRef.Name = "btRef"; + this.btRef.Size = new System.Drawing.Size(66, 22); + this.btRef.Text = "Refresh"; + this.btRef.Click += new System.EventHandler(this.btRef_Click); + // + // textBox1 + // + this.textBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "ads_title", true)); + this.textBox1.Dock = System.Windows.Forms.DockStyle.Bottom; + this.textBox1.Location = new System.Drawing.Point(0, 398); + this.textBox1.Name = "textBox1"; + this.textBox1.Size = new System.Drawing.Size(755, 21); + this.textBox1.TabIndex = 3; + // + // dvc_id + // + this.dvc_id.DataPropertyName = "id"; + dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + this.dvc_id.DefaultCellStyle = dataGridViewCellStyle3; + this.dvc_id.HeaderText = "id"; + this.dvc_id.Name = "dvc_id"; + this.dvc_id.Width = 40; + // + // dvc_level + // + this.dvc_level.DataPropertyName = "level"; + dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))); + this.dvc_level.DefaultCellStyle = dataGridViewCellStyle4; + this.dvc_level.HeaderText = "level"; + this.dvc_level.Name = "dvc_level"; + this.dvc_level.Width = 56; + // + // nameDataGridViewTextBoxColumn + // + this.nameDataGridViewTextBoxColumn.DataPropertyName = "name"; + this.nameDataGridViewTextBoxColumn.HeaderText = "name"; + this.nameDataGridViewTextBoxColumn.Name = "nameDataGridViewTextBoxColumn"; + this.nameDataGridViewTextBoxColumn.Width = 62; + // + // nameEDataGridViewTextBoxColumn + // + this.nameEDataGridViewTextBoxColumn.DataPropertyName = "nameE"; + this.nameEDataGridViewTextBoxColumn.HeaderText = "nameE"; + this.nameEDataGridViewTextBoxColumn.Name = "nameEDataGridViewTextBoxColumn"; + this.nameEDataGridViewTextBoxColumn.Width = 70; + // + // deptDataGridViewTextBoxColumn + // + this.deptDataGridViewTextBoxColumn.DataPropertyName = "dept"; + this.deptDataGridViewTextBoxColumn.HeaderText = "dept"; + this.deptDataGridViewTextBoxColumn.Name = "deptDataGridViewTextBoxColumn"; + this.deptDataGridViewTextBoxColumn.Width = 54; + // + // gradeDataGridViewTextBoxColumn + // + this.gradeDataGridViewTextBoxColumn.DataPropertyName = "grade"; + this.gradeDataGridViewTextBoxColumn.HeaderText = "grade"; + this.gradeDataGridViewTextBoxColumn.Name = "gradeDataGridViewTextBoxColumn"; + this.gradeDataGridViewTextBoxColumn.Width = 62; + // + // emailDataGridViewTextBoxColumn + // + this.emailDataGridViewTextBoxColumn.DataPropertyName = "email"; + this.emailDataGridViewTextBoxColumn.HeaderText = "email"; + this.emailDataGridViewTextBoxColumn.Name = "emailDataGridViewTextBoxColumn"; + this.emailDataGridViewTextBoxColumn.Width = 61; + // + // indateDataGridViewTextBoxColumn + // + this.indateDataGridViewTextBoxColumn.DataPropertyName = "indate"; + this.indateDataGridViewTextBoxColumn.HeaderText = "indate"; + this.indateDataGridViewTextBoxColumn.Name = "indateDataGridViewTextBoxColumn"; + this.indateDataGridViewTextBoxColumn.Width = 64; + // + // outdateDataGridViewTextBoxColumn + // + this.outdateDataGridViewTextBoxColumn.DataPropertyName = "outdate"; + this.outdateDataGridViewTextBoxColumn.HeaderText = "outdate"; + this.outdateDataGridViewTextBoxColumn.Name = "outdateDataGridViewTextBoxColumn"; + this.outdateDataGridViewTextBoxColumn.Width = 71; + // + // telDataGridViewTextBoxColumn + // + this.telDataGridViewTextBoxColumn.DataPropertyName = "tel"; + this.telDataGridViewTextBoxColumn.HeaderText = "tel"; + this.telDataGridViewTextBoxColumn.Name = "telDataGridViewTextBoxColumn"; + this.telDataGridViewTextBoxColumn.Width = 43; + // + // hpDataGridViewTextBoxColumn + // + this.hpDataGridViewTextBoxColumn.DataPropertyName = "hp"; + this.hpDataGridViewTextBoxColumn.HeaderText = "hp"; + this.hpDataGridViewTextBoxColumn.Name = "hpDataGridViewTextBoxColumn"; + this.hpDataGridViewTextBoxColumn.Width = 44; + // + // placeDataGridViewTextBoxColumn + // + this.placeDataGridViewTextBoxColumn.DataPropertyName = "place"; + this.placeDataGridViewTextBoxColumn.HeaderText = "place"; + this.placeDataGridViewTextBoxColumn.Name = "placeDataGridViewTextBoxColumn"; + this.placeDataGridViewTextBoxColumn.Width = 61; + // + // memoDataGridViewTextBoxColumn + // + this.memoDataGridViewTextBoxColumn.DataPropertyName = "memo"; + this.memoDataGridViewTextBoxColumn.HeaderText = "memo"; + this.memoDataGridViewTextBoxColumn.Name = "memoDataGridViewTextBoxColumn"; + this.memoDataGridViewTextBoxColumn.Width = 66; + // + // toolStripMenuItem2 + // + this.toolStripMenuItem2.Name = "toolStripMenuItem2"; + this.toolStripMenuItem2.Size = new System.Drawing.Size(177, 6); + // + // fUserList + // + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(755, 444); + this.Controls.Add(this.dv1); + this.Controls.Add(this.textBox1); + this.Controls.Add(this.toolStrip1); + this.Controls.Add(this.bn); + this.Name = "fUserList"; + this.Text = "fUserList"; + 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); + this.toolStrip1.ResumeLayout(false); + this.toolStrip1.PerformLayout(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private dsMSSQL dsMSSQL; + private System.Windows.Forms.BindingSource bs; + private dsMSSQLTableAdapters.UsersTableAdapter ta; + private dsMSSQLTableAdapters.TableAdapterManager tam; + private System.Windows.Forms.BindingNavigator bn; + private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem; + private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem; + private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem; + private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem; + private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem; + private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator; + private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem; + private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1; + private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem; + private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem; + private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2; + private System.Windows.Forms.ToolStripButton usersBindingNavigatorSaveItem; + private System.Windows.Forms.DataGridView dv1; + private System.Windows.Forms.ContextMenuStrip cm1; + private System.Windows.Forms.ToolStripMenuItem iDChangeToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem passwordChangeToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1; + private System.Windows.Forms.ToolStripMenuItem mailToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; + private System.Windows.Forms.ToolStripDropDownButton btDevel; + private System.Windows.Forms.ToolStripMenuItem 한글이름분리ToolStripMenuItem; + private System.Windows.Forms.ToolStrip toolStrip1; + private System.Windows.Forms.ToolStripLabel toolStripLabel1; + private System.Windows.Forms.ToolStripComboBox cmbdept; + private System.Windows.Forms.ToolStripButton btRef; + private System.Windows.Forms.ToolStripMenuItem autoResizeColumnToolStripMenuItem; + private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.DataGridViewTextBoxColumn dvc_id; + private System.Windows.Forms.DataGridViewTextBoxColumn dvc_level; + private System.Windows.Forms.DataGridViewTextBoxColumn nameDataGridViewTextBoxColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn nameEDataGridViewTextBoxColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn deptDataGridViewTextBoxColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn gradeDataGridViewTextBoxColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn emailDataGridViewTextBoxColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn indateDataGridViewTextBoxColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn outdateDataGridViewTextBoxColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn telDataGridViewTextBoxColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn hpDataGridViewTextBoxColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn placeDataGridViewTextBoxColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn memoDataGridViewTextBoxColumn; + private System.Windows.Forms.ToolStripSeparator toolStripMenuItem2; + } } \ No newline at end of file diff --git a/Project/_Common/fUserList.cs b/Project/_Common/fUserList.cs index 0d0decb..5a0c8b0 100644 --- a/Project/_Common/fUserList.cs +++ b/Project/_Common/fUserList.cs @@ -1,169 +1,169 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Data; -using System.Drawing; -using System.Linq; -using System.Text; -using System.Windows.Forms; - -namespace Project._Common -{ - public partial class fUserList : Form - { - public fUserList() - { - InitializeComponent(); - this.dsMSSQL.Users.TableNewRow += Users_TableNewRow; - this.FormClosed += __Closed; - } - - void __Closed(object sender, FormClosedEventArgs e) - { - var form = this as Form; - Pub.SetFormStatus(ref form, this.Name, false); - } - - void Users_TableNewRow(object sender, DataTableNewRowEventArgs e) - { - e.Row["wuid"] = FCOMMON.info.Login.no; - e.Row["wdate"] = DateTime.Now; - e.Row["password"] = Pub.MakePasswordEnc("0"); - e.Row["level"] = 1; - } - - private void __Load(object sender, EventArgs e) - { - var form = this as Form; - Pub.SetFormStatus(ref form, this.Name , true); - this.Show(); - Application.DoEvents(); - - if(FCOMMON.info.Login.level > 9) - { - this.btDevel.Visible = true; - this.dv1.EditMode = DataGridViewEditMode.EditOnKeystrokeOrF2; - } - else - { - this.dv1.EditMode = DataGridViewEditMode.EditProgrammatically; - this.dv1.SelectionMode = DataGridViewSelectionMode.FullRowSelect; - this.btDevel.Visible = false; - this.textBox1.Enabled = false; - this.dvc_id.Visible = false; - this.dvc_level.Visible = false; - this.usersBindingNavigatorSaveItem.Enabled = false; - this.bindingNavigatorAddNewItem.Enabled = false; - this.bindingNavigatorDeleteItem.Enabled = false; - - } - - //부서목록 업데이트 - this.cmbdept.Items.Clear(); - var deptList = FCOMMON.DBM.getGroupList("dept", "users"); - foreach (var item in deptList) - this.cmbdept.Items.Add(item); - - this.cmbdept.Text = FCOMMON.info.Login.dept; - btRef.PerformClick(); - - } - private void usersBindingNavigatorSaveItem_Click(object sender, EventArgs e) - { - this.Validate(); - this.bs.EndEdit(); - this.tam.UpdateAll(this.dsMSSQL); - - } - - private void iDChangeToolStripMenuItem_Click(object sender, EventArgs e) - { - var drv = this.bs.Current as DataRowView; - if (drv == null) return; - var dr = drv.Row as dsMSSQL.UsersRow; - - var f = new fNewID(dr.id); - if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK) - { - var newid = f.tbIDN.Text.Trim(); - if(this.dsMSSQL.Users.Select("id='" + newid + "'").Length != 0) - { - Util.MsgE("Exist id - error"); - return; - } - else - { - this.Validate(); - this.bs.EndEdit(); - dr.id = newid; - dr.EndEdit(); - this.bs.EndEdit(); - } - } - } - - private void passwordChangeToolStripMenuItem_Click(object sender, EventArgs e) - { - var drv = this.bs.Current as DataRowView; - if (drv == null) return; - var dr = drv.Row as dsMSSQL.UsersRow; - var currentPassword = dr.password; - - _Common.fNewPassword f = new fNewPassword(dr.id); - if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK) - { - var encpassO = Pub.MakePasswordEnc(f.tbPassO.Text); - var encpassN = Pub.MakePasswordEnc(f.tbPass1.Text); - if (currentPassword != encpassO) - { - Util.MsgE("Old password error"); - return; - } - else - { - this.Validate(); - this.bs.EndEdit(); - dr.password = encpassN; - dr.EndEdit(); - this.bs.EndEdit(); - } - } - } - - private void mailToolStripMenuItem_Click(object sender, EventArgs e) - { - var drv = this.bs.Current as DataRowView; - if (drv == null) return; - var dr = drv.Row as dsMSSQL.UsersRow; - if (dr.email.isEmpty()) return; - string cmd = "mailto:" + dr.email; - Util.RunExplorer(cmd); - } - - private void 한글이름분리ToolStripMenuItem_Click(object sender, EventArgs e) - { - - foreach(dsMSSQL.UsersRow dr in this.dsMSSQL.Users.Rows) - { - var name = dr.name; - var newname = name.Split(' ')[0]; - dr.name = newname; - dr.EndEdit(); - } - } - - private void btRef_Click(object sender, EventArgs e) - { - //read data - this.dsMSSQL.Users.Clear(); - this.ta.Fill(this.dsMSSQL.Users, this.cmbdept.Text ); - this.dsMSSQL.Users.AcceptChanges(); - } - - private void autoResizeColumnToolStripMenuItem_Click(object sender, EventArgs e) - { - this.dv1.AutoResizeColumns(); - } - - } -} +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Windows.Forms; + +namespace Project._Common +{ + public partial class fUserList : Form + { + public fUserList() + { + InitializeComponent(); + this.dsMSSQL.Users.TableNewRow += Users_TableNewRow; + this.FormClosed += __Closed; + } + + void __Closed(object sender, FormClosedEventArgs e) + { + var form = this as Form; + Pub.SetFormStatus(ref form, this.Name, false); + } + + void Users_TableNewRow(object sender, DataTableNewRowEventArgs e) + { + e.Row["wuid"] = FCOMMON.info.Login.no; + e.Row["wdate"] = DateTime.Now; + e.Row["password"] = Pub.MakePasswordEnc("0"); + e.Row["level"] = 1; + } + + private void __Load(object sender, EventArgs e) + { + var form = this as Form; + Pub.SetFormStatus(ref form, this.Name , true); + this.Show(); + Application.DoEvents(); + + if(FCOMMON.info.Login.level > 9) + { + this.btDevel.Visible = true; + this.dv1.EditMode = DataGridViewEditMode.EditOnKeystrokeOrF2; + } + else + { + this.dv1.EditMode = DataGridViewEditMode.EditProgrammatically; + this.dv1.SelectionMode = DataGridViewSelectionMode.FullRowSelect; + this.btDevel.Visible = false; + this.textBox1.Enabled = false; + this.dvc_id.Visible = false; + this.dvc_level.Visible = false; + this.usersBindingNavigatorSaveItem.Enabled = false; + this.bindingNavigatorAddNewItem.Enabled = false; + this.bindingNavigatorDeleteItem.Enabled = false; + + } + + //부서목록 업데이트 + this.cmbdept.Items.Clear(); + var deptList = FCOMMON.DBM.getGroupList("dept", "users"); + foreach (var item in deptList) + this.cmbdept.Items.Add(item); + + this.cmbdept.Text = FCOMMON.info.Login.dept; + btRef.PerformClick(); + + } + private void usersBindingNavigatorSaveItem_Click(object sender, EventArgs e) + { + this.Validate(); + this.bs.EndEdit(); + this.tam.UpdateAll(this.dsMSSQL); + + } + + private void iDChangeToolStripMenuItem_Click(object sender, EventArgs e) + { + var drv = this.bs.Current as DataRowView; + if (drv == null) return; + var dr = drv.Row as dsMSSQL.UsersRow; + + var f = new fNewID(dr.id); + if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK) + { + var newid = f.tbIDN.Text.Trim(); + if(this.dsMSSQL.Users.Select("id='" + newid + "'").Length != 0) + { + Util.MsgE("Exist id - error"); + return; + } + else + { + this.Validate(); + this.bs.EndEdit(); + dr.id = newid; + dr.EndEdit(); + this.bs.EndEdit(); + } + } + } + + private void passwordChangeToolStripMenuItem_Click(object sender, EventArgs e) + { + var drv = this.bs.Current as DataRowView; + if (drv == null) return; + var dr = drv.Row as dsMSSQL.UsersRow; + var currentPassword = dr.password; + + _Common.fNewPassword f = new fNewPassword(dr.id); + if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK) + { + var encpassO = Pub.MakePasswordEnc(f.tbPassO.Text); + var encpassN = Pub.MakePasswordEnc(f.tbPass1.Text); + if (currentPassword != encpassO) + { + Util.MsgE("Old password error"); + return; + } + else + { + this.Validate(); + this.bs.EndEdit(); + dr.password = encpassN; + dr.EndEdit(); + this.bs.EndEdit(); + } + } + } + + private void mailToolStripMenuItem_Click(object sender, EventArgs e) + { + var drv = this.bs.Current as DataRowView; + if (drv == null) return; + var dr = drv.Row as dsMSSQL.UsersRow; + if (dr.email.isEmpty()) return; + string cmd = "mailto:" + dr.email; + Util.RunExplorer(cmd); + } + + private void 한글이름분리ToolStripMenuItem_Click(object sender, EventArgs e) + { + + foreach(dsMSSQL.UsersRow dr in this.dsMSSQL.Users.Rows) + { + var name = dr.name; + var newname = name.Split(' ')[0]; + dr.name = newname; + dr.EndEdit(); + } + } + + private void btRef_Click(object sender, EventArgs e) + { + //read data + this.dsMSSQL.Users.Clear(); + this.ta.Fill(this.dsMSSQL.Users, this.cmbdept.Text ); + this.dsMSSQL.Users.AcceptChanges(); + } + + private void autoResizeColumnToolStripMenuItem_Click(object sender, EventArgs e) + { + this.dv1.AutoResizeColumns(); + } + + } +} diff --git a/Project/_Common/fUserList.resx b/Project/_Common/fUserList.resx index cf16079..73543cc 100644 --- a/Project/_Common/fUserList.resx +++ b/Project/_Common/fUserList.resx @@ -1,240 +1,240 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 17, 17 - - - 122, 17 - - - 186, 17 - - - 248, 17 - - - 321, 17 - - - - - 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== - - - - - 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= - - - - - 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= - - - - - 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 - - - - - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78 - n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI - N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f - oAc0QjgAAAAASUVORK5CYII= - - - - - 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== - - - - - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo - dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII= - - - - - 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== - - - - 387, 17 - - - 462, 17 - - - - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAFKSURBVDhPtZMxSwNRDMfvu9SC4ODW0q1+G8GhIIp2qINL - ERGk0IK4ugkiKjq0q4KDRZw8QfHQoUhxExShsb+YXE+9K3TwB+Hx8vJPcnnvgizkF+aO/bZNh4DSckMK - ZsWVHRXB7OKurhb6l/ChJ8XVlrR7b3IWveqKFdYPpN4OJV/Zy07Awcx8XYWN7rNa+TCU8lEkm1d9OXn6 - lNzSaXoCF2/sd3TFphdasn0ZaYK5475s3bxLrno+PgHtJ6Hl5t2HirGpWlf9JhuBk4H5ISsdkIC2qYw4 - v3Ydx8SoZ0JM+g0OMlOBSlSkMh14MGuywx/gRMyU+V7Mr8thNswITDYCJ5URMm2mzvTpAEveTnaCYdsk - 4L5JwP37W2he3GaLgQNa5qXx4qiOIcRo//7xRQaDMQn8jQNv3/8D/gmw0HQ0Yoht471j7v8gCL4AjZn0 - BRhVTtsAAAAASUVORK5CYII= - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 17, 17 + + + 122, 17 + + + 186, 17 + + + 248, 17 + + + 321, 17 + + + + + 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== + + + + + 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= + + + + + 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= + + + + + 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 + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78 + n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI + N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f + oAc0QjgAAAAASUVORK5CYII= + + + + + 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== + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo + dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII= + + + + + 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== + + + + 387, 17 + + + 462, 17 + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAFKSURBVDhPtZMxSwNRDMfvu9SC4ODW0q1+G8GhIIp2qINL + ERGk0IK4ugkiKjq0q4KDRZw8QfHQoUhxExShsb+YXE+9K3TwB+Hx8vJPcnnvgizkF+aO/bZNh4DSckMK + ZsWVHRXB7OKurhb6l/ChJ8XVlrR7b3IWveqKFdYPpN4OJV/Zy07Awcx8XYWN7rNa+TCU8lEkm1d9OXn6 + lNzSaXoCF2/sd3TFphdasn0ZaYK5475s3bxLrno+PgHtJ6Hl5t2HirGpWlf9JhuBk4H5ISsdkIC2qYw4 + v3Ydx8SoZ0JM+g0OMlOBSlSkMh14MGuywx/gRMyU+V7Mr8thNswITDYCJ5URMm2mzvTpAEveTnaCYdsk + 4L5JwP37W2he3GaLgQNa5qXx4qiOIcRo//7xRQaDMQn8jQNv3/8D/gmw0HQ0Yoht471j7v8gCL4AjZn0 + BRhVTtsAAAAASUVORK5CYII= + + \ No newline at end of file diff --git a/Project/fMain.Designer.cs b/Project/fMain.Designer.cs index e2bfd00..a6e7b28 100644 --- a/Project/fMain.Designer.cs +++ b/Project/fMain.Designer.cs @@ -33,12 +33,8 @@ this.tmDisplay = new System.Windows.Forms.Timer(this.components); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); this.bw = new System.ComponentModel.BackgroundWorker(); - this.cmVision = new System.Windows.Forms.ContextMenuStrip(this.components); + this.cmTab = new System.Windows.Forms.ContextMenuStrip(this.components); this.saveImageToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.clearShapeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.clerROIToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.debugToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.testToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.sbBWRun = new System.Windows.Forms.ToolStripStatusLabel(); this.sbBCD = new System.Windows.Forms.ToolStripStatusLabel(); this.statusStrip1 = new System.Windows.Forms.StatusStrip(); @@ -58,7 +54,6 @@ this.myAccouserToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.aDSUserListToolStripMenuItem = 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(); @@ -74,6 +69,8 @@ this.dataFOLToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.dataMoldEOLToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.dataToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator(); + this.라인코드관리ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.personalInventoryToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.nRPurchaseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.windowsMenu = new System.Windows.Forms.ToolStripMenuItem(); @@ -91,10 +88,17 @@ this.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); this.toolStripButton3 = new System.Windows.Forms.ToolStripButton(); this.toolStripButton4 = new System.Windows.Forms.ToolStripButton(); - this.cmVision.SuspendLayout(); + this.tabControl1 = new System.Windows.Forms.TabControl(); + this.tabPage1 = new System.Windows.Forms.TabPage(); + this.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer(); + this.cmTab.SuspendLayout(); this.statusStrip1.SuspendLayout(); this.menuStrip1.SuspendLayout(); this.toolStrip.SuspendLayout(); + this.tabControl1.SuspendLayout(); + this.toolStripContainer1.ContentPanel.SuspendLayout(); + this.toolStripContainer1.LeftToolStripPanel.SuspendLayout(); + this.toolStripContainer1.SuspendLayout(); this.SuspendLayout(); // // tmDisplay @@ -108,46 +112,18 @@ this.bw.WorkerSupportsCancellation = true; this.bw.DoWork += new System.ComponentModel.DoWorkEventHandler(this.bw_DoWork); // - // cmVision + // cmTab // - this.cmVision.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.saveImageToolStripMenuItem, - this.clearShapeToolStripMenuItem, - this.clerROIToolStripMenuItem, - this.debugToolStripMenuItem, - this.testToolStripMenuItem}); - this.cmVision.Name = "cmVision"; - this.cmVision.Size = new System.Drawing.Size(139, 114); + this.cmTab.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.saveImageToolStripMenuItem}); + this.cmTab.Name = "cmVision"; + this.cmTab.Size = new System.Drawing.Size(99, 26); // // saveImageToolStripMenuItem // this.saveImageToolStripMenuItem.Name = "saveImageToolStripMenuItem"; - this.saveImageToolStripMenuItem.Size = new System.Drawing.Size(138, 22); - this.saveImageToolStripMenuItem.Text = "Save Image"; - // - // clearShapeToolStripMenuItem - // - this.clearShapeToolStripMenuItem.Name = "clearShapeToolStripMenuItem"; - this.clearShapeToolStripMenuItem.Size = new System.Drawing.Size(138, 22); - this.clearShapeToolStripMenuItem.Text = "Clear Shape"; - // - // clerROIToolStripMenuItem - // - this.clerROIToolStripMenuItem.Name = "clerROIToolStripMenuItem"; - this.clerROIToolStripMenuItem.Size = new System.Drawing.Size(138, 22); - this.clerROIToolStripMenuItem.Text = "Cler ROI"; - // - // debugToolStripMenuItem - // - this.debugToolStripMenuItem.Name = "debugToolStripMenuItem"; - this.debugToolStripMenuItem.Size = new System.Drawing.Size(138, 22); - this.debugToolStripMenuItem.Text = "Debug"; - // - // testToolStripMenuItem - // - this.testToolStripMenuItem.Name = "testToolStripMenuItem"; - this.testToolStripMenuItem.Size = new System.Drawing.Size(138, 22); - this.testToolStripMenuItem.Text = "Test"; + this.saveImageToolStripMenuItem.Size = new System.Drawing.Size(98, 22); + this.saveImageToolStripMenuItem.Text = "닫기"; // // sbBWRun // @@ -168,9 +144,9 @@ this.sbRedis, this.sbBCD, this.sbLogin}); - this.statusStrip1.Location = new System.Drawing.Point(1, 644); + this.statusStrip1.Location = new System.Drawing.Point(1, 622); this.statusStrip1.Name = "statusStrip1"; - this.statusStrip1.Size = new System.Drawing.Size(1035, 22); + this.statusStrip1.Size = new System.Drawing.Size(1034, 22); this.statusStrip1.TabIndex = 30; this.statusStrip1.Text = "statusStrip1"; // @@ -218,7 +194,7 @@ 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, 27); + this.menuStrip1.Size = new System.Drawing.Size(1034, 27); this.menuStrip1.TabIndex = 29; this.menuStrip1.Text = "menuStrip1"; // @@ -253,7 +229,6 @@ this.codesToolStripMenuItem, this.userInfoToolStripMenuItem, this.customerToolStripMenuItem, - this.lineCodeToolStripMenuItem, this.toolStripMenuItem1, this.staffGridToolStripMenuItem, this.mailFormToolStripMenuItem}); @@ -264,14 +239,14 @@ // itemsToolStripMenuItem // this.itemsToolStripMenuItem.Name = "itemsToolStripMenuItem"; - this.itemsToolStripMenuItem.Size = new System.Drawing.Size(156, 24); + this.itemsToolStripMenuItem.Size = new System.Drawing.Size(139, 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(156, 24); + this.codesToolStripMenuItem.Size = new System.Drawing.Size(139, 24); this.codesToolStripMenuItem.Text = "공용코드"; this.codesToolStripMenuItem.Click += new System.EventHandler(this.codesToolStripMenuItem_Click); // @@ -282,9 +257,8 @@ this.myAccouserToolStripMenuItem, this.aDSUserListToolStripMenuItem}); this.userInfoToolStripMenuItem.Name = "userInfoToolStripMenuItem"; - this.userInfoToolStripMenuItem.Size = new System.Drawing.Size(156, 24); + this.userInfoToolStripMenuItem.Size = new System.Drawing.Size(139, 24); this.userInfoToolStripMenuItem.Text = "사용자"; - this.userInfoToolStripMenuItem.Click += new System.EventHandler(this.userInfoToolStripMenuItem_Click); // // userAccountToolStripMenuItem // @@ -311,27 +285,20 @@ // customerToolStripMenuItem // this.customerToolStripMenuItem.Name = "customerToolStripMenuItem"; - this.customerToolStripMenuItem.Size = new System.Drawing.Size(156, 24); + this.customerToolStripMenuItem.Size = new System.Drawing.Size(139, 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); + this.toolStripMenuItem1.Size = new System.Drawing.Size(136, 6); // // staffGridToolStripMenuItem // this.staffGridToolStripMenuItem.ForeColor = System.Drawing.Color.HotPink; this.staffGridToolStripMenuItem.Name = "staffGridToolStripMenuItem"; - this.staffGridToolStripMenuItem.Size = new System.Drawing.Size(156, 24); + this.staffGridToolStripMenuItem.Size = new System.Drawing.Size(139, 24); this.staffGridToolStripMenuItem.Text = "Staff Grid"; this.staffGridToolStripMenuItem.Click += new System.EventHandler(this.staffGridToolStripMenuItem_Click); // @@ -339,7 +306,7 @@ // this.mailFormToolStripMenuItem.ForeColor = System.Drawing.Color.HotPink; this.mailFormToolStripMenuItem.Name = "mailFormToolStripMenuItem"; - this.mailFormToolStripMenuItem.Size = new System.Drawing.Size(156, 24); + this.mailFormToolStripMenuItem.Size = new System.Drawing.Size(139, 24); this.mailFormToolStripMenuItem.Text = "메일 양식"; this.mailFormToolStripMenuItem.Click += new System.EventHandler(this.mailFormToolStripMenuItem_Click); // @@ -416,33 +383,46 @@ this.equipmentToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.dataFOLToolStripMenuItem, this.dataMoldEOLToolStripMenuItem, - this.dataToolStripMenuItem}); + this.dataToolStripMenuItem, + this.toolStripMenuItem2, + this.라인코드관리ToolStripMenuItem}); this.equipmentToolStripMenuItem.Name = "equipmentToolStripMenuItem"; 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(154, 24); + this.dataFOLToolStripMenuItem.Size = new System.Drawing.Size(162, 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(154, 24); + this.dataMoldEOLToolStripMenuItem.Size = new System.Drawing.Size(162, 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(154, 24); + this.dataToolStripMenuItem.Size = new System.Drawing.Size(162, 24); this.dataToolStripMenuItem.Text = "BUMP"; this.dataToolStripMenuItem.Click += new System.EventHandler(this.dataToolStripMenuItem_Click); // + // toolStripMenuItem2 + // + this.toolStripMenuItem2.Name = "toolStripMenuItem2"; + this.toolStripMenuItem2.Size = new System.Drawing.Size(159, 6); + // + // 라인코드관리ToolStripMenuItem + // + this.라인코드관리ToolStripMenuItem.Name = "라인코드관리ToolStripMenuItem"; + this.라인코드관리ToolStripMenuItem.Size = new System.Drawing.Size(162, 24); + this.라인코드관리ToolStripMenuItem.Text = "라인코드관리"; + this.라인코드관리ToolStripMenuItem.Click += new System.EventHandler(this.라인코드관리ToolStripMenuItem_Click); + // // personalInventoryToolStripMenuItem // this.personalInventoryToolStripMenuItem.ForeColor = System.Drawing.Color.HotPink; @@ -540,15 +520,16 @@ // // toolStrip // + this.toolStrip.Dock = System.Windows.Forms.DockStyle.None; 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, 28); + this.toolStrip.Location = new System.Drawing.Point(0, 4); this.toolStrip.Name = "toolStrip"; - this.toolStrip.Size = new System.Drawing.Size(1035, 27); + this.toolStrip.Size = new System.Drawing.Size(25, 119); this.toolStrip.TabIndex = 32; this.toolStrip.Text = "ToolStrip"; // @@ -558,7 +539,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(24, 24); + this.toolStripButton1.Size = new System.Drawing.Size(23, 24); this.toolStripButton1.Text = "메일전송"; this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click); // @@ -568,7 +549,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(24, 24); + this.toolStripButton2.Size = new System.Drawing.Size(23, 24); this.toolStripButton2.Text = "구매신청"; this.toolStripButton2.ToolTipText = "파트구매신청서 작성"; this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click); @@ -579,7 +560,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(24, 24); + this.toolStripButton3.Size = new System.Drawing.Size(23, 24); this.toolStripButton3.Text = "toolStripButton3"; this.toolStripButton3.Click += new System.EventHandler(this.toolStripButton3_Click); // @@ -589,21 +570,67 @@ 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(24, 24); + this.toolStripButton4.Size = new System.Drawing.Size(23, 24); this.toolStripButton4.Text = "toolStripButton4"; this.toolStripButton4.Click += new System.EventHandler(this.toolStripButton4_Click); // + // tabControl1 + // + this.tabControl1.Appearance = System.Windows.Forms.TabAppearance.FlatButtons; + this.tabControl1.Controls.Add(this.tabPage1); + this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill; + this.tabControl1.Font = new System.Drawing.Font("맑은 고딕", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.tabControl1.Location = new System.Drawing.Point(0, 0); + this.tabControl1.Multiline = true; + this.tabControl1.Name = "tabControl1"; + this.tabControl1.SelectedIndex = 0; + this.tabControl1.ShowToolTips = true; + this.tabControl1.Size = new System.Drawing.Size(1009, 594); + this.tabControl1.SizeMode = System.Windows.Forms.TabSizeMode.Fixed; + this.tabControl1.TabIndex = 34; + this.tabControl1.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.tabControl1_DrawItem); + // + // tabPage1 + // + this.tabPage1.BackColor = System.Drawing.Color.LightGray; + this.tabPage1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; + this.tabPage1.ContextMenuStrip = this.cmTab; + this.tabPage1.Location = new System.Drawing.Point(4, 29); + this.tabPage1.Name = "tabPage1"; + this.tabPage1.Padding = new System.Windows.Forms.Padding(10); + this.tabPage1.Size = new System.Drawing.Size(1001, 561); + this.tabPage1.TabIndex = 0; + this.tabPage1.Text = "요약"; + // + // toolStripContainer1 + // + // + // toolStripContainer1.ContentPanel + // + this.toolStripContainer1.ContentPanel.Controls.Add(this.tabControl1); + this.toolStripContainer1.ContentPanel.Size = new System.Drawing.Size(1009, 594); + this.toolStripContainer1.ContentPanel.Load += new System.EventHandler(this.toolStripContainer1_ContentPanel_Load); + this.toolStripContainer1.Dock = System.Windows.Forms.DockStyle.Fill; + // + // toolStripContainer1.LeftToolStripPanel + // + this.toolStripContainer1.LeftToolStripPanel.Controls.Add(this.toolStrip); + this.toolStripContainer1.Location = new System.Drawing.Point(1, 28); + this.toolStripContainer1.Name = "toolStripContainer1"; + this.toolStripContainer1.Size = new System.Drawing.Size(1034, 594); + this.toolStripContainer1.TabIndex = 35; + this.toolStripContainer1.Text = "toolStripContainer1"; + // // fMain // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; - this.BackColor = System.Drawing.SystemColors.Control; - this.ClientSize = new System.Drawing.Size(1037, 669); - this.Controls.Add(this.toolStrip); + this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180))))); + this.ClientSize = new System.Drawing.Size(1036, 647); + this.Controls.Add(this.toolStripContainer1); this.Controls.Add(this.menuStrip1); this.Controls.Add(this.statusStrip1); this.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); - this.IsMdiContainer = true; this.KeyPreview = true; this.MainMenuStrip = this.menuStrip1; this.Name = "fMain"; @@ -611,13 +638,19 @@ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = " "; this.Load += new System.EventHandler(this.@__Load); - this.cmVision.ResumeLayout(false); + this.cmTab.ResumeLayout(false); this.statusStrip1.ResumeLayout(false); this.statusStrip1.PerformLayout(); this.menuStrip1.ResumeLayout(false); this.menuStrip1.PerformLayout(); this.toolStrip.ResumeLayout(false); this.toolStrip.PerformLayout(); + this.tabControl1.ResumeLayout(false); + this.toolStripContainer1.ContentPanel.ResumeLayout(false); + this.toolStripContainer1.LeftToolStripPanel.ResumeLayout(false); + this.toolStripContainer1.LeftToolStripPanel.PerformLayout(); + this.toolStripContainer1.ResumeLayout(false); + this.toolStripContainer1.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); @@ -628,12 +661,8 @@ private System.Windows.Forms.Timer tmDisplay; private System.Windows.Forms.ToolTip toolTip1; private System.ComponentModel.BackgroundWorker bw; - private System.Windows.Forms.ContextMenuStrip cmVision; + private System.Windows.Forms.ContextMenuStrip cmTab; private System.Windows.Forms.ToolStripMenuItem saveImageToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem clearShapeToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem clerROIToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem testToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem debugToolStripMenuItem; private System.Windows.Forms.ToolStripStatusLabel sbBWRun; private System.Windows.Forms.ToolStripStatusLabel sbBCD; private System.Windows.Forms.StatusStrip statusStrip1; @@ -653,7 +682,6 @@ private System.Windows.Forms.ToolStripMenuItem todoListToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem managementToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem equipmentToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem lineCodeToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem staffGridToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem dataToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem dataFOLToolStripMenuItem; @@ -686,6 +714,11 @@ private System.Windows.Forms.ToolStripButton toolStripButton4; private System.Windows.Forms.ToolStripMenuItem customerImportToolStripMenuItem; private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1; + private System.Windows.Forms.TabControl tabControl1; + private System.Windows.Forms.TabPage tabPage1; + private System.Windows.Forms.ToolStripSeparator toolStripMenuItem2; + private System.Windows.Forms.ToolStripMenuItem 라인코드관리ToolStripMenuItem; + private System.Windows.Forms.ToolStripContainer toolStripContainer1; } } diff --git a/Project/fMain.cs b/Project/fMain.cs index f4aadf6..eacf2a1 100644 --- a/Project/fMain.cs +++ b/Project/fMain.cs @@ -18,7 +18,7 @@ namespace Project InitializeComponent(); this.KeyDown += (s1, e1) => { - if (e1.KeyCode == Keys.F12) btSetting.PerformClick(); + if (e1.KeyCode == Keys.F12) btSetting.PerformClick(); else if (e1.KeyCode == Keys.F11) btLog.PerformClick(); else if (e1.KeyCode == Keys.F1 && e1.Control && e1.Shift) { @@ -73,15 +73,15 @@ namespace Project else this.WindowState = FormWindowState.Normal; this.Show(); Application.DoEvents(); - + Pub.barcode = new Device.Barcode(); if (!Pub.setting.Barcode.isEmpty()) Pub.barcode.PortName = Pub.setting.Barcode; Pub.barcode.ReceiveData += barcode_ReceiveData; UpdateControls(); - + tmDisplay.Start(); //display timer - + Dialog.fLogin flogIn = new Dialog.fLogin(); if (flogIn.ShowDialog() != System.Windows.Forms.DialogResult.OK) @@ -91,13 +91,13 @@ namespace Project sbLogin.Text = string.Format("[{0}] ({1}-{2} T:{3})", FCOMMON.info.Login.title, - FCOMMON.info.Login.no, + FCOMMON.info.Login.no, FCOMMON.info.Login.nameK, FCOMMON.info.Login.tel); Pub.log.Add("Program Start"); bw.RunWorkerAsync(); //background worker - if(Pub.setting.startForm == eFormList.NR구매관리) + if (Pub.setting.startForm == eFormList.NR구매관리) { menu_nrpurchase(); } @@ -112,13 +112,13 @@ namespace Project void barcode_ReceiveData(object sender, Device.Barcode.ReceiveDataEventArgs e) { #region "invoke" - if(this.InvokeRequired) + if (this.InvokeRequired) { - this.BeginInvoke( new EventHandler(barcode_ReceiveData),new object[]{sender,e} ); + this.BeginInvoke(new EventHandler(barcode_ReceiveData), new object[] { sender, e }); return; } #endregion - Pub.log.Add("BCD", "Rx:"+e.StrValue); + Pub.log.Add("BCD", "Rx:" + e.StrValue); } void Menu_Log() @@ -145,7 +145,7 @@ namespace Project void UpdateControls() { - + } @@ -161,14 +161,6 @@ namespace Project Menu_Log(); } - private void historyToolStripMenuItem_Click(object sender, EventArgs e) - { - - } - - private void modelToolStripMenuItem_Click(object sender, EventArgs e) - { - } private void listToolStripMenuItem_Click(object sender, EventArgs e) { @@ -176,15 +168,17 @@ namespace Project } void menu_work_report() { - var f = new FPJ0000.fJobReport(); - f.MdiParent = this; - f.Show(); + string formkey = "WORKBOOK"; + if (!ShowForm(formkey)) + AddForm(formkey, new FPJ0000.fJobReport()); + } void menu_projecT_list() { - var f = new FPJ0000.fProjectList(); - f.MdiParent = this; - f.Show(); + string formkey = "PROJECTS"; + if (!ShowForm(formkey)) + AddForm(formkey, new FPJ0000.fProjectList()); + } private void helpToolStripButton_Click(object sender, EventArgs e) @@ -194,95 +188,43 @@ namespace Project private void itemsToolStripMenuItem_Click(object sender, EventArgs e) { - var f = new FCM0000.fItems(); - f.MdiParent = this; - f.Show(); + string formkey = "ITEMS"; + if (!ShowForm(formkey)) + AddForm(formkey, new FCM0000.fItems()); } - private void inventoryToolStripMenuItem_Click(object sender, EventArgs e) - { - - } - - private void lineCodesToolStripMenuItem_Click(object sender, EventArgs e) - { - - - } - - private void equipmentToolStripMenuItem_Click(object sender, EventArgs e) - { - - } - - private void importEquipmentToolStripMenuItem_Click(object sender, EventArgs e) - { - - } - - private void equipmentReportToolStripMenuItem_Click(object sender, EventArgs e) - { - - } - - private void lineCodeToolStripMenuItem_Click(object sender, EventArgs e) - { - _Management.fLineCode f = new _Management.fLineCode(); - f.MdiParent = this; - f.Show(); - } private void staffGridToolStripMenuItem_Click(object sender, EventArgs e) { - _Info.fInfo_Staff f = new _Info.fInfo_Staff(); - f.MdiParent = this; - f.Show(); + string formkey = "STAFFGRID"; + if (!ShowForm(formkey)) + AddForm(formkey, new _Info.fInfo_Staff()); + } private void dataToolStripMenuItem_Click(object sender, EventArgs e) { - FEQ0000.fEquipment f = new FEQ0000.fEquipment(FEQ0000.fEquipment.eTabletype.BUMP); - f.MdiParent = this; - f.Show(); - } + string formkey = "EQBUMP"; + if (!ShowForm(formkey)) + AddForm(formkey, new FEQ0000.fEquipment(FEQ0000.fEquipment.eTabletype.BUMP)); - private void importToolStripMenuItem_Click(object sender, EventArgs e) - { - - } - - private void reportToolStripMenuItem_Click(object sender, EventArgs e) - { - } private void dataMoldEOLToolStripMenuItem_Click(object sender, EventArgs e) { - FEQ0000.fEquipment f = new FEQ0000.fEquipment(FEQ0000.fEquipment.eTabletype.MOLD); - f.MdiParent = this; - f.Show(); + string formkey = "EQMOLD"; + if (!ShowForm(formkey)) + AddForm(formkey, new FEQ0000.fEquipment(FEQ0000.fEquipment.eTabletype.MOLD)); + + } private void dataFOLToolStripMenuItem_Click(object sender, EventArgs e) { - var f = new FEQ0000.fEquipment(FEQ0000.fEquipment.eTabletype.FOL); - - f.MdiParent = this; - f.Show(); - } - private void userToolStripMenuItem_Click(object sender, EventArgs e) - { - - } - - private void codeToolStripMenuItem_Click(object sender, EventArgs e) - { - - } - - private void userInfoToolStripMenuItem_Click(object sender, EventArgs e) - { + string formkey = "EQFOL"; + if (!ShowForm(formkey)) + AddForm(formkey, new FEQ0000.fEquipment(FEQ0000.fEquipment.eTabletype.FOL)); } @@ -316,82 +258,76 @@ namespace Project private void personalInventoryToolStripMenuItem_Click(object sender, EventArgs e) { - var f = new FCM0000.fInventory(); - f.MdiParent = this; - f.Show(); + Menu_Inventory(); + } + + void Menu_Inventory() + { + string formkey = "INVENTORY"; + if (!ShowForm(formkey)) + AddForm(formkey, new FCM0000.fInventory()); } private void minutesToolStripMenuItem_Click(object sender, EventArgs e) { - var f = new FBS0000.fMinutes(); - f.MdiParent = this; - f.Show(); + + string formkey = "MINUTES"; + if (!ShowForm(formkey)) + AddForm(formkey, new FBS0000.fMinutes()); + + } private void holidayToolStripMenuItem_Click(object sender, EventArgs e) { - var f = new FBS0000.fHolyday(); - f.MdiParent = this; - f.Show(); + string formkey = "HOLYDAY"; + if (!ShowForm(formkey)) + AddForm(formkey, new FBS0000.fHolyday()); + } private void codesToolStripMenuItem_Click(object sender, EventArgs e) { var f = new FCM0000.fCode(); - //f.MdiParent = this; - f.Show(); + f.ShowDialog(); } private void mailFormToolStripMenuItem_Click(object sender, EventArgs e) { - FCM0000.fMailform f = new FCM0000.fMailform(); - f.MdiParent = this; - f.Show(); + string formkey = "MAILFORM"; + if (!ShowForm(formkey)) + AddForm(formkey, new FCM0000.fMailform()); + } private void requestITemToolStripMenuItem_Click(object sender, EventArgs e) { - var f = new FCM0000.fRequestItem(); - f.MdiParent = this; - f.Show(); + string formkey = "ITEMREQUEST"; + if (!ShowForm(formkey)) + AddForm(formkey, new FCM0000.fRequestItem()); + } private void toolStripButton1_Click(object sender, EventArgs e) { - if(FCOMMON.info.Login.level < 10) + if (FCOMMON.info.Login.level < 10) { FCOMMON.Util.MsgE("테스트 기능이므로 개발자만 사용가능 합니다."); return; } FCM0000.fSendMail f = new FCM0000.fSendMail(); - f.MdiParent = this; + //f.MdiParent = this; f.Show(); } - 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(); - } - } + + string formkey = "PUCHASE"; + if (!ShowForm(formkey)) + AddForm(formkey, new FEQ0000.fPurchase()); + + } private void nRPurchaseToolStripMenuItem_Click(object sender, EventArgs e) { @@ -401,22 +337,23 @@ namespace Project private void purchaseImportToolStripMenuItem_Click(object sender, EventArgs e) { var f = new FEQ0000.fPurchase_Import(); - f.MdiParent = this; + // f.MdiParent = this; f.Show(); } private void purchaseDataConvertToolStripMenuItem_Click(object sender, EventArgs e) { var f = new FEQ0000.fPurchase_Data(); - f.MdiParent = this; + // f.MdiParent = this; f.Show(); } private void customerToolStripMenuItem_Click(object sender, EventArgs e) { + string formkey = "CUSTOMS"; + if (!ShowForm(formkey)) + AddForm(formkey, new FCM0000.fCustoms()); var f = new FCM0000.fCustoms(); - f.MdiParent = this; - f.Show(); } private void toolStripButton2_Click(object sender, EventArgs e) @@ -432,21 +369,25 @@ namespace Project private void aDSUserListToolStripMenuItem_Click(object sender, EventArgs e) { - if(FCOMMON.info.Login.level < 10) + + + if (FCOMMON.info.Login.level < 10) { FCOMMON.Util.MsgE("개발자 이상 사용가능한 메뉴 입니다."); return; } - var f = new _Common.fADSUserList(); - f.MdiParent = this; - f.Show(); + + string formkey = "ADUSERS"; + if (!ShowForm(formkey)) + AddForm(formkey, new _Common.fADSUserList()); } private void myAccouserToolStripMenuItem_Click(object sender, EventArgs e) { - var f = new _Common.fUserList(); - f.MdiParent = this; - f.Show(); + string formkey = "USERS"; + if (!ShowForm(formkey)) + AddForm(formkey, new _Common.fUserList()); + } private void toolStripButton3_Click(object sender, EventArgs e) @@ -461,26 +402,62 @@ namespace Project private void toolStripButton4_Click(object sender, EventArgs e) { - var f = new FCM0000.fInventory(); - f.MdiParent = this; - f.Show(); + Menu_Inventory(); } private void customerImportToolStripMenuItem_Click(object sender, EventArgs e) { var f = new FCM0000.Customer_Import(); - f.MdiParent = this; + // f.MdiParent = this; f.Show(); } - private void staffToolStripMenuItem_Click(object sender, EventArgs e) + Boolean ShowForm(string key) + { + int tabIndex = this.tabControl1.TabPages.IndexOfKey(key); + if (tabIndex != -1) + { + this.tabControl1.SelectedIndex = tabIndex; + return true; + } + return false; + } + void AddForm(string key, Form f) + { + f.TopLevel = false; + f.Dock = DockStyle.Fill; + f.ControlBox = false; + f.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; + this.tabControl1.TabPages.Add(key, f.Text); + this.tabControl1.TabPages[this.tabControl1.TabPages.Count - 1].BorderStyle = BorderStyle.Fixed3D; + this.tabControl1.TabPages[this.tabControl1.TabPages.Count - 1].Padding = new Padding(10, 10, 10, 10); + this.tabControl1.TabPages[this.tabControl1.TabPages.Count - 1].BackColor = Color.LightGray; + this.tabControl1.TabPages[this.tabControl1.TabPages.Count - 1].ContextMenuStrip = this.cmTab; + this.tabControl1.TabPages[this.tabControl1.TabPages.Count - 1].Controls.Add(f); + this.tabControl1.SelectedIndex = this.tabControl1.TabPages.Count - 1; + f.Show(); + } + + private void 라인코드관리ToolStripMenuItem_Click(object sender, EventArgs e) + { + _Management.fLineCode f = new _Management.fLineCode(); + f.ShowDialog(); + } + + private void toolStripContainer1_ContentPanel_Load(object sender, EventArgs e) { } - private void 업체담당자ToolStripMenuItem_Click(object sender, EventArgs e) + private void tabControl1_DrawItem(object sender, DrawItemEventArgs e) { - + //e.Graphics.FillRectangle(Brushes.Red, e.Bounds); + e.DrawBackground(); + e.DrawFocusRectangle(); + e.Graphics.DrawString(this.tabControl1.TabPages[e.Index].Text, e.Font, new SolidBrush(e.ForeColor), e.Bounds); + var tabpos = this.PointToClient(new Point(tabControl1.Left, tabControl1.Top)); + e.Graphics.DrawString("X", this.Font, Brushes.Black, tabControl1.Right - 50, tabControl1.Top); } + } } diff --git a/Project/fMain.resx b/Project/fMain.resx index e391187..1f94481 100644 --- a/Project/fMain.resx +++ b/Project/fMain.resx @@ -126,7 +126,7 @@ 306, 17 - + 374, 17 @@ -154,15 +154,15 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 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== + +65pVS4WcH61y64pFW4qYAUwkDS/8lLi3KqLqZW9UUkVfXcYGP4zTq10sZ9S4f52U73Pr+nl7u8nV7q5 + Tq9zerWzPubPnAaXx3NKrXih2lFBanX9n5QZRW9K6rP/zFxZ8n/X7vr/03vz/tXX+/3bNb3w39dzrf/3 + T0n9ObvW4+iq0FBmqDYEiG/s+tyydtb/WSeX/u/bP+t/89YJ/8vXtP5PX1j5P35O+f+8xdX/G1bV/q+d + W/CraGLKsbjZ5TFQrRCQ1tJ5pXb+9P+7HuzFwNvv7v6/6srG/3NPL/s/4eDc/4kbe/7GzKt4C9UKAUnN + zYvje/t/wzT17JuJlQbhOaeW/U9eUHUBqhUCklpbU9Pr6//AFMXNKcNKgzDIFfHzyldDtUJASkeHTFpV + 3//t93YTNKB+++QfcXNKW6BaEcAroffvwuPrwIrweaF4TfvH2DllqVBtCJBY3/2ua918uEJseNOt7f+j + 51X+SJhZYQrVhgBJzR2n3Lta/ib153+H4ej5FT+i51fCceKUrJ/JC2r6oVpQQVpFX0ZqZd9WKJd0kFrW + q5tW3v4+parfACpEOsionXg4o7r+X2bNpP9plf0oOKNm4v/4+Im/c+qmYPcCCERX1f+Ys+7Q//T8/u9Q + ITjAJwcHmUDT4+Mn/M6undwDFYIDVDkGBgAM56GbRv3GrQAAAABJRU5ErkJggg== diff --git a/Sub/YARTE/Buttons/BoldButton.cs b/Sub/YARTE/Buttons/BoldButton.cs index ac2fbe9..5cf7dfa 100644 --- a/Sub/YARTE/Buttons/BoldButton.cs +++ b/Sub/YARTE/Buttons/BoldButton.cs @@ -1,36 +1,36 @@ -using System.Drawing; -using YARTE.Properties; - -namespace YARTE.UI.Buttons -{ - public class BoldButton : IHTMLEditorButton - { - public void IconClicked(HTMLEditorButtonArgs args) - { - args.Document.ExecCommand("Bold", false, null); - } - - public Image IconImage - { - get - { - return Resources.bold; - } - } - - public string IconName - { - get { return "Bold"; } - } - - public string IconTooltip - { - get { return "Bold"; } - } - - public string CommandIdentifier - { - get { return "Bold"; } - } - } +using System.Drawing; +using YARTE.Properties; + +namespace YARTE.UI.Buttons +{ + public class BoldButton : IHTMLEditorButton + { + public void IconClicked(HTMLEditorButtonArgs args) + { + args.Document.ExecCommand("Bold", false, null); + } + + public Image IconImage + { + get + { + return Resources.bold; + } + } + + public string IconName + { + get { return "Bold"; } + } + + public string IconTooltip + { + get { return "Bold"; } + } + + public string CommandIdentifier + { + get { return "Bold"; } + } + } } \ No newline at end of file diff --git a/Sub/YARTE/Buttons/ForecolorButton.cs b/Sub/YARTE/Buttons/ForecolorButton.cs index 5e18e3c..3de26e5 100644 --- a/Sub/YARTE/Buttons/ForecolorButton.cs +++ b/Sub/YARTE/Buttons/ForecolorButton.cs @@ -1,41 +1,41 @@ -using System.Drawing; -using System.Windows.Forms; -using YARTE.Properties; - -namespace YARTE.UI.Buttons -{ - public class ForecolorButton : IHTMLEditorButton - { - public void IconClicked(HTMLEditorButtonArgs args) - { - var colorPicker = new ColorDialog(); - var result = colorPicker.ShowDialog(); - if(result == DialogResult.OK) - { - var color = colorPicker.Color; - var hexcolor = ColorTranslator.ToHtml(color); - args.Document.ExecCommand("ForeColor", false, hexcolor); - } - } - - public Image IconImage - { - get { return Resources.fontforecolorpicker; } - } - - public string IconName - { - get { return "Color"; } - } - - public string IconTooltip - { - get { return "Color"; } - } - - public string CommandIdentifier - { - get { return "ForeColor"; } - } - } +using System.Drawing; +using System.Windows.Forms; +using YARTE.Properties; + +namespace YARTE.UI.Buttons +{ + public class ForecolorButton : IHTMLEditorButton + { + public void IconClicked(HTMLEditorButtonArgs args) + { + var colorPicker = new ColorDialog(); + var result = colorPicker.ShowDialog(); + if(result == DialogResult.OK) + { + var color = colorPicker.Color; + var hexcolor = ColorTranslator.ToHtml(color); + args.Document.ExecCommand("ForeColor", false, hexcolor); + } + } + + public Image IconImage + { + get { return Resources.fontforecolorpicker; } + } + + public string IconName + { + get { return "Color"; } + } + + public string IconTooltip + { + get { return "Color"; } + } + + public string CommandIdentifier + { + get { return "ForeColor"; } + } + } } \ No newline at end of file diff --git a/Sub/YARTE/Buttons/IHTMLEditorButton.cs b/Sub/YARTE/Buttons/IHTMLEditorButton.cs index 661aef3..f6906b5 100644 --- a/Sub/YARTE/Buttons/IHTMLEditorButton.cs +++ b/Sub/YARTE/Buttons/IHTMLEditorButton.cs @@ -1,26 +1,26 @@ -using System.Drawing; -using System.Windows.Forms; - -namespace YARTE.UI.Buttons -{ - public struct HTMLEditorButtonArgs - { - public HtmlDocument Document; - public HtmlEditor Editor; - } - - public interface IHTMLEditorButton - { - void IconClicked(HTMLEditorButtonArgs doc); - Image IconImage { get; } - string IconName { get; } - string IconTooltip { get; } - - /// - /// This is the string that will be used to poll the text area to determine if the cursor - /// is in a given area (say, 'Bold') and show the corresponding button as selected - /// Leave blank if there is no command or you have no idea what to put here - /// - string CommandIdentifier { get; } - } +using System.Drawing; +using System.Windows.Forms; + +namespace YARTE.UI.Buttons +{ + public struct HTMLEditorButtonArgs + { + public HtmlDocument Document; + public HtmlEditor Editor; + } + + public interface IHTMLEditorButton + { + void IconClicked(HTMLEditorButtonArgs doc); + Image IconImage { get; } + string IconName { get; } + string IconTooltip { get; } + + /// + /// This is the string that will be used to poll the text area to determine if the cursor + /// is in a given area (say, 'Bold') and show the corresponding button as selected + /// Leave blank if there is no command or you have no idea what to put here + /// + string CommandIdentifier { get; } + } } \ No newline at end of file diff --git a/Sub/YARTE/Buttons/InsertLinkedImageButton.cs b/Sub/YARTE/Buttons/InsertLinkedImageButton.cs index 14c0903..07371da 100644 --- a/Sub/YARTE/Buttons/InsertLinkedImageButton.cs +++ b/Sub/YARTE/Buttons/InsertLinkedImageButton.cs @@ -1,41 +1,41 @@ -using System.Drawing; -using Microsoft.VisualBasic; -using YARTE.Properties; - -namespace YARTE.UI.Buttons -{ - public class InsertLinkedImageButton : IHTMLEditorButton - { - public void IconClicked(HTMLEditorButtonArgs args) - { - var x = args.Editor.Location.X + 10; - var y = args.Editor.Location.Y + 10; - - var url = Interaction.InputBox("Please enter an image url", "URL", null, x, y); - if (!string.IsNullOrEmpty(url)) - { - args.Document.ExecCommand("InsertImage", false, url); - } - } - - public Image IconImage - { - get { return Resources.insertimage; } - } - - public string IconName - { - get { return "Linked image"; } - } - - public string IconTooltip - { - get { return "Linked image"; } - } - - public string CommandIdentifier - { - get { return "InsertImage"; } - } - } +using System.Drawing; +using Microsoft.VisualBasic; +using YARTE.Properties; + +namespace YARTE.UI.Buttons +{ + public class InsertLinkedImageButton : IHTMLEditorButton + { + public void IconClicked(HTMLEditorButtonArgs args) + { + var x = args.Editor.Location.X + 10; + var y = args.Editor.Location.Y + 10; + + var url = Interaction.InputBox("Please enter an image url", "URL", null, x, y); + if (!string.IsNullOrEmpty(url)) + { + args.Document.ExecCommand("InsertImage", false, url); + } + } + + public Image IconImage + { + get { return Resources.insertimage; } + } + + public string IconName + { + get { return "Linked image"; } + } + + public string IconTooltip + { + get { return "Linked image"; } + } + + public string CommandIdentifier + { + get { return "InsertImage"; } + } + } } \ No newline at end of file diff --git a/Sub/YARTE/Buttons/ItalicButton.cs b/Sub/YARTE/Buttons/ItalicButton.cs index 226bce9..ae0b180 100644 --- a/Sub/YARTE/Buttons/ItalicButton.cs +++ b/Sub/YARTE/Buttons/ItalicButton.cs @@ -1,35 +1,35 @@ -using System; -using System.Drawing; -using System.Windows.Forms; -using YARTE.Properties; - -namespace YARTE.UI.Buttons -{ - public class ItalicButton : IHTMLEditorButton - { - public void IconClicked(HTMLEditorButtonArgs args) - { - args.Document.ExecCommand("Italic", false, null); - } - - public Image IconImage - { - get { return Resources.italic; } - } - - public string IconName - { - get { return "Italic"; } - } - - public string IconTooltip - { - get { return "Italic"; } - } - - public string CommandIdentifier - { - get { return "Italic"; } - } - } +using System; +using System.Drawing; +using System.Windows.Forms; +using YARTE.Properties; + +namespace YARTE.UI.Buttons +{ + public class ItalicButton : IHTMLEditorButton + { + public void IconClicked(HTMLEditorButtonArgs args) + { + args.Document.ExecCommand("Italic", false, null); + } + + public Image IconImage + { + get { return Resources.italic; } + } + + public string IconName + { + get { return "Italic"; } + } + + public string IconTooltip + { + get { return "Italic"; } + } + + public string CommandIdentifier + { + get { return "Italic"; } + } + } } \ No newline at end of file diff --git a/Sub/YARTE/Buttons/JustifyCenterButton.cs b/Sub/YARTE/Buttons/JustifyCenterButton.cs index bcc91d2..e3c4c5c 100644 --- a/Sub/YARTE/Buttons/JustifyCenterButton.cs +++ b/Sub/YARTE/Buttons/JustifyCenterButton.cs @@ -1,33 +1,33 @@ -using System.Drawing; -using YARTE.Properties; - -namespace YARTE.UI.Buttons -{ - public class JustifyCenterButton : IHTMLEditorButton - { - public void IconClicked(HTMLEditorButtonArgs args) - { - args.Document.ExecCommand(CommandIdentifier, false, null); - } - - public Image IconImage - { - get { return Resources.justifycenter; } - } - - public string IconName - { - get { return "Justify center"; } - } - - public string IconTooltip - { - get { return "Justify center"; } - } - - public string CommandIdentifier - { - get { return "JustifyCenter"; } - } - } +using System.Drawing; +using YARTE.Properties; + +namespace YARTE.UI.Buttons +{ + public class JustifyCenterButton : IHTMLEditorButton + { + public void IconClicked(HTMLEditorButtonArgs args) + { + args.Document.ExecCommand(CommandIdentifier, false, null); + } + + public Image IconImage + { + get { return Resources.justifycenter; } + } + + public string IconName + { + get { return "Justify center"; } + } + + public string IconTooltip + { + get { return "Justify center"; } + } + + public string CommandIdentifier + { + get { return "JustifyCenter"; } + } + } } \ No newline at end of file diff --git a/Sub/YARTE/Buttons/JustifyLeftButton.cs b/Sub/YARTE/Buttons/JustifyLeftButton.cs index 4278adf..7accc0c 100644 --- a/Sub/YARTE/Buttons/JustifyLeftButton.cs +++ b/Sub/YARTE/Buttons/JustifyLeftButton.cs @@ -1,33 +1,33 @@ -using System.Drawing; -using YARTE.Properties; - -namespace YARTE.UI.Buttons -{ - public class JustifyLeftButton : IHTMLEditorButton - { - public void IconClicked(HTMLEditorButtonArgs args) - { - args.Document.ExecCommand(CommandIdentifier, false, null); - } - - public Image IconImage - { - get { return Resources.justifyleft; } - } - - public string IconName - { - get { return "Justify left"; } - } - - public string IconTooltip - { - get { return "Justify left"; } - } - - public string CommandIdentifier - { - get { return "JustifyLeft"; } - } - } +using System.Drawing; +using YARTE.Properties; + +namespace YARTE.UI.Buttons +{ + public class JustifyLeftButton : IHTMLEditorButton + { + public void IconClicked(HTMLEditorButtonArgs args) + { + args.Document.ExecCommand(CommandIdentifier, false, null); + } + + public Image IconImage + { + get { return Resources.justifyleft; } + } + + public string IconName + { + get { return "Justify left"; } + } + + public string IconTooltip + { + get { return "Justify left"; } + } + + public string CommandIdentifier + { + get { return "JustifyLeft"; } + } + } } \ No newline at end of file diff --git a/Sub/YARTE/Buttons/JustifyRightButton.cs b/Sub/YARTE/Buttons/JustifyRightButton.cs index 5103fc9..48d409e 100644 --- a/Sub/YARTE/Buttons/JustifyRightButton.cs +++ b/Sub/YARTE/Buttons/JustifyRightButton.cs @@ -1,33 +1,33 @@ -using System.Drawing; -using YARTE.Properties; - -namespace YARTE.UI.Buttons -{ - public class JustifyRightButton : IHTMLEditorButton - { - public void IconClicked(HTMLEditorButtonArgs args) - { - args.Document.ExecCommand(CommandIdentifier, false, null); - } - - public Image IconImage - { - get { return Resources.justifyright; } - } - - public string IconName - { - get { return "Justify right"; } - } - - public string IconTooltip - { - get { return "Justify right"; } - } - - public string CommandIdentifier - { - get { return "JustifyRight"; } - } - } +using System.Drawing; +using YARTE.Properties; + +namespace YARTE.UI.Buttons +{ + public class JustifyRightButton : IHTMLEditorButton + { + public void IconClicked(HTMLEditorButtonArgs args) + { + args.Document.ExecCommand(CommandIdentifier, false, null); + } + + public Image IconImage + { + get { return Resources.justifyright; } + } + + public string IconName + { + get { return "Justify right"; } + } + + public string IconTooltip + { + get { return "Justify right"; } + } + + public string CommandIdentifier + { + get { return "JustifyRight"; } + } + } } \ No newline at end of file diff --git a/Sub/YARTE/Buttons/LinkButton.cs b/Sub/YARTE/Buttons/LinkButton.cs index 5a72cca..cd1db4b 100644 --- a/Sub/YARTE/Buttons/LinkButton.cs +++ b/Sub/YARTE/Buttons/LinkButton.cs @@ -1,33 +1,33 @@ -using System.Drawing; -using YARTE.Properties; - -namespace YARTE.UI.Buttons -{ - public class LinkButton : IHTMLEditorButton - { - public void IconClicked(HTMLEditorButtonArgs args) - { - args.Document.ExecCommand("CreateLink", true, null); - } - - public Image IconImage - { - get { return Resources.createlink; } - } - - public string IconName - { - get { return "Create link"; } - } - - public string IconTooltip - { - get { return "Create link"; } - } - - public string CommandIdentifier - { - get { return "CreateLink"; } - } - } +using System.Drawing; +using YARTE.Properties; + +namespace YARTE.UI.Buttons +{ + public class LinkButton : IHTMLEditorButton + { + public void IconClicked(HTMLEditorButtonArgs args) + { + args.Document.ExecCommand("CreateLink", true, null); + } + + public Image IconImage + { + get { return Resources.createlink; } + } + + public string IconName + { + get { return "Create link"; } + } + + public string IconTooltip + { + get { return "Create link"; } + } + + public string CommandIdentifier + { + get { return "CreateLink"; } + } + } } \ No newline at end of file diff --git a/Sub/YARTE/Buttons/OrderedListButton.cs b/Sub/YARTE/Buttons/OrderedListButton.cs index 063dae7..0a0c130 100644 --- a/Sub/YARTE/Buttons/OrderedListButton.cs +++ b/Sub/YARTE/Buttons/OrderedListButton.cs @@ -1,34 +1,34 @@ -using System; -using System.Drawing; -using YARTE.Properties; - -namespace YARTE.UI.Buttons -{ - public class OrderedListButton : IHTMLEditorButton - { - public void IconClicked(HTMLEditorButtonArgs args) - { - args.Document.ExecCommand("InsertOrderedList", false, null); - } - - public Image IconImage - { - get { return Resources.numberedlist; } - } - - public string IconName - { - get { return "Ordered list"; } - } - - public string IconTooltip - { - get { return "Ordered list"; } - } - - public string CommandIdentifier - { - get { return "InsertOrderedList"; } - } - } +using System; +using System.Drawing; +using YARTE.Properties; + +namespace YARTE.UI.Buttons +{ + public class OrderedListButton : IHTMLEditorButton + { + public void IconClicked(HTMLEditorButtonArgs args) + { + args.Document.ExecCommand("InsertOrderedList", false, null); + } + + public Image IconImage + { + get { return Resources.numberedlist; } + } + + public string IconName + { + get { return "Ordered list"; } + } + + public string IconTooltip + { + get { return "Ordered list"; } + } + + public string CommandIdentifier + { + get { return "InsertOrderedList"; } + } + } } \ No newline at end of file diff --git a/Sub/YARTE/Buttons/PredefinedButtonSets.cs b/Sub/YARTE/Buttons/PredefinedButtonSets.cs index ccc4cde..e4d273a 100644 --- a/Sub/YARTE/Buttons/PredefinedButtonSets.cs +++ b/Sub/YARTE/Buttons/PredefinedButtonSets.cs @@ -1,31 +1,31 @@ -using System.Linq; - -namespace YARTE.UI.Buttons -{ - public static class PredefinedButtonSets - { - private static readonly string[] _webSafeFonts = new [] { "Courier New", "Times New Roman", "Georgia", "Arial", "Verdana"}; - - public static void SetupDefaultButtons(HtmlEditor editor) - { - editor.AddToolbarItem(new BoldButton()); - editor.AddToolbarItem(new ItalicButton()); - editor.AddFontSelector(_webSafeFonts); - editor.AddFontSizeSelector(Enumerable.Range(1,7)); - editor.AddToolbarDivider(); - editor.AddToolbarItem(new LinkButton()); - editor.AddToolbarItem(new UnlinkButton()); - editor.AddToolbarDivider(); - editor.AddToolbarItem(new InsertLinkedImageButton()); - editor.AddToolbarDivider(); - editor.AddToolbarItem(new OrderedListButton()); - editor.AddToolbarItem(new UnorderedListButton()); - editor.AddToolbarDivider(); - editor.AddToolbarItem(new ForecolorButton()); - editor.AddToolbarDivider(); - editor.AddToolbarItem(new JustifyLeftButton()); - editor.AddToolbarItem(new JustifyCenterButton()); - editor.AddToolbarItem(new JustifyRightButton()); - } - } +using System.Linq; + +namespace YARTE.UI.Buttons +{ + public static class PredefinedButtonSets + { + private static readonly string[] _webSafeFonts = new [] { "Courier New", "Times New Roman", "Georgia", "Arial", "Verdana"}; + + public static void SetupDefaultButtons(HtmlEditor editor) + { + editor.AddToolbarItem(new BoldButton()); + editor.AddToolbarItem(new ItalicButton()); + editor.AddFontSelector(_webSafeFonts); + editor.AddFontSizeSelector(Enumerable.Range(1,7)); + editor.AddToolbarDivider(); + editor.AddToolbarItem(new LinkButton()); + editor.AddToolbarItem(new UnlinkButton()); + editor.AddToolbarDivider(); + editor.AddToolbarItem(new InsertLinkedImageButton()); + editor.AddToolbarDivider(); + editor.AddToolbarItem(new OrderedListButton()); + editor.AddToolbarItem(new UnorderedListButton()); + editor.AddToolbarDivider(); + editor.AddToolbarItem(new ForecolorButton()); + editor.AddToolbarDivider(); + editor.AddToolbarItem(new JustifyLeftButton()); + editor.AddToolbarItem(new JustifyCenterButton()); + editor.AddToolbarItem(new JustifyRightButton()); + } + } } \ No newline at end of file diff --git a/Sub/YARTE/Buttons/UnderlineButton.cs b/Sub/YARTE/Buttons/UnderlineButton.cs index c6a0996..84e87be 100644 --- a/Sub/YARTE/Buttons/UnderlineButton.cs +++ b/Sub/YARTE/Buttons/UnderlineButton.cs @@ -1,34 +1,34 @@ -using System; -using System.Drawing; -using YARTE.Properties; - -namespace YARTE.UI.Buttons -{ - public class UnderlineButton : IHTMLEditorButton - { - public void IconClicked(HTMLEditorButtonArgs args) - { - args.Document.ExecCommand("Underline", false, null); - } - - public Image IconImage - { - get { return Resources.underline; } - } - - public string IconName - { - get { return "Underline"; } - } - - public string IconTooltip - { - get { return "Underline"; } - } - - public string CommandIdentifier - { - get { return "Underline"; } - } - } +using System; +using System.Drawing; +using YARTE.Properties; + +namespace YARTE.UI.Buttons +{ + public class UnderlineButton : IHTMLEditorButton + { + public void IconClicked(HTMLEditorButtonArgs args) + { + args.Document.ExecCommand("Underline", false, null); + } + + public Image IconImage + { + get { return Resources.underline; } + } + + public string IconName + { + get { return "Underline"; } + } + + public string IconTooltip + { + get { return "Underline"; } + } + + public string CommandIdentifier + { + get { return "Underline"; } + } + } } \ No newline at end of file diff --git a/Sub/YARTE/Buttons/UnlinkButton.cs b/Sub/YARTE/Buttons/UnlinkButton.cs index 1d0d455..ac13cad 100644 --- a/Sub/YARTE/Buttons/UnlinkButton.cs +++ b/Sub/YARTE/Buttons/UnlinkButton.cs @@ -1,33 +1,33 @@ -using System.Drawing; -using YARTE.Properties; - -namespace YARTE.UI.Buttons -{ - public class UnlinkButton : IHTMLEditorButton - { - public void IconClicked(HTMLEditorButtonArgs args) - { - args.Document.ExecCommand("Unlink", false, null); - } - - public Image IconImage - { - get { return Resources.unlink; } - } - - public string IconName - { - get { return "Unlink"; } - } - - public string IconTooltip - { - get { return "Unlink"; } - } - - public string CommandIdentifier - { - get { return "Unlink"; } - } - } +using System.Drawing; +using YARTE.Properties; + +namespace YARTE.UI.Buttons +{ + public class UnlinkButton : IHTMLEditorButton + { + public void IconClicked(HTMLEditorButtonArgs args) + { + args.Document.ExecCommand("Unlink", false, null); + } + + public Image IconImage + { + get { return Resources.unlink; } + } + + public string IconName + { + get { return "Unlink"; } + } + + public string IconTooltip + { + get { return "Unlink"; } + } + + public string CommandIdentifier + { + get { return "Unlink"; } + } + } } \ No newline at end of file diff --git a/Sub/YARTE/Buttons/UnorderedListButton.cs b/Sub/YARTE/Buttons/UnorderedListButton.cs index 7b22c4f..ed8edb2 100644 --- a/Sub/YARTE/Buttons/UnorderedListButton.cs +++ b/Sub/YARTE/Buttons/UnorderedListButton.cs @@ -1,33 +1,33 @@ -using System.Drawing; -using YARTE.Properties; - -namespace YARTE.UI.Buttons -{ - public class UnorderedListButton : IHTMLEditorButton - { - public void IconClicked(HTMLEditorButtonArgs args) - { - args.Document.ExecCommand("InsertUnorderedList", false, null); - } - - public Image IconImage - { - get { return Resources.bulletedlist; } - } - - public string IconName - { - get { return "Unordered list"; } - } - - public string IconTooltip - { - get { return "Unordered list"; } - } - - public string CommandIdentifier - { - get { return "InsertUnorderedList"; } - } - } +using System.Drawing; +using YARTE.Properties; + +namespace YARTE.UI.Buttons +{ + public class UnorderedListButton : IHTMLEditorButton + { + public void IconClicked(HTMLEditorButtonArgs args) + { + args.Document.ExecCommand("InsertUnorderedList", false, null); + } + + public Image IconImage + { + get { return Resources.bulletedlist; } + } + + public string IconName + { + get { return "Unordered list"; } + } + + public string IconTooltip + { + get { return "Unordered list"; } + } + + public string CommandIdentifier + { + get { return "InsertUnorderedList"; } + } + } } \ No newline at end of file diff --git a/Sub/YARTE/HTMLEditor.Designer.cs b/Sub/YARTE/HTMLEditor.Designer.cs index 94197b6..57b9d44 100644 --- a/Sub/YARTE/HTMLEditor.Designer.cs +++ b/Sub/YARTE/HTMLEditor.Designer.cs @@ -1,76 +1,76 @@ -namespace YARTE.UI -{ - partial class HtmlEditor - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Component Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - this.components = new System.ComponentModel.Container(); - this.textWebBrowser = new System.Windows.Forms.WebBrowser(); - this.editcontrolsToolStrip = new System.Windows.Forms.ToolStrip(); - this.updateToolBarTimer = new System.Windows.Forms.Timer(this.components); - this.SuspendLayout(); - // - // textWebBrowser - // - this.textWebBrowser.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.textWebBrowser.Location = new System.Drawing.Point(0, 28); - this.textWebBrowser.MinimumSize = new System.Drawing.Size(20, 20); - this.textWebBrowser.Name = "textWebBrowser"; - this.textWebBrowser.Size = new System.Drawing.Size(557, 443); - this.textWebBrowser.TabIndex = 0; - // - // editcontrolsToolStrip - // - this.editcontrolsToolStrip.Location = new System.Drawing.Point(0, 0); - this.editcontrolsToolStrip.Name = "editcontrolsToolStrip"; - this.editcontrolsToolStrip.Size = new System.Drawing.Size(557, 25); - this.editcontrolsToolStrip.TabIndex = 1; - this.editcontrolsToolStrip.Text = "editcontrolsToolStrip"; - // - // HtmlEditor - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.Controls.Add(this.editcontrolsToolStrip); - this.Controls.Add(this.textWebBrowser); - this.Name = "HtmlEditor"; - this.Size = new System.Drawing.Size(557, 474); - this.ContextMenuStripChanged += new System.EventHandler(this.HtmlEditor_ContextMenuStripChanged); - this.ResumeLayout(false); - this.PerformLayout(); - - } - - #endregion - - private System.Windows.Forms.WebBrowser textWebBrowser; - private System.Windows.Forms.ToolStrip editcontrolsToolStrip; - private System.Windows.Forms.Timer updateToolBarTimer; - } -} +namespace YARTE.UI +{ + partial class HtmlEditor + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Component Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + this.textWebBrowser = new System.Windows.Forms.WebBrowser(); + this.editcontrolsToolStrip = new System.Windows.Forms.ToolStrip(); + this.updateToolBarTimer = new System.Windows.Forms.Timer(this.components); + this.SuspendLayout(); + // + // textWebBrowser + // + this.textWebBrowser.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.textWebBrowser.Location = new System.Drawing.Point(0, 28); + this.textWebBrowser.MinimumSize = new System.Drawing.Size(20, 20); + this.textWebBrowser.Name = "textWebBrowser"; + this.textWebBrowser.Size = new System.Drawing.Size(557, 443); + this.textWebBrowser.TabIndex = 0; + // + // editcontrolsToolStrip + // + this.editcontrolsToolStrip.Location = new System.Drawing.Point(0, 0); + this.editcontrolsToolStrip.Name = "editcontrolsToolStrip"; + this.editcontrolsToolStrip.Size = new System.Drawing.Size(557, 25); + this.editcontrolsToolStrip.TabIndex = 1; + this.editcontrolsToolStrip.Text = "editcontrolsToolStrip"; + // + // HtmlEditor + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Controls.Add(this.editcontrolsToolStrip); + this.Controls.Add(this.textWebBrowser); + this.Name = "HtmlEditor"; + this.Size = new System.Drawing.Size(557, 474); + this.ContextMenuStripChanged += new System.EventHandler(this.HtmlEditor_ContextMenuStripChanged); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.WebBrowser textWebBrowser; + private System.Windows.Forms.ToolStrip editcontrolsToolStrip; + private System.Windows.Forms.Timer updateToolBarTimer; + } +} diff --git a/Sub/YARTE/HTMLEditor.resx b/Sub/YARTE/HTMLEditor.resx index 6895ab4..a7505a5 100644 --- a/Sub/YARTE/HTMLEditor.resx +++ b/Sub/YARTE/HTMLEditor.resx @@ -1,126 +1,126 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 17, 17 - - - 183, 17 - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 17, 17 + + + 183, 17 + \ No newline at end of file diff --git a/Sub/YARTE/HtmlEditor.cs b/Sub/YARTE/HtmlEditor.cs index bd05505..1411001 100644 --- a/Sub/YARTE/HtmlEditor.cs +++ b/Sub/YARTE/HtmlEditor.cs @@ -1,259 +1,259 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Windows.Forms; -using mshtml; -using YARTE.UI.Buttons; - -namespace YARTE.UI -{ - public partial class HtmlEditor : UserControl - { - private readonly HtmlDocument _doc; - private readonly IList _customButtons; - - public HtmlEditor() - { - InitializeComponent(); - - InitializeWebBrowserAsEditor(); - - _doc = textWebBrowser.Document; - _customButtons = new List(); - - updateToolBarTimer.Start(); - updateToolBarTimer.Tick += updateToolBarTimer_Tick; - } - - public void AddFontSizeSelector(IEnumerable fontSizes) - { - if (fontSizes.Min() < 1 || fontSizes.Max() > 7) - { - throw new ArgumentException("Allowable font sizes are 1 through 7"); - } - - var fontSizeBox = new ToolStripComboBox(); - fontSizeBox.Items.AddRange(fontSizes.Select(f => f.ToString()).ToArray()); - fontSizeBox.Name = "fontSizeSelector"; - fontSizeBox.Size = new System.Drawing.Size(25, 25); - fontSizeBox.SelectedIndexChanged += (sender, o) => - { - var size = ((ToolStripComboBox)sender).SelectedItem; - _doc.ExecCommand("FontSize", false, size); - }; - fontSizeBox.DropDownStyle = ComboBoxStyle.DropDownList; - - this.AddToolbarItem(fontSizeBox); - } - - public void AddFontSelector(IEnumerable fontNames) - { - var dropDown = new ToolStripDropDownButton(); - foreach(var fontName in fontNames) - { - dropDown.DropDownItems.Add(GetFontDropDownItem(fontName)); - } - dropDown.ImageTransparentColor = System.Drawing.Color.Magenta; - dropDown.Name = "Font"; - dropDown.Size = new System.Drawing.Size(29, 22); - dropDown.Text = "Font"; - - this.AddToolbarItem(dropDown); - } - - private ToolStripItem GetFontDropDownItem(string fontName) - { - var dropDownItem = new ToolStripMenuItem(); - dropDownItem.Font = new System.Drawing.Font(fontName, 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0); - dropDownItem.Name = "fontMenuItem" + Guid.NewGuid(); - dropDownItem.Size = new System.Drawing.Size(173, 22); - dropDownItem.Text = fontName; - dropDownItem.Click += (sender, e) => _doc.ExecCommand("FontName", false, fontName); - return dropDownItem; - } - - public void AddToolbarItem(ToolStripItem toolStripItem) - { - editcontrolsToolStrip.Items.Add(toolStripItem); - } - - public void AddToolbarItems(IEnumerable toolStripItems) - { - foreach (var stripItem in toolStripItems) - { - editcontrolsToolStrip.Items.Add(stripItem); - } - } - - public void AddToolbarItem(IHTMLEditorButton toolbarItem) - { - _customButtons.Add(toolbarItem); - editcontrolsToolStrip.Items.Add(CreateButton(toolbarItem)); - } - - public void AddToolbarItems(IEnumerable toolbarItems) - { - foreach (var toolbarItem in toolbarItems) - { - AddToolbarItem(toolbarItem); - } - } - - public void AddToolbarDivider() - { - var divider = new ToolStripSeparator(); - divider.Size = new System.Drawing.Size(6, 25); - editcontrolsToolStrip.Items.Add(divider); - } - - private ToolStripItem CreateButton(IHTMLEditorButton toolbarItem) - { - var toolStripButton = new ToolStripButton(); - toolStripButton.DisplayStyle = ToolStripItemDisplayStyle.Image; - toolStripButton.Image = toolbarItem.IconImage; - toolStripButton.ImageScaling = ToolStripItemImageScaling.None; - toolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta; - toolStripButton.Name = toolbarItem.IconName; - toolStripButton.Size = new System.Drawing.Size(25, 24); - toolStripButton.Text = toolbarItem.IconTooltip; - - var args = new HTMLEditorButtonArgs(); - args.Document = _doc; - args.Editor = this; - - IHTMLEditorButton button = toolbarItem; - toolStripButton.Click += (sender, o) => button.IconClicked(args); - - return toolStripButton; - } - - public bool ReadOnly - { - get - { - if (textWebBrowser.Document != null) - { - var doc = textWebBrowser.Document.DomDocument as IHTMLDocument2; - if (doc != null) - { - return doc.designMode != "On"; - } - } - return false; - } - set - { - if (textWebBrowser.Document != null) - { - var designMode = value ? "Off" : "On"; - var doc = textWebBrowser.Document.DomDocument as IHTMLDocument2; - if (doc != null) doc.designMode = designMode; - } - } - } - - public bool ShowToolbar - { - get - { - if (editcontrolsToolStrip != null) - { - return editcontrolsToolStrip.Visible; - } - return true; - } - set { editcontrolsToolStrip.Visible = value; } - } - - private void updateToolBarTimer_Tick(object sender, System.EventArgs e) - { - CheckCommandStateChanges(); - } - - private void InitializeWebBrowserAsEditor() - { - // It is necessary to add a body to the control before you can apply changes to the DOM document - textWebBrowser.DocumentText = ""; - if (textWebBrowser.Document != null) - { - var doc = textWebBrowser.Document.DomDocument as IHTMLDocument2; - if (doc != null) doc.designMode = "On"; - - // replace the context menu for the web browser control so the default IE browser context menu doesn't show up - textWebBrowser.IsWebBrowserContextMenuEnabled = false; - if (this.ContextMenuStrip == null) - { - textWebBrowser.Document.ContextMenuShowing += (sender, e) => { ; }; - } - } - } - - void Document_ContextMenuShowing(object sender, HtmlElementEventArgs e) - { - this.ContextMenuStrip.Show(this, this.PointToClient(Cursor.Position)); - } - - public string Html - { - get - { - return textWebBrowser.DocumentText; - } - set - { - if (textWebBrowser.Document != null) - { - // updating this way avoids an alert box - var doc = textWebBrowser.Document.DomDocument as IHTMLDocument2; - if (doc != null) - { - doc.write(value); - doc.close(); - } - } - } - } - - public string InsertTextAtCursor - { - set { _doc.ExecCommand("Paste", false, value); } - } - - private void CheckCommandStateChanges() - { - var doc = (IHTMLDocument2)_doc.DomDocument; - - var commands = _customButtons.Select(c => c.CommandIdentifier).Where(c => !string.IsNullOrEmpty(c)); - - foreach (var command in commands) - { - var button = (ToolStripButton)editcontrolsToolStrip.Items[command]; - - if (button == null) continue; - - if (doc.queryCommandState(command)) - { - if (button.CheckState != CheckState.Checked) - { - button.Checked = true; - } - } - else - { - if (button.CheckState == CheckState.Checked) - { - button.Checked = false; - } - } - } - } - - private void HtmlEditor_ContextMenuStripChanged(object sender, System.EventArgs e) - { - if (textWebBrowser.Document != null) - { - textWebBrowser.Document.ContextMenuShowing += Document_ContextMenuShowing; - } - } - } -} +using System; +using System.Collections.Generic; +using System.Linq; +using System.Windows.Forms; +using mshtml; +using YARTE.UI.Buttons; + +namespace YARTE.UI +{ + public partial class HtmlEditor : UserControl + { + private readonly HtmlDocument _doc; + private readonly IList _customButtons; + + public HtmlEditor() + { + InitializeComponent(); + + InitializeWebBrowserAsEditor(); + + _doc = textWebBrowser.Document; + _customButtons = new List(); + + updateToolBarTimer.Start(); + updateToolBarTimer.Tick += updateToolBarTimer_Tick; + } + + public void AddFontSizeSelector(IEnumerable fontSizes) + { + if (fontSizes.Min() < 1 || fontSizes.Max() > 7) + { + throw new ArgumentException("Allowable font sizes are 1 through 7"); + } + + var fontSizeBox = new ToolStripComboBox(); + fontSizeBox.Items.AddRange(fontSizes.Select(f => f.ToString()).ToArray()); + fontSizeBox.Name = "fontSizeSelector"; + fontSizeBox.Size = new System.Drawing.Size(25, 25); + fontSizeBox.SelectedIndexChanged += (sender, o) => + { + var size = ((ToolStripComboBox)sender).SelectedItem; + _doc.ExecCommand("FontSize", false, size); + }; + fontSizeBox.DropDownStyle = ComboBoxStyle.DropDownList; + + this.AddToolbarItem(fontSizeBox); + } + + public void AddFontSelector(IEnumerable fontNames) + { + var dropDown = new ToolStripDropDownButton(); + foreach(var fontName in fontNames) + { + dropDown.DropDownItems.Add(GetFontDropDownItem(fontName)); + } + dropDown.ImageTransparentColor = System.Drawing.Color.Magenta; + dropDown.Name = "Font"; + dropDown.Size = new System.Drawing.Size(29, 22); + dropDown.Text = "Font"; + + this.AddToolbarItem(dropDown); + } + + private ToolStripItem GetFontDropDownItem(string fontName) + { + var dropDownItem = new ToolStripMenuItem(); + dropDownItem.Font = new System.Drawing.Font(fontName, 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0); + dropDownItem.Name = "fontMenuItem" + Guid.NewGuid(); + dropDownItem.Size = new System.Drawing.Size(173, 22); + dropDownItem.Text = fontName; + dropDownItem.Click += (sender, e) => _doc.ExecCommand("FontName", false, fontName); + return dropDownItem; + } + + public void AddToolbarItem(ToolStripItem toolStripItem) + { + editcontrolsToolStrip.Items.Add(toolStripItem); + } + + public void AddToolbarItems(IEnumerable toolStripItems) + { + foreach (var stripItem in toolStripItems) + { + editcontrolsToolStrip.Items.Add(stripItem); + } + } + + public void AddToolbarItem(IHTMLEditorButton toolbarItem) + { + _customButtons.Add(toolbarItem); + editcontrolsToolStrip.Items.Add(CreateButton(toolbarItem)); + } + + public void AddToolbarItems(IEnumerable toolbarItems) + { + foreach (var toolbarItem in toolbarItems) + { + AddToolbarItem(toolbarItem); + } + } + + public void AddToolbarDivider() + { + var divider = new ToolStripSeparator(); + divider.Size = new System.Drawing.Size(6, 25); + editcontrolsToolStrip.Items.Add(divider); + } + + private ToolStripItem CreateButton(IHTMLEditorButton toolbarItem) + { + var toolStripButton = new ToolStripButton(); + toolStripButton.DisplayStyle = ToolStripItemDisplayStyle.Image; + toolStripButton.Image = toolbarItem.IconImage; + toolStripButton.ImageScaling = ToolStripItemImageScaling.None; + toolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta; + toolStripButton.Name = toolbarItem.IconName; + toolStripButton.Size = new System.Drawing.Size(25, 24); + toolStripButton.Text = toolbarItem.IconTooltip; + + var args = new HTMLEditorButtonArgs(); + args.Document = _doc; + args.Editor = this; + + IHTMLEditorButton button = toolbarItem; + toolStripButton.Click += (sender, o) => button.IconClicked(args); + + return toolStripButton; + } + + public bool ReadOnly + { + get + { + if (textWebBrowser.Document != null) + { + var doc = textWebBrowser.Document.DomDocument as IHTMLDocument2; + if (doc != null) + { + return doc.designMode != "On"; + } + } + return false; + } + set + { + if (textWebBrowser.Document != null) + { + var designMode = value ? "Off" : "On"; + var doc = textWebBrowser.Document.DomDocument as IHTMLDocument2; + if (doc != null) doc.designMode = designMode; + } + } + } + + public bool ShowToolbar + { + get + { + if (editcontrolsToolStrip != null) + { + return editcontrolsToolStrip.Visible; + } + return true; + } + set { editcontrolsToolStrip.Visible = value; } + } + + private void updateToolBarTimer_Tick(object sender, System.EventArgs e) + { + CheckCommandStateChanges(); + } + + private void InitializeWebBrowserAsEditor() + { + // It is necessary to add a body to the control before you can apply changes to the DOM document + textWebBrowser.DocumentText = ""; + if (textWebBrowser.Document != null) + { + var doc = textWebBrowser.Document.DomDocument as IHTMLDocument2; + if (doc != null) doc.designMode = "On"; + + // replace the context menu for the web browser control so the default IE browser context menu doesn't show up + textWebBrowser.IsWebBrowserContextMenuEnabled = false; + if (this.ContextMenuStrip == null) + { + textWebBrowser.Document.ContextMenuShowing += (sender, e) => { ; }; + } + } + } + + void Document_ContextMenuShowing(object sender, HtmlElementEventArgs e) + { + this.ContextMenuStrip.Show(this, this.PointToClient(Cursor.Position)); + } + + public string Html + { + get + { + return textWebBrowser.DocumentText; + } + set + { + if (textWebBrowser.Document != null) + { + // updating this way avoids an alert box + var doc = textWebBrowser.Document.DomDocument as IHTMLDocument2; + if (doc != null) + { + doc.write(value); + doc.close(); + } + } + } + } + + public string InsertTextAtCursor + { + set { _doc.ExecCommand("Paste", false, value); } + } + + private void CheckCommandStateChanges() + { + var doc = (IHTMLDocument2)_doc.DomDocument; + + var commands = _customButtons.Select(c => c.CommandIdentifier).Where(c => !string.IsNullOrEmpty(c)); + + foreach (var command in commands) + { + var button = (ToolStripButton)editcontrolsToolStrip.Items[command]; + + if (button == null) continue; + + if (doc.queryCommandState(command)) + { + if (button.CheckState != CheckState.Checked) + { + button.Checked = true; + } + } + else + { + if (button.CheckState == CheckState.Checked) + { + button.Checked = false; + } + } + } + } + + private void HtmlEditor_ContextMenuStripChanged(object sender, System.EventArgs e) + { + if (textWebBrowser.Document != null) + { + textWebBrowser.Document.ContextMenuShowing += Document_ContextMenuShowing; + } + } + } +} diff --git a/Sub/YARTE/Properties/AssemblyInfo.cs b/Sub/YARTE/Properties/AssemblyInfo.cs index ed6ddac..23d9c94 100644 --- a/Sub/YARTE/Properties/AssemblyInfo.cs +++ b/Sub/YARTE/Properties/AssemblyInfo.cs @@ -1,36 +1,36 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("YARTE")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("YARTE")] -[assembly: AssemblyCopyright("Copyright © 2010")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("9c0b69ac-03c8-4195-94e9-3aac5aeddd8b")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("YARTE")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("YARTE")] +[assembly: AssemblyCopyright("Copyright © 2010")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("9c0b69ac-03c8-4195-94e9-3aac5aeddd8b")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Sub/YARTE/Properties/Resources.Designer.cs b/Sub/YARTE/Properties/Resources.Designer.cs index 097cc7d..ff66d06 100644 --- a/Sub/YARTE/Properties/Resources.Designer.cs +++ b/Sub/YARTE/Properties/Resources.Designer.cs @@ -1,441 +1,441 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.1 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace YARTE.Properties { - using System; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resources { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Resources() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("YARTE.Properties.Resources", typeof(Resources).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - internal static System.Drawing.Bitmap bold { - get { - object obj = ResourceManager.GetObject("bold", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - internal static System.Drawing.Bitmap bulletedlist { - get { - object obj = ResourceManager.GetObject("bulletedlist", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - internal static System.Drawing.Bitmap copy { - get { - object obj = ResourceManager.GetObject("copy", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - internal static System.Drawing.Bitmap createlink { - get { - object obj = ResourceManager.GetObject("createlink", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - internal static System.Drawing.Bitmap cut { - get { - object obj = ResourceManager.GetObject("cut", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - internal static System.Drawing.Bitmap delete { - get { - object obj = ResourceManager.GetObject("delete", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - internal static System.Drawing.Bitmap deletetablecolumn { - get { - object obj = ResourceManager.GetObject("deletetablecolumn", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - internal static System.Drawing.Bitmap deletetablerow { - get { - object obj = ResourceManager.GetObject("deletetablerow", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - internal static System.Drawing.Bitmap editstyle { - get { - object obj = ResourceManager.GetObject("editstyle", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - internal static System.Drawing.Bitmap edittable { - get { - object obj = ResourceManager.GetObject("edittable", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - internal static System.Drawing.Bitmap fontbackcolorpicker { - get { - object obj = ResourceManager.GetObject("fontbackcolorpicker", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - internal static System.Drawing.Bitmap fontforecolorpicker { - get { - object obj = ResourceManager.GetObject("fontforecolorpicker", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - internal static System.Drawing.Bitmap iespellcheck { - get { - object obj = ResourceManager.GetObject("iespellcheck", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - internal static System.Drawing.Bitmap indent { - get { - object obj = ResourceManager.GetObject("indent", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - internal static System.Drawing.Bitmap insertbutton { - get { - object obj = ResourceManager.GetObject("insertbutton", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - internal static System.Drawing.Bitmap insertcheckbox { - get { - object obj = ResourceManager.GetObject("insertcheckbox", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - internal static System.Drawing.Bitmap insertdate { - get { - object obj = ResourceManager.GetObject("insertdate", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - internal static System.Drawing.Bitmap insertdiv { - get { - object obj = ResourceManager.GetObject("insertdiv", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - internal static System.Drawing.Bitmap insertdropdownlist { - get { - object obj = ResourceManager.GetObject("insertdropdownlist", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - internal static System.Drawing.Bitmap insertform { - get { - object obj = ResourceManager.GetObject("insertform", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - internal static System.Drawing.Bitmap insertimage { - get { - object obj = ResourceManager.GetObject("insertimage", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - internal static System.Drawing.Bitmap insertimagefromgallery { - get { - object obj = ResourceManager.GetObject("insertimagefromgallery", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - internal static System.Drawing.Bitmap insertradiobutton { - get { - object obj = ResourceManager.GetObject("insertradiobutton", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - internal static System.Drawing.Bitmap insertrule { - get { - object obj = ResourceManager.GetObject("insertrule", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - internal static System.Drawing.Bitmap inserttable { - get { - object obj = ResourceManager.GetObject("inserttable", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - internal static System.Drawing.Bitmap inserttablecolumnafter { - get { - object obj = ResourceManager.GetObject("inserttablecolumnafter", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - internal static System.Drawing.Bitmap inserttablecolumnbefore { - get { - object obj = ResourceManager.GetObject("inserttablecolumnbefore", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - internal static System.Drawing.Bitmap inserttablerowafter { - get { - object obj = ResourceManager.GetObject("inserttablerowafter", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - internal static System.Drawing.Bitmap inserttablerowbefore { - get { - object obj = ResourceManager.GetObject("inserttablerowbefore", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - internal static System.Drawing.Bitmap inserttextarea { - get { - object obj = ResourceManager.GetObject("inserttextarea", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - internal static System.Drawing.Bitmap inserttextbox { - get { - object obj = ResourceManager.GetObject("inserttextbox", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - internal static System.Drawing.Bitmap inserttime { - get { - object obj = ResourceManager.GetObject("inserttime", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - internal static System.Drawing.Bitmap italic { - get { - object obj = ResourceManager.GetObject("italic", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - internal static System.Drawing.Bitmap justifycenter { - get { - object obj = ResourceManager.GetObject("justifycenter", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - internal static System.Drawing.Bitmap justifyfull { - get { - object obj = ResourceManager.GetObject("justifyfull", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - internal static System.Drawing.Bitmap justifyleft { - get { - object obj = ResourceManager.GetObject("justifyleft", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - internal static System.Drawing.Bitmap justifyright { - get { - object obj = ResourceManager.GetObject("justifyright", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - internal static System.Drawing.Bitmap netspell { - get { - object obj = ResourceManager.GetObject("netspell", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - internal static System.Drawing.Bitmap numberedlist { - get { - object obj = ResourceManager.GetObject("numberedlist", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - internal static System.Drawing.Bitmap outdent { - get { - object obj = ResourceManager.GetObject("outdent", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - internal static System.Drawing.Bitmap paste { - get { - object obj = ResourceManager.GetObject("paste", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - internal static System.Drawing.Bitmap preview { - get { - object obj = ResourceManager.GetObject("preview", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - internal static System.Drawing.Bitmap print { - get { - object obj = ResourceManager.GetObject("print", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - internal static System.Drawing.Bitmap redo { - get { - object obj = ResourceManager.GetObject("redo", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - internal static System.Drawing.Bitmap removeformat { - get { - object obj = ResourceManager.GetObject("removeformat", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - internal static System.Drawing.Bitmap save { - get { - object obj = ResourceManager.GetObject("save", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - internal static System.Drawing.Bitmap selectall { - get { - object obj = ResourceManager.GetObject("selectall", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - internal static System.Drawing.Bitmap strikethrough { - get { - object obj = ResourceManager.GetObject("strikethrough", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - internal static System.Drawing.Bitmap subscript { - get { - object obj = ResourceManager.GetObject("subscript", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - internal static System.Drawing.Bitmap superscript { - get { - object obj = ResourceManager.GetObject("superscript", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - internal static System.Drawing.Bitmap underline { - get { - object obj = ResourceManager.GetObject("underline", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - internal static System.Drawing.Bitmap undo { - get { - object obj = ResourceManager.GetObject("undo", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - internal static System.Drawing.Bitmap unlink { - get { - object obj = ResourceManager.GetObject("unlink", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - internal static System.Drawing.Bitmap wordclean { - get { - object obj = ResourceManager.GetObject("wordclean", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - } -} +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.1 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace YARTE.Properties { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("YARTE.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + internal static System.Drawing.Bitmap bold { + get { + object obj = ResourceManager.GetObject("bold", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap bulletedlist { + get { + object obj = ResourceManager.GetObject("bulletedlist", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap copy { + get { + object obj = ResourceManager.GetObject("copy", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap createlink { + get { + object obj = ResourceManager.GetObject("createlink", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap cut { + get { + object obj = ResourceManager.GetObject("cut", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap delete { + get { + object obj = ResourceManager.GetObject("delete", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap deletetablecolumn { + get { + object obj = ResourceManager.GetObject("deletetablecolumn", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap deletetablerow { + get { + object obj = ResourceManager.GetObject("deletetablerow", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap editstyle { + get { + object obj = ResourceManager.GetObject("editstyle", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap edittable { + get { + object obj = ResourceManager.GetObject("edittable", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap fontbackcolorpicker { + get { + object obj = ResourceManager.GetObject("fontbackcolorpicker", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap fontforecolorpicker { + get { + object obj = ResourceManager.GetObject("fontforecolorpicker", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap iespellcheck { + get { + object obj = ResourceManager.GetObject("iespellcheck", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap indent { + get { + object obj = ResourceManager.GetObject("indent", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap insertbutton { + get { + object obj = ResourceManager.GetObject("insertbutton", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap insertcheckbox { + get { + object obj = ResourceManager.GetObject("insertcheckbox", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap insertdate { + get { + object obj = ResourceManager.GetObject("insertdate", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap insertdiv { + get { + object obj = ResourceManager.GetObject("insertdiv", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap insertdropdownlist { + get { + object obj = ResourceManager.GetObject("insertdropdownlist", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap insertform { + get { + object obj = ResourceManager.GetObject("insertform", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap insertimage { + get { + object obj = ResourceManager.GetObject("insertimage", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap insertimagefromgallery { + get { + object obj = ResourceManager.GetObject("insertimagefromgallery", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap insertradiobutton { + get { + object obj = ResourceManager.GetObject("insertradiobutton", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap insertrule { + get { + object obj = ResourceManager.GetObject("insertrule", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap inserttable { + get { + object obj = ResourceManager.GetObject("inserttable", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap inserttablecolumnafter { + get { + object obj = ResourceManager.GetObject("inserttablecolumnafter", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap inserttablecolumnbefore { + get { + object obj = ResourceManager.GetObject("inserttablecolumnbefore", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap inserttablerowafter { + get { + object obj = ResourceManager.GetObject("inserttablerowafter", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap inserttablerowbefore { + get { + object obj = ResourceManager.GetObject("inserttablerowbefore", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap inserttextarea { + get { + object obj = ResourceManager.GetObject("inserttextarea", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap inserttextbox { + get { + object obj = ResourceManager.GetObject("inserttextbox", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap inserttime { + get { + object obj = ResourceManager.GetObject("inserttime", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap italic { + get { + object obj = ResourceManager.GetObject("italic", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap justifycenter { + get { + object obj = ResourceManager.GetObject("justifycenter", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap justifyfull { + get { + object obj = ResourceManager.GetObject("justifyfull", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap justifyleft { + get { + object obj = ResourceManager.GetObject("justifyleft", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap justifyright { + get { + object obj = ResourceManager.GetObject("justifyright", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap netspell { + get { + object obj = ResourceManager.GetObject("netspell", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap numberedlist { + get { + object obj = ResourceManager.GetObject("numberedlist", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap outdent { + get { + object obj = ResourceManager.GetObject("outdent", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap paste { + get { + object obj = ResourceManager.GetObject("paste", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap preview { + get { + object obj = ResourceManager.GetObject("preview", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap print { + get { + object obj = ResourceManager.GetObject("print", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap redo { + get { + object obj = ResourceManager.GetObject("redo", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap removeformat { + get { + object obj = ResourceManager.GetObject("removeformat", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap save { + get { + object obj = ResourceManager.GetObject("save", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap selectall { + get { + object obj = ResourceManager.GetObject("selectall", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap strikethrough { + get { + object obj = ResourceManager.GetObject("strikethrough", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap subscript { + get { + object obj = ResourceManager.GetObject("subscript", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap superscript { + get { + object obj = ResourceManager.GetObject("superscript", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap underline { + get { + object obj = ResourceManager.GetObject("underline", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap undo { + get { + object obj = ResourceManager.GetObject("undo", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap unlink { + get { + object obj = ResourceManager.GetObject("unlink", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap wordclean { + get { + object obj = ResourceManager.GetObject("wordclean", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + } +} diff --git a/Sub/YARTE/Properties/Resources.resx b/Sub/YARTE/Properties/Resources.resx index 43714d6..c74bbde 100644 --- a/Sub/YARTE/Properties/Resources.resx +++ b/Sub/YARTE/Properties/Resources.resx @@ -1,283 +1,283 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - - ..\Resources\bold.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\bulletedlist.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\copy.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\createlink.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\cut.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\delete.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\deletetablecolumn.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\deletetablerow.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\editstyle.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\edittable.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\fontbackcolorpicker.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\fontforecolorpicker.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\iespellcheck.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\indent.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\insertbutton.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\insertcheckbox.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\insertdate.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\insertdiv.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\insertdropdownlist.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\insertform.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\insertimage.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\insertimagefromgallery.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\insertradiobutton.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\insertrule.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\inserttable.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\inserttablecolumnafter.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\inserttablecolumnbefore.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\inserttablerowafter.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\inserttablerowbefore.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\inserttextarea.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\inserttextbox.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\inserttime.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\italic.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\justifycenter.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\justifyfull.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\justifyleft.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\justifyright.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\netspell.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\numberedlist.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\outdent.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\paste.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\preview.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\print.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\redo.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\removeformat.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\save.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\selectall.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\strikethrough.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\subscript.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\superscript.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\underline.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\undo.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\unlink.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\wordclean.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + ..\Resources\bold.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\bulletedlist.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\copy.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\createlink.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\cut.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\delete.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\deletetablecolumn.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\deletetablerow.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\editstyle.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\edittable.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\fontbackcolorpicker.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\fontforecolorpicker.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\iespellcheck.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\indent.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\insertbutton.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\insertcheckbox.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\insertdate.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\insertdiv.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\insertdropdownlist.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\insertform.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\insertimage.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\insertimagefromgallery.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\insertradiobutton.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\insertrule.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\inserttable.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\inserttablecolumnafter.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\inserttablecolumnbefore.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\inserttablerowafter.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\inserttablerowbefore.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\inserttextarea.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\inserttextbox.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\inserttime.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\italic.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\justifycenter.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\justifyfull.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\justifyleft.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\justifyright.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\netspell.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\numberedlist.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\outdent.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\paste.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\preview.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\print.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\redo.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\removeformat.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\save.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\selectall.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\strikethrough.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\subscript.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\superscript.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\underline.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\undo.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\unlink.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\wordclean.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + \ No newline at end of file diff --git a/Sub/YARTE/YARTE.csproj b/Sub/YARTE/YARTE.csproj index e4ce633..54fb36f 100644 --- a/Sub/YARTE/YARTE.csproj +++ b/Sub/YARTE/YARTE.csproj @@ -1,266 +1,266 @@ - - - - Debug - AnyCPU - 8.0.30703 - 2.0 - {DB5EE9C8-EACF-4231-877E-B9DFD7A714DE} - Library - Properties - YARTE - YARTE - v3.5 - - - 512 - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - UserControl - - - HtmlEditor.cs - - - - True - True - Resources.resx - - - - - - HtmlEditor.cs - - - ResXFileCodeGenerator - Resources.Designer.cs - Designer - - - - - {3050F1C5-98B5-11CF-BB82-00AA00BDCE0B} - 4 - 0 - 0 - primary - False - True - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + Debug + AnyCPU + 8.0.30703 + 2.0 + {DB5EE9C8-EACF-4231-877E-B9DFD7A714DE} + Library + Properties + YARTE + YARTE + v3.5 + + + 512 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + UserControl + + + HtmlEditor.cs + + + + True + True + Resources.resx + + + + + + HtmlEditor.cs + + + ResXFileCodeGenerator + Resources.Designer.cs + Designer + + + + + {3050F1C5-98B5-11CF-BB82-00AA00BDCE0B} + 4 + 0 + 0 + primary + False + True + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SubProject/FBS0000/FBS0000.csproj b/SubProject/FBS0000/FBS0000.csproj index 5a841a7..50e2146 100644 --- a/SubProject/FBS0000/FBS0000.csproj +++ b/SubProject/FBS0000/FBS0000.csproj @@ -1,173 +1,173 @@ - - - - - Debug - AnyCPU - {F6F515C6-6628-47C4-8A94-683BDF9FBB9C} - WinExe - Properties - FBS0000 - FBS0000 - v4.0 - 512 - - - x86 - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - ..\..\DLL\ArSetting.Net4.dll - - - ..\..\DLL\libxl.net.dll - - - - - ..\..\packages\NetOffice.Core.1.7.4.4\lib\net40\NetOffice.dll - False - True - - - ..\..\packages\NetOffice.Core.1.7.4.4\lib\net40\OfficeApi.dll - False - True - - - ..\..\packages\NetOffice.Outlook.1.7.4.4\lib\net40\OutlookApi.dll - False - True - - - - - - - - - - - - - - ..\..\packages\NetOffice.Core.1.7.4.4\lib\net40\VBIDEApi.dll - False - True - - - - - True - True - dsMSSQL.xsd - - - Form - - - fHolyday.cs - - - Form - - - fMinutes.cs - - - Form - - - fMinutesDetail.cs - - - Form - - - fHolyday_Add.cs - - - - - fHolyday.cs - - - fMinutes.cs - - - fMinutesDetail.cs - - - fHolyday_Add.cs - - - ResXFileCodeGenerator - Resources.Designer.cs - Designer - - - True - Resources.resx - True - - - - dsMSSQL.xsd - - - Designer - MSDataSetGenerator - dsMSSQL.Designer.cs - - - dsMSSQL.xsd - - - - SettingsSingleFileGenerator - Settings.Designer.cs - - - True - Settings.settings - True - - - - - {26982882-c1ff-45f8-861c-d67558725ff1} - FCM0000 - - - {304bd018-194b-47da-b4e0-f16df7b606da} - FCOMMON - - - - - - - + + + + + Debug + AnyCPU + {F6F515C6-6628-47C4-8A94-683BDF9FBB9C} + WinExe + Properties + FBS0000 + FBS0000 + v4.0 + 512 + + + x86 + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + ..\..\DLL\ArSetting.Net4.dll + + + ..\..\DLL\libxl.net.dll + + + + + ..\..\packages\NetOffice.Core.1.7.4.4\lib\net40\NetOffice.dll + False + True + + + ..\..\packages\NetOffice.Core.1.7.4.4\lib\net40\OfficeApi.dll + False + True + + + ..\..\packages\NetOffice.Outlook.1.7.4.4\lib\net40\OutlookApi.dll + False + True + + + + + + + + + + + + + + ..\..\packages\NetOffice.Core.1.7.4.4\lib\net40\VBIDEApi.dll + False + True + + + + + True + True + dsMSSQL.xsd + + + Form + + + fHolyday.cs + + + Form + + + fMinutes.cs + + + Form + + + fMinutesDetail.cs + + + Form + + + fHolyday_Add.cs + + + + + fHolyday.cs + + + fMinutes.cs + + + fMinutesDetail.cs + + + fHolyday_Add.cs + + + ResXFileCodeGenerator + Resources.Designer.cs + Designer + + + True + Resources.resx + True + + + + dsMSSQL.xsd + + + Designer + MSDataSetGenerator + dsMSSQL.Designer.cs + + + dsMSSQL.xsd + + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + True + Settings.settings + True + + + + + {26982882-c1ff-45f8-861c-d67558725ff1} + FCM0000 + + + {304bd018-194b-47da-b4e0-f16df7b606da} + FCOMMON + + + + + + + \ No newline at end of file diff --git a/SubProject/FBS0000/Holiday/fHolyday.Designer.cs b/SubProject/FBS0000/Holiday/fHolyday.Designer.cs index 95a6ecb..35a0665 100644 --- a/SubProject/FBS0000/Holiday/fHolyday.Designer.cs +++ b/SubProject/FBS0000/Holiday/fHolyday.Designer.cs @@ -1,562 +1,562 @@ -namespace FBS0000 -{ - partial class fHolyday - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - this.components = new System.ComponentModel.Container(); - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fHolyday)); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); - 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.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(); - this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox(); - this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator(); - this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton(); - this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton(); - this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator(); - this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton(); - this.boardBindingNavigatorSaveItem = new System.Windows.Forms.ToolStripButton(); - this.dv1 = new System.Windows.Forms.DataGridView(); - this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components); - this.sendToMailToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator(); - this.autoResizeComlumnsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStrip1 = new System.Windows.Forms.ToolStrip(); - this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel(); - this.tbSD = new System.Windows.Forms.ToolStripTextBox(); - this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel(); - this.tbED = new System.Windows.Forms.ToolStripTextBox(); - 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.dv1)).BeginInit(); - this.cm1.SuspendLayout(); - this.toolStrip1.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit(); - this.SuspendLayout(); - // - // bn - // - this.bn.AddNewItem = null; - this.bn.BindingSource = this.bs; - 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, - this.bindingNavigatorSeparator, - this.bindingNavigatorPositionItem, - this.bindingNavigatorCountItem, - this.bindingNavigatorSeparator1, - this.bindingNavigatorMoveNextItem, - this.bindingNavigatorMoveLastItem, - this.bindingNavigatorSeparator2, - this.bindingNavigatorAddNewItem, - this.bindingNavigatorDeleteItem, - 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(849, 31); - this.bn.TabIndex = 0; - this.bn.Text = "bindingNavigator1"; - // - // bindingNavigatorCountItem - // - this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem"; - this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 28); - 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(76, 28); - this.bindingNavigatorDeleteItem.Text = "삭제(&D)"; - // - // bindingNavigatorMoveFirstItem - // - this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - 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(28, 28); - this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동"; - // - // bindingNavigatorMovePreviousItem - // - this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - 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(28, 28); - this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동"; - // - // bindingNavigatorSeparator - // - this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator"; - this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 31); - // - // bindingNavigatorPositionItem - // - this.bindingNavigatorPositionItem.AccessibleName = "위치"; - this.bindingNavigatorPositionItem.AutoSize = false; - this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem"; - this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23); - this.bindingNavigatorPositionItem.Text = "0"; - this.bindingNavigatorPositionItem.ToolTipText = "현재 위치"; - // - // bindingNavigatorSeparator1 - // - this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1"; - this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 31); - // - // bindingNavigatorMoveNextItem - // - this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - 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(28, 28); - this.bindingNavigatorMoveNextItem.Text = "다음으로 이동"; - // - // bindingNavigatorMoveLastItem - // - this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - 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(28, 28); - this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동"; - // - // bindingNavigatorSeparator2 - // - this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2"; - 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(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(74, 28); - this.boardBindingNavigatorSaveItem.Text = "저장(&S)"; - this.boardBindingNavigatorSaveItem.Click += new System.EventHandler(this.boardBindingNavigatorSaveItem_Click); - // - // dv1 - // - this.dv1.AllowUserToAddRows = false; - this.dv1.AllowUserToDeleteRows = 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.dvc_user, - this.dvc_cate, - 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, 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(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); - // - // cm1 - // - this.cm1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.sendToMailToolStripMenuItem, - this.toolStripMenuItem1, - this.autoResizeComlumnsToolStripMenuItem}); - this.cm1.Name = "contextMenuStrip1"; - this.cm1.Size = new System.Drawing.Size(201, 54); - // - // sendToMailToolStripMenuItem - // - this.sendToMailToolStripMenuItem.Name = "sendToMailToolStripMenuItem"; - this.sendToMailToolStripMenuItem.Size = new System.Drawing.Size(200, 22); - this.sendToMailToolStripMenuItem.Text = "Mail (Preview)"; - this.sendToMailToolStripMenuItem.Click += new System.EventHandler(this.sendToMailToolStripMenuItem_Click); - // - // toolStripMenuItem1 - // - this.toolStripMenuItem1.Name = "toolStripMenuItem1"; - this.toolStripMenuItem1.Size = new System.Drawing.Size(197, 6); - // - // autoResizeComlumnsToolStripMenuItem - // - this.autoResizeComlumnsToolStripMenuItem.Name = "autoResizeComlumnsToolStripMenuItem"; - this.autoResizeComlumnsToolStripMenuItem.Size = new System.Drawing.Size(200, 22); - this.autoResizeComlumnsToolStripMenuItem.Text = "Auto Resize Comlumns"; - this.autoResizeComlumnsToolStripMenuItem.Click += new System.EventHandler(this.autoResizeComlumnsToolStripMenuItem_Click); - // - // toolStrip1 - // - this.toolStrip1.ImageScalingSize = new System.Drawing.Size(24, 24); - this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.toolStripLabel1, - this.tbSD, - this.toolStripLabel2, - this.tbED, - this.toolStripLabel3, - this.cmbUser, - this.toolStripButton1}); - this.toolStrip1.Location = new System.Drawing.Point(0, 0); - this.toolStrip1.Name = "toolStrip1"; - 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, 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, 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, 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, 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, 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, 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(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; - this.tam.BoardTableAdapter = null; - this.tam.HolydayTableAdapter = this.ta; - this.tam.minutesTableAdapter = null; - this.tam.UpdateOrder = FBS0000.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; - // - // ta - // - 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(849, 538); - this.Controls.Add(this.dv1); - this.Controls.Add(this.toolStrip1); - this.Controls.Add(this.bn); - this.Name = "fHolyday"; - this.Text = "Holiday List"; - this.Load += new System.EventHandler(this.@__Load); - ((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit(); - this.bn.ResumeLayout(false); - this.bn.PerformLayout(); - ((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(); - - } - - #endregion - - private dsMSSQL dsMSSQL; - private System.Windows.Forms.BindingSource bs; - private dsMSSQLTableAdapters.TableAdapterManager tam; - private System.Windows.Forms.BindingNavigator bn; - private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem; - private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem; - private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem; - private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem; - private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem; - private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator; - private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem; - private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1; - private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem; - private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem; - private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2; - private System.Windows.Forms.ToolStripButton boardBindingNavigatorSaveItem; - private System.Windows.Forms.DataGridView dv1; - private dsMSSQLTableAdapters.HolydayTableAdapter ta; - private System.Windows.Forms.ToolStrip toolStrip1; - private System.Windows.Forms.ToolStripLabel toolStripLabel1; - private System.Windows.Forms.ToolStripTextBox tbSD; - private System.Windows.Forms.ToolStripLabel toolStripLabel2; - private System.Windows.Forms.ToolStripTextBox tbED; - private System.Windows.Forms.ToolStripButton toolStripButton1; - private System.Windows.Forms.ToolStripLabel toolStripLabel3; - 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.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; - } +namespace FBS0000 +{ + partial class fHolyday + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fHolyday)); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); + 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.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(); + this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox(); + this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator(); + this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator(); + this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton(); + this.boardBindingNavigatorSaveItem = new System.Windows.Forms.ToolStripButton(); + this.dv1 = new System.Windows.Forms.DataGridView(); + this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components); + this.sendToMailToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator(); + this.autoResizeComlumnsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStrip1 = new System.Windows.Forms.ToolStrip(); + this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel(); + this.tbSD = new System.Windows.Forms.ToolStripTextBox(); + this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel(); + this.tbED = new System.Windows.Forms.ToolStripTextBox(); + 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.dv1)).BeginInit(); + this.cm1.SuspendLayout(); + this.toolStrip1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit(); + this.SuspendLayout(); + // + // bn + // + this.bn.AddNewItem = null; + this.bn.BindingSource = this.bs; + 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, + this.bindingNavigatorSeparator, + this.bindingNavigatorPositionItem, + this.bindingNavigatorCountItem, + this.bindingNavigatorSeparator1, + this.bindingNavigatorMoveNextItem, + this.bindingNavigatorMoveLastItem, + this.bindingNavigatorSeparator2, + this.bindingNavigatorAddNewItem, + this.bindingNavigatorDeleteItem, + 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(849, 31); + this.bn.TabIndex = 0; + this.bn.Text = "bindingNavigator1"; + // + // bindingNavigatorCountItem + // + this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem"; + this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 28); + 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(76, 28); + this.bindingNavigatorDeleteItem.Text = "삭제(&D)"; + // + // bindingNavigatorMoveFirstItem + // + this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + 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(28, 28); + this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동"; + // + // bindingNavigatorMovePreviousItem + // + this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + 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(28, 28); + this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동"; + // + // bindingNavigatorSeparator + // + this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator"; + this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 31); + // + // bindingNavigatorPositionItem + // + this.bindingNavigatorPositionItem.AccessibleName = "위치"; + this.bindingNavigatorPositionItem.AutoSize = false; + this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem"; + this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23); + this.bindingNavigatorPositionItem.Text = "0"; + this.bindingNavigatorPositionItem.ToolTipText = "현재 위치"; + // + // bindingNavigatorSeparator1 + // + this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1"; + this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 31); + // + // bindingNavigatorMoveNextItem + // + this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + 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(28, 28); + this.bindingNavigatorMoveNextItem.Text = "다음으로 이동"; + // + // bindingNavigatorMoveLastItem + // + this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + 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(28, 28); + this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동"; + // + // bindingNavigatorSeparator2 + // + this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2"; + 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(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(74, 28); + this.boardBindingNavigatorSaveItem.Text = "저장(&S)"; + this.boardBindingNavigatorSaveItem.Click += new System.EventHandler(this.boardBindingNavigatorSaveItem_Click); + // + // dv1 + // + this.dv1.AllowUserToAddRows = false; + this.dv1.AllowUserToDeleteRows = 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.dvc_user, + this.dvc_cate, + 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, 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(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); + // + // cm1 + // + this.cm1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.sendToMailToolStripMenuItem, + this.toolStripMenuItem1, + this.autoResizeComlumnsToolStripMenuItem}); + this.cm1.Name = "contextMenuStrip1"; + this.cm1.Size = new System.Drawing.Size(201, 54); + // + // sendToMailToolStripMenuItem + // + this.sendToMailToolStripMenuItem.Name = "sendToMailToolStripMenuItem"; + this.sendToMailToolStripMenuItem.Size = new System.Drawing.Size(200, 22); + this.sendToMailToolStripMenuItem.Text = "Mail (Preview)"; + this.sendToMailToolStripMenuItem.Click += new System.EventHandler(this.sendToMailToolStripMenuItem_Click); + // + // toolStripMenuItem1 + // + this.toolStripMenuItem1.Name = "toolStripMenuItem1"; + this.toolStripMenuItem1.Size = new System.Drawing.Size(197, 6); + // + // autoResizeComlumnsToolStripMenuItem + // + this.autoResizeComlumnsToolStripMenuItem.Name = "autoResizeComlumnsToolStripMenuItem"; + this.autoResizeComlumnsToolStripMenuItem.Size = new System.Drawing.Size(200, 22); + this.autoResizeComlumnsToolStripMenuItem.Text = "Auto Resize Comlumns"; + this.autoResizeComlumnsToolStripMenuItem.Click += new System.EventHandler(this.autoResizeComlumnsToolStripMenuItem_Click); + // + // toolStrip1 + // + this.toolStrip1.ImageScalingSize = new System.Drawing.Size(24, 24); + this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.toolStripLabel1, + this.tbSD, + this.toolStripLabel2, + this.tbED, + this.toolStripLabel3, + this.cmbUser, + this.toolStripButton1}); + this.toolStrip1.Location = new System.Drawing.Point(0, 0); + this.toolStrip1.Name = "toolStrip1"; + 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, 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, 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, 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, 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, 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, 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(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; + this.tam.BoardTableAdapter = null; + this.tam.HolydayTableAdapter = this.ta; + this.tam.minutesTableAdapter = null; + this.tam.UpdateOrder = FBS0000.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; + // + // ta + // + 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(849, 538); + this.Controls.Add(this.dv1); + this.Controls.Add(this.toolStrip1); + this.Controls.Add(this.bn); + this.Name = "fHolyday"; + this.Text = "Holiday List"; + this.Load += new System.EventHandler(this.@__Load); + ((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit(); + this.bn.ResumeLayout(false); + this.bn.PerformLayout(); + ((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(); + + } + + #endregion + + private dsMSSQL dsMSSQL; + private System.Windows.Forms.BindingSource bs; + private dsMSSQLTableAdapters.TableAdapterManager tam; + private System.Windows.Forms.BindingNavigator bn; + private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem; + private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem; + private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem; + private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem; + private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem; + private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator; + private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem; + private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1; + private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem; + private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem; + private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2; + private System.Windows.Forms.ToolStripButton boardBindingNavigatorSaveItem; + private System.Windows.Forms.DataGridView dv1; + private dsMSSQLTableAdapters.HolydayTableAdapter ta; + private System.Windows.Forms.ToolStrip toolStrip1; + private System.Windows.Forms.ToolStripLabel toolStripLabel1; + private System.Windows.Forms.ToolStripTextBox tbSD; + private System.Windows.Forms.ToolStripLabel toolStripLabel2; + private System.Windows.Forms.ToolStripTextBox tbED; + private System.Windows.Forms.ToolStripButton toolStripButton1; + private System.Windows.Forms.ToolStripLabel toolStripLabel3; + 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.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; + } } \ No newline at end of file diff --git a/SubProject/FBS0000/Holiday/fHolyday.cs b/SubProject/FBS0000/Holiday/fHolyday.cs index 4eb5090..741930f 100644 --- a/SubProject/FBS0000/Holiday/fHolyday.cs +++ b/SubProject/FBS0000/Holiday/fHolyday.cs @@ -1,206 +1,206 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Data; -using System.Drawing; -using System.Linq; -using System.Text; -using System.Windows.Forms; -using NetOffice; -using Outlook = NetOffice.OutlookApi; -using NetOffice.OutlookApi.Enums; - -namespace FBS0000 -{ - public partial class fHolyday : FCOMMON.fBase - { - public fHolyday() - { - InitializeComponent(); - this.dsMSSQL.Holyday.TableNewRow += Holyday_TableNewRow; - } - - private void __Load(object sender, EventArgs e) - { - tbSD.Text = DateTime.Now.Year.ToString("0000") + "-01-01"; - tbED.Text = DateTime.Now.AddDays(10).ToShortDateString(); - - var userlist = FCOMMON.DBM.getUserTable(); - dvc_user.DataSource = userlist; - dvc_user.ValueMember = "Key"; - dvc_user.DisplayMember = "Value"; - - var cateList = FCOMMON.DBM.getCodeTable("02"); - this.dvc_cate.DataSource = cateList; - dvc_cate.ValueMember = "Key"; - dvc_cate.DisplayMember = "Value"; - - var rrltList = FCOMMON.DBM.getCodeTable("03"); - this.dvc_result.DataSource = rrltList; - dvc_result.ValueMember = "Key"; - dvc_result.DisplayMember = "Value"; - - //udpate user list - 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)); - 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(); - } - - void Holyday_TableNewRow(object sender, DataTableNewRowEventArgs e) - { - e.Row["wuid"] = FCOMMON.info.Login.no; - e.Row["uid"] = FCOMMON.info.Login.no; - e.Row["wdate"] = DateTime.Now; - e.Row["cate"] = "10"; //기본 신청 - e.Row["sdate"] = DateTime.Now.ToShortDateString(); - e.Row["edate"] = DateTime.Now.ToShortDateString(); - e.Row["term"] = 1.0f; - e.Row["Result"] = "00"; - } - - - void RefreshData() - { - //update data - string uid = "%"; - if (cmbUser.SelectedIndex > 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) - { - this.Validate(); - this.bs.EndEdit(); - var dlg = FCOMMON.Util.MsgQ("변경된 내용을 저장하시겠습니까?"); - if (dlg != System.Windows.Forms.DialogResult.Yes) return; - try - { - this.tam.UpdateAll(this.dsMSSQL); - } catch (Exception ex) - { - FCOMMON.Util.MsgE(ex.Message); - } - - - } - - private void bindingNavigatorAddNewItem_Click(object sender, EventArgs e) - { - var newdr = this.dsMSSQL.Holyday.NewHolydayRow(); - var f = new fHolyday_Add(newdr); - if (f.ShowDialog() != System.Windows.Forms.DialogResult.OK) - { - newdr.Delete(); - } - else - { - newdr.EndEdit(); - this.dsMSSQL.Holyday.AddHolydayRow(newdr); - } - } - - private void autoResizeComlumnsToolStripMenuItem_Click(object sender, EventArgs e) - { - dv1.AutoResizeColumns(); - } - - private void dv1_DataError(object sender, DataGridViewDataErrorEventArgs e) - { - - } - - private void dv1_DoubleClick(object sender, EventArgs e) - { - var drv = this.bs.Current as DataRowView; - if (drv == null) return; - var dr = drv.Row as dsMSSQL.HolydayRow; - var f = new fHolyday_Add(dr); - if(f.ShowDialog() != System.Windows.Forms.DialogResult.OK) - { - dr.RejectChanges(); - } - } - - private void toolStripButton1_Click(object sender, EventArgs e) - { - RefreshData(); - } - - private void tbSD_KeyDown(object sender, KeyEventArgs e) - { - var tb = sender as ToolStripTextBox; - if(e.KeyCode == Keys.Enter) - { - string datestring ; - if(FCOMMON.Util.MakeDateString(tb.Text,out datestring)) - { - tb.Text = datestring; - SendKeys.Send("{TAB}"); - } - } - } - - private void sendToMailToolStripMenuItem_Click(object sender, EventArgs e) - { - var drv = this.bs.Current as DataRowView; - if (drv == null) return; - var dr = drv.Row as dsMSSQL.HolydayRow; - - //string to = dr.tolist; - //string body = "test 2sfdnice to meet"; - //string bcc = string.Empty; - //string cc = string.Empty; - //string subject = "etst mail"; - - Outlook.Application outlookApplication = new Outlook.Application(); - Outlook.MailItem newTask = outlookApplication.CreateItem(OlItemType.olMailItem) as Outlook.MailItem; - newTask.Subject="mail test"; - newTask.To = "Chikyun.Kim@amkor.co.kr"; - newTask.HTMLBody = "this is test mail"; - newTask.BodyFormat = OlBodyFormat.olFormatHTML; - newTask.Display(); - - //FCOMMON.Util.RunDefaultMail(to, subject, body, cc, bcc); - } - - } -} +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Windows.Forms; +using NetOffice; +using Outlook = NetOffice.OutlookApi; +using NetOffice.OutlookApi.Enums; + +namespace FBS0000 +{ + public partial class fHolyday : FCOMMON.fBase + { + public fHolyday() + { + InitializeComponent(); + this.dsMSSQL.Holyday.TableNewRow += Holyday_TableNewRow; + } + + private void __Load(object sender, EventArgs e) + { + tbSD.Text = DateTime.Now.Year.ToString("0000") + "-01-01"; + tbED.Text = DateTime.Now.AddDays(10).ToShortDateString(); + + var userlist = FCOMMON.DBM.getUserTable(); + dvc_user.DataSource = userlist; + dvc_user.ValueMember = "Key"; + dvc_user.DisplayMember = "Value"; + + var cateList = FCOMMON.DBM.getCodeTable("02"); + this.dvc_cate.DataSource = cateList; + dvc_cate.ValueMember = "Key"; + dvc_cate.DisplayMember = "Value"; + + var rrltList = FCOMMON.DBM.getCodeTable("03"); + this.dvc_result.DataSource = rrltList; + dvc_result.ValueMember = "Key"; + dvc_result.DisplayMember = "Value"; + + //udpate user list + 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)); + 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(); + } + + void Holyday_TableNewRow(object sender, DataTableNewRowEventArgs e) + { + e.Row["wuid"] = FCOMMON.info.Login.no; + e.Row["uid"] = FCOMMON.info.Login.no; + e.Row["wdate"] = DateTime.Now; + e.Row["cate"] = "10"; //기본 신청 + e.Row["sdate"] = DateTime.Now.ToShortDateString(); + e.Row["edate"] = DateTime.Now.ToShortDateString(); + e.Row["term"] = 1.0f; + e.Row["Result"] = "00"; + } + + + void RefreshData() + { + //update data + string uid = "%"; + if (cmbUser.SelectedIndex > 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) + { + this.Validate(); + this.bs.EndEdit(); + var dlg = FCOMMON.Util.MsgQ("변경된 내용을 저장하시겠습니까?"); + if (dlg != System.Windows.Forms.DialogResult.Yes) return; + try + { + this.tam.UpdateAll(this.dsMSSQL); + } catch (Exception ex) + { + FCOMMON.Util.MsgE(ex.Message); + } + + + } + + private void bindingNavigatorAddNewItem_Click(object sender, EventArgs e) + { + var newdr = this.dsMSSQL.Holyday.NewHolydayRow(); + var f = new fHolyday_Add(newdr); + if (f.ShowDialog() != System.Windows.Forms.DialogResult.OK) + { + newdr.Delete(); + } + else + { + newdr.EndEdit(); + this.dsMSSQL.Holyday.AddHolydayRow(newdr); + } + } + + private void autoResizeComlumnsToolStripMenuItem_Click(object sender, EventArgs e) + { + dv1.AutoResizeColumns(); + } + + private void dv1_DataError(object sender, DataGridViewDataErrorEventArgs e) + { + + } + + private void dv1_DoubleClick(object sender, EventArgs e) + { + var drv = this.bs.Current as DataRowView; + if (drv == null) return; + var dr = drv.Row as dsMSSQL.HolydayRow; + var f = new fHolyday_Add(dr); + if(f.ShowDialog() != System.Windows.Forms.DialogResult.OK) + { + dr.RejectChanges(); + } + } + + private void toolStripButton1_Click(object sender, EventArgs e) + { + RefreshData(); + } + + private void tbSD_KeyDown(object sender, KeyEventArgs e) + { + var tb = sender as ToolStripTextBox; + if(e.KeyCode == Keys.Enter) + { + string datestring ; + if(FCOMMON.Util.MakeDateString(tb.Text,out datestring)) + { + tb.Text = datestring; + SendKeys.Send("{TAB}"); + } + } + } + + private void sendToMailToolStripMenuItem_Click(object sender, EventArgs e) + { + var drv = this.bs.Current as DataRowView; + if (drv == null) return; + var dr = drv.Row as dsMSSQL.HolydayRow; + + //string to = dr.tolist; + //string body = "test 2sfdnice to meet"; + //string bcc = string.Empty; + //string cc = string.Empty; + //string subject = "etst mail"; + + Outlook.Application outlookApplication = new Outlook.Application(); + Outlook.MailItem newTask = outlookApplication.CreateItem(OlItemType.olMailItem) as Outlook.MailItem; + newTask.Subject="mail test"; + newTask.To = "Chikyun.Kim@amkor.co.kr"; + newTask.HTMLBody = "this is test mail"; + newTask.BodyFormat = OlBodyFormat.olFormatHTML; + newTask.Display(); + + //FCOMMON.Util.RunDefaultMail(to, subject, body, cc, bcc); + } + + } +} diff --git a/SubProject/FBS0000/Holiday/fHolyday.resx b/SubProject/FBS0000/Holiday/fHolyday.resx index 3f8d1d5..c78147a 100644 --- a/SubProject/FBS0000/Holiday/fHolyday.resx +++ b/SubProject/FBS0000/Holiday/fHolyday.resx @@ -1,222 +1,222 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 259, 17 - - - 122, 17 - - - 17, 17 - - - - - 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= - - - - - 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= - - - - - 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 - - - - - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78 - n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI - N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f - oAc0QjgAAAAASUVORK5CYII= - - - - - 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== - - - - - 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== - - - - - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo - dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII= - - - - True - - - True - - - True - - - 493, 17 - - - 387, 17 - - - 186, 17 - - - 325, 17 - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 259, 17 + + + 122, 17 + + + 17, 17 + + + + + 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= + + + + + 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= + + + + + 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 + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78 + n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI + N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f + oAc0QjgAAAAASUVORK5CYII= + + + + + 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== + + + + + 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== + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo + dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII= + + + + True + + + True + + + True + + + 493, 17 + + + 387, 17 + + + 186, 17 + + + 325, 17 + \ No newline at end of file diff --git a/SubProject/FBS0000/Holiday/fHolyday_Add.Designer.cs b/SubProject/FBS0000/Holiday/fHolyday_Add.Designer.cs index e6f5c95..59c74bb 100644 --- a/SubProject/FBS0000/Holiday/fHolyday_Add.Designer.cs +++ b/SubProject/FBS0000/Holiday/fHolyday_Add.Designer.cs @@ -1,352 +1,352 @@ -namespace FBS0000 -{ - partial class fHolyday_Add - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - this.components = new System.ComponentModel.Container(); - System.Windows.Forms.Label cateLabel; - System.Windows.Forms.Label resutLabel; - System.Windows.Forms.Label sdateLabel; - System.Windows.Forms.Label edateLabel; - System.Windows.Forms.Label contentsLabel; - System.Windows.Forms.Label uidLabel; - System.Windows.Forms.Label tolistLabel; - this.dsMSSQL = new FBS0000.dsMSSQL(); - this.bs = new System.Windows.Forms.BindingSource(this.components); - this.ta = new FBS0000.dsMSSQLTableAdapters.HolydayTableAdapter(); - this.tam = new FBS0000.dsMSSQLTableAdapters.TableAdapterManager(); - this.contentsTextBox = new System.Windows.Forms.TextBox(); - this.tolistTextBox = new System.Windows.Forms.TextBox(); - this.mailCheckBox = new System.Windows.Forms.CheckBox(); - this.reasonTextBox = new System.Windows.Forms.TextBox(); - this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker(); - this.dateTimePicker2 = new System.Windows.Forms.DateTimePicker(); - 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(); - edateLabel = new System.Windows.Forms.Label(); - contentsLabel = new System.Windows.Forms.Label(); - uidLabel = new System.Windows.Forms.Label(); - 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 - // - cateLabel.AutoSize = true; - cateLabel.Location = new System.Drawing.Point(12, 73); - cateLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - cateLabel.Name = "cateLabel"; - cateLabel.Size = new System.Drawing.Size(72, 19); - cateLabel.TabIndex = 4; - cateLabel.Text = "Category"; - // - // resutLabel - // - resutLabel.AutoSize = true; - resutLabel.Location = new System.Drawing.Point(372, 9); - resutLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - resutLabel.Name = "resutLabel"; - resutLabel.Size = new System.Drawing.Size(54, 19); - resutLabel.TabIndex = 6; - resutLabel.Text = "Resut:"; - // - // sdateLabel - // - sdateLabel.AutoSize = true; - sdateLabel.Location = new System.Drawing.Point(42, 107); - sdateLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - sdateLabel.Name = "sdateLabel"; - sdateLabel.Size = new System.Drawing.Size(42, 19); - sdateLabel.TabIndex = 8; - sdateLabel.Text = "Start"; - // - // edateLabel - // - edateLabel.AutoSize = true; - edateLabel.Location = new System.Drawing.Point(48, 140); - edateLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - edateLabel.Name = "edateLabel"; - edateLabel.Size = new System.Drawing.Size(36, 19); - edateLabel.TabIndex = 10; - edateLabel.Text = "End"; - // - // contentsLabel - // - contentsLabel.AutoSize = true; - contentsLabel.Location = new System.Drawing.Point(21, 173); - contentsLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - contentsLabel.Name = "contentsLabel"; - contentsLabel.Size = new System.Drawing.Size(63, 19); - contentsLabel.TabIndex = 16; - contentsLabel.Text = "Remark"; - // - // uidLabel - // - uidLabel.AutoSize = true; - uidLabel.Location = new System.Drawing.Point(43, 41); - uidLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - uidLabel.Name = "uidLabel"; - uidLabel.Size = new System.Drawing.Size(41, 19); - uidLabel.TabIndex = 18; - uidLabel.Text = "User"; - // - // tolistLabel - // - tolistLabel.AutoSize = true; - tolistLabel.Location = new System.Drawing.Point(18, 364); - tolistLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - tolistLabel.Name = "tolistLabel"; - tolistLabel.Size = new System.Drawing.Size(66, 19); - tolistLabel.TabIndex = 20; - tolistLabel.Text = "Mail List"; - // - // dsMSSQL - // - this.dsMSSQL.DataSetName = "dsMSSQL"; - this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; - // - // bs - // - this.bs.DataMember = "Holyday"; - this.bs.DataSource = this.dsMSSQL; - // - // ta - // - this.ta.ClearBeforeFill = true; - // - // tam - // - this.tam.BackupDataSetBeforeUpdate = false; - this.tam.BoardTableAdapter = null; - this.tam.HolydayTableAdapter = this.ta; - this.tam.minutesTableAdapter = null; - this.tam.UpdateOrder = FBS0000.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; - // - // contentsTextBox - // - this.contentsTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "contents", true)); - this.contentsTextBox.Location = new System.Drawing.Point(91, 170); - this.contentsTextBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); - this.contentsTextBox.Multiline = true; - this.contentsTextBox.Name = "contentsTextBox"; - this.contentsTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; - this.contentsTextBox.Size = new System.Drawing.Size(301, 145); - this.contentsTextBox.TabIndex = 17; - // - // tolistTextBox - // - this.tolistTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "tolist", true)); - 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(301, 27); - this.tolistTextBox.TabIndex = 21; - // - // mailCheckBox - // - this.mailCheckBox.DataBindings.Add(new System.Windows.Forms.Binding("CheckState", this.bs, "mail", true)); - this.mailCheckBox.Location = new System.Drawing.Point(91, 324); - this.mailCheckBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); - this.mailCheckBox.Name = "mailCheckBox"; - this.mailCheckBox.Size = new System.Drawing.Size(257, 38); - this.mailCheckBox.TabIndex = 23; - this.mailCheckBox.Text = "Send Mail"; - this.mailCheckBox.UseVisualStyleBackColor = true; - // - // reasonTextBox - // - this.reasonTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "reason", true)); - 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, 266); - this.reasonTextBox.TabIndex = 27; - // - // dateTimePicker1 - // - 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(301, 27); - this.dateTimePicker1.TabIndex = 28; - this.dateTimePicker1.ValueChanged += new System.EventHandler(this.dateTimePicker1_ValueChanged); - // - // dateTimePicker2 - // - 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(301, 27); - this.dateTimePicker2.TabIndex = 29; - this.dateTimePicker2.ValueChanged += new System.EventHandler(this.dateTimePicker2_ValueChanged); - // - // cmbCate - // - this.cmbCate.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.bs, "cate", true)); - this.cmbCate.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbCate.FormattingEnabled = true; - this.cmbCate.Location = new System.Drawing.Point(91, 69); - this.cmbCate.Name = "cmbCate"; - this.cmbCate.Size = new System.Drawing.Size(301, 27); - this.cmbCate.TabIndex = 32; - // - // cmbUser - // - this.cmbUser.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.bs, "uid", true)); - this.cmbUser.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbUser.FormattingEnabled = true; - this.cmbUser.Location = new System.Drawing.Point(91, 37); - this.cmbUser.Name = "cmbUser"; - this.cmbUser.Size = new System.Drawing.Size(301, 27); - this.cmbUser.TabIndex = 33; - // - // cmbRlt - // - 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(409, 89); - this.cmbRlt.Name = "cmbRlt"; - this.cmbRlt.Size = new System.Drawing.Size(278, 27); - this.cmbRlt.TabIndex = 34; - // - // btOK - // - this.btOK.Location = new System.Drawing.Point(91, 399); - this.btOK.Name = "btOK"; - 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(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.dateTimePicker2); - this.Controls.Add(this.dateTimePicker1); - this.Controls.Add(cateLabel); - this.Controls.Add(resutLabel); - this.Controls.Add(sdateLabel); - this.Controls.Add(edateLabel); - this.Controls.Add(contentsLabel); - this.Controls.Add(this.contentsTextBox); - this.Controls.Add(uidLabel); - this.Controls.Add(tolistLabel); - this.Controls.Add(this.tolistTextBox); - this.Controls.Add(this.mailCheckBox); - this.Controls.Add(this.reasonTextBox); - this.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; - this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); - this.MaximizeBox = false; - this.MinimizeBox = false; - this.Name = "fHolyday_Add"; - this.Text = "fHolyday_Add"; - 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(); - - } - - #endregion - - private dsMSSQL dsMSSQL; - private System.Windows.Forms.BindingSource bs; - private dsMSSQLTableAdapters.HolydayTableAdapter ta; - private dsMSSQLTableAdapters.TableAdapterManager tam; - private System.Windows.Forms.TextBox contentsTextBox; - private System.Windows.Forms.TextBox tolistTextBox; - private System.Windows.Forms.CheckBox mailCheckBox; - private System.Windows.Forms.TextBox reasonTextBox; - private System.Windows.Forms.DateTimePicker dateTimePicker1; - private System.Windows.Forms.DateTimePicker dateTimePicker2; - 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; - } +namespace FBS0000 +{ + partial class fHolyday_Add + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + System.Windows.Forms.Label cateLabel; + System.Windows.Forms.Label resutLabel; + System.Windows.Forms.Label sdateLabel; + System.Windows.Forms.Label edateLabel; + System.Windows.Forms.Label contentsLabel; + System.Windows.Forms.Label uidLabel; + System.Windows.Forms.Label tolistLabel; + this.dsMSSQL = new FBS0000.dsMSSQL(); + this.bs = new System.Windows.Forms.BindingSource(this.components); + this.ta = new FBS0000.dsMSSQLTableAdapters.HolydayTableAdapter(); + this.tam = new FBS0000.dsMSSQLTableAdapters.TableAdapterManager(); + this.contentsTextBox = new System.Windows.Forms.TextBox(); + this.tolistTextBox = new System.Windows.Forms.TextBox(); + this.mailCheckBox = new System.Windows.Forms.CheckBox(); + this.reasonTextBox = new System.Windows.Forms.TextBox(); + this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker(); + this.dateTimePicker2 = new System.Windows.Forms.DateTimePicker(); + 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(); + edateLabel = new System.Windows.Forms.Label(); + contentsLabel = new System.Windows.Forms.Label(); + uidLabel = new System.Windows.Forms.Label(); + 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 + // + cateLabel.AutoSize = true; + cateLabel.Location = new System.Drawing.Point(12, 73); + cateLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + cateLabel.Name = "cateLabel"; + cateLabel.Size = new System.Drawing.Size(72, 19); + cateLabel.TabIndex = 4; + cateLabel.Text = "Category"; + // + // resutLabel + // + resutLabel.AutoSize = true; + resutLabel.Location = new System.Drawing.Point(372, 9); + resutLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + resutLabel.Name = "resutLabel"; + resutLabel.Size = new System.Drawing.Size(54, 19); + resutLabel.TabIndex = 6; + resutLabel.Text = "Resut:"; + // + // sdateLabel + // + sdateLabel.AutoSize = true; + sdateLabel.Location = new System.Drawing.Point(42, 107); + sdateLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + sdateLabel.Name = "sdateLabel"; + sdateLabel.Size = new System.Drawing.Size(42, 19); + sdateLabel.TabIndex = 8; + sdateLabel.Text = "Start"; + // + // edateLabel + // + edateLabel.AutoSize = true; + edateLabel.Location = new System.Drawing.Point(48, 140); + edateLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + edateLabel.Name = "edateLabel"; + edateLabel.Size = new System.Drawing.Size(36, 19); + edateLabel.TabIndex = 10; + edateLabel.Text = "End"; + // + // contentsLabel + // + contentsLabel.AutoSize = true; + contentsLabel.Location = new System.Drawing.Point(21, 173); + contentsLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + contentsLabel.Name = "contentsLabel"; + contentsLabel.Size = new System.Drawing.Size(63, 19); + contentsLabel.TabIndex = 16; + contentsLabel.Text = "Remark"; + // + // uidLabel + // + uidLabel.AutoSize = true; + uidLabel.Location = new System.Drawing.Point(43, 41); + uidLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + uidLabel.Name = "uidLabel"; + uidLabel.Size = new System.Drawing.Size(41, 19); + uidLabel.TabIndex = 18; + uidLabel.Text = "User"; + // + // tolistLabel + // + tolistLabel.AutoSize = true; + tolistLabel.Location = new System.Drawing.Point(18, 364); + tolistLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + tolistLabel.Name = "tolistLabel"; + tolistLabel.Size = new System.Drawing.Size(66, 19); + tolistLabel.TabIndex = 20; + tolistLabel.Text = "Mail List"; + // + // dsMSSQL + // + this.dsMSSQL.DataSetName = "dsMSSQL"; + this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; + // + // bs + // + this.bs.DataMember = "Holyday"; + this.bs.DataSource = this.dsMSSQL; + // + // ta + // + this.ta.ClearBeforeFill = true; + // + // tam + // + this.tam.BackupDataSetBeforeUpdate = false; + this.tam.BoardTableAdapter = null; + this.tam.HolydayTableAdapter = this.ta; + this.tam.minutesTableAdapter = null; + this.tam.UpdateOrder = FBS0000.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; + // + // contentsTextBox + // + this.contentsTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "contents", true)); + this.contentsTextBox.Location = new System.Drawing.Point(91, 170); + this.contentsTextBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.contentsTextBox.Multiline = true; + this.contentsTextBox.Name = "contentsTextBox"; + this.contentsTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; + this.contentsTextBox.Size = new System.Drawing.Size(301, 145); + this.contentsTextBox.TabIndex = 17; + // + // tolistTextBox + // + this.tolistTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "tolist", true)); + 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(301, 27); + this.tolistTextBox.TabIndex = 21; + // + // mailCheckBox + // + this.mailCheckBox.DataBindings.Add(new System.Windows.Forms.Binding("CheckState", this.bs, "mail", true)); + this.mailCheckBox.Location = new System.Drawing.Point(91, 324); + this.mailCheckBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.mailCheckBox.Name = "mailCheckBox"; + this.mailCheckBox.Size = new System.Drawing.Size(257, 38); + this.mailCheckBox.TabIndex = 23; + this.mailCheckBox.Text = "Send Mail"; + this.mailCheckBox.UseVisualStyleBackColor = true; + // + // reasonTextBox + // + this.reasonTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "reason", true)); + 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, 266); + this.reasonTextBox.TabIndex = 27; + // + // dateTimePicker1 + // + 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(301, 27); + this.dateTimePicker1.TabIndex = 28; + this.dateTimePicker1.ValueChanged += new System.EventHandler(this.dateTimePicker1_ValueChanged); + // + // dateTimePicker2 + // + 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(301, 27); + this.dateTimePicker2.TabIndex = 29; + this.dateTimePicker2.ValueChanged += new System.EventHandler(this.dateTimePicker2_ValueChanged); + // + // cmbCate + // + this.cmbCate.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.bs, "cate", true)); + this.cmbCate.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cmbCate.FormattingEnabled = true; + this.cmbCate.Location = new System.Drawing.Point(91, 69); + this.cmbCate.Name = "cmbCate"; + this.cmbCate.Size = new System.Drawing.Size(301, 27); + this.cmbCate.TabIndex = 32; + // + // cmbUser + // + this.cmbUser.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.bs, "uid", true)); + this.cmbUser.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cmbUser.FormattingEnabled = true; + this.cmbUser.Location = new System.Drawing.Point(91, 37); + this.cmbUser.Name = "cmbUser"; + this.cmbUser.Size = new System.Drawing.Size(301, 27); + this.cmbUser.TabIndex = 33; + // + // cmbRlt + // + 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(409, 89); + this.cmbRlt.Name = "cmbRlt"; + this.cmbRlt.Size = new System.Drawing.Size(278, 27); + this.cmbRlt.TabIndex = 34; + // + // btOK + // + this.btOK.Location = new System.Drawing.Point(91, 399); + this.btOK.Name = "btOK"; + 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(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.dateTimePicker2); + this.Controls.Add(this.dateTimePicker1); + this.Controls.Add(cateLabel); + this.Controls.Add(resutLabel); + this.Controls.Add(sdateLabel); + this.Controls.Add(edateLabel); + this.Controls.Add(contentsLabel); + this.Controls.Add(this.contentsTextBox); + this.Controls.Add(uidLabel); + this.Controls.Add(tolistLabel); + this.Controls.Add(this.tolistTextBox); + this.Controls.Add(this.mailCheckBox); + this.Controls.Add(this.reasonTextBox); + this.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; + this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.MaximizeBox = false; + this.MinimizeBox = false; + this.Name = "fHolyday_Add"; + this.Text = "fHolyday_Add"; + 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(); + + } + + #endregion + + private dsMSSQL dsMSSQL; + private System.Windows.Forms.BindingSource bs; + private dsMSSQLTableAdapters.HolydayTableAdapter ta; + private dsMSSQLTableAdapters.TableAdapterManager tam; + private System.Windows.Forms.TextBox contentsTextBox; + private System.Windows.Forms.TextBox tolistTextBox; + private System.Windows.Forms.CheckBox mailCheckBox; + private System.Windows.Forms.TextBox reasonTextBox; + private System.Windows.Forms.DateTimePicker dateTimePicker1; + private System.Windows.Forms.DateTimePicker dateTimePicker2; + 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; + } } \ No newline at end of file diff --git a/SubProject/FBS0000/Holiday/fHolyday_Add.cs b/SubProject/FBS0000/Holiday/fHolyday_Add.cs index 83270a2..731f48b 100644 --- a/SubProject/FBS0000/Holiday/fHolyday_Add.cs +++ b/SubProject/FBS0000/Holiday/fHolyday_Add.cs @@ -1,76 +1,76 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Data; -using System.Drawing; -using System.Linq; -using System.Text; -using System.Windows.Forms; - -namespace FBS0000 -{ - public partial class fHolyday_Add : FCOMMON.fBase - { - Boolean bInit = false; - dsMSSQL.HolydayRow dr; - public fHolyday_Add(dsMSSQL.HolydayRow dr_) - { - InitializeComponent(); - dr = dr_; - this.cmbCate.DataSource = FCOMMON.DBM.getCodeTable("02"); ; - this.cmbCate.DisplayMember = "KeyValue"; - this.cmbCate.ValueMember = "Key"; - - this.cmbRlt.DataSource = FCOMMON.DBM.getCodeTable("03"); ; - this.cmbRlt.DisplayMember = "KeyValue"; - this.cmbRlt.ValueMember = "Key"; - - this.cmbUser.DataSource = FCOMMON.DBM.getUserTable(); ; - this.cmbUser.DisplayMember = "KeyValue"; - this.cmbUser.ValueMember = "Key"; - - this.bs.DataSource = dr; - } - - - private void __Load(object sender, EventArgs e) - { - bInit = true; - } - - private void btOK_Click(object sender, EventArgs e) - { - this.Invalidate(); - this.bs.EndEdit(); - if(dr.cate.CompareTo("20") >= 0) - { - dr.term *= -1; - dr.EndEdit(); - } - DialogResult = System.Windows.Forms.DialogResult.OK; - } - - private void dateTimePicker1_ValueChanged(object sender, EventArgs e) - { - if (!bInit) return; - if(dateTimePicker1.Value > this.dateTimePicker2.Value) - this.dateTimePicker2.Value = dateTimePicker1.Value; - RefreshTerm(); - - - } - - void RefreshTerm() - { - var ts = dateTimePicker2.Value - dateTimePicker1.Value; - var days = Math.Ceiling(ts.TotalDays) + 1; - this.numericUpDown1.Value = (decimal)days; - this.dr.term = days; - } - private void dateTimePicker2_ValueChanged(object sender, EventArgs e) - { - if (!bInit) return; - RefreshTerm(); - } - } -} +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Windows.Forms; + +namespace FBS0000 +{ + public partial class fHolyday_Add : FCOMMON.fBase + { + Boolean bInit = false; + dsMSSQL.HolydayRow dr; + public fHolyday_Add(dsMSSQL.HolydayRow dr_) + { + InitializeComponent(); + dr = dr_; + this.cmbCate.DataSource = FCOMMON.DBM.getCodeTable("02"); ; + this.cmbCate.DisplayMember = "KeyValue"; + this.cmbCate.ValueMember = "Key"; + + this.cmbRlt.DataSource = FCOMMON.DBM.getCodeTable("03"); ; + this.cmbRlt.DisplayMember = "KeyValue"; + this.cmbRlt.ValueMember = "Key"; + + this.cmbUser.DataSource = FCOMMON.DBM.getUserTable(); ; + this.cmbUser.DisplayMember = "KeyValue"; + this.cmbUser.ValueMember = "Key"; + + this.bs.DataSource = dr; + } + + + private void __Load(object sender, EventArgs e) + { + bInit = true; + } + + private void btOK_Click(object sender, EventArgs e) + { + this.Invalidate(); + this.bs.EndEdit(); + if(dr.cate.CompareTo("20") >= 0) + { + dr.term *= -1; + dr.EndEdit(); + } + DialogResult = System.Windows.Forms.DialogResult.OK; + } + + private void dateTimePicker1_ValueChanged(object sender, EventArgs e) + { + if (!bInit) return; + if(dateTimePicker1.Value > this.dateTimePicker2.Value) + this.dateTimePicker2.Value = dateTimePicker1.Value; + RefreshTerm(); + + + } + + void RefreshTerm() + { + var ts = dateTimePicker2.Value - dateTimePicker1.Value; + var days = Math.Ceiling(ts.TotalDays) + 1; + this.numericUpDown1.Value = (decimal)days; + this.dr.term = days; + } + private void dateTimePicker2_ValueChanged(object sender, EventArgs e) + { + if (!bInit) return; + RefreshTerm(); + } + } +} diff --git a/SubProject/FBS0000/Program.cs b/SubProject/FBS0000/Program.cs index 39fd5e6..553388d 100644 --- a/SubProject/FBS0000/Program.cs +++ b/SubProject/FBS0000/Program.cs @@ -1,20 +1,20 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Windows.Forms; - -namespace FBS0000 -{ - static class Program - { - /// - /// 해당 응용 프로그램의 주 진입점입니다. - /// - [STAThread] - static void Main() - { - FCOMMON.Util.MsgE("이 프로그램은 단독으로 실행할 수 없습니다."); - } - - } -} +using System; +using System.Collections.Generic; +using System.Linq; +using System.Windows.Forms; + +namespace FBS0000 +{ + static class Program + { + /// + /// 해당 응용 프로그램의 주 진입점입니다. + /// + [STAThread] + static void Main() + { + FCOMMON.Util.MsgE("이 프로그램은 단독으로 실행할 수 없습니다."); + } + + } +} diff --git a/SubProject/FBS0000/Properties/AssemblyInfo.cs b/SubProject/FBS0000/Properties/AssemblyInfo.cs index d8b3c28..a85ecf2 100644 --- a/SubProject/FBS0000/Properties/AssemblyInfo.cs +++ b/SubProject/FBS0000/Properties/AssemblyInfo.cs @@ -1,36 +1,36 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// 어셈블리의 일반 정보는 다음 특성 집합을 통해 제어됩니다. -// 어셈블리와 관련된 정보를 수정하려면 -// 이 특성 값을 변경하십시오. -[assembly: AssemblyTitle("FBS0000")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("FBS0000")] -[assembly: AssemblyCopyright("Copyright © 2018")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// ComVisible을 false로 설정하면 이 어셈블리의 형식이 COM 구성 요소에 -// 표시되지 않습니다. COM에서 이 어셈블리의 형식에 액세스하려면 -// 해당 형식에 대해 ComVisible 특성을 true로 설정하십시오. -[assembly: ComVisible(false)] - -// 이 프로젝트가 COM에 노출되는 경우 다음 GUID는 typelib의 ID를 나타냅니다. -[assembly: Guid("d4d0bb0f-63e9-1111-8dca-8d601cf44c25")] - -// 어셈블리의 버전 정보는 다음 네 가지 값으로 구성됩니다. -// -// 주 버전 -// 부 버전 -// 빌드 번호 -// 수정 버전 -// -// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 버전이 자동으로 -// 지정되도록 할 수 있습니다. -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// 어셈블리의 일반 정보는 다음 특성 집합을 통해 제어됩니다. +// 어셈블리와 관련된 정보를 수정하려면 +// 이 특성 값을 변경하십시오. +[assembly: AssemblyTitle("FBS0000")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("FBS0000")] +[assembly: AssemblyCopyright("Copyright © 2018")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// ComVisible을 false로 설정하면 이 어셈블리의 형식이 COM 구성 요소에 +// 표시되지 않습니다. COM에서 이 어셈블리의 형식에 액세스하려면 +// 해당 형식에 대해 ComVisible 특성을 true로 설정하십시오. +[assembly: ComVisible(false)] + +// 이 프로젝트가 COM에 노출되는 경우 다음 GUID는 typelib의 ID를 나타냅니다. +[assembly: Guid("d4d0bb0f-63e9-1111-8dca-8d601cf44c25")] + +// 어셈블리의 버전 정보는 다음 네 가지 값으로 구성됩니다. +// +// 주 버전 +// 부 버전 +// 빌드 번호 +// 수정 버전 +// +// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 버전이 자동으로 +// 지정되도록 할 수 있습니다. +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/SubProject/FBS0000/Properties/Resources.Designer.cs b/SubProject/FBS0000/Properties/Resources.Designer.cs index dba5a35..1f2b496 100644 --- a/SubProject/FBS0000/Properties/Resources.Designer.cs +++ b/SubProject/FBS0000/Properties/Resources.Designer.cs @@ -1,73 +1,73 @@ -//------------------------------------------------------------------------------ -// -// 이 코드는 도구를 사용하여 생성되었습니다. -// 런타임 버전:4.0.30319.42000 -// -// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 -// 이러한 변경 내용이 손실됩니다. -// -//------------------------------------------------------------------------------ - -namespace FBS0000.Properties { - using System; - - - /// - /// 지역화된 문자열 등을 찾기 위한 강력한 형식의 리소스 클래스입니다. - /// - // 이 클래스는 ResGen 또는 Visual Studio와 같은 도구를 통해 StronglyTypedResourceBuilder - // 클래스에서 자동으로 생성되었습니다. - // 멤버를 추가하거나 제거하려면 .ResX 파일을 편집한 다음 /str 옵션을 사용하여 ResGen을 - // 다시 실행하거나 VS 프로젝트를 다시 빌드하십시오. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resources { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Resources() { - } - - /// - /// 이 클래스에서 사용하는 캐시된 ResourceManager 인스턴스를 반환합니다. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("FBS0000.Properties.Resources", typeof(Resources).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// 이 강력한 형식의 리소스 클래스를 사용하여 모든 리소스 조회에 대한 현재 스레드의 CurrentUICulture - /// 속성을 재정의합니다. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// System.Drawing.Bitmap 형식의 지역화된 리소스를 찾습니다. - /// - internal static System.Drawing.Bitmap action_refresh { - get { - object obj = ResourceManager.GetObject("action_refresh", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - } -} +//------------------------------------------------------------------------------ +// +// 이 코드는 도구를 사용하여 생성되었습니다. +// 런타임 버전:4.0.30319.42000 +// +// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 +// 이러한 변경 내용이 손실됩니다. +// +//------------------------------------------------------------------------------ + +namespace FBS0000.Properties { + using System; + + + /// + /// 지역화된 문자열 등을 찾기 위한 강력한 형식의 리소스 클래스입니다. + /// + // 이 클래스는 ResGen 또는 Visual Studio와 같은 도구를 통해 StronglyTypedResourceBuilder + // 클래스에서 자동으로 생성되었습니다. + // 멤버를 추가하거나 제거하려면 .ResX 파일을 편집한 다음 /str 옵션을 사용하여 ResGen을 + // 다시 실행하거나 VS 프로젝트를 다시 빌드하십시오. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// + /// 이 클래스에서 사용하는 캐시된 ResourceManager 인스턴스를 반환합니다. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("FBS0000.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// 이 강력한 형식의 리소스 클래스를 사용하여 모든 리소스 조회에 대한 현재 스레드의 CurrentUICulture + /// 속성을 재정의합니다. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// System.Drawing.Bitmap 형식의 지역화된 리소스를 찾습니다. + /// + internal static System.Drawing.Bitmap action_refresh { + get { + object obj = ResourceManager.GetObject("action_refresh", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + } +} diff --git a/SubProject/FBS0000/Properties/Resources.resx b/SubProject/FBS0000/Properties/Resources.resx index d46b163..beb5ef1 100644 --- a/SubProject/FBS0000/Properties/Resources.resx +++ b/SubProject/FBS0000/Properties/Resources.resx @@ -1,124 +1,124 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - - ..\Resources\action_refresh.gif;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + ..\Resources\action_refresh.gif;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + \ No newline at end of file diff --git a/SubProject/FBS0000/Properties/Settings.Designer.cs b/SubProject/FBS0000/Properties/Settings.Designer.cs index 8fb96d1..c45ffa0 100644 --- a/SubProject/FBS0000/Properties/Settings.Designer.cs +++ b/SubProject/FBS0000/Properties/Settings.Designer.cs @@ -1,37 +1,37 @@ -//------------------------------------------------------------------------------ -// -// 이 코드는 도구를 사용하여 생성되었습니다. -// 런타임 버전:4.0.30319.42000 -// -// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 -// 이러한 변경 내용이 손실됩니다. -// -//------------------------------------------------------------------------------ - -namespace FBS0000.Properties { - - - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.0.0")] - internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { - - private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); - - public static Settings Default { - get { - return defaultInstance; - } - } - - [global::System.Configuration.ApplicationScopedSettingAttribute()] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.ConnectionString)] - [global::System.Configuration.DefaultSettingValueAttribute("Data Source=10.131.36.205;Initial Catalog=GroupWare;Persist Security Info=True;Us" + - "er ID=gw;Password=Amkor123!")] - public string gwcs { - get { - return ((string)(this["gwcs"])); - } - } - } -} +//------------------------------------------------------------------------------ +// +// 이 코드는 도구를 사용하여 생성되었습니다. +// 런타임 버전:4.0.30319.42000 +// +// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 +// 이러한 변경 내용이 손실됩니다. +// +//------------------------------------------------------------------------------ + +namespace FBS0000.Properties { + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default { + get { + return defaultInstance; + } + } + + [global::System.Configuration.ApplicationScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.ConnectionString)] + [global::System.Configuration.DefaultSettingValueAttribute("Data Source=10.131.36.205;Initial Catalog=GroupWare;Persist Security Info=True;Us" + + "er ID=gw;Password=Amkor123!")] + public string gwcs { + get { + return ((string)(this["gwcs"])); + } + } + } +} diff --git a/SubProject/FBS0000/Properties/Settings.settings b/SubProject/FBS0000/Properties/Settings.settings index a2a298e..74dec33 100644 --- a/SubProject/FBS0000/Properties/Settings.settings +++ b/SubProject/FBS0000/Properties/Settings.settings @@ -1,14 +1,14 @@ - - - - - - <?xml version="1.0" encoding="utf-16"?> -<SerializableConnectionString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> - <ConnectionString>Data Source=10.131.36.205;Initial Catalog=GroupWare;Persist Security Info=True;User ID=gw;Password=Amkor123!</ConnectionString> - <ProviderName>System.Data.SqlClient</ProviderName> -</SerializableConnectionString> - Data Source=10.131.36.205;Initial Catalog=GroupWare;Persist Security Info=True;User ID=gw;Password=Amkor123! - - + + + + + + <?xml version="1.0" encoding="utf-16"?> +<SerializableConnectionString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> + <ConnectionString>Data Source=10.131.36.205;Initial Catalog=GroupWare;Persist Security Info=True;User ID=gw;Password=Amkor123!</ConnectionString> + <ProviderName>System.Data.SqlClient</ProviderName> +</SerializableConnectionString> + Data Source=10.131.36.205;Initial Catalog=GroupWare;Persist Security Info=True;User ID=gw;Password=Amkor123! + + \ No newline at end of file diff --git a/SubProject/FBS0000/app.config b/SubProject/FBS0000/app.config index 5aec38d..818fc96 100644 --- a/SubProject/FBS0000/app.config +++ b/SubProject/FBS0000/app.config @@ -1,9 +1,9 @@ - - - - - - - + + + + + + + \ No newline at end of file diff --git a/SubProject/FBS0000/dsMSSQL.Designer.cs b/SubProject/FBS0000/dsMSSQL.Designer.cs index b0d0154..d4db9b5 100644 --- a/SubProject/FBS0000/dsMSSQL.Designer.cs +++ b/SubProject/FBS0000/dsMSSQL.Designer.cs @@ -1,5360 +1,5360 @@ -//------------------------------------------------------------------------------ -// -// 이 코드는 도구를 사용하여 생성되었습니다. -// 런타임 버전:4.0.30319.42000 -// -// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 -// 이러한 변경 내용이 손실됩니다. -// -//------------------------------------------------------------------------------ - -#pragma warning disable 1591 - -namespace FBS0000 { - - - /// - ///Represents a strongly typed in-memory cache of data. - /// - [global::System.Serializable()] - [global::System.ComponentModel.DesignerCategoryAttribute("code")] - [global::System.ComponentModel.ToolboxItem(true)] - [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")] - [global::System.Xml.Serialization.XmlRootAttribute("dsMSSQL")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")] - public partial class dsMSSQL : global::System.Data.DataSet { - - private minutesDataTable tableminutes; - - private BoardDataTable tableBoard; - - private HolydayDataTable tableHolyday; - - private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public dsMSSQL() { - this.BeginInit(); - this.InitClass(); - global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); - base.Tables.CollectionChanged += schemaChangedHandler; - base.Relations.CollectionChanged += schemaChangedHandler; - this.EndInit(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected dsMSSQL(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context, false) { - if ((this.IsBinarySerialized(info, context) == true)) { - this.InitVars(false); - global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); - this.Tables.CollectionChanged += schemaChangedHandler1; - this.Relations.CollectionChanged += schemaChangedHandler1; - return; - } - string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string)))); - if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { - global::System.Data.DataSet ds = new global::System.Data.DataSet(); - ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema))); - if ((ds.Tables["minutes"] != null)) { - base.Tables.Add(new minutesDataTable(ds.Tables["minutes"])); - } - if ((ds.Tables["Board"] != null)) { - base.Tables.Add(new BoardDataTable(ds.Tables["Board"])); - } - if ((ds.Tables["Holyday"] != null)) { - base.Tables.Add(new HolydayDataTable(ds.Tables["Holyday"])); - } - this.DataSetName = ds.DataSetName; - this.Prefix = ds.Prefix; - this.Namespace = ds.Namespace; - this.Locale = ds.Locale; - this.CaseSensitive = ds.CaseSensitive; - this.EnforceConstraints = ds.EnforceConstraints; - this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add); - this.InitVars(); - } - else { - this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema))); - } - this.GetSerializationData(info, context); - global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); - base.Tables.CollectionChanged += schemaChangedHandler; - this.Relations.CollectionChanged += schemaChangedHandler; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public minutesDataTable minutes { - get { - return this.tableminutes; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public BoardDataTable Board { - get { - return this.tableBoard; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public HolydayDataTable Holyday { - get { - return this.tableHolyday; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.BrowsableAttribute(true)] - [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)] - public override global::System.Data.SchemaSerializationMode SchemaSerializationMode { - get { - return this._schemaSerializationMode; - } - set { - this._schemaSerializationMode = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public new global::System.Data.DataTableCollection Tables { - get { - return base.Tables; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public new global::System.Data.DataRelationCollection Relations { - get { - return base.Relations; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void InitializeDerivedDataSet() { - this.BeginInit(); - this.InitClass(); - this.EndInit(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public override global::System.Data.DataSet Clone() { - dsMSSQL cln = ((dsMSSQL)(base.Clone())); - cln.InitVars(); - cln.SchemaSerializationMode = this.SchemaSerializationMode; - return cln; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override bool ShouldSerializeTables() { - return false; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override bool ShouldSerializeRelations() { - return false; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) { - if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { - this.Reset(); - global::System.Data.DataSet ds = new global::System.Data.DataSet(); - ds.ReadXml(reader); - if ((ds.Tables["minutes"] != null)) { - base.Tables.Add(new minutesDataTable(ds.Tables["minutes"])); - } - if ((ds.Tables["Board"] != null)) { - base.Tables.Add(new BoardDataTable(ds.Tables["Board"])); - } - if ((ds.Tables["Holyday"] != null)) { - base.Tables.Add(new HolydayDataTable(ds.Tables["Holyday"])); - } - this.DataSetName = ds.DataSetName; - this.Prefix = ds.Prefix; - this.Namespace = ds.Namespace; - this.Locale = ds.Locale; - this.CaseSensitive = ds.CaseSensitive; - this.EnforceConstraints = ds.EnforceConstraints; - this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add); - this.InitVars(); - } - else { - this.ReadXml(reader); - this.InitVars(); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() { - global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream(); - this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null)); - stream.Position = 0; - return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal void InitVars() { - this.InitVars(true); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal void InitVars(bool initTable) { - this.tableminutes = ((minutesDataTable)(base.Tables["minutes"])); - if ((initTable == true)) { - if ((this.tableminutes != null)) { - this.tableminutes.InitVars(); - } - } - this.tableBoard = ((BoardDataTable)(base.Tables["Board"])); - if ((initTable == true)) { - if ((this.tableBoard != null)) { - this.tableBoard.InitVars(); - } - } - this.tableHolyday = ((HolydayDataTable)(base.Tables["Holyday"])); - if ((initTable == true)) { - if ((this.tableHolyday != null)) { - this.tableHolyday.InitVars(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitClass() { - this.DataSetName = "dsMSSQL"; - this.Prefix = ""; - this.Namespace = "http://tempuri.org/dsMSSQL.xsd"; - this.EnforceConstraints = true; - this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; - this.tableminutes = new minutesDataTable(); - base.Tables.Add(this.tableminutes); - this.tableBoard = new BoardDataTable(); - base.Tables.Add(this.tableBoard); - this.tableHolyday = new HolydayDataTable(); - base.Tables.Add(this.tableHolyday); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private bool ShouldSerializeminutes() { - return false; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private bool ShouldSerializeBoard() { - return false; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private bool ShouldSerializeHolyday() { - return false; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { - if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) { - this.InitVars(); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) { - dsMSSQL ds = new dsMSSQL(); - global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); - global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); - global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny(); - any.Namespace = ds.Namespace; - sequence.Items.Add(any); - type.Particle = sequence; - global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); - if (xs.Contains(dsSchema.TargetNamespace)) { - global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); - global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); - try { - global::System.Xml.Schema.XmlSchema schema = null; - dsSchema.Write(s1); - for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { - schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); - s2.SetLength(0); - schema.Write(s2); - if ((s1.Length == s2.Length)) { - s1.Position = 0; - s2.Position = 0; - for (; ((s1.Position != s1.Length) - && (s1.ReadByte() == s2.ReadByte())); ) { - ; - } - if ((s1.Position == s1.Length)) { - return type; - } - } - } - } - finally { - if ((s1 != null)) { - s1.Close(); - } - if ((s2 != null)) { - s2.Close(); - } - } - } - xs.Add(dsSchema); - return type; - } - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public delegate void minutesRowChangeEventHandler(object sender, minutesRowChangeEvent e); - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public delegate void BoardRowChangeEventHandler(object sender, BoardRowChangeEvent e); - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public delegate void HolydayRowChangeEventHandler(object sender, HolydayRowChangeEvent e); - - /// - ///Represents the strongly named DataTable class. - /// - [global::System.Serializable()] - [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class minutesDataTable : global::System.Data.TypedTableBase { - - private global::System.Data.DataColumn columnidx; - - private global::System.Data.DataColumn columnstime; - - private global::System.Data.DataColumn columnetime; - - private global::System.Data.DataColumn columntitle; - - private global::System.Data.DataColumn columnplace; - - private global::System.Data.DataColumn columncontents; - - private global::System.Data.DataColumn columnproject; - - private global::System.Data.DataColumn columnmain; - - private global::System.Data.DataColumn columnsub; - - private global::System.Data.DataColumn columnmemo; - - private global::System.Data.DataColumn columnwuid; - - private global::System.Data.DataColumn columnwdate; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public minutesDataTable() { - this.TableName = "minutes"; - this.BeginInit(); - this.InitClass(); - this.EndInit(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal minutesDataTable(global::System.Data.DataTable table) { - this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { - this.CaseSensitive = table.CaseSensitive; - } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { - this.Locale = table.Locale; - } - if ((table.Namespace != table.DataSet.Namespace)) { - this.Namespace = table.Namespace; - } - this.Prefix = table.Prefix; - this.MinimumCapacity = table.MinimumCapacity; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected minutesDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { - this.InitVars(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn idxColumn { - get { - return this.columnidx; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn stimeColumn { - get { - return this.columnstime; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn etimeColumn { - get { - return this.columnetime; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn titleColumn { - get { - return this.columntitle; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn placeColumn { - get { - return this.columnplace; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn contentsColumn { - get { - return this.columncontents; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn projectColumn { - get { - return this.columnproject; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn mainColumn { - get { - return this.columnmain; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn subColumn { - get { - return this.columnsub; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn memoColumn { - get { - return this.columnmemo; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn wuidColumn { - get { - return this.columnwuid; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn wdateColumn { - get { - return this.columnwdate; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - public int Count { - get { - return this.Rows.Count; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public minutesRow this[int index] { - get { - return ((minutesRow)(this.Rows[index])); - } - } - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event minutesRowChangeEventHandler minutesRowChanging; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event minutesRowChangeEventHandler minutesRowChanged; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event minutesRowChangeEventHandler minutesRowDeleting; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event minutesRowChangeEventHandler minutesRowDeleted; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void AddminutesRow(minutesRow row) { - this.Rows.Add(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public minutesRow AddminutesRow(System.DateTime stime, System.DateTime etime, string title, string place, string contents, int project, string main, string sub, string memo, string wuid, System.DateTime wdate) { - minutesRow rowminutesRow = ((minutesRow)(this.NewRow())); - object[] columnValuesArray = new object[] { - null, - stime, - etime, - title, - place, - contents, - project, - main, - sub, - memo, - wuid, - wdate}; - rowminutesRow.ItemArray = columnValuesArray; - this.Rows.Add(rowminutesRow); - return rowminutesRow; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public minutesRow FindByidx(int idx) { - return ((minutesRow)(this.Rows.Find(new object[] { - idx}))); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public override global::System.Data.DataTable Clone() { - minutesDataTable cln = ((minutesDataTable)(base.Clone())); - cln.InitVars(); - return cln; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { - return new minutesDataTable(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal void InitVars() { - this.columnidx = base.Columns["idx"]; - this.columnstime = base.Columns["stime"]; - this.columnetime = base.Columns["etime"]; - this.columntitle = base.Columns["title"]; - this.columnplace = base.Columns["place"]; - this.columncontents = base.Columns["contents"]; - this.columnproject = base.Columns["project"]; - this.columnmain = base.Columns["main"]; - this.columnsub = base.Columns["sub"]; - this.columnmemo = base.Columns["memo"]; - this.columnwuid = base.Columns["wuid"]; - this.columnwdate = base.Columns["wdate"]; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitClass() { - this.columnidx = new global::System.Data.DataColumn("idx", typeof(int), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnidx); - this.columnstime = new global::System.Data.DataColumn("stime", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnstime); - this.columnetime = new global::System.Data.DataColumn("etime", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnetime); - this.columntitle = new global::System.Data.DataColumn("title", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columntitle); - this.columnplace = new global::System.Data.DataColumn("place", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnplace); - this.columncontents = new global::System.Data.DataColumn("contents", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columncontents); - this.columnproject = new global::System.Data.DataColumn("project", typeof(int), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnproject); - this.columnmain = new global::System.Data.DataColumn("main", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnmain); - this.columnsub = new global::System.Data.DataColumn("sub", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnsub); - this.columnmemo = new global::System.Data.DataColumn("memo", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnmemo); - this.columnwuid = new global::System.Data.DataColumn("wuid", typeof(string), null, global::System.Data.MappingType.Element); - 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.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { - this.columnidx}, true)); - this.columnidx.AutoIncrement = true; - this.columnidx.AutoIncrementSeed = -1; - this.columnidx.AutoIncrementStep = -1; - this.columnidx.AllowDBNull = false; - this.columnidx.ReadOnly = true; - this.columnidx.Unique = true; - this.columntitle.MaxLength = 255; - this.columnplace.MaxLength = 50; - this.columncontents.MaxLength = 2147483647; - this.columnmain.MaxLength = 255; - this.columnsub.MaxLength = 255; - this.columnmemo.MaxLength = 2147483647; - this.columnwuid.AllowDBNull = false; - this.columnwuid.MaxLength = 20; - this.columnwdate.AllowDBNull = false; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public minutesRow NewminutesRow() { - return ((minutesRow)(this.NewRow())); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { - return new minutesRow(builder); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Type GetRowType() { - return typeof(minutesRow); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanged(e); - if ((this.minutesRowChanged != null)) { - this.minutesRowChanged(this, new minutesRowChangeEvent(((minutesRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanging(e); - if ((this.minutesRowChanging != null)) { - this.minutesRowChanging(this, new minutesRowChangeEvent(((minutesRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleted(e); - if ((this.minutesRowDeleted != null)) { - this.minutesRowDeleted(this, new minutesRowChangeEvent(((minutesRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleting(e); - if ((this.minutesRowDeleting != null)) { - this.minutesRowDeleting(this, new minutesRowChangeEvent(((minutesRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void RemoveminutesRow(minutesRow row) { - this.Rows.Remove(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { - global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); - global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); - dsMSSQL ds = new dsMSSQL(); - global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); - any1.Namespace = "http://www.w3.org/2001/XMLSchema"; - any1.MinOccurs = new decimal(0); - any1.MaxOccurs = decimal.MaxValue; - any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; - sequence.Items.Add(any1); - global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); - any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; - any2.MinOccurs = new decimal(1); - any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; - sequence.Items.Add(any2); - global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); - attribute1.Name = "namespace"; - attribute1.FixedValue = ds.Namespace; - type.Attributes.Add(attribute1); - global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); - attribute2.Name = "tableTypeName"; - attribute2.FixedValue = "minutesDataTable"; - type.Attributes.Add(attribute2); - type.Particle = sequence; - global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); - if (xs.Contains(dsSchema.TargetNamespace)) { - global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); - global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); - try { - global::System.Xml.Schema.XmlSchema schema = null; - dsSchema.Write(s1); - for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { - schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); - s2.SetLength(0); - schema.Write(s2); - if ((s1.Length == s2.Length)) { - s1.Position = 0; - s2.Position = 0; - for (; ((s1.Position != s1.Length) - && (s1.ReadByte() == s2.ReadByte())); ) { - ; - } - if ((s1.Position == s1.Length)) { - return type; - } - } - } - } - finally { - if ((s1 != null)) { - s1.Close(); - } - if ((s2 != null)) { - s2.Close(); - } - } - } - xs.Add(dsSchema); - return type; - } - } - - /// - ///Represents the strongly named DataTable class. - /// - [global::System.Serializable()] - [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class BoardDataTable : global::System.Data.TypedTableBase { - - private global::System.Data.DataColumn columnidx; - - private global::System.Data.DataColumn columnbidx; - - private global::System.Data.DataColumn columnheader; - - private global::System.Data.DataColumn columncate; - - private global::System.Data.DataColumn columntitle; - - private global::System.Data.DataColumn columncontents; - - private global::System.Data.DataColumn columnfile; - - private global::System.Data.DataColumn columnguid; - - private global::System.Data.DataColumn columnwuid; - - private global::System.Data.DataColumn columnwdate; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public BoardDataTable() { - this.TableName = "Board"; - this.BeginInit(); - this.InitClass(); - this.EndInit(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal BoardDataTable(global::System.Data.DataTable table) { - this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { - this.CaseSensitive = table.CaseSensitive; - } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { - this.Locale = table.Locale; - } - if ((table.Namespace != table.DataSet.Namespace)) { - this.Namespace = table.Namespace; - } - this.Prefix = table.Prefix; - this.MinimumCapacity = table.MinimumCapacity; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected BoardDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { - this.InitVars(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn idxColumn { - get { - return this.columnidx; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn bidxColumn { - get { - return this.columnbidx; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn headerColumn { - get { - return this.columnheader; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn cateColumn { - get { - return this.columncate; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn titleColumn { - get { - return this.columntitle; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn contentsColumn { - get { - return this.columncontents; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn fileColumn { - get { - return this.columnfile; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn guidColumn { - get { - return this.columnguid; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn wuidColumn { - get { - return this.columnwuid; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn wdateColumn { - get { - return this.columnwdate; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - public int Count { - get { - return this.Rows.Count; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public BoardRow this[int index] { - get { - return ((BoardRow)(this.Rows[index])); - } - } - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event BoardRowChangeEventHandler BoardRowChanging; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event BoardRowChangeEventHandler BoardRowChanged; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event BoardRowChangeEventHandler BoardRowDeleting; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event BoardRowChangeEventHandler BoardRowDeleted; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void AddBoardRow(BoardRow row) { - this.Rows.Add(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public BoardRow AddBoardRow(int bidx, bool header, string cate, string title, string contents, string file, string guid, string wuid, System.DateTime wdate) { - BoardRow rowBoardRow = ((BoardRow)(this.NewRow())); - object[] columnValuesArray = new object[] { - null, - bidx, - header, - cate, - title, - contents, - file, - guid, - wuid, - wdate}; - rowBoardRow.ItemArray = columnValuesArray; - this.Rows.Add(rowBoardRow); - return rowBoardRow; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public BoardRow FindByidx(int idx) { - return ((BoardRow)(this.Rows.Find(new object[] { - idx}))); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public override global::System.Data.DataTable Clone() { - BoardDataTable cln = ((BoardDataTable)(base.Clone())); - cln.InitVars(); - return cln; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { - return new BoardDataTable(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal void InitVars() { - this.columnidx = base.Columns["idx"]; - this.columnbidx = base.Columns["bidx"]; - this.columnheader = base.Columns["header"]; - this.columncate = base.Columns["cate"]; - this.columntitle = base.Columns["title"]; - this.columncontents = base.Columns["contents"]; - this.columnfile = base.Columns["file"]; - this.columnguid = base.Columns["guid"]; - this.columnwuid = base.Columns["wuid"]; - this.columnwdate = base.Columns["wdate"]; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitClass() { - this.columnidx = new global::System.Data.DataColumn("idx", typeof(int), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnidx); - this.columnbidx = new global::System.Data.DataColumn("bidx", typeof(int), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnbidx); - this.columnheader = new global::System.Data.DataColumn("header", typeof(bool), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnheader); - this.columncate = new global::System.Data.DataColumn("cate", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columncate); - this.columntitle = new global::System.Data.DataColumn("title", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columntitle); - this.columncontents = new global::System.Data.DataColumn("contents", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columncontents); - this.columnfile = new global::System.Data.DataColumn("file", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnfile); - this.columnguid = new global::System.Data.DataColumn("guid", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnguid); - this.columnwuid = new global::System.Data.DataColumn("wuid", typeof(string), null, global::System.Data.MappingType.Element); - 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.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { - this.columnidx}, true)); - this.columnidx.AutoIncrement = true; - this.columnidx.AutoIncrementSeed = -1; - this.columnidx.AutoIncrementStep = -1; - this.columnidx.AllowDBNull = false; - this.columnidx.ReadOnly = true; - this.columnidx.Unique = true; - this.columncate.MaxLength = 2; - this.columntitle.MaxLength = 255; - this.columncontents.MaxLength = 2147483647; - this.columnfile.MaxLength = 200; - this.columnguid.MaxLength = 50; - this.columnwuid.AllowDBNull = false; - this.columnwuid.MaxLength = 20; - this.columnwdate.AllowDBNull = false; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public BoardRow NewBoardRow() { - return ((BoardRow)(this.NewRow())); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { - return new BoardRow(builder); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Type GetRowType() { - return typeof(BoardRow); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanged(e); - if ((this.BoardRowChanged != null)) { - this.BoardRowChanged(this, new BoardRowChangeEvent(((BoardRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanging(e); - if ((this.BoardRowChanging != null)) { - this.BoardRowChanging(this, new BoardRowChangeEvent(((BoardRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleted(e); - if ((this.BoardRowDeleted != null)) { - this.BoardRowDeleted(this, new BoardRowChangeEvent(((BoardRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleting(e); - if ((this.BoardRowDeleting != null)) { - this.BoardRowDeleting(this, new BoardRowChangeEvent(((BoardRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void RemoveBoardRow(BoardRow row) { - this.Rows.Remove(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { - global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); - global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); - dsMSSQL ds = new dsMSSQL(); - global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); - any1.Namespace = "http://www.w3.org/2001/XMLSchema"; - any1.MinOccurs = new decimal(0); - any1.MaxOccurs = decimal.MaxValue; - any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; - sequence.Items.Add(any1); - global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); - any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; - any2.MinOccurs = new decimal(1); - any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; - sequence.Items.Add(any2); - global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); - attribute1.Name = "namespace"; - attribute1.FixedValue = ds.Namespace; - type.Attributes.Add(attribute1); - global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); - attribute2.Name = "tableTypeName"; - attribute2.FixedValue = "BoardDataTable"; - type.Attributes.Add(attribute2); - type.Particle = sequence; - global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); - if (xs.Contains(dsSchema.TargetNamespace)) { - global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); - global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); - try { - global::System.Xml.Schema.XmlSchema schema = null; - dsSchema.Write(s1); - for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { - schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); - s2.SetLength(0); - schema.Write(s2); - if ((s1.Length == s2.Length)) { - s1.Position = 0; - s2.Position = 0; - for (; ((s1.Position != s1.Length) - && (s1.ReadByte() == s2.ReadByte())); ) { - ; - } - if ((s1.Position == s1.Length)) { - return type; - } - } - } - } - finally { - if ((s1 != null)) { - s1.Close(); - } - if ((s2 != null)) { - s2.Close(); - } - } - } - xs.Add(dsSchema); - return type; - } - } - - /// - ///Represents the strongly named DataTable class. - /// - [global::System.Serializable()] - [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class HolydayDataTable : global::System.Data.TypedTableBase { - - private global::System.Data.DataColumn columnidx; - - private global::System.Data.DataColumn columncate; - - private global::System.Data.DataColumn columnresult; - - private global::System.Data.DataColumn columnsdate; - - private global::System.Data.DataColumn columnedate; - - private global::System.Data.DataColumn columnterm; - - private global::System.Data.DataColumn columntitle; - - private global::System.Data.DataColumn columncontents; - - private global::System.Data.DataColumn columnuid; - - private global::System.Data.DataColumn columntolist; - - private global::System.Data.DataColumn columnmail; - - private global::System.Data.DataColumn columnmailsend; - - private global::System.Data.DataColumn columnreason; - - private global::System.Data.DataColumn columnwuid; - - 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() { - this.TableName = "Holyday"; - this.BeginInit(); - this.InitClass(); - this.EndInit(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal HolydayDataTable(global::System.Data.DataTable table) { - this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { - this.CaseSensitive = table.CaseSensitive; - } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { - this.Locale = table.Locale; - } - if ((table.Namespace != table.DataSet.Namespace)) { - this.Namespace = table.Namespace; - } - this.Prefix = table.Prefix; - this.MinimumCapacity = table.MinimumCapacity; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected HolydayDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { - this.InitVars(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn idxColumn { - get { - return this.columnidx; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn cateColumn { - get { - return this.columncate; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn resultColumn { - get { - return this.columnresult; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn sdateColumn { - get { - return this.columnsdate; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn edateColumn { - get { - return this.columnedate; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn termColumn { - get { - return this.columnterm; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn titleColumn { - get { - return this.columntitle; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn contentsColumn { - get { - return this.columncontents; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn uidColumn { - get { - return this.columnuid; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn tolistColumn { - get { - return this.columntolist; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn mailColumn { - get { - return this.columnmail; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn mailsendColumn { - get { - return this.columnmailsend; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn reasonColumn { - get { - return this.columnreason; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn wuidColumn { - get { - return this.columnwuid; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn wdateColumn { - get { - return this.columnwdate; - } - } - - [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)] - public int Count { - get { - return this.Rows.Count; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public HolydayRow this[int index] { - get { - return ((HolydayRow)(this.Rows[index])); - } - } - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event HolydayRowChangeEventHandler HolydayRowChanging; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event HolydayRowChangeEventHandler HolydayRowChanged; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event HolydayRowChangeEventHandler HolydayRowDeleting; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event HolydayRowChangeEventHandler HolydayRowDeleted; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void AddHolydayRow(HolydayRow row) { - this.Rows.Add(row); - } - - [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, double termDr) { - HolydayRow rowHolydayRow = ((HolydayRow)(this.NewRow())); - object[] columnValuesArray = new object[] { - null, - cate, - result, - sdate, - edate, - term, - title, - contents, - uid, - tolist, - mail, - mailsend, - reason, - wuid, - wdate, - termDr}; - rowHolydayRow.ItemArray = columnValuesArray; - this.Rows.Add(rowHolydayRow); - return rowHolydayRow; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public HolydayRow FindByidx(int idx) { - return ((HolydayRow)(this.Rows.Find(new object[] { - idx}))); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public override global::System.Data.DataTable Clone() { - HolydayDataTable cln = ((HolydayDataTable)(base.Clone())); - cln.InitVars(); - return cln; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { - return new HolydayDataTable(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal void InitVars() { - this.columnidx = base.Columns["idx"]; - this.columncate = base.Columns["cate"]; - this.columnresult = base.Columns["result"]; - this.columnsdate = base.Columns["sdate"]; - this.columnedate = base.Columns["edate"]; - this.columnterm = base.Columns["term"]; - this.columntitle = base.Columns["title"]; - this.columncontents = base.Columns["contents"]; - this.columnuid = base.Columns["uid"]; - this.columntolist = base.Columns["tolist"]; - this.columnmail = base.Columns["mail"]; - this.columnmailsend = base.Columns["mailsend"]; - this.columnreason = base.Columns["reason"]; - this.columnwuid = base.Columns["wuid"]; - this.columnwdate = base.Columns["wdate"]; - this.columntermDr = base.Columns["termDr"]; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitClass() { - this.columnidx = new global::System.Data.DataColumn("idx", typeof(int), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnidx); - this.columncate = new global::System.Data.DataColumn("cate", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columncate); - this.columnresult = new global::System.Data.DataColumn("result", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnresult); - this.columnsdate = new global::System.Data.DataColumn("sdate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnsdate); - this.columnedate = new global::System.Data.DataColumn("edate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnedate); - this.columnterm = new global::System.Data.DataColumn("term", typeof(double), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnterm); - this.columntitle = new global::System.Data.DataColumn("title", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columntitle); - this.columncontents = new global::System.Data.DataColumn("contents", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columncontents); - this.columnuid = new global::System.Data.DataColumn("uid", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnuid); - this.columntolist = new global::System.Data.DataColumn("tolist", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columntolist); - this.columnmail = new global::System.Data.DataColumn("mail", typeof(bool), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnmail); - this.columnmailsend = new global::System.Data.DataColumn("mailsend", typeof(bool), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnmailsend); - this.columnreason = new global::System.Data.DataColumn("reason", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnreason); - this.columnwuid = new global::System.Data.DataColumn("wuid", typeof(string), null, global::System.Data.MappingType.Element); - 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; - this.columnidx.AutoIncrementSeed = -1; - this.columnidx.AutoIncrementStep = -1; - this.columnidx.AllowDBNull = false; - this.columnidx.ReadOnly = true; - this.columnidx.Unique = true; - this.columncate.MaxLength = 2; - this.columnresult.MaxLength = 2; - this.columntitle.MaxLength = 255; - this.columncontents.MaxLength = 2147483647; - this.columnuid.MaxLength = 20; - this.columntolist.MaxLength = 2147483647; - this.columnreason.MaxLength = 2147483647; - this.columnwuid.AllowDBNull = false; - this.columnwuid.MaxLength = 20; - this.columnwdate.AllowDBNull = false; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public HolydayRow NewHolydayRow() { - return ((HolydayRow)(this.NewRow())); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { - return new HolydayRow(builder); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Type GetRowType() { - return typeof(HolydayRow); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanged(e); - if ((this.HolydayRowChanged != null)) { - this.HolydayRowChanged(this, new HolydayRowChangeEvent(((HolydayRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanging(e); - if ((this.HolydayRowChanging != null)) { - this.HolydayRowChanging(this, new HolydayRowChangeEvent(((HolydayRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleted(e); - if ((this.HolydayRowDeleted != null)) { - this.HolydayRowDeleted(this, new HolydayRowChangeEvent(((HolydayRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleting(e); - if ((this.HolydayRowDeleting != null)) { - this.HolydayRowDeleting(this, new HolydayRowChangeEvent(((HolydayRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void RemoveHolydayRow(HolydayRow row) { - this.Rows.Remove(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { - global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); - global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); - dsMSSQL ds = new dsMSSQL(); - global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); - any1.Namespace = "http://www.w3.org/2001/XMLSchema"; - any1.MinOccurs = new decimal(0); - any1.MaxOccurs = decimal.MaxValue; - any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; - sequence.Items.Add(any1); - global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); - any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; - any2.MinOccurs = new decimal(1); - any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; - sequence.Items.Add(any2); - global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); - attribute1.Name = "namespace"; - attribute1.FixedValue = ds.Namespace; - type.Attributes.Add(attribute1); - global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); - attribute2.Name = "tableTypeName"; - attribute2.FixedValue = "HolydayDataTable"; - type.Attributes.Add(attribute2); - type.Particle = sequence; - global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); - if (xs.Contains(dsSchema.TargetNamespace)) { - global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); - global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); - try { - global::System.Xml.Schema.XmlSchema schema = null; - dsSchema.Write(s1); - for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { - schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); - s2.SetLength(0); - schema.Write(s2); - if ((s1.Length == s2.Length)) { - s1.Position = 0; - s2.Position = 0; - for (; ((s1.Position != s1.Length) - && (s1.ReadByte() == s2.ReadByte())); ) { - ; - } - if ((s1.Position == s1.Length)) { - return type; - } - } - } - } - finally { - if ((s1 != null)) { - s1.Close(); - } - if ((s2 != null)) { - s2.Close(); - } - } - } - xs.Add(dsSchema); - return type; - } - } - - /// - ///Represents strongly named DataRow class. - /// - public partial class minutesRow : global::System.Data.DataRow { - - private minutesDataTable tableminutes; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal minutesRow(global::System.Data.DataRowBuilder rb) : - base(rb) { - this.tableminutes = ((minutesDataTable)(this.Table)); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public int idx { - get { - return ((int)(this[this.tableminutes.idxColumn])); - } - set { - this[this.tableminutes.idxColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public System.DateTime stime { - get { - try { - return ((global::System.DateTime)(this[this.tableminutes.stimeColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'minutes\' 테이블의 \'stime\' 열의 값이 DBNull입니다.", e); - } - } - set { - this[this.tableminutes.stimeColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public System.DateTime etime { - get { - try { - return ((global::System.DateTime)(this[this.tableminutes.etimeColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'minutes\' 테이블의 \'etime\' 열의 값이 DBNull입니다.", e); - } - } - set { - this[this.tableminutes.etimeColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string title { - get { - try { - return ((string)(this[this.tableminutes.titleColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'minutes\' 테이블의 \'title\' 열의 값이 DBNull입니다.", e); - } - } - set { - this[this.tableminutes.titleColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string place { - get { - try { - return ((string)(this[this.tableminutes.placeColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'minutes\' 테이블의 \'place\' 열의 값이 DBNull입니다.", e); - } - } - set { - this[this.tableminutes.placeColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string contents { - get { - try { - return ((string)(this[this.tableminutes.contentsColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'minutes\' 테이블의 \'contents\' 열의 값이 DBNull입니다.", e); - } - } - set { - this[this.tableminutes.contentsColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public int project { - get { - try { - return ((int)(this[this.tableminutes.projectColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'minutes\' 테이블의 \'project\' 열의 값이 DBNull입니다.", e); - } - } - set { - this[this.tableminutes.projectColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string main { - get { - try { - return ((string)(this[this.tableminutes.mainColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'minutes\' 테이블의 \'main\' 열의 값이 DBNull입니다.", e); - } - } - set { - this[this.tableminutes.mainColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string sub { - get { - try { - return ((string)(this[this.tableminutes.subColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'minutes\' 테이블의 \'sub\' 열의 값이 DBNull입니다.", e); - } - } - set { - this[this.tableminutes.subColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string memo { - get { - try { - return ((string)(this[this.tableminutes.memoColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'minutes\' 테이블의 \'memo\' 열의 값이 DBNull입니다.", e); - } - } - set { - this[this.tableminutes.memoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string wuid { - get { - return ((string)(this[this.tableminutes.wuidColumn])); - } - set { - this[this.tableminutes.wuidColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public System.DateTime wdate { - get { - return ((global::System.DateTime)(this[this.tableminutes.wdateColumn])); - } - set { - this[this.tableminutes.wdateColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsstimeNull() { - return this.IsNull(this.tableminutes.stimeColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetstimeNull() { - this[this.tableminutes.stimeColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsetimeNull() { - return this.IsNull(this.tableminutes.etimeColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetetimeNull() { - this[this.tableminutes.etimeColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IstitleNull() { - return this.IsNull(this.tableminutes.titleColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SettitleNull() { - this[this.tableminutes.titleColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsplaceNull() { - return this.IsNull(this.tableminutes.placeColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetplaceNull() { - this[this.tableminutes.placeColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IscontentsNull() { - return this.IsNull(this.tableminutes.contentsColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetcontentsNull() { - this[this.tableminutes.contentsColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsprojectNull() { - return this.IsNull(this.tableminutes.projectColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetprojectNull() { - this[this.tableminutes.projectColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsmainNull() { - return this.IsNull(this.tableminutes.mainColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetmainNull() { - this[this.tableminutes.mainColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IssubNull() { - return this.IsNull(this.tableminutes.subColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetsubNull() { - this[this.tableminutes.subColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsmemoNull() { - return this.IsNull(this.tableminutes.memoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetmemoNull() { - this[this.tableminutes.memoColumn] = global::System.Convert.DBNull; - } - } - - /// - ///Represents strongly named DataRow class. - /// - public partial class BoardRow : global::System.Data.DataRow { - - private BoardDataTable tableBoard; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal BoardRow(global::System.Data.DataRowBuilder rb) : - base(rb) { - this.tableBoard = ((BoardDataTable)(this.Table)); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public int idx { - get { - return ((int)(this[this.tableBoard.idxColumn])); - } - set { - this[this.tableBoard.idxColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public int bidx { - get { - try { - return ((int)(this[this.tableBoard.bidxColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'Board\' 테이블의 \'bidx\' 열의 값이 DBNull입니다.", e); - } - } - set { - this[this.tableBoard.bidxColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool header { - get { - try { - return ((bool)(this[this.tableBoard.headerColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'Board\' 테이블의 \'header\' 열의 값이 DBNull입니다.", e); - } - } - set { - this[this.tableBoard.headerColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string cate { - get { - try { - return ((string)(this[this.tableBoard.cateColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'Board\' 테이블의 \'cate\' 열의 값이 DBNull입니다.", e); - } - } - set { - this[this.tableBoard.cateColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string title { - get { - try { - return ((string)(this[this.tableBoard.titleColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'Board\' 테이블의 \'title\' 열의 값이 DBNull입니다.", e); - } - } - set { - this[this.tableBoard.titleColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string contents { - get { - try { - return ((string)(this[this.tableBoard.contentsColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'Board\' 테이블의 \'contents\' 열의 값이 DBNull입니다.", e); - } - } - set { - this[this.tableBoard.contentsColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string file { - get { - try { - return ((string)(this[this.tableBoard.fileColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'Board\' 테이블의 \'file\' 열의 값이 DBNull입니다.", e); - } - } - set { - this[this.tableBoard.fileColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string guid { - get { - try { - return ((string)(this[this.tableBoard.guidColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'Board\' 테이블의 \'guid\' 열의 값이 DBNull입니다.", e); - } - } - set { - this[this.tableBoard.guidColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string wuid { - get { - return ((string)(this[this.tableBoard.wuidColumn])); - } - set { - this[this.tableBoard.wuidColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public System.DateTime wdate { - get { - return ((global::System.DateTime)(this[this.tableBoard.wdateColumn])); - } - set { - this[this.tableBoard.wdateColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsbidxNull() { - return this.IsNull(this.tableBoard.bidxColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetbidxNull() { - this[this.tableBoard.bidxColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsheaderNull() { - return this.IsNull(this.tableBoard.headerColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetheaderNull() { - this[this.tableBoard.headerColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IscateNull() { - return this.IsNull(this.tableBoard.cateColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetcateNull() { - this[this.tableBoard.cateColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IstitleNull() { - return this.IsNull(this.tableBoard.titleColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SettitleNull() { - this[this.tableBoard.titleColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IscontentsNull() { - return this.IsNull(this.tableBoard.contentsColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetcontentsNull() { - this[this.tableBoard.contentsColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsfileNull() { - return this.IsNull(this.tableBoard.fileColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetfileNull() { - this[this.tableBoard.fileColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsguidNull() { - return this.IsNull(this.tableBoard.guidColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetguidNull() { - this[this.tableBoard.guidColumn] = global::System.Convert.DBNull; - } - } - - /// - ///Represents strongly named DataRow class. - /// - public partial class HolydayRow : global::System.Data.DataRow { - - private HolydayDataTable tableHolyday; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal HolydayRow(global::System.Data.DataRowBuilder rb) : - base(rb) { - this.tableHolyday = ((HolydayDataTable)(this.Table)); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public int idx { - get { - return ((int)(this[this.tableHolyday.idxColumn])); - } - set { - this[this.tableHolyday.idxColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string cate { - get { - if (this.IscateNull()) { - return string.Empty; - } - else { - return ((string)(this[this.tableHolyday.cateColumn])); - } - } - set { - this[this.tableHolyday.cateColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string result { - get { - if (this.IsresultNull()) { - return string.Empty; - } - else { - return ((string)(this[this.tableHolyday.resultColumn])); - } - } - set { - this[this.tableHolyday.resultColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public System.DateTime sdate { - get { - try { - return ((global::System.DateTime)(this[this.tableHolyday.sdateColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'Holyday\' 테이블의 \'sdate\' 열의 값이 DBNull입니다.", e); - } - } - set { - this[this.tableHolyday.sdateColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public System.DateTime edate { - get { - try { - return ((global::System.DateTime)(this[this.tableHolyday.edateColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'Holyday\' 테이블의 \'edate\' 열의 값이 DBNull입니다.", e); - } - } - set { - this[this.tableHolyday.edateColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public double term { - get { - if (this.IstermNull()) { - return 1D; - } - else { - return ((double)(this[this.tableHolyday.termColumn])); - } - } - set { - this[this.tableHolyday.termColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string title { - get { - if (this.IstitleNull()) { - return string.Empty; - } - else { - return ((string)(this[this.tableHolyday.titleColumn])); - } - } - set { - this[this.tableHolyday.titleColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string contents { - get { - if (this.IscontentsNull()) { - return string.Empty; - } - else { - return ((string)(this[this.tableHolyday.contentsColumn])); - } - } - set { - this[this.tableHolyday.contentsColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string uid { - get { - if (this.IsuidNull()) { - return string.Empty; - } - else { - return ((string)(this[this.tableHolyday.uidColumn])); - } - } - set { - this[this.tableHolyday.uidColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string tolist { - get { - if (this.IstolistNull()) { - return string.Empty; - } - else { - return ((string)(this[this.tableHolyday.tolistColumn])); - } - } - set { - this[this.tableHolyday.tolistColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool mail { - get { - if (this.IsmailNull()) { - return false; - } - else { - return ((bool)(this[this.tableHolyday.mailColumn])); - } - } - set { - this[this.tableHolyday.mailColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool mailsend { - get { - if (this.IsmailsendNull()) { - return false; - } - else { - return ((bool)(this[this.tableHolyday.mailsendColumn])); - } - } - set { - this[this.tableHolyday.mailsendColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string reason { - get { - if (this.IsreasonNull()) { - return string.Empty; - } - else { - return ((string)(this[this.tableHolyday.reasonColumn])); - } - } - set { - this[this.tableHolyday.reasonColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string wuid { - get { - return ((string)(this[this.tableHolyday.wuidColumn])); - } - set { - this[this.tableHolyday.wuidColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public System.DateTime wdate { - get { - return ((global::System.DateTime)(this[this.tableHolyday.wdateColumn])); - } - set { - this[this.tableHolyday.wdateColumn] = value; - } - } - - [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() { - return this.IsNull(this.tableHolyday.cateColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetcateNull() { - this[this.tableHolyday.cateColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsresultNull() { - return this.IsNull(this.tableHolyday.resultColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetresultNull() { - this[this.tableHolyday.resultColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IssdateNull() { - return this.IsNull(this.tableHolyday.sdateColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetsdateNull() { - this[this.tableHolyday.sdateColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsedateNull() { - return this.IsNull(this.tableHolyday.edateColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetedateNull() { - this[this.tableHolyday.edateColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IstermNull() { - return this.IsNull(this.tableHolyday.termColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SettermNull() { - this[this.tableHolyday.termColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IstitleNull() { - return this.IsNull(this.tableHolyday.titleColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SettitleNull() { - this[this.tableHolyday.titleColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IscontentsNull() { - return this.IsNull(this.tableHolyday.contentsColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetcontentsNull() { - this[this.tableHolyday.contentsColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsuidNull() { - return this.IsNull(this.tableHolyday.uidColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetuidNull() { - this[this.tableHolyday.uidColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IstolistNull() { - return this.IsNull(this.tableHolyday.tolistColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SettolistNull() { - this[this.tableHolyday.tolistColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsmailNull() { - return this.IsNull(this.tableHolyday.mailColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetmailNull() { - this[this.tableHolyday.mailColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsmailsendNull() { - return this.IsNull(this.tableHolyday.mailsendColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetmailsendNull() { - this[this.tableHolyday.mailsendColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsreasonNull() { - return this.IsNull(this.tableHolyday.reasonColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - 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; - } - } - - /// - ///Row event argument class - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public class minutesRowChangeEvent : global::System.EventArgs { - - private minutesRow eventRow; - - private global::System.Data.DataRowAction eventAction; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public minutesRowChangeEvent(minutesRow row, global::System.Data.DataRowAction action) { - this.eventRow = row; - this.eventAction = action; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public minutesRow Row { - get { - return this.eventRow; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataRowAction Action { - get { - return this.eventAction; - } - } - } - - /// - ///Row event argument class - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public class BoardRowChangeEvent : global::System.EventArgs { - - private BoardRow eventRow; - - private global::System.Data.DataRowAction eventAction; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public BoardRowChangeEvent(BoardRow row, global::System.Data.DataRowAction action) { - this.eventRow = row; - this.eventAction = action; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public BoardRow Row { - get { - return this.eventRow; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataRowAction Action { - get { - return this.eventAction; - } - } - } - - /// - ///Row event argument class - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public class HolydayRowChangeEvent : global::System.EventArgs { - - private HolydayRow eventRow; - - private global::System.Data.DataRowAction eventAction; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public HolydayRowChangeEvent(HolydayRow row, global::System.Data.DataRowAction action) { - this.eventRow = row; - this.eventAction = action; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public HolydayRow Row { - get { - return this.eventRow; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataRowAction Action { - get { - return this.eventAction; - } - } - } - } -} -namespace FBS0000.dsMSSQLTableAdapters { - - - /// - ///Represents the connection and commands used to retrieve and save data. - /// - [global::System.ComponentModel.DesignerCategoryAttribute("code")] - [global::System.ComponentModel.ToolboxItem(true)] - [global::System.ComponentModel.DataObjectAttribute(true)] - [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + - ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public partial class minutesTableAdapter : global::System.ComponentModel.Component { - - private global::System.Data.SqlClient.SqlDataAdapter _adapter; - - private global::System.Data.SqlClient.SqlConnection _connection; - - private global::System.Data.SqlClient.SqlTransaction _transaction; - - private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - - private bool _clearBeforeFill; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public minutesTableAdapter() { - this.ClearBeforeFill = true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { - this.InitAdapter(); - } - return this._adapter; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { - this.InitConnection(); - } - return this._connection; - } - set { - this._connection = value; - if ((this.Adapter.InsertCommand != null)) { - this.Adapter.InsertCommand.Connection = value; - } - if ((this.Adapter.DeleteCommand != null)) { - this.Adapter.DeleteCommand.Connection = value; - } - if ((this.Adapter.UpdateCommand != null)) { - this.Adapter.UpdateCommand.Connection = value; - } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { - ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; - } - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { - return this._transaction; - } - set { - this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - this.CommandCollection[i].Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { - this.Adapter.DeleteCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { - this.Adapter.InsertCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { - this.Adapter.UpdateCommand.Transaction = this._transaction; - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { - this.InitCommandCollection(); - } - return this._commandCollection; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool ClearBeforeFill { - get { - return this._clearBeforeFill; - } - set { - this._clearBeforeFill = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitAdapter() { - this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); - global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); - tableMapping.SourceTable = "Table"; - tableMapping.DataSetTable = "minutes"; - tableMapping.ColumnMappings.Add("idx", "idx"); - tableMapping.ColumnMappings.Add("stime", "stime"); - tableMapping.ColumnMappings.Add("etime", "etime"); - tableMapping.ColumnMappings.Add("title", "title"); - tableMapping.ColumnMappings.Add("place", "place"); - tableMapping.ColumnMappings.Add("contents", "contents"); - tableMapping.ColumnMappings.Add("project", "project"); - tableMapping.ColumnMappings.Add("main", "main"); - tableMapping.ColumnMappings.Add("sub", "sub"); - tableMapping.ColumnMappings.Add("memo", "memo"); - tableMapping.ColumnMappings.Add("wuid", "wuid"); - tableMapping.ColumnMappings.Add("wdate", "wdate"); - 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 [minutes] WHERE (([idx] = @Original_idx) AND ((@IsNull_stime = 1 AND [stime] IS NULL) OR ([stime] = @Original_stime)) AND ((@IsNull_etime = 1 AND [etime] IS NULL) OR ([etime] = @Original_etime)) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_place = 1 AND [place] IS NULL) OR ([place] = @Original_place)) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ((@IsNull_main = 1 AND [main] IS NULL) OR ([main] = @Original_main)) AND ((@IsNull_sub = 1 AND [sub] IS NULL) OR ([sub] = @Original_sub)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate))"; - 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_stime", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "stime", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_stime", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "stime", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_etime", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "etime", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_etime", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "etime", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_title", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_title", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_place", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "place", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_place", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "place", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_project", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "project", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_project", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "project", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_main", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "main", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_main", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "main", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_sub", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sub", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_sub", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sub", 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.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); - this._adapter.InsertCommand.Connection = this.Connection; - this._adapter.InsertCommand.CommandText = @"INSERT INTO [minutes] ([stime], [etime], [title], [place], [contents], [project], [main], [sub], [memo], [wuid], [wdate]) VALUES (@stime, @etime, @title, @place, @contents, @project, @main, @sub, @memo, @wuid, @wdate); -SELECT idx, stime, etime, title, place, contents, project, main, sub, memo, wuid, wdate FROM minutes WHERE (idx = SCOPE_IDENTITY())"; - this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@stime", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "stime", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@etime", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "etime", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@title", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@place", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "place", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@contents", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "contents", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@project", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "project", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@main", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "main", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sub", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sub", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@memo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", 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.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); - this._adapter.UpdateCommand.Connection = this.Connection; - this._adapter.UpdateCommand.CommandText = @"UPDATE [minutes] SET [stime] = @stime, [etime] = @etime, [title] = @title, [place] = @place, [contents] = @contents, [project] = @project, [main] = @main, [sub] = @sub, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate WHERE (([idx] = @Original_idx) AND ((@IsNull_stime = 1 AND [stime] IS NULL) OR ([stime] = @Original_stime)) AND ((@IsNull_etime = 1 AND [etime] IS NULL) OR ([etime] = @Original_etime)) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_place = 1 AND [place] IS NULL) OR ([place] = @Original_place)) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ((@IsNull_main = 1 AND [main] IS NULL) OR ([main] = @Original_main)) AND ((@IsNull_sub = 1 AND [sub] IS NULL) OR ([sub] = @Original_sub)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate)); -SELECT idx, stime, etime, title, place, contents, project, main, sub, memo, wuid, wdate FROM minutes WHERE (idx = @idx)"; - this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@stime", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "stime", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@etime", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "etime", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@title", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@place", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "place", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@contents", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "contents", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@project", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "project", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@main", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "main", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sub", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sub", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@memo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", 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("@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_stime", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "stime", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_stime", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "stime", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_etime", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "etime", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_etime", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "etime", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_title", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_title", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_place", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "place", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_place", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "place", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_project", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "project", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_project", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "project", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_main", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "main", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_main", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "main", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_sub", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sub", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_sub", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sub", 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("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitConnection() { - this._connection = new global::System.Data.SqlClient.SqlConnection(); - this._connection.ConnectionString = global::FBS0000.Properties.Settings.Default.gwcs; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitCommandCollection() { - this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2]; - this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[0].Connection = this.Connection; - this._commandCollection[0].CommandText = "SELECT minutes.*\r\nFROM minutes"; - this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; - this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[1].Connection = this.Connection; - this._commandCollection[1].CommandText = "SELECT idx, stime, etime, title, place, contents, project, main, sub, memo, wuid" + - ", wdate\r\nFROM minutes\r\nWHERE (idx = @idx)"; - this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; - this._commandCollection[1].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, "", "", "")); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [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.Fill, true)] - public virtual int Fill(dsMSSQL.minutesDataTable dataTable) { - this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((this.ClearBeforeFill == true)) { - dataTable.Clear(); - } - int returnValue = this.Adapter.Fill(dataTable); - return returnValue; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [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.Select, true)] - public virtual dsMSSQL.minutesDataTable GetData() { - this.Adapter.SelectCommand = this.CommandCollection[0]; - dsMSSQL.minutesDataTable dataTable = new dsMSSQL.minutesDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [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.Fill, false)] - public virtual int FillByIDX(dsMSSQL.minutesDataTable dataTable, int idx) { - this.Adapter.SelectCommand = this.CommandCollection[1]; - this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idx)); - if ((this.ClearBeforeFill == true)) { - dataTable.Clear(); - } - int returnValue = this.Adapter.Fill(dataTable); - return returnValue; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [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.Select, false)] - public virtual dsMSSQL.minutesDataTable GetbyIDX(int idx) { - this.Adapter.SelectCommand = this.CommandCollection[1]; - this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idx)); - dsMSSQL.minutesDataTable dataTable = new dsMSSQL.minutesDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(dsMSSQL.minutesDataTable dataTable) { - return this.Adapter.Update(dataTable); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(dsMSSQL dataSet) { - return this.Adapter.Update(dataSet, "minutes"); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow dataRow) { - return this.Adapter.Update(new global::System.Data.DataRow[] { - dataRow}); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow[] dataRows) { - return this.Adapter.Update(dataRows); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [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, global::System.Nullable Original_stime, global::System.Nullable Original_etime, string Original_title, string Original_place, global::System.Nullable Original_project, string Original_main, string Original_sub, string Original_wuid, System.DateTime Original_wdate) { - this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx)); - if ((Original_stime.HasValue == true)) { - this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[2].Value = ((System.DateTime)(Original_stime.Value)); - } - else { - this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; - } - if ((Original_etime.HasValue == true)) { - this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[4].Value = ((System.DateTime)(Original_etime.Value)); - } - else { - this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value; - } - if ((Original_title == null)) { - this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_title)); - } - if ((Original_place == null)) { - this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(Original_place)); - } - if ((Original_project.HasValue == true)) { - this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[10].Value = ((int)(Original_project.Value)); - } - else { - this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value; - } - if ((Original_main == null)) { - this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[12].Value = ((string)(Original_main)); - } - if ((Original_sub == null)) { - this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[14].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[14].Value = ((string)(Original_sub)); - } - if ((Original_wuid == null)) { - throw new global::System.ArgumentNullException("Original_wuid"); - } - else { - this.Adapter.DeleteCommand.Parameters[15].Value = ((string)(Original_wuid)); - } - this.Adapter.DeleteCommand.Parameters[16].Value = ((System.DateTime)(Original_wdate)); - 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)) { - this.Adapter.DeleteCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.DeleteCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [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(global::System.Nullable stime, global::System.Nullable etime, string title, string place, string contents, global::System.Nullable project, string main, string sub, string memo, string wuid, System.DateTime wdate) { - if ((stime.HasValue == true)) { - this.Adapter.InsertCommand.Parameters[0].Value = ((System.DateTime)(stime.Value)); - } - else { - this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value; - } - if ((etime.HasValue == true)) { - this.Adapter.InsertCommand.Parameters[1].Value = ((System.DateTime)(etime.Value)); - } - else { - this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; - } - if ((title == null)) { - this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[2].Value = ((string)(title)); - } - if ((place == null)) { - this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[3].Value = ((string)(place)); - } - if ((contents == null)) { - this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[4].Value = ((string)(contents)); - } - if ((project.HasValue == true)) { - this.Adapter.InsertCommand.Parameters[5].Value = ((int)(project.Value)); - } - else { - this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; - } - if ((main == null)) { - this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[6].Value = ((string)(main)); - } - if ((sub == null)) { - this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[7].Value = ((string)(sub)); - } - if ((memo == null)) { - this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[8].Value = ((string)(memo)); - } - if ((wuid == null)) { - throw new global::System.ArgumentNullException("wuid"); - } - else { - this.Adapter.InsertCommand.Parameters[9].Value = ((string)(wuid)); - } - this.Adapter.InsertCommand.Parameters[10].Value = ((System.DateTime)(wdate)); - 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)) { - this.Adapter.InsertCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.InsertCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [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.Update, true)] - public virtual int Update( - global::System.Nullable stime, - global::System.Nullable etime, - string title, - string place, - string contents, - global::System.Nullable project, - string main, - string sub, - string memo, - string wuid, - System.DateTime wdate, - int Original_idx, - global::System.Nullable Original_stime, - global::System.Nullable Original_etime, - string Original_title, - string Original_place, - global::System.Nullable Original_project, - string Original_main, - string Original_sub, - string Original_wuid, - System.DateTime Original_wdate, - int idx) { - if ((stime.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[0].Value = ((System.DateTime)(stime.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value; - } - if ((etime.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[1].Value = ((System.DateTime)(etime.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; - } - if ((title == null)) { - this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(title)); - } - if ((place == null)) { - this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(place)); - } - if ((contents == null)) { - this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(contents)); - } - if ((project.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[5].Value = ((int)(project.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; - } - if ((main == null)) { - this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(main)); - } - if ((sub == null)) { - this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(sub)); - } - if ((memo == null)) { - this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(memo)); - } - if ((wuid == null)) { - throw new global::System.ArgumentNullException("wuid"); - } - else { - this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(wuid)); - } - this.Adapter.UpdateCommand.Parameters[10].Value = ((System.DateTime)(wdate)); - this.Adapter.UpdateCommand.Parameters[11].Value = ((int)(Original_idx)); - if ((Original_stime.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[13].Value = ((System.DateTime)(Original_stime.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value; - } - if ((Original_etime.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[15].Value = ((System.DateTime)(Original_etime.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value; - } - if ((Original_title == 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_title)); - } - if ((Original_place == null)) { - this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(Original_place)); - } - if ((Original_project.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[21].Value = ((int)(Original_project.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value; - } - if ((Original_main == null)) { - this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[23].Value = ((string)(Original_main)); - } - if ((Original_sub == null)) { - this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[25].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[25].Value = ((string)(Original_sub)); - } - if ((Original_wuid == null)) { - throw new global::System.ArgumentNullException("Original_wuid"); - } - else { - this.Adapter.UpdateCommand.Parameters[26].Value = ((string)(Original_wuid)); - } - this.Adapter.UpdateCommand.Parameters[27].Value = ((System.DateTime)(Original_wdate)); - this.Adapter.UpdateCommand.Parameters[28].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)) { - this.Adapter.UpdateCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.UpdateCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [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.Update, true)] - public virtual int Update( - global::System.Nullable stime, - global::System.Nullable etime, - string title, - string place, - string contents, - global::System.Nullable project, - string main, - string sub, - string memo, - string wuid, - System.DateTime wdate, - int Original_idx, - global::System.Nullable Original_stime, - global::System.Nullable Original_etime, - string Original_title, - string Original_place, - global::System.Nullable Original_project, - string Original_main, - string Original_sub, - string Original_wuid, - System.DateTime Original_wdate) { - return this.Update(stime, etime, title, place, contents, project, main, sub, memo, wuid, wdate, Original_idx, Original_stime, Original_etime, Original_title, Original_place, Original_project, Original_main, Original_sub, Original_wuid, Original_wdate, Original_idx); - } - } - - /// - ///Represents the connection and commands used to retrieve and save data. - /// - [global::System.ComponentModel.DesignerCategoryAttribute("code")] - [global::System.ComponentModel.ToolboxItem(true)] - [global::System.ComponentModel.DataObjectAttribute(true)] - [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + - ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public partial class BoardTableAdapter : global::System.ComponentModel.Component { - - private global::System.Data.SqlClient.SqlDataAdapter _adapter; - - private global::System.Data.SqlClient.SqlConnection _connection; - - private global::System.Data.SqlClient.SqlTransaction _transaction; - - private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - - private bool _clearBeforeFill; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public BoardTableAdapter() { - this.ClearBeforeFill = true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { - this.InitAdapter(); - } - return this._adapter; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { - this.InitConnection(); - } - return this._connection; - } - set { - this._connection = value; - if ((this.Adapter.InsertCommand != null)) { - this.Adapter.InsertCommand.Connection = value; - } - if ((this.Adapter.DeleteCommand != null)) { - this.Adapter.DeleteCommand.Connection = value; - } - if ((this.Adapter.UpdateCommand != null)) { - this.Adapter.UpdateCommand.Connection = value; - } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { - ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; - } - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { - return this._transaction; - } - set { - this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - this.CommandCollection[i].Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { - this.Adapter.DeleteCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { - this.Adapter.InsertCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { - this.Adapter.UpdateCommand.Transaction = this._transaction; - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { - this.InitCommandCollection(); - } - return this._commandCollection; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool ClearBeforeFill { - get { - return this._clearBeforeFill; - } - set { - this._clearBeforeFill = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitAdapter() { - this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); - global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); - tableMapping.SourceTable = "Table"; - tableMapping.DataSetTable = "Board"; - tableMapping.ColumnMappings.Add("idx", "idx"); - tableMapping.ColumnMappings.Add("bidx", "bidx"); - tableMapping.ColumnMappings.Add("header", "header"); - tableMapping.ColumnMappings.Add("cate", "cate"); - tableMapping.ColumnMappings.Add("title", "title"); - tableMapping.ColumnMappings.Add("contents", "contents"); - tableMapping.ColumnMappings.Add("file", "file"); - tableMapping.ColumnMappings.Add("guid", "guid"); - tableMapping.ColumnMappings.Add("wuid", "wuid"); - tableMapping.ColumnMappings.Add("wdate", "wdate"); - 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 [Board] WHERE (([idx] = @Original_idx) AND ((@IsNull_bidx = 1 AND [bidx] IS NULL) OR ([bidx] = @Original_bidx)) AND ((@IsNull_header = 1 AND [header] IS NULL) OR ([header] = @Original_header)) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_file = 1 AND [file] IS NULL) OR ([file] = @Original_file)) AND ((@IsNull_guid = 1 AND [guid] IS NULL) OR ([guid] = @Original_guid)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate))"; - 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_bidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bidx", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_bidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bidx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_header", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "header", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_header", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "header", 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, "", "", "")); - this._adapter.DeleteCommand.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, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_title", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_title", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_file", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "file", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_file", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "file", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_guid", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "guid", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_guid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "guid", 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.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); - this._adapter.InsertCommand.Connection = this.Connection; - this._adapter.InsertCommand.CommandText = @"INSERT INTO [Board] ([bidx], [header], [cate], [title], [contents], [file], [guid], [wuid], [wdate]) VALUES (@bidx, @header, @cate, @title, @contents, @file, @guid, @wuid, @wdate); -SELECT idx, bidx, header, cate, title, contents, [file], guid, wuid, wdate FROM Board WHERE (idx = SCOPE_IDENTITY())"; - this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bidx", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@header", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "header", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - 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("@title", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@contents", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "contents", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@file", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "file", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@guid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "guid", 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.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); - this._adapter.UpdateCommand.Connection = this.Connection; - this._adapter.UpdateCommand.CommandText = @"UPDATE [Board] SET [bidx] = @bidx, [header] = @header, [cate] = @cate, [title] = @title, [contents] = @contents, [file] = @file, [guid] = @guid, [wuid] = @wuid, [wdate] = @wdate WHERE (([idx] = @Original_idx) AND ((@IsNull_bidx = 1 AND [bidx] IS NULL) OR ([bidx] = @Original_bidx)) AND ((@IsNull_header = 1 AND [header] IS NULL) OR ([header] = @Original_header)) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_file = 1 AND [file] IS NULL) OR ([file] = @Original_file)) AND ((@IsNull_guid = 1 AND [guid] IS NULL) OR ([guid] = @Original_guid)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate)); -SELECT idx, bidx, header, cate, title, contents, [file], guid, wuid, wdate FROM Board WHERE (idx = @idx)"; - this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bidx", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@header", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "header", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - 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("@title", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@contents", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "contents", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@file", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "file", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@guid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "guid", 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("@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_bidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bidx", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_bidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bidx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_header", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "header", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_header", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "header", 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, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_title", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_title", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_file", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "file", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_file", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "file", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_guid", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "guid", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_guid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "guid", 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("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitConnection() { - this._connection = new global::System.Data.SqlClient.SqlConnection(); - this._connection.ConnectionString = global::FBS0000.Properties.Settings.Default.gwcs; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitCommandCollection() { - this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; - this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[0].Connection = this.Connection; - this._commandCollection[0].CommandText = "SELECT idx, bidx, header, cate, title, contents, [file], guid, wuid, wdate\r\nFROM" + - " Board\r\nWHERE (bidx = @bidx)"; - this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; - this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bidx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "bidx", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [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.Fill, true)] - public virtual int Fill(dsMSSQL.BoardDataTable dataTable, global::System.Nullable bidx) { - this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((bidx.HasValue == true)) { - this.Adapter.SelectCommand.Parameters[0].Value = ((int)(bidx.Value)); - } - else { - this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value; - } - if ((this.ClearBeforeFill == true)) { - dataTable.Clear(); - } - int returnValue = this.Adapter.Fill(dataTable); - return returnValue; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [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.Select, true)] - public virtual dsMSSQL.BoardDataTable GetData(global::System.Nullable bidx) { - this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((bidx.HasValue == true)) { - this.Adapter.SelectCommand.Parameters[0].Value = ((int)(bidx.Value)); - } - else { - this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value; - } - dsMSSQL.BoardDataTable dataTable = new dsMSSQL.BoardDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(dsMSSQL.BoardDataTable dataTable) { - return this.Adapter.Update(dataTable); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(dsMSSQL dataSet) { - return this.Adapter.Update(dataSet, "Board"); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow dataRow) { - return this.Adapter.Update(new global::System.Data.DataRow[] { - dataRow}); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow[] dataRows) { - return this.Adapter.Update(dataRows); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [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, global::System.Nullable Original_bidx, global::System.Nullable Original_header, string Original_cate, string Original_title, string Original_file, string Original_guid, string Original_wuid, System.DateTime Original_wdate) { - this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx)); - if ((Original_bidx.HasValue == true)) { - this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[2].Value = ((int)(Original_bidx.Value)); - } - else { - this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; - } - if ((Original_header.HasValue == true)) { - this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[4].Value = ((bool)(Original_header.Value)); - } - else { - this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value; - } - if ((Original_cate == null)) { - this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_cate)); - } - if ((Original_title == null)) { - this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(Original_title)); - } - if ((Original_file == null)) { - this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[10].Value = ((string)(Original_file)); - } - if ((Original_guid == null)) { - this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[12].Value = ((string)(Original_guid)); - } - if ((Original_wuid == null)) { - throw new global::System.ArgumentNullException("Original_wuid"); - } - else { - this.Adapter.DeleteCommand.Parameters[13].Value = ((string)(Original_wuid)); - } - this.Adapter.DeleteCommand.Parameters[14].Value = ((System.DateTime)(Original_wdate)); - 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)) { - this.Adapter.DeleteCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.DeleteCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [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(global::System.Nullable bidx, global::System.Nullable header, string cate, string title, string contents, string file, string guid, string wuid, System.DateTime wdate) { - if ((bidx.HasValue == true)) { - this.Adapter.InsertCommand.Parameters[0].Value = ((int)(bidx.Value)); - } - else { - this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value; - } - if ((header.HasValue == true)) { - this.Adapter.InsertCommand.Parameters[1].Value = ((bool)(header.Value)); - } - else { - this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; - } - if ((cate == null)) { - this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[2].Value = ((string)(cate)); - } - if ((title == null)) { - this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[3].Value = ((string)(title)); - } - if ((contents == null)) { - this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[4].Value = ((string)(contents)); - } - if ((file == null)) { - this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[5].Value = ((string)(file)); - } - if ((guid == null)) { - this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[6].Value = ((string)(guid)); - } - if ((wuid == null)) { - throw new global::System.ArgumentNullException("wuid"); - } - else { - this.Adapter.InsertCommand.Parameters[7].Value = ((string)(wuid)); - } - this.Adapter.InsertCommand.Parameters[8].Value = ((System.DateTime)(wdate)); - 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)) { - this.Adapter.InsertCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.InsertCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [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.Update, true)] - public virtual int Update( - global::System.Nullable bidx, - global::System.Nullable header, - string cate, - string title, - string contents, - string file, - string guid, - string wuid, - System.DateTime wdate, - int Original_idx, - global::System.Nullable Original_bidx, - global::System.Nullable Original_header, - string Original_cate, - string Original_title, - string Original_file, - string Original_guid, - string Original_wuid, - System.DateTime Original_wdate, - int idx) { - if ((bidx.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(bidx.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value; - } - if ((header.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[1].Value = ((bool)(header.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; - } - if ((cate == null)) { - this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(cate)); - } - if ((title == null)) { - this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(title)); - } - if ((contents == null)) { - this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(contents)); - } - if ((file == null)) { - this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(file)); - } - if ((guid == null)) { - this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(guid)); - } - if ((wuid == null)) { - throw new global::System.ArgumentNullException("wuid"); - } - else { - this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(wuid)); - } - this.Adapter.UpdateCommand.Parameters[8].Value = ((System.DateTime)(wdate)); - this.Adapter.UpdateCommand.Parameters[9].Value = ((int)(Original_idx)); - if ((Original_bidx.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[11].Value = ((int)(Original_bidx.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value; - } - if ((Original_header.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[13].Value = ((bool)(Original_header.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value; - } - if ((Original_cate == null)) { - this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Original_cate)); - } - if ((Original_title == 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_title)); - } - if ((Original_file == null)) { - this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(Original_file)); - } - if ((Original_guid == null)) { - this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[21].Value = ((string)(Original_guid)); - } - if ((Original_wuid == null)) { - throw new global::System.ArgumentNullException("Original_wuid"); - } - else { - this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(Original_wuid)); - } - this.Adapter.UpdateCommand.Parameters[23].Value = ((System.DateTime)(Original_wdate)); - this.Adapter.UpdateCommand.Parameters[24].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)) { - this.Adapter.UpdateCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.UpdateCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [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.Update, true)] - public virtual int Update( - global::System.Nullable bidx, - global::System.Nullable header, - string cate, - string title, - string contents, - string file, - string guid, - string wuid, - System.DateTime wdate, - int Original_idx, - global::System.Nullable Original_bidx, - global::System.Nullable Original_header, - string Original_cate, - string Original_title, - string Original_file, - string Original_guid, - string Original_wuid, - System.DateTime Original_wdate) { - return this.Update(bidx, header, cate, title, contents, file, guid, wuid, wdate, Original_idx, Original_bidx, Original_header, Original_cate, Original_title, Original_file, Original_guid, Original_wuid, Original_wdate, Original_idx); - } - } - - /// - ///Represents the connection and commands used to retrieve and save data. - /// - [global::System.ComponentModel.DesignerCategoryAttribute("code")] - [global::System.ComponentModel.ToolboxItem(true)] - [global::System.ComponentModel.DataObjectAttribute(true)] - [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + - ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public partial class HolydayTableAdapter : global::System.ComponentModel.Component { - - private global::System.Data.SqlClient.SqlDataAdapter _adapter; - - private global::System.Data.SqlClient.SqlConnection _connection; - - private global::System.Data.SqlClient.SqlTransaction _transaction; - - private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - - private bool _clearBeforeFill; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public HolydayTableAdapter() { - this.ClearBeforeFill = true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { - this.InitAdapter(); - } - return this._adapter; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { - this.InitConnection(); - } - return this._connection; - } - set { - this._connection = value; - if ((this.Adapter.InsertCommand != null)) { - this.Adapter.InsertCommand.Connection = value; - } - if ((this.Adapter.DeleteCommand != null)) { - this.Adapter.DeleteCommand.Connection = value; - } - if ((this.Adapter.UpdateCommand != null)) { - this.Adapter.UpdateCommand.Connection = value; - } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { - ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; - } - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { - return this._transaction; - } - set { - this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - this.CommandCollection[i].Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { - this.Adapter.DeleteCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { - this.Adapter.InsertCommand.Transaction = this._transaction; - } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { - this.Adapter.UpdateCommand.Transaction = this._transaction; - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { - this.InitCommandCollection(); - } - return this._commandCollection; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool ClearBeforeFill { - get { - return this._clearBeforeFill; - } - set { - this._clearBeforeFill = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitAdapter() { - this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); - global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); - tableMapping.SourceTable = "Table"; - tableMapping.DataSetTable = "Holyday"; - tableMapping.ColumnMappings.Add("idx", "idx"); - tableMapping.ColumnMappings.Add("cate", "cate"); - tableMapping.ColumnMappings.Add("result", "result"); - tableMapping.ColumnMappings.Add("sdate", "sdate"); - tableMapping.ColumnMappings.Add("edate", "edate"); - tableMapping.ColumnMappings.Add("term", "term"); - tableMapping.ColumnMappings.Add("title", "title"); - tableMapping.ColumnMappings.Add("contents", "contents"); - tableMapping.ColumnMappings.Add("uid", "uid"); - tableMapping.ColumnMappings.Add("tolist", "tolist"); - tableMapping.ColumnMappings.Add("mail", "mail"); - tableMapping.ColumnMappings.Add("mailsend", "mailsend"); - 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) 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, "", "", "")); - this._adapter.DeleteCommand.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, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_result", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "result", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_result", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "result", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_sdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sdate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_sdate", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sdate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_edate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_edate", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_term", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "term", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_term", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "term", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_title", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_title", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_uid", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_uid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_mail", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "mail", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_mail", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "mail", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_mailsend", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "mailsend", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - 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], [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, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sdate", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@edate", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@term", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "term", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@title", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@contents", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "contents", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@tolist", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "tolist", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@mail", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "mail", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@mailsend", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "mailsend", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - 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, [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, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sdate", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@edate", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@term", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "term", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@title", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@contents", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "contents", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@tolist", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "tolist", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@mail", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "mail", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@mailsend", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "mailsend", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - 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, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_result", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "result", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_result", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "result", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_sdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sdate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_sdate", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sdate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_edate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_edate", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_term", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "term", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_term", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "term", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_title", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_title", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_uid", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_uid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_mail", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "mail", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_mail", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "mail", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_mailsend", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "mailsend", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - 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, "", "", "")); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitConnection() { - this._connection = new global::System.Data.SqlClient.SqlConnection(); - this._connection.ConnectionString = global::FBS0000.Properties.Settings.Default.gwcs; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitCommandCollection() { - this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; - 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, 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, "", "", "")); - this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uid", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [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.Fill, true)] - public virtual int Fill(dsMSSQL.HolydayDataTable dataTable, string sd, string ed, string uid) { - this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((sd == null)) { - this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value; - } - else { - this.Adapter.SelectCommand.Parameters[0].Value = ((string)(sd)); - } - if ((ed == null)) { - this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; - } - else { - this.Adapter.SelectCommand.Parameters[1].Value = ((string)(ed)); - } - if ((uid == null)) { - throw new global::System.ArgumentNullException("uid"); - } - else { - this.Adapter.SelectCommand.Parameters[2].Value = ((string)(uid)); - } - if ((this.ClearBeforeFill == true)) { - dataTable.Clear(); - } - int returnValue = this.Adapter.Fill(dataTable); - return returnValue; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [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.Select, true)] - public virtual dsMSSQL.HolydayDataTable GetData(string sd, string ed, string uid) { - this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((sd == null)) { - this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value; - } - else { - this.Adapter.SelectCommand.Parameters[0].Value = ((string)(sd)); - } - if ((ed == null)) { - this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; - } - else { - this.Adapter.SelectCommand.Parameters[1].Value = ((string)(ed)); - } - if ((uid == null)) { - throw new global::System.ArgumentNullException("uid"); - } - else { - this.Adapter.SelectCommand.Parameters[2].Value = ((string)(uid)); - } - dsMSSQL.HolydayDataTable dataTable = new dsMSSQL.HolydayDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(dsMSSQL.HolydayDataTable dataTable) { - return this.Adapter.Update(dataTable); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(dsMSSQL dataSet) { - return this.Adapter.Update(dataSet, "Holyday"); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow dataRow) { - return this.Adapter.Update(new global::System.Data.DataRow[] { - dataRow}); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow[] dataRows) { - return this.Adapter.Update(dataRows); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [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 Original_sdate, global::System.Nullable Original_edate, global::System.Nullable Original_term, string Original_title, string Original_uid, global::System.Nullable Original_mail, global::System.Nullable Original_mailsend, string Original_wuid, System.DateTime Original_wdate, global::System.Nullable Original_termDr) { - this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx)); - if ((Original_cate == null)) { - this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_cate)); - } - if ((Original_result == null)) { - this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_result)); - } - if ((Original_sdate.HasValue == true)) { - this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[6].Value = ((System.DateTime)(Original_sdate.Value)); - } - else { - this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value; - } - if ((Original_edate.HasValue == true)) { - this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[8].Value = ((System.DateTime)(Original_edate.Value)); - } - else { - this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value; - } - if ((Original_term.HasValue == true)) { - this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[10].Value = ((double)(Original_term.Value)); - } - else { - this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value; - } - if ((Original_title == null)) { - this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[12].Value = ((string)(Original_title)); - } - if ((Original_uid == null)) { - this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[14].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[14].Value = ((string)(Original_uid)); - } - if ((Original_mail.HasValue == true)) { - this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[16].Value = ((bool)(Original_mail.Value)); - } - else { - this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[16].Value = global::System.DBNull.Value; - } - if ((Original_mailsend.HasValue == true)) { - this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[18].Value = ((bool)(Original_mailsend.Value)); - } - else { - this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[18].Value = global::System.DBNull.Value; - } - if ((Original_wuid == null)) { - throw new global::System.ArgumentNullException("Original_wuid"); - } - else { - 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)) { - this.Adapter.DeleteCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.DeleteCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [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 sdate, global::System.Nullable edate, global::System.Nullable term, string title, string contents, string uid, string tolist, global::System.Nullable mail, global::System.Nullable mailsend, string reason, string wuid, System.DateTime wdate, global::System.Nullable termDr) { - if ((cate == null)) { - this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[0].Value = ((string)(cate)); - } - if ((result == null)) { - this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[1].Value = ((string)(result)); - } - if ((sdate.HasValue == true)) { - this.Adapter.InsertCommand.Parameters[2].Value = ((System.DateTime)(sdate.Value)); - } - else { - this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; - } - if ((edate.HasValue == true)) { - this.Adapter.InsertCommand.Parameters[3].Value = ((System.DateTime)(edate.Value)); - } - else { - this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; - } - if ((term.HasValue == true)) { - this.Adapter.InsertCommand.Parameters[4].Value = ((double)(term.Value)); - } - else { - this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; - } - if ((title == null)) { - this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[5].Value = ((string)(title)); - } - if ((contents == null)) { - this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[6].Value = ((string)(contents)); - } - if ((uid == null)) { - this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[7].Value = ((string)(uid)); - } - if ((tolist == null)) { - this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[8].Value = ((string)(tolist)); - } - if ((mail.HasValue == true)) { - this.Adapter.InsertCommand.Parameters[9].Value = ((bool)(mail.Value)); - } - else { - this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value; - } - if ((mailsend.HasValue == true)) { - this.Adapter.InsertCommand.Parameters[10].Value = ((bool)(mailsend.Value)); - } - else { - this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value; - } - if ((reason == null)) { - this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[11].Value = ((string)(reason)); - } - if ((wuid == null)) { - throw new global::System.ArgumentNullException("wuid"); - } - else { - 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)) { - this.Adapter.InsertCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.InsertCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [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.Update, true)] - public virtual int Update( - string cate, - string result, - global::System.Nullable sdate, - global::System.Nullable edate, - global::System.Nullable term, - string title, - string contents, - string uid, - string tolist, - global::System.Nullable mail, - global::System.Nullable mailsend, - string reason, - string wuid, - System.DateTime wdate, - global::System.Nullable termDr, - int Original_idx, - string Original_cate, - string Original_result, - global::System.Nullable Original_sdate, - global::System.Nullable Original_edate, - global::System.Nullable Original_term, - string Original_title, - string Original_uid, - global::System.Nullable Original_mail, - global::System.Nullable Original_mailsend, - string Original_wuid, - System.DateTime Original_wdate, - global::System.Nullable Original_termDr, - int idx) { - if ((cate == null)) { - this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(cate)); - } - if ((result == null)) { - this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(result)); - } - if ((sdate.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[2].Value = ((System.DateTime)(sdate.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; - } - if ((edate.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[3].Value = ((System.DateTime)(edate.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; - } - if ((term.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[4].Value = ((double)(term.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; - } - if ((title == null)) { - this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(title)); - } - if ((contents == null)) { - this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(contents)); - } - if ((uid == null)) { - this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(uid)); - } - if ((tolist == null)) { - this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(tolist)); - } - if ((mail.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[9].Value = ((bool)(mail.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value; - } - if ((mailsend.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[10].Value = ((bool)(mailsend.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value; - } - if ((reason == null)) { - this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(reason)); - } - if ((wuid == null)) { - throw new global::System.ArgumentNullException("wuid"); - } - else { - this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(wuid)); - } - this.Adapter.UpdateCommand.Parameters[13].Value = ((System.DateTime)(wdate)); - if ((termDr.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[14].Value = ((double)(termDr.Value)); - } - else { - 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[18].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value; - } - else { - 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[20].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[21].Value = ((System.DateTime)(Original_sdate.Value)); - } - else { - 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[22].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[23].Value = ((System.DateTime)(Original_edate.Value)); - } - else { - 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[24].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[25].Value = ((double)(Original_term.Value)); - } - else { - 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[26].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[27].Value = global::System.DBNull.Value; - } - else { - 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[28].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[29].Value = global::System.DBNull.Value; - } - else { - 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[30].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[31].Value = ((bool)(Original_mail.Value)); - } - else { - 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[32].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[33].Value = ((bool)(Original_mailsend.Value)); - } - else { - 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[34].Value = ((string)(Original_wuid)); - } - 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)) { - this.Adapter.UpdateCommand.Connection.Open(); - } - try { - int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); - return returnValue; - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - this.Adapter.UpdateCommand.Connection.Close(); - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [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.Update, true)] - public virtual int Update( - string cate, - string result, - global::System.Nullable sdate, - global::System.Nullable edate, - global::System.Nullable term, - string title, - string contents, - string uid, - string tolist, - global::System.Nullable mail, - global::System.Nullable mailsend, - string reason, - string wuid, - System.DateTime wdate, - global::System.Nullable termDr, - int Original_idx, - string Original_cate, - string Original_result, - global::System.Nullable Original_sdate, - global::System.Nullable Original_edate, - global::System.Nullable Original_term, - string Original_title, - string Original_uid, - global::System.Nullable Original_mail, - global::System.Nullable Original_mailsend, - string Original_wuid, - System.DateTime Original_wdate, - global::System.Nullable 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); - } - } - - /// - ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios - /// - [global::System.ComponentModel.DesignerCategoryAttribute("code")] - [global::System.ComponentModel.ToolboxItem(true)] - [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerDesigner, Microsoft.VSD" + - "esigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapterManager")] - public partial class TableAdapterManager : global::System.ComponentModel.Component { - - private UpdateOrderOption _updateOrder; - - private minutesTableAdapter _minutesTableAdapter; - - private BoardTableAdapter _boardTableAdapter; - - private HolydayTableAdapter _holydayTableAdapter; - - private bool _backupDataSetBeforeUpdate; - - private global::System.Data.IDbConnection _connection; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public UpdateOrderOption UpdateOrder { - get { - return this._updateOrder; - } - set { - this._updateOrder = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + - "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + - "a", "System.Drawing.Design.UITypeEditor")] - public minutesTableAdapter minutesTableAdapter { - get { - return this._minutesTableAdapter; - } - set { - this._minutesTableAdapter = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + - "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + - "a", "System.Drawing.Design.UITypeEditor")] - public BoardTableAdapter BoardTableAdapter { - get { - return this._boardTableAdapter; - } - set { - this._boardTableAdapter = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + - "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + - "a", "System.Drawing.Design.UITypeEditor")] - public HolydayTableAdapter HolydayTableAdapter { - get { - return this._holydayTableAdapter; - } - set { - this._holydayTableAdapter = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool BackupDataSetBeforeUpdate { - get { - return this._backupDataSetBeforeUpdate; - } - set { - this._backupDataSetBeforeUpdate = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - public global::System.Data.IDbConnection Connection { - get { - if ((this._connection != null)) { - return this._connection; - } - if (((this._minutesTableAdapter != null) - && (this._minutesTableAdapter.Connection != null))) { - return this._minutesTableAdapter.Connection; - } - if (((this._boardTableAdapter != null) - && (this._boardTableAdapter.Connection != null))) { - return this._boardTableAdapter.Connection; - } - if (((this._holydayTableAdapter != null) - && (this._holydayTableAdapter.Connection != null))) { - return this._holydayTableAdapter.Connection; - } - return null; - } - set { - this._connection = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - public int TableAdapterInstanceCount { - get { - int count = 0; - if ((this._minutesTableAdapter != null)) { - count = (count + 1); - } - if ((this._boardTableAdapter != null)) { - count = (count + 1); - } - if ((this._holydayTableAdapter != null)) { - count = (count + 1); - } - return count; - } - } - - /// - ///Update rows in top-down order. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private int UpdateUpdatedRows(dsMSSQL dataSet, global::System.Collections.Generic.List allChangedRows, global::System.Collections.Generic.List allAddedRows) { - int result = 0; - if ((this._minutesTableAdapter != null)) { - global::System.Data.DataRow[] updatedRows = dataSet.minutes.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); - updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); - if (((updatedRows != null) - && (0 < updatedRows.Length))) { - result = (result + this._minutesTableAdapter.Update(updatedRows)); - allChangedRows.AddRange(updatedRows); - } - } - if ((this._boardTableAdapter != null)) { - global::System.Data.DataRow[] updatedRows = dataSet.Board.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); - updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); - if (((updatedRows != null) - && (0 < updatedRows.Length))) { - result = (result + this._boardTableAdapter.Update(updatedRows)); - allChangedRows.AddRange(updatedRows); - } - } - if ((this._holydayTableAdapter != null)) { - global::System.Data.DataRow[] updatedRows = dataSet.Holyday.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); - updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); - if (((updatedRows != null) - && (0 < updatedRows.Length))) { - result = (result + this._holydayTableAdapter.Update(updatedRows)); - allChangedRows.AddRange(updatedRows); - } - } - return result; - } - - /// - ///Insert rows in top-down order. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private int UpdateInsertedRows(dsMSSQL dataSet, global::System.Collections.Generic.List allAddedRows) { - int result = 0; - if ((this._minutesTableAdapter != null)) { - global::System.Data.DataRow[] addedRows = dataSet.minutes.Select(null, null, global::System.Data.DataViewRowState.Added); - if (((addedRows != null) - && (0 < addedRows.Length))) { - result = (result + this._minutesTableAdapter.Update(addedRows)); - allAddedRows.AddRange(addedRows); - } - } - if ((this._boardTableAdapter != null)) { - global::System.Data.DataRow[] addedRows = dataSet.Board.Select(null, null, global::System.Data.DataViewRowState.Added); - if (((addedRows != null) - && (0 < addedRows.Length))) { - result = (result + this._boardTableAdapter.Update(addedRows)); - allAddedRows.AddRange(addedRows); - } - } - if ((this._holydayTableAdapter != null)) { - global::System.Data.DataRow[] addedRows = dataSet.Holyday.Select(null, null, global::System.Data.DataViewRowState.Added); - if (((addedRows != null) - && (0 < addedRows.Length))) { - result = (result + this._holydayTableAdapter.Update(addedRows)); - allAddedRows.AddRange(addedRows); - } - } - return result; - } - - /// - ///Delete rows in bottom-up order. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private int UpdateDeletedRows(dsMSSQL dataSet, global::System.Collections.Generic.List allChangedRows) { - int result = 0; - if ((this._holydayTableAdapter != null)) { - global::System.Data.DataRow[] deletedRows = dataSet.Holyday.Select(null, null, global::System.Data.DataViewRowState.Deleted); - if (((deletedRows != null) - && (0 < deletedRows.Length))) { - result = (result + this._holydayTableAdapter.Update(deletedRows)); - allChangedRows.AddRange(deletedRows); - } - } - if ((this._boardTableAdapter != null)) { - global::System.Data.DataRow[] deletedRows = dataSet.Board.Select(null, null, global::System.Data.DataViewRowState.Deleted); - if (((deletedRows != null) - && (0 < deletedRows.Length))) { - result = (result + this._boardTableAdapter.Update(deletedRows)); - allChangedRows.AddRange(deletedRows); - } - } - if ((this._minutesTableAdapter != null)) { - global::System.Data.DataRow[] deletedRows = dataSet.minutes.Select(null, null, global::System.Data.DataViewRowState.Deleted); - if (((deletedRows != null) - && (0 < deletedRows.Length))) { - result = (result + this._minutesTableAdapter.Update(deletedRows)); - allChangedRows.AddRange(deletedRows); - } - } - return result; - } - - /// - ///Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private global::System.Data.DataRow[] GetRealUpdatedRows(global::System.Data.DataRow[] updatedRows, global::System.Collections.Generic.List allAddedRows) { - if (((updatedRows == null) - || (updatedRows.Length < 1))) { - return updatedRows; - } - if (((allAddedRows == null) - || (allAddedRows.Count < 1))) { - return updatedRows; - } - global::System.Collections.Generic.List realUpdatedRows = new global::System.Collections.Generic.List(); - for (int i = 0; (i < updatedRows.Length); i = (i + 1)) { - global::System.Data.DataRow row = updatedRows[i]; - if ((allAddedRows.Contains(row) == false)) { - realUpdatedRows.Add(row); - } - } - return realUpdatedRows.ToArray(); - } - - /// - ///Update all changes to the dataset. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public virtual int UpdateAll(dsMSSQL dataSet) { - if ((dataSet == null)) { - throw new global::System.ArgumentNullException("dataSet"); - } - if ((dataSet.HasChanges() == false)) { - return 0; - } - if (((this._minutesTableAdapter != null) - && (this.MatchTableAdapterConnection(this._minutesTableAdapter.Connection) == false))) { - throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다."); - } - if (((this._boardTableAdapter != null) - && (this.MatchTableAdapterConnection(this._boardTableAdapter.Connection) == false))) { - throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다."); - } - if (((this._holydayTableAdapter != null) - && (this.MatchTableAdapterConnection(this._holydayTableAdapter.Connection) == false))) { - throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다."); - } - global::System.Data.IDbConnection workConnection = this.Connection; - if ((workConnection == null)) { - throw new global::System.ApplicationException("TableAdapterManager에 연결 정보가 없습니다. 각 TableAdapterManager TableAdapter 속성을 올바른 Tabl" + - "eAdapter 인스턴스로 설정하십시오."); - } - bool workConnOpened = false; - if (((workConnection.State & global::System.Data.ConnectionState.Broken) - == global::System.Data.ConnectionState.Broken)) { - workConnection.Close(); - } - if ((workConnection.State == global::System.Data.ConnectionState.Closed)) { - workConnection.Open(); - workConnOpened = true; - } - global::System.Data.IDbTransaction workTransaction = workConnection.BeginTransaction(); - if ((workTransaction == null)) { - throw new global::System.ApplicationException("트랜잭션을 시작할 수 없습니다. 현재 데이터 연결에서 트랜잭션이 지원되지 않거나 현재 상태에서 트랜잭션을 시작할 수 없습니다."); - } - global::System.Collections.Generic.List allChangedRows = new global::System.Collections.Generic.List(); - global::System.Collections.Generic.List allAddedRows = new global::System.Collections.Generic.List(); - global::System.Collections.Generic.List adaptersWithAcceptChangesDuringUpdate = new global::System.Collections.Generic.List(); - global::System.Collections.Generic.Dictionary revertConnections = new global::System.Collections.Generic.Dictionary(); - int result = 0; - global::System.Data.DataSet backupDataSet = null; - if (this.BackupDataSetBeforeUpdate) { - backupDataSet = new global::System.Data.DataSet(); - backupDataSet.Merge(dataSet); - } - try { - // ---- Prepare for update ----------- - // - if ((this._minutesTableAdapter != null)) { - revertConnections.Add(this._minutesTableAdapter, this._minutesTableAdapter.Connection); - this._minutesTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); - this._minutesTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); - if (this._minutesTableAdapter.Adapter.AcceptChangesDuringUpdate) { - this._minutesTableAdapter.Adapter.AcceptChangesDuringUpdate = false; - adaptersWithAcceptChangesDuringUpdate.Add(this._minutesTableAdapter.Adapter); - } - } - if ((this._boardTableAdapter != null)) { - revertConnections.Add(this._boardTableAdapter, this._boardTableAdapter.Connection); - this._boardTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); - this._boardTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); - if (this._boardTableAdapter.Adapter.AcceptChangesDuringUpdate) { - this._boardTableAdapter.Adapter.AcceptChangesDuringUpdate = false; - adaptersWithAcceptChangesDuringUpdate.Add(this._boardTableAdapter.Adapter); - } - } - if ((this._holydayTableAdapter != null)) { - revertConnections.Add(this._holydayTableAdapter, this._holydayTableAdapter.Connection); - this._holydayTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); - this._holydayTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); - if (this._holydayTableAdapter.Adapter.AcceptChangesDuringUpdate) { - this._holydayTableAdapter.Adapter.AcceptChangesDuringUpdate = false; - adaptersWithAcceptChangesDuringUpdate.Add(this._holydayTableAdapter.Adapter); - } - } - // - //---- Perform updates ----------- - // - if ((this.UpdateOrder == UpdateOrderOption.UpdateInsertDelete)) { - result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows)); - result = (result + this.UpdateInsertedRows(dataSet, allAddedRows)); - } - else { - result = (result + this.UpdateInsertedRows(dataSet, allAddedRows)); - result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows)); - } - result = (result + this.UpdateDeletedRows(dataSet, allChangedRows)); - // - //---- Commit updates ----------- - // - workTransaction.Commit(); - if ((0 < allAddedRows.Count)) { - global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count]; - allAddedRows.CopyTo(rows); - for (int i = 0; (i < rows.Length); i = (i + 1)) { - global::System.Data.DataRow row = rows[i]; - row.AcceptChanges(); - } - } - if ((0 < allChangedRows.Count)) { - global::System.Data.DataRow[] rows = new System.Data.DataRow[allChangedRows.Count]; - allChangedRows.CopyTo(rows); - for (int i = 0; (i < rows.Length); i = (i + 1)) { - global::System.Data.DataRow row = rows[i]; - row.AcceptChanges(); - } - } - } - catch (global::System.Exception ex) { - workTransaction.Rollback(); - // ---- Restore the dataset ----------- - if (this.BackupDataSetBeforeUpdate) { - global::System.Diagnostics.Debug.Assert((backupDataSet != null)); - dataSet.Clear(); - dataSet.Merge(backupDataSet); - } - else { - if ((0 < allAddedRows.Count)) { - global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count]; - allAddedRows.CopyTo(rows); - for (int i = 0; (i < rows.Length); i = (i + 1)) { - global::System.Data.DataRow row = rows[i]; - row.AcceptChanges(); - row.SetAdded(); - } - } - } - throw ex; - } - finally { - if (workConnOpened) { - workConnection.Close(); - } - if ((this._minutesTableAdapter != null)) { - this._minutesTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._minutesTableAdapter])); - this._minutesTableAdapter.Transaction = null; - } - if ((this._boardTableAdapter != null)) { - this._boardTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._boardTableAdapter])); - this._boardTableAdapter.Transaction = null; - } - if ((this._holydayTableAdapter != null)) { - this._holydayTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._holydayTableAdapter])); - this._holydayTableAdapter.Transaction = null; - } - if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) { - global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count]; - adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters); - for (int i = 0; (i < adapters.Length); i = (i + 1)) { - global::System.Data.Common.DataAdapter adapter = adapters[i]; - adapter.AcceptChangesDuringUpdate = true; - } - } - } - return result; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected virtual void SortSelfReferenceRows(global::System.Data.DataRow[] rows, global::System.Data.DataRelation relation, bool childFirst) { - global::System.Array.Sort(rows, new SelfReferenceComparer(relation, childFirst)); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected virtual bool MatchTableAdapterConnection(global::System.Data.IDbConnection inputConnection) { - if ((this._connection != null)) { - return true; - } - if (((this.Connection == null) - || (inputConnection == null))) { - return true; - } - if (string.Equals(this.Connection.ConnectionString, inputConnection.ConnectionString, global::System.StringComparison.Ordinal)) { - return true; - } - return false; - } - - /// - ///Update Order Option - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public enum UpdateOrderOption { - - InsertUpdateDelete = 0, - - UpdateInsertDelete = 1, - } - - /// - ///Used to sort self-referenced table's rows - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private class SelfReferenceComparer : object, global::System.Collections.Generic.IComparer { - - private global::System.Data.DataRelation _relation; - - private int _childFirst; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal SelfReferenceComparer(global::System.Data.DataRelation relation, bool childFirst) { - this._relation = relation; - if (childFirst) { - this._childFirst = -1; - } - else { - this._childFirst = 1; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private global::System.Data.DataRow GetRoot(global::System.Data.DataRow row, out int distance) { - global::System.Diagnostics.Debug.Assert((row != null)); - global::System.Data.DataRow root = row; - distance = 0; - - global::System.Collections.Generic.IDictionary traversedRows = new global::System.Collections.Generic.Dictionary(); - traversedRows[row] = row; - - global::System.Data.DataRow parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default); - for ( - ; ((parent != null) - && (traversedRows.ContainsKey(parent) == false)); - ) { - distance = (distance + 1); - root = parent; - traversedRows[parent] = parent; - parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default); - } - - if ((distance == 0)) { - traversedRows.Clear(); - traversedRows[row] = row; - parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original); - for ( - ; ((parent != null) - && (traversedRows.ContainsKey(parent) == false)); - ) { - distance = (distance + 1); - root = parent; - traversedRows[parent] = parent; - parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original); - } - } - - return root; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public int Compare(global::System.Data.DataRow row1, global::System.Data.DataRow row2) { - if (object.ReferenceEquals(row1, row2)) { - return 0; - } - if ((row1 == null)) { - return -1; - } - if ((row2 == null)) { - return 1; - } - - int distance1 = 0; - global::System.Data.DataRow root1 = this.GetRoot(row1, out distance1); - - int distance2 = 0; - global::System.Data.DataRow root2 = this.GetRoot(row2, out distance2); - - if (object.ReferenceEquals(root1, root2)) { - return (this._childFirst * distance1.CompareTo(distance2)); - } - else { - global::System.Diagnostics.Debug.Assert(((root1.Table != null) - && (root2.Table != null))); - if ((root1.Table.Rows.IndexOf(root1) < root2.Table.Rows.IndexOf(root2))) { - return -1; - } - else { - return 1; - } - } - } - } - } -} - +//------------------------------------------------------------------------------ +// +// 이 코드는 도구를 사용하여 생성되었습니다. +// 런타임 버전:4.0.30319.42000 +// +// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 +// 이러한 변경 내용이 손실됩니다. +// +//------------------------------------------------------------------------------ + +#pragma warning disable 1591 + +namespace FBS0000 { + + + /// + ///Represents a strongly typed in-memory cache of data. + /// + [global::System.Serializable()] + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")] + [global::System.Xml.Serialization.XmlRootAttribute("dsMSSQL")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")] + public partial class dsMSSQL : global::System.Data.DataSet { + + private minutesDataTable tableminutes; + + private BoardDataTable tableBoard; + + private HolydayDataTable tableHolyday; + + private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public dsMSSQL() { + this.BeginInit(); + this.InitClass(); + global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); + base.Tables.CollectionChanged += schemaChangedHandler; + base.Relations.CollectionChanged += schemaChangedHandler; + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected dsMSSQL(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context, false) { + if ((this.IsBinarySerialized(info, context) == true)) { + this.InitVars(false); + global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); + this.Tables.CollectionChanged += schemaChangedHandler1; + this.Relations.CollectionChanged += schemaChangedHandler1; + return; + } + string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string)))); + if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { + global::System.Data.DataSet ds = new global::System.Data.DataSet(); + ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema))); + if ((ds.Tables["minutes"] != null)) { + base.Tables.Add(new minutesDataTable(ds.Tables["minutes"])); + } + if ((ds.Tables["Board"] != null)) { + base.Tables.Add(new BoardDataTable(ds.Tables["Board"])); + } + if ((ds.Tables["Holyday"] != null)) { + base.Tables.Add(new HolydayDataTable(ds.Tables["Holyday"])); + } + this.DataSetName = ds.DataSetName; + this.Prefix = ds.Prefix; + this.Namespace = ds.Namespace; + this.Locale = ds.Locale; + this.CaseSensitive = ds.CaseSensitive; + this.EnforceConstraints = ds.EnforceConstraints; + this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add); + this.InitVars(); + } + else { + this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema))); + } + this.GetSerializationData(info, context); + global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); + base.Tables.CollectionChanged += schemaChangedHandler; + this.Relations.CollectionChanged += schemaChangedHandler; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public minutesDataTable minutes { + get { + return this.tableminutes; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public BoardDataTable Board { + get { + return this.tableBoard; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public HolydayDataTable Holyday { + get { + return this.tableHolyday; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.BrowsableAttribute(true)] + [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)] + public override global::System.Data.SchemaSerializationMode SchemaSerializationMode { + get { + return this._schemaSerializationMode; + } + set { + this._schemaSerializationMode = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public new global::System.Data.DataTableCollection Tables { + get { + return base.Tables; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public new global::System.Data.DataRelationCollection Relations { + get { + return base.Relations; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void InitializeDerivedDataSet() { + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataSet Clone() { + dsMSSQL cln = ((dsMSSQL)(base.Clone())); + cln.InitVars(); + cln.SchemaSerializationMode = this.SchemaSerializationMode; + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override bool ShouldSerializeTables() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override bool ShouldSerializeRelations() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) { + if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { + this.Reset(); + global::System.Data.DataSet ds = new global::System.Data.DataSet(); + ds.ReadXml(reader); + if ((ds.Tables["minutes"] != null)) { + base.Tables.Add(new minutesDataTable(ds.Tables["minutes"])); + } + if ((ds.Tables["Board"] != null)) { + base.Tables.Add(new BoardDataTable(ds.Tables["Board"])); + } + if ((ds.Tables["Holyday"] != null)) { + base.Tables.Add(new HolydayDataTable(ds.Tables["Holyday"])); + } + this.DataSetName = ds.DataSetName; + this.Prefix = ds.Prefix; + this.Namespace = ds.Namespace; + this.Locale = ds.Locale; + this.CaseSensitive = ds.CaseSensitive; + this.EnforceConstraints = ds.EnforceConstraints; + this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add); + this.InitVars(); + } + else { + this.ReadXml(reader); + this.InitVars(); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() { + global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream(); + this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null)); + stream.Position = 0; + return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.InitVars(true); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars(bool initTable) { + this.tableminutes = ((minutesDataTable)(base.Tables["minutes"])); + if ((initTable == true)) { + if ((this.tableminutes != null)) { + this.tableminutes.InitVars(); + } + } + this.tableBoard = ((BoardDataTable)(base.Tables["Board"])); + if ((initTable == true)) { + if ((this.tableBoard != null)) { + this.tableBoard.InitVars(); + } + } + this.tableHolyday = ((HolydayDataTable)(base.Tables["Holyday"])); + if ((initTable == true)) { + if ((this.tableHolyday != null)) { + this.tableHolyday.InitVars(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.DataSetName = "dsMSSQL"; + this.Prefix = ""; + this.Namespace = "http://tempuri.org/dsMSSQL.xsd"; + this.EnforceConstraints = true; + this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; + this.tableminutes = new minutesDataTable(); + base.Tables.Add(this.tableminutes); + this.tableBoard = new BoardDataTable(); + base.Tables.Add(this.tableBoard); + this.tableHolyday = new HolydayDataTable(); + base.Tables.Add(this.tableHolyday); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeminutes() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeBoard() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeHolyday() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { + if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) { + this.InitVars(); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + dsMSSQL ds = new dsMSSQL(); + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny(); + any.Namespace = ds.Namespace; + sequence.Items.Add(any); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void minutesRowChangeEventHandler(object sender, minutesRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void BoardRowChangeEventHandler(object sender, BoardRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void HolydayRowChangeEventHandler(object sender, HolydayRowChangeEvent e); + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class minutesDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnidx; + + private global::System.Data.DataColumn columnstime; + + private global::System.Data.DataColumn columnetime; + + private global::System.Data.DataColumn columntitle; + + private global::System.Data.DataColumn columnplace; + + private global::System.Data.DataColumn columncontents; + + private global::System.Data.DataColumn columnproject; + + private global::System.Data.DataColumn columnmain; + + private global::System.Data.DataColumn columnsub; + + private global::System.Data.DataColumn columnmemo; + + private global::System.Data.DataColumn columnwuid; + + private global::System.Data.DataColumn columnwdate; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public minutesDataTable() { + this.TableName = "minutes"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal minutesDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected minutesDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn idxColumn { + get { + return this.columnidx; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn stimeColumn { + get { + return this.columnstime; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn etimeColumn { + get { + return this.columnetime; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn titleColumn { + get { + return this.columntitle; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn placeColumn { + get { + return this.columnplace; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn contentsColumn { + get { + return this.columncontents; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn projectColumn { + get { + return this.columnproject; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn mainColumn { + get { + return this.columnmain; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn subColumn { + get { + return this.columnsub; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn memoColumn { + get { + return this.columnmemo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn wuidColumn { + get { + return this.columnwuid; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn wdateColumn { + get { + return this.columnwdate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public minutesRow this[int index] { + get { + return ((minutesRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event minutesRowChangeEventHandler minutesRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event minutesRowChangeEventHandler minutesRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event minutesRowChangeEventHandler minutesRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event minutesRowChangeEventHandler minutesRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddminutesRow(minutesRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public minutesRow AddminutesRow(System.DateTime stime, System.DateTime etime, string title, string place, string contents, int project, string main, string sub, string memo, string wuid, System.DateTime wdate) { + minutesRow rowminutesRow = ((minutesRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + stime, + etime, + title, + place, + contents, + project, + main, + sub, + memo, + wuid, + wdate}; + rowminutesRow.ItemArray = columnValuesArray; + this.Rows.Add(rowminutesRow); + return rowminutesRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public minutesRow FindByidx(int idx) { + return ((minutesRow)(this.Rows.Find(new object[] { + idx}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + minutesDataTable cln = ((minutesDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new minutesDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnidx = base.Columns["idx"]; + this.columnstime = base.Columns["stime"]; + this.columnetime = base.Columns["etime"]; + this.columntitle = base.Columns["title"]; + this.columnplace = base.Columns["place"]; + this.columncontents = base.Columns["contents"]; + this.columnproject = base.Columns["project"]; + this.columnmain = base.Columns["main"]; + this.columnsub = base.Columns["sub"]; + this.columnmemo = base.Columns["memo"]; + this.columnwuid = base.Columns["wuid"]; + this.columnwdate = base.Columns["wdate"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnidx = new global::System.Data.DataColumn("idx", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidx); + this.columnstime = new global::System.Data.DataColumn("stime", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnstime); + this.columnetime = new global::System.Data.DataColumn("etime", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnetime); + this.columntitle = new global::System.Data.DataColumn("title", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columntitle); + this.columnplace = new global::System.Data.DataColumn("place", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnplace); + this.columncontents = new global::System.Data.DataColumn("contents", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncontents); + this.columnproject = new global::System.Data.DataColumn("project", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnproject); + this.columnmain = new global::System.Data.DataColumn("main", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnmain); + this.columnsub = new global::System.Data.DataColumn("sub", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnsub); + this.columnmemo = new global::System.Data.DataColumn("memo", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnmemo); + this.columnwuid = new global::System.Data.DataColumn("wuid", typeof(string), null, global::System.Data.MappingType.Element); + 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.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnidx}, true)); + this.columnidx.AutoIncrement = true; + this.columnidx.AutoIncrementSeed = -1; + this.columnidx.AutoIncrementStep = -1; + this.columnidx.AllowDBNull = false; + this.columnidx.ReadOnly = true; + this.columnidx.Unique = true; + this.columntitle.MaxLength = 255; + this.columnplace.MaxLength = 50; + this.columncontents.MaxLength = 2147483647; + this.columnmain.MaxLength = 255; + this.columnsub.MaxLength = 255; + this.columnmemo.MaxLength = 2147483647; + this.columnwuid.AllowDBNull = false; + this.columnwuid.MaxLength = 20; + this.columnwdate.AllowDBNull = false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public minutesRow NewminutesRow() { + return ((minutesRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new minutesRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(minutesRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.minutesRowChanged != null)) { + this.minutesRowChanged(this, new minutesRowChangeEvent(((minutesRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.minutesRowChanging != null)) { + this.minutesRowChanging(this, new minutesRowChangeEvent(((minutesRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.minutesRowDeleted != null)) { + this.minutesRowDeleted(this, new minutesRowChangeEvent(((minutesRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.minutesRowDeleting != null)) { + this.minutesRowDeleting(this, new minutesRowChangeEvent(((minutesRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveminutesRow(minutesRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + dsMSSQL ds = new dsMSSQL(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "minutesDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class BoardDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnidx; + + private global::System.Data.DataColumn columnbidx; + + private global::System.Data.DataColumn columnheader; + + private global::System.Data.DataColumn columncate; + + private global::System.Data.DataColumn columntitle; + + private global::System.Data.DataColumn columncontents; + + private global::System.Data.DataColumn columnfile; + + private global::System.Data.DataColumn columnguid; + + private global::System.Data.DataColumn columnwuid; + + private global::System.Data.DataColumn columnwdate; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public BoardDataTable() { + this.TableName = "Board"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal BoardDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected BoardDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn idxColumn { + get { + return this.columnidx; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn bidxColumn { + get { + return this.columnbidx; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn headerColumn { + get { + return this.columnheader; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn cateColumn { + get { + return this.columncate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn titleColumn { + get { + return this.columntitle; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn contentsColumn { + get { + return this.columncontents; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn fileColumn { + get { + return this.columnfile; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn guidColumn { + get { + return this.columnguid; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn wuidColumn { + get { + return this.columnwuid; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn wdateColumn { + get { + return this.columnwdate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public BoardRow this[int index] { + get { + return ((BoardRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event BoardRowChangeEventHandler BoardRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event BoardRowChangeEventHandler BoardRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event BoardRowChangeEventHandler BoardRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event BoardRowChangeEventHandler BoardRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddBoardRow(BoardRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public BoardRow AddBoardRow(int bidx, bool header, string cate, string title, string contents, string file, string guid, string wuid, System.DateTime wdate) { + BoardRow rowBoardRow = ((BoardRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + bidx, + header, + cate, + title, + contents, + file, + guid, + wuid, + wdate}; + rowBoardRow.ItemArray = columnValuesArray; + this.Rows.Add(rowBoardRow); + return rowBoardRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public BoardRow FindByidx(int idx) { + return ((BoardRow)(this.Rows.Find(new object[] { + idx}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + BoardDataTable cln = ((BoardDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new BoardDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnidx = base.Columns["idx"]; + this.columnbidx = base.Columns["bidx"]; + this.columnheader = base.Columns["header"]; + this.columncate = base.Columns["cate"]; + this.columntitle = base.Columns["title"]; + this.columncontents = base.Columns["contents"]; + this.columnfile = base.Columns["file"]; + this.columnguid = base.Columns["guid"]; + this.columnwuid = base.Columns["wuid"]; + this.columnwdate = base.Columns["wdate"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnidx = new global::System.Data.DataColumn("idx", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidx); + this.columnbidx = new global::System.Data.DataColumn("bidx", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnbidx); + this.columnheader = new global::System.Data.DataColumn("header", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnheader); + this.columncate = new global::System.Data.DataColumn("cate", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncate); + this.columntitle = new global::System.Data.DataColumn("title", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columntitle); + this.columncontents = new global::System.Data.DataColumn("contents", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncontents); + this.columnfile = new global::System.Data.DataColumn("file", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnfile); + this.columnguid = new global::System.Data.DataColumn("guid", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnguid); + this.columnwuid = new global::System.Data.DataColumn("wuid", typeof(string), null, global::System.Data.MappingType.Element); + 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.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnidx}, true)); + this.columnidx.AutoIncrement = true; + this.columnidx.AutoIncrementSeed = -1; + this.columnidx.AutoIncrementStep = -1; + this.columnidx.AllowDBNull = false; + this.columnidx.ReadOnly = true; + this.columnidx.Unique = true; + this.columncate.MaxLength = 2; + this.columntitle.MaxLength = 255; + this.columncontents.MaxLength = 2147483647; + this.columnfile.MaxLength = 200; + this.columnguid.MaxLength = 50; + this.columnwuid.AllowDBNull = false; + this.columnwuid.MaxLength = 20; + this.columnwdate.AllowDBNull = false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public BoardRow NewBoardRow() { + return ((BoardRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new BoardRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(BoardRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.BoardRowChanged != null)) { + this.BoardRowChanged(this, new BoardRowChangeEvent(((BoardRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.BoardRowChanging != null)) { + this.BoardRowChanging(this, new BoardRowChangeEvent(((BoardRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.BoardRowDeleted != null)) { + this.BoardRowDeleted(this, new BoardRowChangeEvent(((BoardRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.BoardRowDeleting != null)) { + this.BoardRowDeleting(this, new BoardRowChangeEvent(((BoardRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveBoardRow(BoardRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + dsMSSQL ds = new dsMSSQL(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "BoardDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class HolydayDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnidx; + + private global::System.Data.DataColumn columncate; + + private global::System.Data.DataColumn columnresult; + + private global::System.Data.DataColumn columnsdate; + + private global::System.Data.DataColumn columnedate; + + private global::System.Data.DataColumn columnterm; + + private global::System.Data.DataColumn columntitle; + + private global::System.Data.DataColumn columncontents; + + private global::System.Data.DataColumn columnuid; + + private global::System.Data.DataColumn columntolist; + + private global::System.Data.DataColumn columnmail; + + private global::System.Data.DataColumn columnmailsend; + + private global::System.Data.DataColumn columnreason; + + private global::System.Data.DataColumn columnwuid; + + 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() { + this.TableName = "Holyday"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal HolydayDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected HolydayDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn idxColumn { + get { + return this.columnidx; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn cateColumn { + get { + return this.columncate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn resultColumn { + get { + return this.columnresult; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn sdateColumn { + get { + return this.columnsdate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn edateColumn { + get { + return this.columnedate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn termColumn { + get { + return this.columnterm; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn titleColumn { + get { + return this.columntitle; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn contentsColumn { + get { + return this.columncontents; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn uidColumn { + get { + return this.columnuid; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn tolistColumn { + get { + return this.columntolist; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn mailColumn { + get { + return this.columnmail; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn mailsendColumn { + get { + return this.columnmailsend; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn reasonColumn { + get { + return this.columnreason; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn wuidColumn { + get { + return this.columnwuid; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn wdateColumn { + get { + return this.columnwdate; + } + } + + [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)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public HolydayRow this[int index] { + get { + return ((HolydayRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event HolydayRowChangeEventHandler HolydayRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event HolydayRowChangeEventHandler HolydayRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event HolydayRowChangeEventHandler HolydayRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event HolydayRowChangeEventHandler HolydayRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddHolydayRow(HolydayRow row) { + this.Rows.Add(row); + } + + [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, double termDr) { + HolydayRow rowHolydayRow = ((HolydayRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + cate, + result, + sdate, + edate, + term, + title, + contents, + uid, + tolist, + mail, + mailsend, + reason, + wuid, + wdate, + termDr}; + rowHolydayRow.ItemArray = columnValuesArray; + this.Rows.Add(rowHolydayRow); + return rowHolydayRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public HolydayRow FindByidx(int idx) { + return ((HolydayRow)(this.Rows.Find(new object[] { + idx}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + HolydayDataTable cln = ((HolydayDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new HolydayDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnidx = base.Columns["idx"]; + this.columncate = base.Columns["cate"]; + this.columnresult = base.Columns["result"]; + this.columnsdate = base.Columns["sdate"]; + this.columnedate = base.Columns["edate"]; + this.columnterm = base.Columns["term"]; + this.columntitle = base.Columns["title"]; + this.columncontents = base.Columns["contents"]; + this.columnuid = base.Columns["uid"]; + this.columntolist = base.Columns["tolist"]; + this.columnmail = base.Columns["mail"]; + this.columnmailsend = base.Columns["mailsend"]; + this.columnreason = base.Columns["reason"]; + this.columnwuid = base.Columns["wuid"]; + this.columnwdate = base.Columns["wdate"]; + this.columntermDr = base.Columns["termDr"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnidx = new global::System.Data.DataColumn("idx", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidx); + this.columncate = new global::System.Data.DataColumn("cate", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncate); + this.columnresult = new global::System.Data.DataColumn("result", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnresult); + this.columnsdate = new global::System.Data.DataColumn("sdate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnsdate); + this.columnedate = new global::System.Data.DataColumn("edate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnedate); + this.columnterm = new global::System.Data.DataColumn("term", typeof(double), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnterm); + this.columntitle = new global::System.Data.DataColumn("title", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columntitle); + this.columncontents = new global::System.Data.DataColumn("contents", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncontents); + this.columnuid = new global::System.Data.DataColumn("uid", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnuid); + this.columntolist = new global::System.Data.DataColumn("tolist", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columntolist); + this.columnmail = new global::System.Data.DataColumn("mail", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnmail); + this.columnmailsend = new global::System.Data.DataColumn("mailsend", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnmailsend); + this.columnreason = new global::System.Data.DataColumn("reason", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnreason); + this.columnwuid = new global::System.Data.DataColumn("wuid", typeof(string), null, global::System.Data.MappingType.Element); + 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; + this.columnidx.AutoIncrementSeed = -1; + this.columnidx.AutoIncrementStep = -1; + this.columnidx.AllowDBNull = false; + this.columnidx.ReadOnly = true; + this.columnidx.Unique = true; + this.columncate.MaxLength = 2; + this.columnresult.MaxLength = 2; + this.columntitle.MaxLength = 255; + this.columncontents.MaxLength = 2147483647; + this.columnuid.MaxLength = 20; + this.columntolist.MaxLength = 2147483647; + this.columnreason.MaxLength = 2147483647; + this.columnwuid.AllowDBNull = false; + this.columnwuid.MaxLength = 20; + this.columnwdate.AllowDBNull = false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public HolydayRow NewHolydayRow() { + return ((HolydayRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new HolydayRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(HolydayRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.HolydayRowChanged != null)) { + this.HolydayRowChanged(this, new HolydayRowChangeEvent(((HolydayRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.HolydayRowChanging != null)) { + this.HolydayRowChanging(this, new HolydayRowChangeEvent(((HolydayRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.HolydayRowDeleted != null)) { + this.HolydayRowDeleted(this, new HolydayRowChangeEvent(((HolydayRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.HolydayRowDeleting != null)) { + this.HolydayRowDeleting(this, new HolydayRowChangeEvent(((HolydayRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveHolydayRow(HolydayRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + dsMSSQL ds = new dsMSSQL(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "HolydayDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class minutesRow : global::System.Data.DataRow { + + private minutesDataTable tableminutes; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal minutesRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableminutes = ((minutesDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int idx { + get { + return ((int)(this[this.tableminutes.idxColumn])); + } + set { + this[this.tableminutes.idxColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime stime { + get { + try { + return ((global::System.DateTime)(this[this.tableminutes.stimeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'minutes\' 테이블의 \'stime\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableminutes.stimeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime etime { + get { + try { + return ((global::System.DateTime)(this[this.tableminutes.etimeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'minutes\' 테이블의 \'etime\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableminutes.etimeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string title { + get { + try { + return ((string)(this[this.tableminutes.titleColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'minutes\' 테이블의 \'title\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableminutes.titleColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string place { + get { + try { + return ((string)(this[this.tableminutes.placeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'minutes\' 테이블의 \'place\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableminutes.placeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string contents { + get { + try { + return ((string)(this[this.tableminutes.contentsColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'minutes\' 테이블의 \'contents\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableminutes.contentsColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int project { + get { + try { + return ((int)(this[this.tableminutes.projectColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'minutes\' 테이블의 \'project\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableminutes.projectColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string main { + get { + try { + return ((string)(this[this.tableminutes.mainColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'minutes\' 테이블의 \'main\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableminutes.mainColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string sub { + get { + try { + return ((string)(this[this.tableminutes.subColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'minutes\' 테이블의 \'sub\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableminutes.subColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string memo { + get { + try { + return ((string)(this[this.tableminutes.memoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'minutes\' 테이블의 \'memo\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableminutes.memoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string wuid { + get { + return ((string)(this[this.tableminutes.wuidColumn])); + } + set { + this[this.tableminutes.wuidColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime wdate { + get { + return ((global::System.DateTime)(this[this.tableminutes.wdateColumn])); + } + set { + this[this.tableminutes.wdateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsstimeNull() { + return this.IsNull(this.tableminutes.stimeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetstimeNull() { + this[this.tableminutes.stimeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsetimeNull() { + return this.IsNull(this.tableminutes.etimeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetetimeNull() { + this[this.tableminutes.etimeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IstitleNull() { + return this.IsNull(this.tableminutes.titleColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SettitleNull() { + this[this.tableminutes.titleColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsplaceNull() { + return this.IsNull(this.tableminutes.placeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetplaceNull() { + this[this.tableminutes.placeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscontentsNull() { + return this.IsNull(this.tableminutes.contentsColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcontentsNull() { + this[this.tableminutes.contentsColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsprojectNull() { + return this.IsNull(this.tableminutes.projectColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetprojectNull() { + this[this.tableminutes.projectColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsmainNull() { + return this.IsNull(this.tableminutes.mainColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetmainNull() { + this[this.tableminutes.mainColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IssubNull() { + return this.IsNull(this.tableminutes.subColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetsubNull() { + this[this.tableminutes.subColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsmemoNull() { + return this.IsNull(this.tableminutes.memoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetmemoNull() { + this[this.tableminutes.memoColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class BoardRow : global::System.Data.DataRow { + + private BoardDataTable tableBoard; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal BoardRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableBoard = ((BoardDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int idx { + get { + return ((int)(this[this.tableBoard.idxColumn])); + } + set { + this[this.tableBoard.idxColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int bidx { + get { + try { + return ((int)(this[this.tableBoard.bidxColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'Board\' 테이블의 \'bidx\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableBoard.bidxColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool header { + get { + try { + return ((bool)(this[this.tableBoard.headerColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'Board\' 테이블의 \'header\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableBoard.headerColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string cate { + get { + try { + return ((string)(this[this.tableBoard.cateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'Board\' 테이블의 \'cate\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableBoard.cateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string title { + get { + try { + return ((string)(this[this.tableBoard.titleColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'Board\' 테이블의 \'title\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableBoard.titleColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string contents { + get { + try { + return ((string)(this[this.tableBoard.contentsColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'Board\' 테이블의 \'contents\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableBoard.contentsColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string file { + get { + try { + return ((string)(this[this.tableBoard.fileColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'Board\' 테이블의 \'file\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableBoard.fileColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string guid { + get { + try { + return ((string)(this[this.tableBoard.guidColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'Board\' 테이블의 \'guid\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableBoard.guidColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string wuid { + get { + return ((string)(this[this.tableBoard.wuidColumn])); + } + set { + this[this.tableBoard.wuidColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime wdate { + get { + return ((global::System.DateTime)(this[this.tableBoard.wdateColumn])); + } + set { + this[this.tableBoard.wdateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsbidxNull() { + return this.IsNull(this.tableBoard.bidxColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetbidxNull() { + this[this.tableBoard.bidxColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsheaderNull() { + return this.IsNull(this.tableBoard.headerColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetheaderNull() { + this[this.tableBoard.headerColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscateNull() { + return this.IsNull(this.tableBoard.cateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcateNull() { + this[this.tableBoard.cateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IstitleNull() { + return this.IsNull(this.tableBoard.titleColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SettitleNull() { + this[this.tableBoard.titleColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscontentsNull() { + return this.IsNull(this.tableBoard.contentsColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcontentsNull() { + this[this.tableBoard.contentsColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsfileNull() { + return this.IsNull(this.tableBoard.fileColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetfileNull() { + this[this.tableBoard.fileColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsguidNull() { + return this.IsNull(this.tableBoard.guidColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetguidNull() { + this[this.tableBoard.guidColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class HolydayRow : global::System.Data.DataRow { + + private HolydayDataTable tableHolyday; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal HolydayRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableHolyday = ((HolydayDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int idx { + get { + return ((int)(this[this.tableHolyday.idxColumn])); + } + set { + this[this.tableHolyday.idxColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string cate { + get { + if (this.IscateNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableHolyday.cateColumn])); + } + } + set { + this[this.tableHolyday.cateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string result { + get { + if (this.IsresultNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableHolyday.resultColumn])); + } + } + set { + this[this.tableHolyday.resultColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime sdate { + get { + try { + return ((global::System.DateTime)(this[this.tableHolyday.sdateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'Holyday\' 테이블의 \'sdate\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableHolyday.sdateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime edate { + get { + try { + return ((global::System.DateTime)(this[this.tableHolyday.edateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'Holyday\' 테이블의 \'edate\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableHolyday.edateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public double term { + get { + if (this.IstermNull()) { + return 1D; + } + else { + return ((double)(this[this.tableHolyday.termColumn])); + } + } + set { + this[this.tableHolyday.termColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string title { + get { + if (this.IstitleNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableHolyday.titleColumn])); + } + } + set { + this[this.tableHolyday.titleColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string contents { + get { + if (this.IscontentsNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableHolyday.contentsColumn])); + } + } + set { + this[this.tableHolyday.contentsColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string uid { + get { + if (this.IsuidNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableHolyday.uidColumn])); + } + } + set { + this[this.tableHolyday.uidColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string tolist { + get { + if (this.IstolistNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableHolyday.tolistColumn])); + } + } + set { + this[this.tableHolyday.tolistColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool mail { + get { + if (this.IsmailNull()) { + return false; + } + else { + return ((bool)(this[this.tableHolyday.mailColumn])); + } + } + set { + this[this.tableHolyday.mailColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool mailsend { + get { + if (this.IsmailsendNull()) { + return false; + } + else { + return ((bool)(this[this.tableHolyday.mailsendColumn])); + } + } + set { + this[this.tableHolyday.mailsendColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string reason { + get { + if (this.IsreasonNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableHolyday.reasonColumn])); + } + } + set { + this[this.tableHolyday.reasonColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string wuid { + get { + return ((string)(this[this.tableHolyday.wuidColumn])); + } + set { + this[this.tableHolyday.wuidColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime wdate { + get { + return ((global::System.DateTime)(this[this.tableHolyday.wdateColumn])); + } + set { + this[this.tableHolyday.wdateColumn] = value; + } + } + + [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() { + return this.IsNull(this.tableHolyday.cateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcateNull() { + this[this.tableHolyday.cateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsresultNull() { + return this.IsNull(this.tableHolyday.resultColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetresultNull() { + this[this.tableHolyday.resultColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IssdateNull() { + return this.IsNull(this.tableHolyday.sdateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetsdateNull() { + this[this.tableHolyday.sdateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsedateNull() { + return this.IsNull(this.tableHolyday.edateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetedateNull() { + this[this.tableHolyday.edateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IstermNull() { + return this.IsNull(this.tableHolyday.termColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SettermNull() { + this[this.tableHolyday.termColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IstitleNull() { + return this.IsNull(this.tableHolyday.titleColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SettitleNull() { + this[this.tableHolyday.titleColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscontentsNull() { + return this.IsNull(this.tableHolyday.contentsColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcontentsNull() { + this[this.tableHolyday.contentsColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsuidNull() { + return this.IsNull(this.tableHolyday.uidColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetuidNull() { + this[this.tableHolyday.uidColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IstolistNull() { + return this.IsNull(this.tableHolyday.tolistColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SettolistNull() { + this[this.tableHolyday.tolistColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsmailNull() { + return this.IsNull(this.tableHolyday.mailColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetmailNull() { + this[this.tableHolyday.mailColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsmailsendNull() { + return this.IsNull(this.tableHolyday.mailsendColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetmailsendNull() { + this[this.tableHolyday.mailsendColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsreasonNull() { + return this.IsNull(this.tableHolyday.reasonColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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; + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class minutesRowChangeEvent : global::System.EventArgs { + + private minutesRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public minutesRowChangeEvent(minutesRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public minutesRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class BoardRowChangeEvent : global::System.EventArgs { + + private BoardRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public BoardRowChangeEvent(BoardRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public BoardRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class HolydayRowChangeEvent : global::System.EventArgs { + + private HolydayRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public HolydayRowChangeEvent(HolydayRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public HolydayRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + } +} +namespace FBS0000.dsMSSQLTableAdapters { + + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DataObjectAttribute(true)] + [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + + ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class minutesTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public minutesTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "minutes"; + tableMapping.ColumnMappings.Add("idx", "idx"); + tableMapping.ColumnMappings.Add("stime", "stime"); + tableMapping.ColumnMappings.Add("etime", "etime"); + tableMapping.ColumnMappings.Add("title", "title"); + tableMapping.ColumnMappings.Add("place", "place"); + tableMapping.ColumnMappings.Add("contents", "contents"); + tableMapping.ColumnMappings.Add("project", "project"); + tableMapping.ColumnMappings.Add("main", "main"); + tableMapping.ColumnMappings.Add("sub", "sub"); + tableMapping.ColumnMappings.Add("memo", "memo"); + tableMapping.ColumnMappings.Add("wuid", "wuid"); + tableMapping.ColumnMappings.Add("wdate", "wdate"); + 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 [minutes] WHERE (([idx] = @Original_idx) AND ((@IsNull_stime = 1 AND [stime] IS NULL) OR ([stime] = @Original_stime)) AND ((@IsNull_etime = 1 AND [etime] IS NULL) OR ([etime] = @Original_etime)) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_place = 1 AND [place] IS NULL) OR ([place] = @Original_place)) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ((@IsNull_main = 1 AND [main] IS NULL) OR ([main] = @Original_main)) AND ((@IsNull_sub = 1 AND [sub] IS NULL) OR ([sub] = @Original_sub)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate))"; + 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_stime", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "stime", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_stime", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "stime", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_etime", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "etime", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_etime", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "etime", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_title", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_title", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_place", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "place", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_place", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "place", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_project", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "project", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_project", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "project", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_main", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "main", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_main", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "main", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_sub", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sub", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_sub", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sub", 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.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = @"INSERT INTO [minutes] ([stime], [etime], [title], [place], [contents], [project], [main], [sub], [memo], [wuid], [wdate]) VALUES (@stime, @etime, @title, @place, @contents, @project, @main, @sub, @memo, @wuid, @wdate); +SELECT idx, stime, etime, title, place, contents, project, main, sub, memo, wuid, wdate FROM minutes WHERE (idx = SCOPE_IDENTITY())"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@stime", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "stime", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@etime", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "etime", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@title", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@place", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "place", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@contents", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "contents", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@project", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "project", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@main", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "main", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sub", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sub", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@memo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", 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.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = @"UPDATE [minutes] SET [stime] = @stime, [etime] = @etime, [title] = @title, [place] = @place, [contents] = @contents, [project] = @project, [main] = @main, [sub] = @sub, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate WHERE (([idx] = @Original_idx) AND ((@IsNull_stime = 1 AND [stime] IS NULL) OR ([stime] = @Original_stime)) AND ((@IsNull_etime = 1 AND [etime] IS NULL) OR ([etime] = @Original_etime)) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_place = 1 AND [place] IS NULL) OR ([place] = @Original_place)) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ((@IsNull_main = 1 AND [main] IS NULL) OR ([main] = @Original_main)) AND ((@IsNull_sub = 1 AND [sub] IS NULL) OR ([sub] = @Original_sub)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate)); +SELECT idx, stime, etime, title, place, contents, project, main, sub, memo, wuid, wdate FROM minutes WHERE (idx = @idx)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@stime", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "stime", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@etime", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "etime", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@title", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@place", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "place", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@contents", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "contents", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@project", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "project", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@main", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "main", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sub", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sub", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@memo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", 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("@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_stime", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "stime", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_stime", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "stime", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_etime", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "etime", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_etime", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "etime", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_title", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_title", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_place", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "place", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_place", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "place", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_project", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "project", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_project", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "project", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_main", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "main", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_main", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "main", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_sub", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sub", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_sub", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sub", 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("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::FBS0000.Properties.Settings.Default.gwcs; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT minutes.*\r\nFROM minutes"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "SELECT idx, stime, etime, title, place, contents, project, main, sub, memo, wuid" + + ", wdate\r\nFROM minutes\r\nWHERE (idx = @idx)"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1].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, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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.Fill, true)] + public virtual int Fill(dsMSSQL.minutesDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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.Select, true)] + public virtual dsMSSQL.minutesDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + dsMSSQL.minutesDataTable dataTable = new dsMSSQL.minutesDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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.Fill, false)] + public virtual int FillByIDX(dsMSSQL.minutesDataTable dataTable, int idx) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idx)); + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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.Select, false)] + public virtual dsMSSQL.minutesDataTable GetbyIDX(int idx) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idx)); + dsMSSQL.minutesDataTable dataTable = new dsMSSQL.minutesDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(dsMSSQL.minutesDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(dsMSSQL dataSet) { + return this.Adapter.Update(dataSet, "minutes"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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, global::System.Nullable Original_stime, global::System.Nullable Original_etime, string Original_title, string Original_place, global::System.Nullable Original_project, string Original_main, string Original_sub, string Original_wuid, System.DateTime Original_wdate) { + this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx)); + if ((Original_stime.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[2].Value = ((System.DateTime)(Original_stime.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; + } + if ((Original_etime.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[4].Value = ((System.DateTime)(Original_etime.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value; + } + if ((Original_title == null)) { + this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_title)); + } + if ((Original_place == null)) { + this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(Original_place)); + } + if ((Original_project.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[10].Value = ((int)(Original_project.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value; + } + if ((Original_main == null)) { + this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[12].Value = ((string)(Original_main)); + } + if ((Original_sub == null)) { + this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[14].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[14].Value = ((string)(Original_sub)); + } + if ((Original_wuid == null)) { + throw new global::System.ArgumentNullException("Original_wuid"); + } + else { + this.Adapter.DeleteCommand.Parameters[15].Value = ((string)(Original_wuid)); + } + this.Adapter.DeleteCommand.Parameters[16].Value = ((System.DateTime)(Original_wdate)); + 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)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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(global::System.Nullable stime, global::System.Nullable etime, string title, string place, string contents, global::System.Nullable project, string main, string sub, string memo, string wuid, System.DateTime wdate) { + if ((stime.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[0].Value = ((System.DateTime)(stime.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value; + } + if ((etime.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[1].Value = ((System.DateTime)(etime.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; + } + if ((title == null)) { + this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(title)); + } + if ((place == null)) { + this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[3].Value = ((string)(place)); + } + if ((contents == null)) { + this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[4].Value = ((string)(contents)); + } + if ((project.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[5].Value = ((int)(project.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; + } + if ((main == null)) { + this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[6].Value = ((string)(main)); + } + if ((sub == null)) { + this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[7].Value = ((string)(sub)); + } + if ((memo == null)) { + this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[8].Value = ((string)(memo)); + } + if ((wuid == null)) { + throw new global::System.ArgumentNullException("wuid"); + } + else { + this.Adapter.InsertCommand.Parameters[9].Value = ((string)(wuid)); + } + this.Adapter.InsertCommand.Parameters[10].Value = ((System.DateTime)(wdate)); + 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)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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.Update, true)] + public virtual int Update( + global::System.Nullable stime, + global::System.Nullable etime, + string title, + string place, + string contents, + global::System.Nullable project, + string main, + string sub, + string memo, + string wuid, + System.DateTime wdate, + int Original_idx, + global::System.Nullable Original_stime, + global::System.Nullable Original_etime, + string Original_title, + string Original_place, + global::System.Nullable Original_project, + string Original_main, + string Original_sub, + string Original_wuid, + System.DateTime Original_wdate, + int idx) { + if ((stime.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[0].Value = ((System.DateTime)(stime.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value; + } + if ((etime.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[1].Value = ((System.DateTime)(etime.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + } + if ((title == null)) { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(title)); + } + if ((place == null)) { + this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(place)); + } + if ((contents == null)) { + this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(contents)); + } + if ((project.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[5].Value = ((int)(project.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; + } + if ((main == null)) { + this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(main)); + } + if ((sub == null)) { + this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(sub)); + } + if ((memo == null)) { + this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(memo)); + } + if ((wuid == null)) { + throw new global::System.ArgumentNullException("wuid"); + } + else { + this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(wuid)); + } + this.Adapter.UpdateCommand.Parameters[10].Value = ((System.DateTime)(wdate)); + this.Adapter.UpdateCommand.Parameters[11].Value = ((int)(Original_idx)); + if ((Original_stime.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[13].Value = ((System.DateTime)(Original_stime.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value; + } + if ((Original_etime.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[15].Value = ((System.DateTime)(Original_etime.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value; + } + if ((Original_title == 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_title)); + } + if ((Original_place == null)) { + this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(Original_place)); + } + if ((Original_project.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[21].Value = ((int)(Original_project.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value; + } + if ((Original_main == null)) { + this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[23].Value = ((string)(Original_main)); + } + if ((Original_sub == null)) { + this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[25].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[25].Value = ((string)(Original_sub)); + } + if ((Original_wuid == null)) { + throw new global::System.ArgumentNullException("Original_wuid"); + } + else { + this.Adapter.UpdateCommand.Parameters[26].Value = ((string)(Original_wuid)); + } + this.Adapter.UpdateCommand.Parameters[27].Value = ((System.DateTime)(Original_wdate)); + this.Adapter.UpdateCommand.Parameters[28].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)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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.Update, true)] + public virtual int Update( + global::System.Nullable stime, + global::System.Nullable etime, + string title, + string place, + string contents, + global::System.Nullable project, + string main, + string sub, + string memo, + string wuid, + System.DateTime wdate, + int Original_idx, + global::System.Nullable Original_stime, + global::System.Nullable Original_etime, + string Original_title, + string Original_place, + global::System.Nullable Original_project, + string Original_main, + string Original_sub, + string Original_wuid, + System.DateTime Original_wdate) { + return this.Update(stime, etime, title, place, contents, project, main, sub, memo, wuid, wdate, Original_idx, Original_stime, Original_etime, Original_title, Original_place, Original_project, Original_main, Original_sub, Original_wuid, Original_wdate, Original_idx); + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DataObjectAttribute(true)] + [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + + ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class BoardTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public BoardTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "Board"; + tableMapping.ColumnMappings.Add("idx", "idx"); + tableMapping.ColumnMappings.Add("bidx", "bidx"); + tableMapping.ColumnMappings.Add("header", "header"); + tableMapping.ColumnMappings.Add("cate", "cate"); + tableMapping.ColumnMappings.Add("title", "title"); + tableMapping.ColumnMappings.Add("contents", "contents"); + tableMapping.ColumnMappings.Add("file", "file"); + tableMapping.ColumnMappings.Add("guid", "guid"); + tableMapping.ColumnMappings.Add("wuid", "wuid"); + tableMapping.ColumnMappings.Add("wdate", "wdate"); + 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 [Board] WHERE (([idx] = @Original_idx) AND ((@IsNull_bidx = 1 AND [bidx] IS NULL) OR ([bidx] = @Original_bidx)) AND ((@IsNull_header = 1 AND [header] IS NULL) OR ([header] = @Original_header)) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_file = 1 AND [file] IS NULL) OR ([file] = @Original_file)) AND ((@IsNull_guid = 1 AND [guid] IS NULL) OR ([guid] = @Original_guid)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate))"; + 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_bidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bidx", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_bidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bidx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_header", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "header", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_header", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "header", 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, "", "", "")); + this._adapter.DeleteCommand.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, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_title", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_title", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_file", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "file", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_file", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "file", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_guid", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "guid", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_guid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "guid", 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.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = @"INSERT INTO [Board] ([bidx], [header], [cate], [title], [contents], [file], [guid], [wuid], [wdate]) VALUES (@bidx, @header, @cate, @title, @contents, @file, @guid, @wuid, @wdate); +SELECT idx, bidx, header, cate, title, contents, [file], guid, wuid, wdate FROM Board WHERE (idx = SCOPE_IDENTITY())"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bidx", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@header", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "header", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + 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("@title", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@contents", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "contents", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@file", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "file", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@guid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "guid", 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.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = @"UPDATE [Board] SET [bidx] = @bidx, [header] = @header, [cate] = @cate, [title] = @title, [contents] = @contents, [file] = @file, [guid] = @guid, [wuid] = @wuid, [wdate] = @wdate WHERE (([idx] = @Original_idx) AND ((@IsNull_bidx = 1 AND [bidx] IS NULL) OR ([bidx] = @Original_bidx)) AND ((@IsNull_header = 1 AND [header] IS NULL) OR ([header] = @Original_header)) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_file = 1 AND [file] IS NULL) OR ([file] = @Original_file)) AND ((@IsNull_guid = 1 AND [guid] IS NULL) OR ([guid] = @Original_guid)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate)); +SELECT idx, bidx, header, cate, title, contents, [file], guid, wuid, wdate FROM Board WHERE (idx = @idx)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bidx", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@header", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "header", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + 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("@title", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@contents", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "contents", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@file", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "file", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@guid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "guid", 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("@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_bidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bidx", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_bidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bidx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_header", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "header", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_header", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "header", 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, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_title", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_title", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_file", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "file", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_file", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "file", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_guid", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "guid", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_guid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "guid", 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("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::FBS0000.Properties.Settings.Default.gwcs; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT idx, bidx, header, cate, title, contents, [file], guid, wuid, wdate\r\nFROM" + + " Board\r\nWHERE (bidx = @bidx)"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bidx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "bidx", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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.Fill, true)] + public virtual int Fill(dsMSSQL.BoardDataTable dataTable, global::System.Nullable bidx) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((bidx.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[0].Value = ((int)(bidx.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value; + } + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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.Select, true)] + public virtual dsMSSQL.BoardDataTable GetData(global::System.Nullable bidx) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((bidx.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[0].Value = ((int)(bidx.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value; + } + dsMSSQL.BoardDataTable dataTable = new dsMSSQL.BoardDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(dsMSSQL.BoardDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(dsMSSQL dataSet) { + return this.Adapter.Update(dataSet, "Board"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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, global::System.Nullable Original_bidx, global::System.Nullable Original_header, string Original_cate, string Original_title, string Original_file, string Original_guid, string Original_wuid, System.DateTime Original_wdate) { + this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx)); + if ((Original_bidx.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[2].Value = ((int)(Original_bidx.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; + } + if ((Original_header.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[4].Value = ((bool)(Original_header.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value; + } + if ((Original_cate == null)) { + this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_cate)); + } + if ((Original_title == null)) { + this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(Original_title)); + } + if ((Original_file == null)) { + this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[10].Value = ((string)(Original_file)); + } + if ((Original_guid == null)) { + this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[12].Value = ((string)(Original_guid)); + } + if ((Original_wuid == null)) { + throw new global::System.ArgumentNullException("Original_wuid"); + } + else { + this.Adapter.DeleteCommand.Parameters[13].Value = ((string)(Original_wuid)); + } + this.Adapter.DeleteCommand.Parameters[14].Value = ((System.DateTime)(Original_wdate)); + 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)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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(global::System.Nullable bidx, global::System.Nullable header, string cate, string title, string contents, string file, string guid, string wuid, System.DateTime wdate) { + if ((bidx.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[0].Value = ((int)(bidx.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value; + } + if ((header.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[1].Value = ((bool)(header.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; + } + if ((cate == null)) { + this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(cate)); + } + if ((title == null)) { + this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[3].Value = ((string)(title)); + } + if ((contents == null)) { + this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[4].Value = ((string)(contents)); + } + if ((file == null)) { + this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[5].Value = ((string)(file)); + } + if ((guid == null)) { + this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[6].Value = ((string)(guid)); + } + if ((wuid == null)) { + throw new global::System.ArgumentNullException("wuid"); + } + else { + this.Adapter.InsertCommand.Parameters[7].Value = ((string)(wuid)); + } + this.Adapter.InsertCommand.Parameters[8].Value = ((System.DateTime)(wdate)); + 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)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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.Update, true)] + public virtual int Update( + global::System.Nullable bidx, + global::System.Nullable header, + string cate, + string title, + string contents, + string file, + string guid, + string wuid, + System.DateTime wdate, + int Original_idx, + global::System.Nullable Original_bidx, + global::System.Nullable Original_header, + string Original_cate, + string Original_title, + string Original_file, + string Original_guid, + string Original_wuid, + System.DateTime Original_wdate, + int idx) { + if ((bidx.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(bidx.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value; + } + if ((header.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[1].Value = ((bool)(header.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + } + if ((cate == null)) { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(cate)); + } + if ((title == null)) { + this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(title)); + } + if ((contents == null)) { + this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(contents)); + } + if ((file == null)) { + this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(file)); + } + if ((guid == null)) { + this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(guid)); + } + if ((wuid == null)) { + throw new global::System.ArgumentNullException("wuid"); + } + else { + this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(wuid)); + } + this.Adapter.UpdateCommand.Parameters[8].Value = ((System.DateTime)(wdate)); + this.Adapter.UpdateCommand.Parameters[9].Value = ((int)(Original_idx)); + if ((Original_bidx.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[11].Value = ((int)(Original_bidx.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value; + } + if ((Original_header.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[13].Value = ((bool)(Original_header.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value; + } + if ((Original_cate == null)) { + this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Original_cate)); + } + if ((Original_title == 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_title)); + } + if ((Original_file == null)) { + this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(Original_file)); + } + if ((Original_guid == null)) { + this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[21].Value = ((string)(Original_guid)); + } + if ((Original_wuid == null)) { + throw new global::System.ArgumentNullException("Original_wuid"); + } + else { + this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(Original_wuid)); + } + this.Adapter.UpdateCommand.Parameters[23].Value = ((System.DateTime)(Original_wdate)); + this.Adapter.UpdateCommand.Parameters[24].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)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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.Update, true)] + public virtual int Update( + global::System.Nullable bidx, + global::System.Nullable header, + string cate, + string title, + string contents, + string file, + string guid, + string wuid, + System.DateTime wdate, + int Original_idx, + global::System.Nullable Original_bidx, + global::System.Nullable Original_header, + string Original_cate, + string Original_title, + string Original_file, + string Original_guid, + string Original_wuid, + System.DateTime Original_wdate) { + return this.Update(bidx, header, cate, title, contents, file, guid, wuid, wdate, Original_idx, Original_bidx, Original_header, Original_cate, Original_title, Original_file, Original_guid, Original_wuid, Original_wdate, Original_idx); + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DataObjectAttribute(true)] + [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + + ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class HolydayTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public HolydayTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "Holyday"; + tableMapping.ColumnMappings.Add("idx", "idx"); + tableMapping.ColumnMappings.Add("cate", "cate"); + tableMapping.ColumnMappings.Add("result", "result"); + tableMapping.ColumnMappings.Add("sdate", "sdate"); + tableMapping.ColumnMappings.Add("edate", "edate"); + tableMapping.ColumnMappings.Add("term", "term"); + tableMapping.ColumnMappings.Add("title", "title"); + tableMapping.ColumnMappings.Add("contents", "contents"); + tableMapping.ColumnMappings.Add("uid", "uid"); + tableMapping.ColumnMappings.Add("tolist", "tolist"); + tableMapping.ColumnMappings.Add("mail", "mail"); + tableMapping.ColumnMappings.Add("mailsend", "mailsend"); + 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) 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, "", "", "")); + this._adapter.DeleteCommand.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, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_result", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "result", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_result", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "result", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_sdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sdate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_sdate", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sdate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_edate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_edate", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_term", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "term", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_term", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "term", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_title", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_title", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_uid", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_uid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_mail", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "mail", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_mail", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "mail", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_mailsend", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "mailsend", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + 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], [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, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sdate", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@edate", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@term", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "term", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@title", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@contents", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "contents", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@tolist", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "tolist", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@mail", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "mail", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@mailsend", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "mailsend", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + 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, [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, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sdate", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@edate", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@term", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "term", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@title", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@contents", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "contents", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@tolist", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "tolist", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@mail", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "mail", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@mailsend", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "mailsend", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + 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, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_result", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "result", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_result", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "result", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_sdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sdate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_sdate", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sdate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_edate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_edate", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_term", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "term", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_term", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "term", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_title", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_title", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_uid", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_uid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_mail", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "mail", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_mail", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "mail", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_mailsend", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "mailsend", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + 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, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::FBS0000.Properties.Settings.Default.gwcs; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + 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, 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, "", "", "")); + this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uid", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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.Fill, true)] + public virtual int Fill(dsMSSQL.HolydayDataTable dataTable, string sd, string ed, string uid) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((sd == null)) { + this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(sd)); + } + if ((ed == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(ed)); + } + if ((uid == null)) { + throw new global::System.ArgumentNullException("uid"); + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(uid)); + } + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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.Select, true)] + public virtual dsMSSQL.HolydayDataTable GetData(string sd, string ed, string uid) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((sd == null)) { + this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(sd)); + } + if ((ed == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(ed)); + } + if ((uid == null)) { + throw new global::System.ArgumentNullException("uid"); + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(uid)); + } + dsMSSQL.HolydayDataTable dataTable = new dsMSSQL.HolydayDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(dsMSSQL.HolydayDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(dsMSSQL dataSet) { + return this.Adapter.Update(dataSet, "Holyday"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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 Original_sdate, global::System.Nullable Original_edate, global::System.Nullable Original_term, string Original_title, string Original_uid, global::System.Nullable Original_mail, global::System.Nullable Original_mailsend, string Original_wuid, System.DateTime Original_wdate, global::System.Nullable Original_termDr) { + this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx)); + if ((Original_cate == null)) { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_cate)); + } + if ((Original_result == null)) { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_result)); + } + if ((Original_sdate.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[6].Value = ((System.DateTime)(Original_sdate.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value; + } + if ((Original_edate.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[8].Value = ((System.DateTime)(Original_edate.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value; + } + if ((Original_term.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[10].Value = ((double)(Original_term.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value; + } + if ((Original_title == null)) { + this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[12].Value = ((string)(Original_title)); + } + if ((Original_uid == null)) { + this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[14].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[14].Value = ((string)(Original_uid)); + } + if ((Original_mail.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[16].Value = ((bool)(Original_mail.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[16].Value = global::System.DBNull.Value; + } + if ((Original_mailsend.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[18].Value = ((bool)(Original_mailsend.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[18].Value = global::System.DBNull.Value; + } + if ((Original_wuid == null)) { + throw new global::System.ArgumentNullException("Original_wuid"); + } + else { + 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)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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 sdate, global::System.Nullable edate, global::System.Nullable term, string title, string contents, string uid, string tolist, global::System.Nullable mail, global::System.Nullable mailsend, string reason, string wuid, System.DateTime wdate, global::System.Nullable termDr) { + if ((cate == null)) { + this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(cate)); + } + if ((result == null)) { + this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(result)); + } + if ((sdate.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[2].Value = ((System.DateTime)(sdate.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; + } + if ((edate.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[3].Value = ((System.DateTime)(edate.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; + } + if ((term.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[4].Value = ((double)(term.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; + } + if ((title == null)) { + this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[5].Value = ((string)(title)); + } + if ((contents == null)) { + this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[6].Value = ((string)(contents)); + } + if ((uid == null)) { + this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[7].Value = ((string)(uid)); + } + if ((tolist == null)) { + this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[8].Value = ((string)(tolist)); + } + if ((mail.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[9].Value = ((bool)(mail.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value; + } + if ((mailsend.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[10].Value = ((bool)(mailsend.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value; + } + if ((reason == null)) { + this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[11].Value = ((string)(reason)); + } + if ((wuid == null)) { + throw new global::System.ArgumentNullException("wuid"); + } + else { + 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)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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.Update, true)] + public virtual int Update( + string cate, + string result, + global::System.Nullable sdate, + global::System.Nullable edate, + global::System.Nullable term, + string title, + string contents, + string uid, + string tolist, + global::System.Nullable mail, + global::System.Nullable mailsend, + string reason, + string wuid, + System.DateTime wdate, + global::System.Nullable termDr, + int Original_idx, + string Original_cate, + string Original_result, + global::System.Nullable Original_sdate, + global::System.Nullable Original_edate, + global::System.Nullable Original_term, + string Original_title, + string Original_uid, + global::System.Nullable Original_mail, + global::System.Nullable Original_mailsend, + string Original_wuid, + System.DateTime Original_wdate, + global::System.Nullable Original_termDr, + int idx) { + if ((cate == null)) { + this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(cate)); + } + if ((result == null)) { + this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(result)); + } + if ((sdate.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[2].Value = ((System.DateTime)(sdate.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + if ((edate.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[3].Value = ((System.DateTime)(edate.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; + } + if ((term.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[4].Value = ((double)(term.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; + } + if ((title == null)) { + this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(title)); + } + if ((contents == null)) { + this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(contents)); + } + if ((uid == null)) { + this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(uid)); + } + if ((tolist == null)) { + this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(tolist)); + } + if ((mail.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[9].Value = ((bool)(mail.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value; + } + if ((mailsend.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[10].Value = ((bool)(mailsend.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value; + } + if ((reason == null)) { + this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(reason)); + } + if ((wuid == null)) { + throw new global::System.ArgumentNullException("wuid"); + } + else { + this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(wuid)); + } + this.Adapter.UpdateCommand.Parameters[13].Value = ((System.DateTime)(wdate)); + if ((termDr.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[14].Value = ((double)(termDr.Value)); + } + else { + 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[18].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value; + } + else { + 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[20].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[21].Value = ((System.DateTime)(Original_sdate.Value)); + } + else { + 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[22].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[23].Value = ((System.DateTime)(Original_edate.Value)); + } + else { + 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[24].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[25].Value = ((double)(Original_term.Value)); + } + else { + 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[26].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[27].Value = global::System.DBNull.Value; + } + else { + 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[28].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[29].Value = global::System.DBNull.Value; + } + else { + 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[30].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[31].Value = ((bool)(Original_mail.Value)); + } + else { + 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[32].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[33].Value = ((bool)(Original_mailsend.Value)); + } + else { + 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[34].Value = ((string)(Original_wuid)); + } + 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)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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.Update, true)] + public virtual int Update( + string cate, + string result, + global::System.Nullable sdate, + global::System.Nullable edate, + global::System.Nullable term, + string title, + string contents, + string uid, + string tolist, + global::System.Nullable mail, + global::System.Nullable mailsend, + string reason, + string wuid, + System.DateTime wdate, + global::System.Nullable termDr, + int Original_idx, + string Original_cate, + string Original_result, + global::System.Nullable Original_sdate, + global::System.Nullable Original_edate, + global::System.Nullable Original_term, + string Original_title, + string Original_uid, + global::System.Nullable Original_mail, + global::System.Nullable Original_mailsend, + string Original_wuid, + System.DateTime Original_wdate, + global::System.Nullable 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); + } + } + + /// + ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios + /// + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerDesigner, Microsoft.VSD" + + "esigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapterManager")] + public partial class TableAdapterManager : global::System.ComponentModel.Component { + + private UpdateOrderOption _updateOrder; + + private minutesTableAdapter _minutesTableAdapter; + + private BoardTableAdapter _boardTableAdapter; + + private HolydayTableAdapter _holydayTableAdapter; + + private bool _backupDataSetBeforeUpdate; + + private global::System.Data.IDbConnection _connection; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public UpdateOrderOption UpdateOrder { + get { + return this._updateOrder; + } + set { + this._updateOrder = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public minutesTableAdapter minutesTableAdapter { + get { + return this._minutesTableAdapter; + } + set { + this._minutesTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public BoardTableAdapter BoardTableAdapter { + get { + return this._boardTableAdapter; + } + set { + this._boardTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public HolydayTableAdapter HolydayTableAdapter { + get { + return this._holydayTableAdapter; + } + set { + this._holydayTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool BackupDataSetBeforeUpdate { + get { + return this._backupDataSetBeforeUpdate; + } + set { + this._backupDataSetBeforeUpdate = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public global::System.Data.IDbConnection Connection { + get { + if ((this._connection != null)) { + return this._connection; + } + if (((this._minutesTableAdapter != null) + && (this._minutesTableAdapter.Connection != null))) { + return this._minutesTableAdapter.Connection; + } + if (((this._boardTableAdapter != null) + && (this._boardTableAdapter.Connection != null))) { + return this._boardTableAdapter.Connection; + } + if (((this._holydayTableAdapter != null) + && (this._holydayTableAdapter.Connection != null))) { + return this._holydayTableAdapter.Connection; + } + return null; + } + set { + this._connection = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int TableAdapterInstanceCount { + get { + int count = 0; + if ((this._minutesTableAdapter != null)) { + count = (count + 1); + } + if ((this._boardTableAdapter != null)) { + count = (count + 1); + } + if ((this._holydayTableAdapter != null)) { + count = (count + 1); + } + return count; + } + } + + /// + ///Update rows in top-down order. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private int UpdateUpdatedRows(dsMSSQL dataSet, global::System.Collections.Generic.List allChangedRows, global::System.Collections.Generic.List allAddedRows) { + int result = 0; + if ((this._minutesTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.minutes.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._minutesTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._boardTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.Board.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._boardTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._holydayTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.Holyday.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._holydayTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + return result; + } + + /// + ///Insert rows in top-down order. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private int UpdateInsertedRows(dsMSSQL dataSet, global::System.Collections.Generic.List allAddedRows) { + int result = 0; + if ((this._minutesTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.minutes.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._minutesTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._boardTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.Board.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._boardTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._holydayTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.Holyday.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._holydayTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + return result; + } + + /// + ///Delete rows in bottom-up order. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private int UpdateDeletedRows(dsMSSQL dataSet, global::System.Collections.Generic.List allChangedRows) { + int result = 0; + if ((this._holydayTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.Holyday.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._holydayTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._boardTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.Board.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._boardTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._minutesTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.minutes.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._minutesTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + return result; + } + + /// + ///Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private global::System.Data.DataRow[] GetRealUpdatedRows(global::System.Data.DataRow[] updatedRows, global::System.Collections.Generic.List allAddedRows) { + if (((updatedRows == null) + || (updatedRows.Length < 1))) { + return updatedRows; + } + if (((allAddedRows == null) + || (allAddedRows.Count < 1))) { + return updatedRows; + } + global::System.Collections.Generic.List realUpdatedRows = new global::System.Collections.Generic.List(); + for (int i = 0; (i < updatedRows.Length); i = (i + 1)) { + global::System.Data.DataRow row = updatedRows[i]; + if ((allAddedRows.Contains(row) == false)) { + realUpdatedRows.Add(row); + } + } + return realUpdatedRows.ToArray(); + } + + /// + ///Update all changes to the dataset. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public virtual int UpdateAll(dsMSSQL dataSet) { + if ((dataSet == null)) { + throw new global::System.ArgumentNullException("dataSet"); + } + if ((dataSet.HasChanges() == false)) { + return 0; + } + if (((this._minutesTableAdapter != null) + && (this.MatchTableAdapterConnection(this._minutesTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다."); + } + if (((this._boardTableAdapter != null) + && (this.MatchTableAdapterConnection(this._boardTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다."); + } + if (((this._holydayTableAdapter != null) + && (this.MatchTableAdapterConnection(this._holydayTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다."); + } + global::System.Data.IDbConnection workConnection = this.Connection; + if ((workConnection == null)) { + throw new global::System.ApplicationException("TableAdapterManager에 연결 정보가 없습니다. 각 TableAdapterManager TableAdapter 속성을 올바른 Tabl" + + "eAdapter 인스턴스로 설정하십시오."); + } + bool workConnOpened = false; + if (((workConnection.State & global::System.Data.ConnectionState.Broken) + == global::System.Data.ConnectionState.Broken)) { + workConnection.Close(); + } + if ((workConnection.State == global::System.Data.ConnectionState.Closed)) { + workConnection.Open(); + workConnOpened = true; + } + global::System.Data.IDbTransaction workTransaction = workConnection.BeginTransaction(); + if ((workTransaction == null)) { + throw new global::System.ApplicationException("트랜잭션을 시작할 수 없습니다. 현재 데이터 연결에서 트랜잭션이 지원되지 않거나 현재 상태에서 트랜잭션을 시작할 수 없습니다."); + } + global::System.Collections.Generic.List allChangedRows = new global::System.Collections.Generic.List(); + global::System.Collections.Generic.List allAddedRows = new global::System.Collections.Generic.List(); + global::System.Collections.Generic.List adaptersWithAcceptChangesDuringUpdate = new global::System.Collections.Generic.List(); + global::System.Collections.Generic.Dictionary revertConnections = new global::System.Collections.Generic.Dictionary(); + int result = 0; + global::System.Data.DataSet backupDataSet = null; + if (this.BackupDataSetBeforeUpdate) { + backupDataSet = new global::System.Data.DataSet(); + backupDataSet.Merge(dataSet); + } + try { + // ---- Prepare for update ----------- + // + if ((this._minutesTableAdapter != null)) { + revertConnections.Add(this._minutesTableAdapter, this._minutesTableAdapter.Connection); + this._minutesTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._minutesTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._minutesTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._minutesTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._minutesTableAdapter.Adapter); + } + } + if ((this._boardTableAdapter != null)) { + revertConnections.Add(this._boardTableAdapter, this._boardTableAdapter.Connection); + this._boardTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._boardTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._boardTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._boardTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._boardTableAdapter.Adapter); + } + } + if ((this._holydayTableAdapter != null)) { + revertConnections.Add(this._holydayTableAdapter, this._holydayTableAdapter.Connection); + this._holydayTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._holydayTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._holydayTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._holydayTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._holydayTableAdapter.Adapter); + } + } + // + //---- Perform updates ----------- + // + if ((this.UpdateOrder == UpdateOrderOption.UpdateInsertDelete)) { + result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows)); + result = (result + this.UpdateInsertedRows(dataSet, allAddedRows)); + } + else { + result = (result + this.UpdateInsertedRows(dataSet, allAddedRows)); + result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows)); + } + result = (result + this.UpdateDeletedRows(dataSet, allChangedRows)); + // + //---- Commit updates ----------- + // + workTransaction.Commit(); + if ((0 < allAddedRows.Count)) { + global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count]; + allAddedRows.CopyTo(rows); + for (int i = 0; (i < rows.Length); i = (i + 1)) { + global::System.Data.DataRow row = rows[i]; + row.AcceptChanges(); + } + } + if ((0 < allChangedRows.Count)) { + global::System.Data.DataRow[] rows = new System.Data.DataRow[allChangedRows.Count]; + allChangedRows.CopyTo(rows); + for (int i = 0; (i < rows.Length); i = (i + 1)) { + global::System.Data.DataRow row = rows[i]; + row.AcceptChanges(); + } + } + } + catch (global::System.Exception ex) { + workTransaction.Rollback(); + // ---- Restore the dataset ----------- + if (this.BackupDataSetBeforeUpdate) { + global::System.Diagnostics.Debug.Assert((backupDataSet != null)); + dataSet.Clear(); + dataSet.Merge(backupDataSet); + } + else { + if ((0 < allAddedRows.Count)) { + global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count]; + allAddedRows.CopyTo(rows); + for (int i = 0; (i < rows.Length); i = (i + 1)) { + global::System.Data.DataRow row = rows[i]; + row.AcceptChanges(); + row.SetAdded(); + } + } + } + throw ex; + } + finally { + if (workConnOpened) { + workConnection.Close(); + } + if ((this._minutesTableAdapter != null)) { + this._minutesTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._minutesTableAdapter])); + this._minutesTableAdapter.Transaction = null; + } + if ((this._boardTableAdapter != null)) { + this._boardTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._boardTableAdapter])); + this._boardTableAdapter.Transaction = null; + } + if ((this._holydayTableAdapter != null)) { + this._holydayTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._holydayTableAdapter])); + this._holydayTableAdapter.Transaction = null; + } + if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) { + global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count]; + adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters); + for (int i = 0; (i < adapters.Length); i = (i + 1)) { + global::System.Data.Common.DataAdapter adapter = adapters[i]; + adapter.AcceptChangesDuringUpdate = true; + } + } + } + return result; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected virtual void SortSelfReferenceRows(global::System.Data.DataRow[] rows, global::System.Data.DataRelation relation, bool childFirst) { + global::System.Array.Sort(rows, new SelfReferenceComparer(relation, childFirst)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected virtual bool MatchTableAdapterConnection(global::System.Data.IDbConnection inputConnection) { + if ((this._connection != null)) { + return true; + } + if (((this.Connection == null) + || (inputConnection == null))) { + return true; + } + if (string.Equals(this.Connection.ConnectionString, inputConnection.ConnectionString, global::System.StringComparison.Ordinal)) { + return true; + } + return false; + } + + /// + ///Update Order Option + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public enum UpdateOrderOption { + + InsertUpdateDelete = 0, + + UpdateInsertDelete = 1, + } + + /// + ///Used to sort self-referenced table's rows + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private class SelfReferenceComparer : object, global::System.Collections.Generic.IComparer { + + private global::System.Data.DataRelation _relation; + + private int _childFirst; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal SelfReferenceComparer(global::System.Data.DataRelation relation, bool childFirst) { + this._relation = relation; + if (childFirst) { + this._childFirst = -1; + } + else { + this._childFirst = 1; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private global::System.Data.DataRow GetRoot(global::System.Data.DataRow row, out int distance) { + global::System.Diagnostics.Debug.Assert((row != null)); + global::System.Data.DataRow root = row; + distance = 0; + + global::System.Collections.Generic.IDictionary traversedRows = new global::System.Collections.Generic.Dictionary(); + traversedRows[row] = row; + + global::System.Data.DataRow parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default); + for ( + ; ((parent != null) + && (traversedRows.ContainsKey(parent) == false)); + ) { + distance = (distance + 1); + root = parent; + traversedRows[parent] = parent; + parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default); + } + + if ((distance == 0)) { + traversedRows.Clear(); + traversedRows[row] = row; + parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original); + for ( + ; ((parent != null) + && (traversedRows.ContainsKey(parent) == false)); + ) { + distance = (distance + 1); + root = parent; + traversedRows[parent] = parent; + parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original); + } + } + + return root; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int Compare(global::System.Data.DataRow row1, global::System.Data.DataRow row2) { + if (object.ReferenceEquals(row1, row2)) { + return 0; + } + if ((row1 == null)) { + return -1; + } + if ((row2 == null)) { + return 1; + } + + int distance1 = 0; + global::System.Data.DataRow root1 = this.GetRoot(row1, out distance1); + + int distance2 = 0; + global::System.Data.DataRow root2 = this.GetRoot(row2, out distance2); + + if (object.ReferenceEquals(root1, root2)) { + return (this._childFirst * distance1.CompareTo(distance2)); + } + else { + global::System.Diagnostics.Debug.Assert(((root1.Table != null) + && (root2.Table != null))); + if ((root1.Table.Rows.IndexOf(root1) < root2.Table.Rows.IndexOf(root2))) { + return -1; + } + else { + return 1; + } + } + } + } + } +} + #pragma warning restore 1591 \ No newline at end of file diff --git a/SubProject/FBS0000/dsMSSQL.xsd b/SubProject/FBS0000/dsMSSQL.xsd index 41f3ef5..99dd2ce 100644 --- a/SubProject/FBS0000/dsMSSQL.xsd +++ b/SubProject/FBS0000/dsMSSQL.xsd @@ -1,575 +1,575 @@ - - - - - - - - - - - - - - - DELETE FROM [minutes] WHERE (([idx] = @Original_idx) AND ((@IsNull_stime = 1 AND [stime] IS NULL) OR ([stime] = @Original_stime)) AND ((@IsNull_etime = 1 AND [etime] IS NULL) OR ([etime] = @Original_etime)) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_place = 1 AND [place] IS NULL) OR ([place] = @Original_place)) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ((@IsNull_main = 1 AND [main] IS NULL) OR ([main] = @Original_main)) AND ((@IsNull_sub = 1 AND [sub] IS NULL) OR ([sub] = @Original_sub)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate)) - - - - - - - - - - - - - - - - - - - - - - - - INSERT INTO [minutes] ([stime], [etime], [title], [place], [contents], [project], [main], [sub], [memo], [wuid], [wdate]) VALUES (@stime, @etime, @title, @place, @contents, @project, @main, @sub, @memo, @wuid, @wdate); -SELECT idx, stime, etime, title, place, contents, project, main, sub, memo, wuid, wdate FROM minutes WHERE (idx = SCOPE_IDENTITY()) - - - - - - - - - - - - - - - - - - SELECT minutes.* -FROM minutes - - - - - - UPDATE [minutes] SET [stime] = @stime, [etime] = @etime, [title] = @title, [place] = @place, [contents] = @contents, [project] = @project, [main] = @main, [sub] = @sub, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate WHERE (([idx] = @Original_idx) AND ((@IsNull_stime = 1 AND [stime] IS NULL) OR ([stime] = @Original_stime)) AND ((@IsNull_etime = 1 AND [etime] IS NULL) OR ([etime] = @Original_etime)) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_place = 1 AND [place] IS NULL) OR ([place] = @Original_place)) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ((@IsNull_main = 1 AND [main] IS NULL) OR ([main] = @Original_main)) AND ((@IsNull_sub = 1 AND [sub] IS NULL) OR ([sub] = @Original_sub)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate)); -SELECT idx, stime, etime, title, place, contents, project, main, sub, memo, wuid, wdate FROM minutes WHERE (idx = @idx) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SELECT idx, stime, etime, title, place, contents, project, main, sub, memo, wuid, wdate -FROM minutes -WHERE (idx = @idx) - - - - - - - - - - - - - - DELETE FROM [Board] WHERE (([idx] = @Original_idx) AND ((@IsNull_bidx = 1 AND [bidx] IS NULL) OR ([bidx] = @Original_bidx)) AND ((@IsNull_header = 1 AND [header] IS NULL) OR ([header] = @Original_header)) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_file = 1 AND [file] IS NULL) OR ([file] = @Original_file)) AND ((@IsNull_guid = 1 AND [guid] IS NULL) OR ([guid] = @Original_guid)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate)) - - - - - - - - - - - - - - - - - - - - - - INSERT INTO [Board] ([bidx], [header], [cate], [title], [contents], [file], [guid], [wuid], [wdate]) VALUES (@bidx, @header, @cate, @title, @contents, @file, @guid, @wuid, @wdate); -SELECT idx, bidx, header, cate, title, contents, [file], guid, wuid, wdate FROM Board WHERE (idx = SCOPE_IDENTITY()) - - - - - - - - - - - - - - - - SELECT idx, bidx, header, cate, title, contents, [file], guid, wuid, wdate -FROM Board -WHERE (bidx = @bidx) - - - - - - - - UPDATE [Board] SET [bidx] = @bidx, [header] = @header, [cate] = @cate, [title] = @title, [contents] = @contents, [file] = @file, [guid] = @guid, [wuid] = @wuid, [wdate] = @wdate WHERE (([idx] = @Original_idx) AND ((@IsNull_bidx = 1 AND [bidx] IS NULL) OR ([bidx] = @Original_bidx)) AND ((@IsNull_header = 1 AND [header] IS NULL) OR ([header] = @Original_header)) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_file = 1 AND [file] IS NULL) OR ([file] = @Original_file)) AND ((@IsNull_guid = 1 AND [guid] IS NULL) OR ([guid] = @Original_guid)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate)); -SELECT idx, bidx, header, cate, title, contents, [file], guid, wuid, wdate FROM Board WHERE (idx = @idx) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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))) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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 - - - - - - - - - - - - - - - - - - - - - - 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 - - - - - - - - - - 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 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + DELETE FROM [minutes] WHERE (([idx] = @Original_idx) AND ((@IsNull_stime = 1 AND [stime] IS NULL) OR ([stime] = @Original_stime)) AND ((@IsNull_etime = 1 AND [etime] IS NULL) OR ([etime] = @Original_etime)) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_place = 1 AND [place] IS NULL) OR ([place] = @Original_place)) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ((@IsNull_main = 1 AND [main] IS NULL) OR ([main] = @Original_main)) AND ((@IsNull_sub = 1 AND [sub] IS NULL) OR ([sub] = @Original_sub)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate)) + + + + + + + + + + + + + + + + + + + + + + + + INSERT INTO [minutes] ([stime], [etime], [title], [place], [contents], [project], [main], [sub], [memo], [wuid], [wdate]) VALUES (@stime, @etime, @title, @place, @contents, @project, @main, @sub, @memo, @wuid, @wdate); +SELECT idx, stime, etime, title, place, contents, project, main, sub, memo, wuid, wdate FROM minutes WHERE (idx = SCOPE_IDENTITY()) + + + + + + + + + + + + + + + + + + SELECT minutes.* +FROM minutes + + + + + + UPDATE [minutes] SET [stime] = @stime, [etime] = @etime, [title] = @title, [place] = @place, [contents] = @contents, [project] = @project, [main] = @main, [sub] = @sub, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate WHERE (([idx] = @Original_idx) AND ((@IsNull_stime = 1 AND [stime] IS NULL) OR ([stime] = @Original_stime)) AND ((@IsNull_etime = 1 AND [etime] IS NULL) OR ([etime] = @Original_etime)) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_place = 1 AND [place] IS NULL) OR ([place] = @Original_place)) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ((@IsNull_main = 1 AND [main] IS NULL) OR ([main] = @Original_main)) AND ((@IsNull_sub = 1 AND [sub] IS NULL) OR ([sub] = @Original_sub)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate)); +SELECT idx, stime, etime, title, place, contents, project, main, sub, memo, wuid, wdate FROM minutes WHERE (idx = @idx) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SELECT idx, stime, etime, title, place, contents, project, main, sub, memo, wuid, wdate +FROM minutes +WHERE (idx = @idx) + + + + + + + + + + + + + + DELETE FROM [Board] WHERE (([idx] = @Original_idx) AND ((@IsNull_bidx = 1 AND [bidx] IS NULL) OR ([bidx] = @Original_bidx)) AND ((@IsNull_header = 1 AND [header] IS NULL) OR ([header] = @Original_header)) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_file = 1 AND [file] IS NULL) OR ([file] = @Original_file)) AND ((@IsNull_guid = 1 AND [guid] IS NULL) OR ([guid] = @Original_guid)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate)) + + + + + + + + + + + + + + + + + + + + + + INSERT INTO [Board] ([bidx], [header], [cate], [title], [contents], [file], [guid], [wuid], [wdate]) VALUES (@bidx, @header, @cate, @title, @contents, @file, @guid, @wuid, @wdate); +SELECT idx, bidx, header, cate, title, contents, [file], guid, wuid, wdate FROM Board WHERE (idx = SCOPE_IDENTITY()) + + + + + + + + + + + + + + + + SELECT idx, bidx, header, cate, title, contents, [file], guid, wuid, wdate +FROM Board +WHERE (bidx = @bidx) + + + + + + + + UPDATE [Board] SET [bidx] = @bidx, [header] = @header, [cate] = @cate, [title] = @title, [contents] = @contents, [file] = @file, [guid] = @guid, [wuid] = @wuid, [wdate] = @wdate WHERE (([idx] = @Original_idx) AND ((@IsNull_bidx = 1 AND [bidx] IS NULL) OR ([bidx] = @Original_bidx)) AND ((@IsNull_header = 1 AND [header] IS NULL) OR ([header] = @Original_header)) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_file = 1 AND [file] IS NULL) OR ([file] = @Original_file)) AND ((@IsNull_guid = 1 AND [guid] IS NULL) OR ([guid] = @Original_guid)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate)); +SELECT idx, bidx, header, cate, title, contents, [file], guid, wuid, wdate FROM Board WHERE (idx = @idx) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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))) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + + + + + + + + + + + + + + + + + + + + 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 + + + + + + + + + + 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 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SubProject/FBS0000/fMinutes.Designer.cs b/SubProject/FBS0000/fMinutes.Designer.cs index 43e168b..d6f85b7 100644 --- a/SubProject/FBS0000/fMinutes.Designer.cs +++ b/SubProject/FBS0000/fMinutes.Designer.cs @@ -1,364 +1,364 @@ -namespace FBS0000 -{ - partial class fMinutes - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - this.components = new System.ComponentModel.Container(); - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fMinutes)); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); - 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); - 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(); - this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton(); - this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator(); - this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox(); - this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator(); - this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton(); - this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton(); - this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator(); - this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); - this.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); - this.dv1 = new System.Windows.Forms.DataGridView(); - this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components); - this.autoColumnSizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.ta = new FBS0000.dsMSSQLTableAdapters.minutesTableAdapter(); - this.tam = new FBS0000.dsMSSQLTableAdapters.TableAdapterManager(); - this.idxDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.stimeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.titleDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.placeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.mainDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.projectDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.memoDataGridViewTextBoxColumn = 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.cm1.SuspendLayout(); - this.SuspendLayout(); - // - // bn - // - this.bn.AddNewItem = this.bindingNavigatorAddNewItem; - this.bn.BindingSource = this.bs; - this.bn.CountItem = this.bindingNavigatorCountItem; - this.bn.DeleteItem = this.bindingNavigatorDeleteItem; - this.bn.Dock = System.Windows.Forms.DockStyle.Bottom; - this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.bindingNavigatorMoveFirstItem, - this.bindingNavigatorMovePreviousItem, - this.bindingNavigatorSeparator, - this.bindingNavigatorPositionItem, - this.bindingNavigatorCountItem, - this.bindingNavigatorSeparator1, - this.bindingNavigatorMoveNextItem, - this.bindingNavigatorMoveLastItem, - this.bindingNavigatorSeparator2, - this.bindingNavigatorAddNewItem, - this.bindingNavigatorDeleteItem, - this.toolStripButton1, - this.toolStripButton2}); - this.bn.Location = new System.Drawing.Point(0, 481); - 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.TabIndex = 0; - this.bn.Text = "bindingNavigator1"; - // - // 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)"; - // - // bs - // - this.bs.DataMember = "Minutes"; - this.bs.DataSource = this.dsMSSQL; - this.bs.CurrentChanged += new System.EventHandler(this.bs_CurrentChanged); - // - // 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.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; - 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.Text = "처음으로 이동"; - // - // bindingNavigatorMovePreviousItem - // - this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - 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.Text = "이전으로 이동"; - // - // bindingNavigatorSeparator - // - this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator"; - this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25); - // - // bindingNavigatorPositionItem - // - this.bindingNavigatorPositionItem.AccessibleName = "위치"; - this.bindingNavigatorPositionItem.AutoSize = false; - this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem"; - this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23); - this.bindingNavigatorPositionItem.Text = "0"; - this.bindingNavigatorPositionItem.ToolTipText = "현재 위치"; - // - // bindingNavigatorSeparator1 - // - this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1"; - this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25); - // - // bindingNavigatorMoveNextItem - // - this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - 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.Text = "다음으로 이동"; - // - // bindingNavigatorMoveLastItem - // - this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - 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.Text = "마지막으로 이동"; - // - // bindingNavigatorSeparator2 - // - this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2"; - this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25); - // - // toolStripButton1 - // - this.toolStripButton1.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; - 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(66, 22); - this.toolStripButton1.Text = "Refresh"; - this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click); - // - // toolStripButton2 - // - 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(67, 22); - this.toolStripButton2.Text = "Save(&S)"; - this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click); - // - // dv1 - // - 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.idxDataGridViewTextBoxColumn, - this.stimeDataGridViewTextBoxColumn, - this.titleDataGridViewTextBoxColumn, - this.placeDataGridViewTextBoxColumn, - this.mainDataGridViewTextBoxColumn, - this.projectDataGridViewTextBoxColumn, - this.memoDataGridViewTextBoxColumn}); - 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(735, 481); - this.dv1.TabIndex = 1; - this.dv1.DoubleClick += new System.EventHandler(this.dv1_DoubleClick); - // - // cm1 - // - this.cm1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.autoColumnSizeToolStripMenuItem}); - this.cm1.Name = "cm1"; - this.cm1.Size = new System.Drawing.Size(170, 26); - // - // autoColumnSizeToolStripMenuItem - // - this.autoColumnSizeToolStripMenuItem.Name = "autoColumnSizeToolStripMenuItem"; - this.autoColumnSizeToolStripMenuItem.Size = new System.Drawing.Size(169, 22); - this.autoColumnSizeToolStripMenuItem.Text = "AutoColumn Size"; - this.autoColumnSizeToolStripMenuItem.Click += new System.EventHandler(this.autoColumnSizeToolStripMenuItem_Click); - // - // ta - // - this.ta.ClearBeforeFill = true; - // - // tam - // - this.tam.BackupDataSetBeforeUpdate = false; - this.tam.BoardTableAdapter = null; - this.tam.Connection = null; - this.tam.HolydayTableAdapter = null; - this.tam.minutesTableAdapter = null; - this.tam.UpdateOrder = FBS0000.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; - // - // idxDataGridViewTextBoxColumn - // - this.idxDataGridViewTextBoxColumn.DataPropertyName = "idx"; - this.idxDataGridViewTextBoxColumn.HeaderText = "idx"; - this.idxDataGridViewTextBoxColumn.Name = "idxDataGridViewTextBoxColumn"; - this.idxDataGridViewTextBoxColumn.ReadOnly = true; - // - // stimeDataGridViewTextBoxColumn - // - this.stimeDataGridViewTextBoxColumn.DataPropertyName = "stime"; - dataGridViewCellStyle1.Format = "yyyy-MM-dd"; - this.stimeDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle1; - this.stimeDataGridViewTextBoxColumn.HeaderText = "stime"; - this.stimeDataGridViewTextBoxColumn.Name = "stimeDataGridViewTextBoxColumn"; - // - // titleDataGridViewTextBoxColumn - // - this.titleDataGridViewTextBoxColumn.DataPropertyName = "title"; - this.titleDataGridViewTextBoxColumn.HeaderText = "title"; - this.titleDataGridViewTextBoxColumn.Name = "titleDataGridViewTextBoxColumn"; - // - // placeDataGridViewTextBoxColumn - // - this.placeDataGridViewTextBoxColumn.DataPropertyName = "place"; - this.placeDataGridViewTextBoxColumn.HeaderText = "place"; - this.placeDataGridViewTextBoxColumn.Name = "placeDataGridViewTextBoxColumn"; - // - // mainDataGridViewTextBoxColumn - // - this.mainDataGridViewTextBoxColumn.DataPropertyName = "main"; - this.mainDataGridViewTextBoxColumn.HeaderText = "main"; - this.mainDataGridViewTextBoxColumn.Name = "mainDataGridViewTextBoxColumn"; - // - // projectDataGridViewTextBoxColumn - // - this.projectDataGridViewTextBoxColumn.DataPropertyName = "project"; - this.projectDataGridViewTextBoxColumn.HeaderText = "project"; - this.projectDataGridViewTextBoxColumn.Name = "projectDataGridViewTextBoxColumn"; - // - // memoDataGridViewTextBoxColumn - // - this.memoDataGridViewTextBoxColumn.DataPropertyName = "memo"; - this.memoDataGridViewTextBoxColumn.HeaderText = "memo"; - this.memoDataGridViewTextBoxColumn.Name = "memoDataGridViewTextBoxColumn"; - // - // fMinutes - // - this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(735, 506); - this.Controls.Add(this.dv1); - this.Controls.Add(this.bn); - this.Name = "fMinutes"; - this.Text = "Minutes"; - this.Load += new System.EventHandler(this.@__Load); - ((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.ResumeLayout(false); - this.PerformLayout(); - - } - - #endregion - - private dsMSSQL dsMSSQL; - private System.Windows.Forms.BindingSource bs; - private dsMSSQLTableAdapters.minutesTableAdapter ta; - private dsMSSQLTableAdapters.TableAdapterManager tam; - private System.Windows.Forms.BindingNavigator bn; - private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem; - private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem; - private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem; - private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem; - private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem; - private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator; - private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem; - private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1; - private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem; - private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem; - private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2; - private System.Windows.Forms.DataGridView dv1; - private System.Windows.Forms.ContextMenuStrip cm1; - private System.Windows.Forms.ToolStripMenuItem autoColumnSizeToolStripMenuItem; - private System.Windows.Forms.ToolStripButton toolStripButton1; - private System.Windows.Forms.ToolStripButton toolStripButton2; - private System.Windows.Forms.DataGridViewTextBoxColumn idxDataGridViewTextBoxColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn stimeDataGridViewTextBoxColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn titleDataGridViewTextBoxColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn placeDataGridViewTextBoxColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn mainDataGridViewTextBoxColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn projectDataGridViewTextBoxColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn memoDataGridViewTextBoxColumn; - } +namespace FBS0000 +{ + partial class fMinutes + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fMinutes)); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); + 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); + 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(); + this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator(); + this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox(); + this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator(); + this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator(); + this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); + this.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); + this.dv1 = new System.Windows.Forms.DataGridView(); + this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components); + this.autoColumnSizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ta = new FBS0000.dsMSSQLTableAdapters.minutesTableAdapter(); + this.tam = new FBS0000.dsMSSQLTableAdapters.TableAdapterManager(); + this.idxDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.stimeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.titleDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.placeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.mainDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.projectDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.memoDataGridViewTextBoxColumn = 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.cm1.SuspendLayout(); + this.SuspendLayout(); + // + // bn + // + this.bn.AddNewItem = this.bindingNavigatorAddNewItem; + this.bn.BindingSource = this.bs; + this.bn.CountItem = this.bindingNavigatorCountItem; + this.bn.DeleteItem = this.bindingNavigatorDeleteItem; + this.bn.Dock = System.Windows.Forms.DockStyle.Bottom; + this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.bindingNavigatorMoveFirstItem, + this.bindingNavigatorMovePreviousItem, + this.bindingNavigatorSeparator, + this.bindingNavigatorPositionItem, + this.bindingNavigatorCountItem, + this.bindingNavigatorSeparator1, + this.bindingNavigatorMoveNextItem, + this.bindingNavigatorMoveLastItem, + this.bindingNavigatorSeparator2, + this.bindingNavigatorAddNewItem, + this.bindingNavigatorDeleteItem, + this.toolStripButton1, + this.toolStripButton2}); + this.bn.Location = new System.Drawing.Point(0, 481); + 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.TabIndex = 0; + this.bn.Text = "bindingNavigator1"; + // + // 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)"; + // + // bs + // + this.bs.DataMember = "Minutes"; + this.bs.DataSource = this.dsMSSQL; + this.bs.CurrentChanged += new System.EventHandler(this.bs_CurrentChanged); + // + // 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.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; + 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.Text = "처음으로 이동"; + // + // bindingNavigatorMovePreviousItem + // + this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + 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.Text = "이전으로 이동"; + // + // bindingNavigatorSeparator + // + this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator"; + this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25); + // + // bindingNavigatorPositionItem + // + this.bindingNavigatorPositionItem.AccessibleName = "위치"; + this.bindingNavigatorPositionItem.AutoSize = false; + this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem"; + this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23); + this.bindingNavigatorPositionItem.Text = "0"; + this.bindingNavigatorPositionItem.ToolTipText = "현재 위치"; + // + // bindingNavigatorSeparator1 + // + this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1"; + this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25); + // + // bindingNavigatorMoveNextItem + // + this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + 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.Text = "다음으로 이동"; + // + // bindingNavigatorMoveLastItem + // + this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + 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.Text = "마지막으로 이동"; + // + // bindingNavigatorSeparator2 + // + this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2"; + this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25); + // + // toolStripButton1 + // + this.toolStripButton1.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; + 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(66, 22); + this.toolStripButton1.Text = "Refresh"; + this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click); + // + // toolStripButton2 + // + 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(67, 22); + this.toolStripButton2.Text = "Save(&S)"; + this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click); + // + // dv1 + // + 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.idxDataGridViewTextBoxColumn, + this.stimeDataGridViewTextBoxColumn, + this.titleDataGridViewTextBoxColumn, + this.placeDataGridViewTextBoxColumn, + this.mainDataGridViewTextBoxColumn, + this.projectDataGridViewTextBoxColumn, + this.memoDataGridViewTextBoxColumn}); + 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(735, 481); + this.dv1.TabIndex = 1; + this.dv1.DoubleClick += new System.EventHandler(this.dv1_DoubleClick); + // + // cm1 + // + this.cm1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.autoColumnSizeToolStripMenuItem}); + this.cm1.Name = "cm1"; + this.cm1.Size = new System.Drawing.Size(170, 26); + // + // autoColumnSizeToolStripMenuItem + // + this.autoColumnSizeToolStripMenuItem.Name = "autoColumnSizeToolStripMenuItem"; + this.autoColumnSizeToolStripMenuItem.Size = new System.Drawing.Size(169, 22); + this.autoColumnSizeToolStripMenuItem.Text = "AutoColumn Size"; + this.autoColumnSizeToolStripMenuItem.Click += new System.EventHandler(this.autoColumnSizeToolStripMenuItem_Click); + // + // ta + // + this.ta.ClearBeforeFill = true; + // + // tam + // + this.tam.BackupDataSetBeforeUpdate = false; + this.tam.BoardTableAdapter = null; + this.tam.Connection = null; + this.tam.HolydayTableAdapter = null; + this.tam.minutesTableAdapter = null; + this.tam.UpdateOrder = FBS0000.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; + // + // idxDataGridViewTextBoxColumn + // + this.idxDataGridViewTextBoxColumn.DataPropertyName = "idx"; + this.idxDataGridViewTextBoxColumn.HeaderText = "idx"; + this.idxDataGridViewTextBoxColumn.Name = "idxDataGridViewTextBoxColumn"; + this.idxDataGridViewTextBoxColumn.ReadOnly = true; + // + // stimeDataGridViewTextBoxColumn + // + this.stimeDataGridViewTextBoxColumn.DataPropertyName = "stime"; + dataGridViewCellStyle1.Format = "yyyy-MM-dd"; + this.stimeDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle1; + this.stimeDataGridViewTextBoxColumn.HeaderText = "stime"; + this.stimeDataGridViewTextBoxColumn.Name = "stimeDataGridViewTextBoxColumn"; + // + // titleDataGridViewTextBoxColumn + // + this.titleDataGridViewTextBoxColumn.DataPropertyName = "title"; + this.titleDataGridViewTextBoxColumn.HeaderText = "title"; + this.titleDataGridViewTextBoxColumn.Name = "titleDataGridViewTextBoxColumn"; + // + // placeDataGridViewTextBoxColumn + // + this.placeDataGridViewTextBoxColumn.DataPropertyName = "place"; + this.placeDataGridViewTextBoxColumn.HeaderText = "place"; + this.placeDataGridViewTextBoxColumn.Name = "placeDataGridViewTextBoxColumn"; + // + // mainDataGridViewTextBoxColumn + // + this.mainDataGridViewTextBoxColumn.DataPropertyName = "main"; + this.mainDataGridViewTextBoxColumn.HeaderText = "main"; + this.mainDataGridViewTextBoxColumn.Name = "mainDataGridViewTextBoxColumn"; + // + // projectDataGridViewTextBoxColumn + // + this.projectDataGridViewTextBoxColumn.DataPropertyName = "project"; + this.projectDataGridViewTextBoxColumn.HeaderText = "project"; + this.projectDataGridViewTextBoxColumn.Name = "projectDataGridViewTextBoxColumn"; + // + // memoDataGridViewTextBoxColumn + // + this.memoDataGridViewTextBoxColumn.DataPropertyName = "memo"; + this.memoDataGridViewTextBoxColumn.HeaderText = "memo"; + this.memoDataGridViewTextBoxColumn.Name = "memoDataGridViewTextBoxColumn"; + // + // fMinutes + // + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(735, 506); + this.Controls.Add(this.dv1); + this.Controls.Add(this.bn); + this.Name = "fMinutes"; + this.Text = "Minutes"; + this.Load += new System.EventHandler(this.@__Load); + ((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.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private dsMSSQL dsMSSQL; + private System.Windows.Forms.BindingSource bs; + private dsMSSQLTableAdapters.minutesTableAdapter ta; + private dsMSSQLTableAdapters.TableAdapterManager tam; + private System.Windows.Forms.BindingNavigator bn; + private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem; + private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem; + private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem; + private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem; + private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem; + private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator; + private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem; + private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1; + private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem; + private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem; + private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2; + private System.Windows.Forms.DataGridView dv1; + private System.Windows.Forms.ContextMenuStrip cm1; + private System.Windows.Forms.ToolStripMenuItem autoColumnSizeToolStripMenuItem; + private System.Windows.Forms.ToolStripButton toolStripButton1; + private System.Windows.Forms.ToolStripButton toolStripButton2; + private System.Windows.Forms.DataGridViewTextBoxColumn idxDataGridViewTextBoxColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn stimeDataGridViewTextBoxColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn titleDataGridViewTextBoxColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn placeDataGridViewTextBoxColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn mainDataGridViewTextBoxColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn projectDataGridViewTextBoxColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn memoDataGridViewTextBoxColumn; + } } \ No newline at end of file diff --git a/SubProject/FBS0000/fMinutes.resx b/SubProject/FBS0000/fMinutes.resx index 0c2d7ff..036b6bf 100644 --- a/SubProject/FBS0000/fMinutes.resx +++ b/SubProject/FBS0000/fMinutes.resx @@ -1,214 +1,214 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 321, 17 - - - - - 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== - - - - 122, 17 - - - 17, 17 - - - - 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= - - - - - 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= - - - - - 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 - - - - - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78 - n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI - N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f - oAc0QjgAAAAASUVORK5CYII= - - - - - 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== - - - - - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAE1SURBVDhPY/hPIQAbcOn57//T915BwW1rjoFx/oJz//N6 - VqHgsNxeMA03YN3lp/9vv4YYhAtsuQ6h55/9A8aBidVgPtiADZcegzWDFN1/9///qy8IDOKDcPfu1/9/ - /vn/v3rt/f9TD38BuwJuwIrT9wka0L79BdiAkuW3MA0A+fnog///V12GKAZ5BxcGGQByDYoXYAbA/Aey - AYRBCkE2N256AnY6SDMoUEF8FANAoQ0zAFkzCCNrhhkAor3CczENwGYzuu1JM8+BaQwDQAGITzOyASDs - 4huPMAAkATIA3c/YNIdNPAHGKAaAUhUoBghphhng0rTnv71bGKoBoADE5mR0zVgNACUK9BgAGYbudJBG - GNY0dEYYAMsgMAyKYxAGhTQIg/wLwiBbQRikGSUdkA/+/wcAgXJEf04PwQkAAAAASUVORK5CYII= - - - - 387, 17 - - - 186, 17 - - - 248, 17 - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 321, 17 + + + + + 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== + + + + 122, 17 + + + 17, 17 + + + + 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= + + + + + 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= + + + + + 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 + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78 + n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI + N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f + oAc0QjgAAAAASUVORK5CYII= + + + + + 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== + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAE1SURBVDhPY/hPIQAbcOn57//T915BwW1rjoFx/oJz//N6 + VqHgsNxeMA03YN3lp/9vv4YYhAtsuQ6h55/9A8aBidVgPtiADZcegzWDFN1/9///qy8IDOKDcPfu1/9/ + /vn/v3rt/f9TD38BuwJuwIrT9wka0L79BdiAkuW3MA0A+fnog///V12GKAZ5BxcGGQByDYoXYAbA/Aey + AYRBCkE2N256AnY6SDMoUEF8FANAoQ0zAFkzCCNrhhkAor3CczENwGYzuu1JM8+BaQwDQAGITzOyASDs + 4huPMAAkATIA3c/YNIdNPAHGKAaAUhUoBghphhng0rTnv71bGKoBoADE5mR0zVgNACUK9BgAGYbudJBG + GNY0dEYYAMsgMAyKYxAGhTQIg/wLwiBbQRikGSUdkA/+/wcAgXJEf04PwQkAAAAASUVORK5CYII= + + + + 387, 17 + + + 186, 17 + + + 248, 17 + \ No newline at end of file diff --git a/SubProject/FBS0000/fMinutesDetail.Designer.cs b/SubProject/FBS0000/fMinutesDetail.Designer.cs index 58f0b41..83546d0 100644 --- a/SubProject/FBS0000/fMinutesDetail.Designer.cs +++ b/SubProject/FBS0000/fMinutesDetail.Designer.cs @@ -1,303 +1,303 @@ -namespace FBS0000 -{ - partial class fMinutesDetail - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - this.components = new System.ComponentModel.Container(); - System.Windows.Forms.Label placeLabel; - System.Windows.Forms.Label stimeLabel; - System.Windows.Forms.Label etimeLabel; - System.Windows.Forms.Label mainLabel; - System.Windows.Forms.Label subLabel; - this.dsMSSQL = new FBS0000.dsMSSQL(); - this.bs = new System.Windows.Forms.BindingSource(this.components); - this.ta = new FBS0000.dsMSSQLTableAdapters.minutesTableAdapter(); - this.tam = new FBS0000.dsMSSQLTableAdapters.TableAdapterManager(); - this.titleTextBox = new System.Windows.Forms.TextBox(); - this.tbPrj = new System.Windows.Forms.TextBox(); - this.placeTextBox = new System.Windows.Forms.TextBox(); - this.stimeDateTimePicker = new System.Windows.Forms.DateTimePicker(); - this.etimeDateTimePicker = new System.Windows.Forms.DateTimePicker(); - this.mainTextBox = new System.Windows.Forms.TextBox(); - this.subTextBox = new System.Windows.Forms.TextBox(); - this.contentsTextBox = new System.Windows.Forms.TextBox(); - this.memoTextBox = new System.Windows.Forms.TextBox(); - this.button1 = new System.Windows.Forms.Button(); - this.tbPrjName = new System.Windows.Forms.TextBox(); - this.linkLabel1 = new System.Windows.Forms.LinkLabel(); - placeLabel = new System.Windows.Forms.Label(); - stimeLabel = new System.Windows.Forms.Label(); - etimeLabel = new System.Windows.Forms.Label(); - mainLabel = new System.Windows.Forms.Label(); - subLabel = new System.Windows.Forms.Label(); - ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); - this.SuspendLayout(); - // - // placeLabel - // - placeLabel.AutoSize = true; - placeLabel.Location = new System.Drawing.Point(18, 58); - placeLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); - placeLabel.Name = "placeLabel"; - placeLabel.Size = new System.Drawing.Size(61, 25); - placeLabel.TabIndex = 2; - placeLabel.Text = "place:"; - // - // stimeLabel - // - stimeLabel.AutoSize = true; - stimeLabel.Location = new System.Drawing.Point(18, 106); - stimeLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); - stimeLabel.Name = "stimeLabel"; - stimeLabel.Size = new System.Drawing.Size(63, 25); - stimeLabel.TabIndex = 4; - stimeLabel.Text = "stime:"; - // - // etimeLabel - // - etimeLabel.AutoSize = true; - etimeLabel.Location = new System.Drawing.Point(18, 144); - etimeLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); - etimeLabel.Name = "etimeLabel"; - etimeLabel.Size = new System.Drawing.Size(65, 25); - etimeLabel.TabIndex = 6; - etimeLabel.Text = "etime:"; - // - // mainLabel - // - mainLabel.AutoSize = true; - mainLabel.Location = new System.Drawing.Point(18, 185); - mainLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); - mainLabel.Name = "mainLabel"; - mainLabel.Size = new System.Drawing.Size(50, 25); - mainLabel.TabIndex = 8; - mainLabel.Text = "주관"; - // - // subLabel - // - subLabel.AutoSize = true; - subLabel.Location = new System.Drawing.Point(18, 222); - subLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); - subLabel.Name = "subLabel"; - subLabel.Size = new System.Drawing.Size(50, 25); - subLabel.TabIndex = 10; - subLabel.Text = "참석"; - // - // dsMSSQL - // - this.dsMSSQL.DataSetName = "dsMSSQL"; - this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; - // - // bs - // - this.bs.DataMember = "Minutes"; - this.bs.DataSource = this.dsMSSQL; - // - // ta - // - this.ta.ClearBeforeFill = true; - // - // tam - // - this.tam.BackupDataSetBeforeUpdate = false; - this.tam.minutesTableAdapter = this.ta; - this.tam.UpdateOrder = FBS0000.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; - // - // titleTextBox - // - this.titleTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "title", true)); - this.titleTextBox.Location = new System.Drawing.Point(343, 12); - this.titleTextBox.Margin = new System.Windows.Forms.Padding(5, 6, 5, 6); - this.titleTextBox.Name = "titleTextBox"; - this.titleTextBox.Size = new System.Drawing.Size(342, 33); - this.titleTextBox.TabIndex = 12; - // - // tbPrj - // - this.tbPrj.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "project", true)); - this.tbPrj.Location = new System.Drawing.Point(234, 12); - this.tbPrj.Margin = new System.Windows.Forms.Padding(5, 6, 5, 6); - this.tbPrj.Name = "tbPrj"; - this.tbPrj.ReadOnly = true; - this.tbPrj.Size = new System.Drawing.Size(99, 33); - this.tbPrj.TabIndex = 6; - this.tbPrj.TabStop = false; - // - // placeTextBox - // - this.placeTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "place", true)); - this.placeTextBox.Location = new System.Drawing.Point(117, 52); - this.placeTextBox.Margin = new System.Windows.Forms.Padding(5, 6, 5, 6); - this.placeTextBox.Name = "placeTextBox"; - this.placeTextBox.Size = new System.Drawing.Size(216, 33); - this.placeTextBox.TabIndex = 3; - // - // stimeDateTimePicker - // - this.stimeDateTimePicker.CustomFormat = "yyyy-MM-dd HH:mm:ss"; - this.stimeDateTimePicker.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.bs, "stime", true)); - this.stimeDateTimePicker.Format = System.Windows.Forms.DateTimePickerFormat.Custom; - this.stimeDateTimePicker.Location = new System.Drawing.Point(117, 97); - this.stimeDateTimePicker.Margin = new System.Windows.Forms.Padding(5, 6, 5, 6); - this.stimeDateTimePicker.Name = "stimeDateTimePicker"; - this.stimeDateTimePicker.Size = new System.Drawing.Size(216, 33); - this.stimeDateTimePicker.TabIndex = 5; - // - // etimeDateTimePicker - // - this.etimeDateTimePicker.CustomFormat = "yyyy-MM-dd HH:mm:ss"; - this.etimeDateTimePicker.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.bs, "etime", true)); - this.etimeDateTimePicker.Format = System.Windows.Forms.DateTimePickerFormat.Custom; - this.etimeDateTimePicker.Location = new System.Drawing.Point(117, 136); - this.etimeDateTimePicker.Margin = new System.Windows.Forms.Padding(5, 6, 5, 6); - this.etimeDateTimePicker.Name = "etimeDateTimePicker"; - this.etimeDateTimePicker.Size = new System.Drawing.Size(216, 33); - this.etimeDateTimePicker.TabIndex = 7; - // - // mainTextBox - // - this.mainTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "main", true)); - this.mainTextBox.Location = new System.Drawing.Point(117, 174); - this.mainTextBox.Margin = new System.Windows.Forms.Padding(5, 6, 5, 6); - this.mainTextBox.Name = "mainTextBox"; - this.mainTextBox.Size = new System.Drawing.Size(216, 33); - this.mainTextBox.TabIndex = 9; - // - // subTextBox - // - this.subTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "sub", true)); - this.subTextBox.Location = new System.Drawing.Point(117, 211); - this.subTextBox.Margin = new System.Windows.Forms.Padding(5, 6, 5, 6); - this.subTextBox.Multiline = true; - this.subTextBox.Name = "subTextBox"; - this.subTextBox.Size = new System.Drawing.Size(216, 145); - this.subTextBox.TabIndex = 11; - // - // contentsTextBox - // - this.contentsTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "contents", true)); - this.contentsTextBox.Location = new System.Drawing.Point(343, 52); - this.contentsTextBox.Margin = new System.Windows.Forms.Padding(5, 6, 5, 6); - this.contentsTextBox.Multiline = true; - this.contentsTextBox.Name = "contentsTextBox"; - this.contentsTextBox.Size = new System.Drawing.Size(342, 304); - this.contentsTextBox.TabIndex = 13; - // - // memoTextBox - // - this.memoTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "memo", true)); - this.memoTextBox.Location = new System.Drawing.Point(343, 368); - this.memoTextBox.Margin = new System.Windows.Forms.Padding(5, 6, 5, 6); - this.memoTextBox.Name = "memoTextBox"; - this.memoTextBox.Size = new System.Drawing.Size(342, 33); - this.memoTextBox.TabIndex = 14; - // - // button1 - // - this.button1.Location = new System.Drawing.Point(117, 368); - this.button1.Name = "button1"; - this.button1.Size = new System.Drawing.Size(216, 36); - this.button1.TabIndex = 25; - this.button1.Text = "save"; - this.button1.UseVisualStyleBackColor = true; - this.button1.Click += new System.EventHandler(this.button1_Click); - // - // tbPrjName - // - this.tbPrjName.Location = new System.Drawing.Point(117, 12); - this.tbPrjName.Margin = new System.Windows.Forms.Padding(5, 6, 5, 6); - this.tbPrjName.Name = "tbPrjName"; - this.tbPrjName.Size = new System.Drawing.Size(107, 33); - this.tbPrjName.TabIndex = 1; - this.tbPrjName.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbPrjName_KeyDown); - // - // linkLabel1 - // - this.linkLabel1.AutoSize = true; - this.linkLabel1.Location = new System.Drawing.Point(18, 12); - this.linkLabel1.Name = "linkLabel1"; - this.linkLabel1.Size = new System.Drawing.Size(72, 25); - this.linkLabel1.TabIndex = 0; - this.linkLabel1.Text = "project"; - this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked); - // - // fMinutesDetail - // - this.AutoScaleDimensions = new System.Drawing.SizeF(11F, 25F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(698, 417); - this.Controls.Add(this.linkLabel1); - this.Controls.Add(this.tbPrjName); - this.Controls.Add(this.button1); - this.Controls.Add(this.titleTextBox); - this.Controls.Add(this.tbPrj); - this.Controls.Add(placeLabel); - this.Controls.Add(this.placeTextBox); - this.Controls.Add(stimeLabel); - this.Controls.Add(this.stimeDateTimePicker); - this.Controls.Add(etimeLabel); - this.Controls.Add(this.etimeDateTimePicker); - this.Controls.Add(mainLabel); - this.Controls.Add(this.mainTextBox); - this.Controls.Add(subLabel); - this.Controls.Add(this.subTextBox); - this.Controls.Add(this.contentsTextBox); - this.Controls.Add(this.memoTextBox); - this.Font = new System.Drawing.Font("맑은 고딕", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - this.Margin = new System.Windows.Forms.Padding(5, 6, 5, 6); - this.Name = "fMinutesDetail"; - this.Text = "fMinutesDetail"; - this.Load += new System.EventHandler(this.@__Load); - ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); - this.ResumeLayout(false); - this.PerformLayout(); - - } - - #endregion - - private dsMSSQL dsMSSQL; - private System.Windows.Forms.BindingSource bs; - private dsMSSQLTableAdapters.minutesTableAdapter ta; - private dsMSSQLTableAdapters.TableAdapterManager tam; - private System.Windows.Forms.TextBox titleTextBox; - private System.Windows.Forms.TextBox tbPrj; - private System.Windows.Forms.TextBox placeTextBox; - private System.Windows.Forms.DateTimePicker stimeDateTimePicker; - private System.Windows.Forms.DateTimePicker etimeDateTimePicker; - private System.Windows.Forms.TextBox mainTextBox; - private System.Windows.Forms.TextBox subTextBox; - private System.Windows.Forms.TextBox contentsTextBox; - private System.Windows.Forms.TextBox memoTextBox; - private System.Windows.Forms.Button button1; - private System.Windows.Forms.TextBox tbPrjName; - private System.Windows.Forms.LinkLabel linkLabel1; - } +namespace FBS0000 +{ + partial class fMinutesDetail + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + System.Windows.Forms.Label placeLabel; + System.Windows.Forms.Label stimeLabel; + System.Windows.Forms.Label etimeLabel; + System.Windows.Forms.Label mainLabel; + System.Windows.Forms.Label subLabel; + this.dsMSSQL = new FBS0000.dsMSSQL(); + this.bs = new System.Windows.Forms.BindingSource(this.components); + this.ta = new FBS0000.dsMSSQLTableAdapters.minutesTableAdapter(); + this.tam = new FBS0000.dsMSSQLTableAdapters.TableAdapterManager(); + this.titleTextBox = new System.Windows.Forms.TextBox(); + this.tbPrj = new System.Windows.Forms.TextBox(); + this.placeTextBox = new System.Windows.Forms.TextBox(); + this.stimeDateTimePicker = new System.Windows.Forms.DateTimePicker(); + this.etimeDateTimePicker = new System.Windows.Forms.DateTimePicker(); + this.mainTextBox = new System.Windows.Forms.TextBox(); + this.subTextBox = new System.Windows.Forms.TextBox(); + this.contentsTextBox = new System.Windows.Forms.TextBox(); + this.memoTextBox = new System.Windows.Forms.TextBox(); + this.button1 = new System.Windows.Forms.Button(); + this.tbPrjName = new System.Windows.Forms.TextBox(); + this.linkLabel1 = new System.Windows.Forms.LinkLabel(); + placeLabel = new System.Windows.Forms.Label(); + stimeLabel = new System.Windows.Forms.Label(); + etimeLabel = new System.Windows.Forms.Label(); + mainLabel = new System.Windows.Forms.Label(); + subLabel = new System.Windows.Forms.Label(); + ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); + this.SuspendLayout(); + // + // placeLabel + // + placeLabel.AutoSize = true; + placeLabel.Location = new System.Drawing.Point(18, 58); + placeLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); + placeLabel.Name = "placeLabel"; + placeLabel.Size = new System.Drawing.Size(61, 25); + placeLabel.TabIndex = 2; + placeLabel.Text = "place:"; + // + // stimeLabel + // + stimeLabel.AutoSize = true; + stimeLabel.Location = new System.Drawing.Point(18, 106); + stimeLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); + stimeLabel.Name = "stimeLabel"; + stimeLabel.Size = new System.Drawing.Size(63, 25); + stimeLabel.TabIndex = 4; + stimeLabel.Text = "stime:"; + // + // etimeLabel + // + etimeLabel.AutoSize = true; + etimeLabel.Location = new System.Drawing.Point(18, 144); + etimeLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); + etimeLabel.Name = "etimeLabel"; + etimeLabel.Size = new System.Drawing.Size(65, 25); + etimeLabel.TabIndex = 6; + etimeLabel.Text = "etime:"; + // + // mainLabel + // + mainLabel.AutoSize = true; + mainLabel.Location = new System.Drawing.Point(18, 185); + mainLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); + mainLabel.Name = "mainLabel"; + mainLabel.Size = new System.Drawing.Size(50, 25); + mainLabel.TabIndex = 8; + mainLabel.Text = "주관"; + // + // subLabel + // + subLabel.AutoSize = true; + subLabel.Location = new System.Drawing.Point(18, 222); + subLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); + subLabel.Name = "subLabel"; + subLabel.Size = new System.Drawing.Size(50, 25); + subLabel.TabIndex = 10; + subLabel.Text = "참석"; + // + // dsMSSQL + // + this.dsMSSQL.DataSetName = "dsMSSQL"; + this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; + // + // bs + // + this.bs.DataMember = "Minutes"; + this.bs.DataSource = this.dsMSSQL; + // + // ta + // + this.ta.ClearBeforeFill = true; + // + // tam + // + this.tam.BackupDataSetBeforeUpdate = false; + this.tam.minutesTableAdapter = this.ta; + this.tam.UpdateOrder = FBS0000.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; + // + // titleTextBox + // + this.titleTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "title", true)); + this.titleTextBox.Location = new System.Drawing.Point(343, 12); + this.titleTextBox.Margin = new System.Windows.Forms.Padding(5, 6, 5, 6); + this.titleTextBox.Name = "titleTextBox"; + this.titleTextBox.Size = new System.Drawing.Size(342, 33); + this.titleTextBox.TabIndex = 12; + // + // tbPrj + // + this.tbPrj.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "project", true)); + this.tbPrj.Location = new System.Drawing.Point(234, 12); + this.tbPrj.Margin = new System.Windows.Forms.Padding(5, 6, 5, 6); + this.tbPrj.Name = "tbPrj"; + this.tbPrj.ReadOnly = true; + this.tbPrj.Size = new System.Drawing.Size(99, 33); + this.tbPrj.TabIndex = 6; + this.tbPrj.TabStop = false; + // + // placeTextBox + // + this.placeTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "place", true)); + this.placeTextBox.Location = new System.Drawing.Point(117, 52); + this.placeTextBox.Margin = new System.Windows.Forms.Padding(5, 6, 5, 6); + this.placeTextBox.Name = "placeTextBox"; + this.placeTextBox.Size = new System.Drawing.Size(216, 33); + this.placeTextBox.TabIndex = 3; + // + // stimeDateTimePicker + // + this.stimeDateTimePicker.CustomFormat = "yyyy-MM-dd HH:mm:ss"; + this.stimeDateTimePicker.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.bs, "stime", true)); + this.stimeDateTimePicker.Format = System.Windows.Forms.DateTimePickerFormat.Custom; + this.stimeDateTimePicker.Location = new System.Drawing.Point(117, 97); + this.stimeDateTimePicker.Margin = new System.Windows.Forms.Padding(5, 6, 5, 6); + this.stimeDateTimePicker.Name = "stimeDateTimePicker"; + this.stimeDateTimePicker.Size = new System.Drawing.Size(216, 33); + this.stimeDateTimePicker.TabIndex = 5; + // + // etimeDateTimePicker + // + this.etimeDateTimePicker.CustomFormat = "yyyy-MM-dd HH:mm:ss"; + this.etimeDateTimePicker.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.bs, "etime", true)); + this.etimeDateTimePicker.Format = System.Windows.Forms.DateTimePickerFormat.Custom; + this.etimeDateTimePicker.Location = new System.Drawing.Point(117, 136); + this.etimeDateTimePicker.Margin = new System.Windows.Forms.Padding(5, 6, 5, 6); + this.etimeDateTimePicker.Name = "etimeDateTimePicker"; + this.etimeDateTimePicker.Size = new System.Drawing.Size(216, 33); + this.etimeDateTimePicker.TabIndex = 7; + // + // mainTextBox + // + this.mainTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "main", true)); + this.mainTextBox.Location = new System.Drawing.Point(117, 174); + this.mainTextBox.Margin = new System.Windows.Forms.Padding(5, 6, 5, 6); + this.mainTextBox.Name = "mainTextBox"; + this.mainTextBox.Size = new System.Drawing.Size(216, 33); + this.mainTextBox.TabIndex = 9; + // + // subTextBox + // + this.subTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "sub", true)); + this.subTextBox.Location = new System.Drawing.Point(117, 211); + this.subTextBox.Margin = new System.Windows.Forms.Padding(5, 6, 5, 6); + this.subTextBox.Multiline = true; + this.subTextBox.Name = "subTextBox"; + this.subTextBox.Size = new System.Drawing.Size(216, 145); + this.subTextBox.TabIndex = 11; + // + // contentsTextBox + // + this.contentsTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "contents", true)); + this.contentsTextBox.Location = new System.Drawing.Point(343, 52); + this.contentsTextBox.Margin = new System.Windows.Forms.Padding(5, 6, 5, 6); + this.contentsTextBox.Multiline = true; + this.contentsTextBox.Name = "contentsTextBox"; + this.contentsTextBox.Size = new System.Drawing.Size(342, 304); + this.contentsTextBox.TabIndex = 13; + // + // memoTextBox + // + this.memoTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "memo", true)); + this.memoTextBox.Location = new System.Drawing.Point(343, 368); + this.memoTextBox.Margin = new System.Windows.Forms.Padding(5, 6, 5, 6); + this.memoTextBox.Name = "memoTextBox"; + this.memoTextBox.Size = new System.Drawing.Size(342, 33); + this.memoTextBox.TabIndex = 14; + // + // button1 + // + this.button1.Location = new System.Drawing.Point(117, 368); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(216, 36); + this.button1.TabIndex = 25; + this.button1.Text = "save"; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click); + // + // tbPrjName + // + this.tbPrjName.Location = new System.Drawing.Point(117, 12); + this.tbPrjName.Margin = new System.Windows.Forms.Padding(5, 6, 5, 6); + this.tbPrjName.Name = "tbPrjName"; + this.tbPrjName.Size = new System.Drawing.Size(107, 33); + this.tbPrjName.TabIndex = 1; + this.tbPrjName.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbPrjName_KeyDown); + // + // linkLabel1 + // + this.linkLabel1.AutoSize = true; + this.linkLabel1.Location = new System.Drawing.Point(18, 12); + this.linkLabel1.Name = "linkLabel1"; + this.linkLabel1.Size = new System.Drawing.Size(72, 25); + this.linkLabel1.TabIndex = 0; + this.linkLabel1.Text = "project"; + this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked); + // + // fMinutesDetail + // + this.AutoScaleDimensions = new System.Drawing.SizeF(11F, 25F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(698, 417); + this.Controls.Add(this.linkLabel1); + this.Controls.Add(this.tbPrjName); + this.Controls.Add(this.button1); + this.Controls.Add(this.titleTextBox); + this.Controls.Add(this.tbPrj); + this.Controls.Add(placeLabel); + this.Controls.Add(this.placeTextBox); + this.Controls.Add(stimeLabel); + this.Controls.Add(this.stimeDateTimePicker); + this.Controls.Add(etimeLabel); + this.Controls.Add(this.etimeDateTimePicker); + this.Controls.Add(mainLabel); + this.Controls.Add(this.mainTextBox); + this.Controls.Add(subLabel); + this.Controls.Add(this.subTextBox); + this.Controls.Add(this.contentsTextBox); + this.Controls.Add(this.memoTextBox); + this.Font = new System.Drawing.Font("맑은 고딕", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.Margin = new System.Windows.Forms.Padding(5, 6, 5, 6); + this.Name = "fMinutesDetail"; + this.Text = "fMinutesDetail"; + this.Load += new System.EventHandler(this.@__Load); + ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private dsMSSQL dsMSSQL; + private System.Windows.Forms.BindingSource bs; + private dsMSSQLTableAdapters.minutesTableAdapter ta; + private dsMSSQLTableAdapters.TableAdapterManager tam; + private System.Windows.Forms.TextBox titleTextBox; + private System.Windows.Forms.TextBox tbPrj; + private System.Windows.Forms.TextBox placeTextBox; + private System.Windows.Forms.DateTimePicker stimeDateTimePicker; + private System.Windows.Forms.DateTimePicker etimeDateTimePicker; + private System.Windows.Forms.TextBox mainTextBox; + private System.Windows.Forms.TextBox subTextBox; + private System.Windows.Forms.TextBox contentsTextBox; + private System.Windows.Forms.TextBox memoTextBox; + private System.Windows.Forms.Button button1; + private System.Windows.Forms.TextBox tbPrjName; + private System.Windows.Forms.LinkLabel linkLabel1; + } } \ No newline at end of file diff --git a/SubProject/FBS0000/fMinutesDetail.cs b/SubProject/FBS0000/fMinutesDetail.cs index f26ed11..04f6928 100644 --- a/SubProject/FBS0000/fMinutesDetail.cs +++ b/SubProject/FBS0000/fMinutesDetail.cs @@ -1,84 +1,84 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Data; -using System.Drawing; -using System.Linq; -using System.Text; -using System.Windows.Forms; - -namespace FBS0000 -{ - public partial class fMinutesDetail : Form - { - int idx = -1; - public fMinutesDetail(int idx_) - { - InitializeComponent(); - this.FormClosed += __Closed; - this.idx = idx_; - } - - void __Closed(object sender, FormClosedEventArgs e) - { - - } - - private void __Load(object sender, EventArgs e) - { - this.Show(); - Application.DoEvents(); - - //refresh Data - this.ta.FillByIDX(this.dsMSSQL.minutes,this.idx); - } - - private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) - { - var f = new FCM0000.fLovProject(""); - if(f.ShowDialog() == System.Windows.Forms.DialogResult.OK) - { - this.tbPrj.Text = f.Index.ToString(); - this.tbPrjName.Text = f.Title; - placeTextBox.Focus(); - } - } - - private void tbPrjName_KeyDown(object sender, KeyEventArgs e) - { - if(e.KeyCode == Keys.Enter) - { - var search = tbPrjName.Text.Trim(); - if(search == "") - { - SendKeys.Send("{TAB}"); - } - else - { - var f = new FCM0000.fLovProject("%" + search + "%"); - if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK) - { - this.tbPrj.Text = f.Index.ToString(); - this.tbPrjName.Text = f.Title; - SendKeys.Send("{TAB}"); - } - } - } - } - - private void button1_Click(object sender, EventArgs e) - { - try - { - this.Invalidate(); - this.bs.EndEdit(); - var cnt = ta.Update(this.dsMSSQL.minutes); - FCOMMON.Util.MsgI(cnt.ToString() + "건의 자료가 저장 되었습니다."); - } - catch (Exception ex) - { - FCOMMON.Util.MsgE("save error\n\n" + ex.Message); - } - } - } -} +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Windows.Forms; + +namespace FBS0000 +{ + public partial class fMinutesDetail : Form + { + int idx = -1; + public fMinutesDetail(int idx_) + { + InitializeComponent(); + this.FormClosed += __Closed; + this.idx = idx_; + } + + void __Closed(object sender, FormClosedEventArgs e) + { + + } + + private void __Load(object sender, EventArgs e) + { + this.Show(); + Application.DoEvents(); + + //refresh Data + this.ta.FillByIDX(this.dsMSSQL.minutes,this.idx); + } + + private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) + { + var f = new FCM0000.fLovProject(""); + if(f.ShowDialog() == System.Windows.Forms.DialogResult.OK) + { + this.tbPrj.Text = f.Index.ToString(); + this.tbPrjName.Text = f.Title; + placeTextBox.Focus(); + } + } + + private void tbPrjName_KeyDown(object sender, KeyEventArgs e) + { + if(e.KeyCode == Keys.Enter) + { + var search = tbPrjName.Text.Trim(); + if(search == "") + { + SendKeys.Send("{TAB}"); + } + else + { + var f = new FCM0000.fLovProject("%" + search + "%"); + if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK) + { + this.tbPrj.Text = f.Index.ToString(); + this.tbPrjName.Text = f.Title; + SendKeys.Send("{TAB}"); + } + } + } + } + + private void button1_Click(object sender, EventArgs e) + { + try + { + this.Invalidate(); + this.bs.EndEdit(); + var cnt = ta.Update(this.dsMSSQL.minutes); + FCOMMON.Util.MsgI(cnt.ToString() + "건의 자료가 저장 되었습니다."); + } + catch (Exception ex) + { + FCOMMON.Util.MsgE("save error\n\n" + ex.Message); + } + } + } +} diff --git a/SubProject/FBS0000/fMinutesDetail.resx b/SubProject/FBS0000/fMinutesDetail.resx index 93ff2b3..0e9f364 100644 --- a/SubProject/FBS0000/fMinutesDetail.resx +++ b/SubProject/FBS0000/fMinutesDetail.resx @@ -1,147 +1,147 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - False - - - False - - - False - - - False - - - False - - - 79, 17 - - - 184, 17 - - - 17, 17 - - - 248, 17 - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + False + + + False + + + False + + + False + + + False + + + 79, 17 + + + 184, 17 + + + 17, 17 + + + 248, 17 + \ No newline at end of file diff --git a/SubProject/FBS0000/packages.config b/SubProject/FBS0000/packages.config index d387af9..c283aad 100644 --- a/SubProject/FBS0000/packages.config +++ b/SubProject/FBS0000/packages.config @@ -1,5 +1,5 @@ - - - - + + + + \ No newline at end of file diff --git a/SubProject/FCM0000/Board/fMailform.Designer.cs b/SubProject/FCM0000/Board/fMailform.Designer.cs index 4f39b4b..4e32192 100644 --- a/SubProject/FCM0000/Board/fMailform.Designer.cs +++ b/SubProject/FCM0000/Board/fMailform.Designer.cs @@ -1,478 +1,478 @@ -namespace FCM0000 -{ - partial class fMailform - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - this.components = new System.ComponentModel.Container(); - System.Windows.Forms.Label tolistLabel; - System.Windows.Forms.Label bccLabel; - System.Windows.Forms.Label ccLabel; - System.Windows.Forms.Label subjectLabel; - System.Windows.Forms.Label bodyLabel; - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fMailform)); - 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); - this.dsMSSQL = new FCM0000.dsMSSQL(); - this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel(); - this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton(); - this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton(); - this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator(); - this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox(); - this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator(); - 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.mailFormBindingNavigatorSaveItem = new System.Windows.Forms.ToolStripButton(); - this.mailFormDataGridView = new System.Windows.Forms.DataGridView(); - this.panel1 = new System.Windows.Forms.Panel(); - this.htmlEditor1 = new YARTE.UI.HtmlEditor(); - this.checkBox3 = new System.Windows.Forms.CheckBox(); - this.checkBox2 = new System.Windows.Forms.CheckBox(); - this.checkBox1 = new System.Windows.Forms.CheckBox(); - this.tolistTextBox = new System.Windows.Forms.TextBox(); - this.bccTextBox = new System.Windows.Forms.TextBox(); - this.ccTextBox = new System.Windows.Forms.TextBox(); - this.subjectTextBox = new System.Windows.Forms.TextBox(); - this.ta = new FCM0000.dsMSSQLTableAdapters.MailFormTableAdapter(); - this.tam = new FCM0000.dsMSSQLTableAdapters.TableAdapterManager(); - this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - tolistLabel = new System.Windows.Forms.Label(); - bccLabel = new System.Windows.Forms.Label(); - ccLabel = new System.Windows.Forms.Label(); - subjectLabel = new System.Windows.Forms.Label(); - bodyLabel = new System.Windows.Forms.Label(); - ((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.mailFormDataGridView)).BeginInit(); - this.panel1.SuspendLayout(); - this.SuspendLayout(); - // - // tolistLabel - // - tolistLabel.AutoSize = true; - tolistLabel.Location = new System.Drawing.Point(30, 15); - tolistLabel.Name = "tolistLabel"; - tolistLabel.Size = new System.Drawing.Size(35, 12); - tolistLabel.TabIndex = 6; - tolistLabel.Text = "tolist:"; - // - // bccLabel - // - bccLabel.AutoSize = true; - bccLabel.Location = new System.Drawing.Point(35, 42); - bccLabel.Name = "bccLabel"; - bccLabel.Size = new System.Drawing.Size(30, 12); - bccLabel.TabIndex = 8; - bccLabel.Text = "bcc:"; - // - // ccLabel - // - ccLabel.AutoSize = true; - ccLabel.Location = new System.Drawing.Point(42, 69); - ccLabel.Name = "ccLabel"; - ccLabel.Size = new System.Drawing.Size(23, 12); - ccLabel.TabIndex = 10; - ccLabel.Text = "cc:"; - // - // subjectLabel - // - subjectLabel.AutoSize = true; - subjectLabel.Location = new System.Drawing.Point(15, 96); - subjectLabel.Name = "subjectLabel"; - subjectLabel.Size = new System.Drawing.Size(50, 12); - subjectLabel.TabIndex = 12; - subjectLabel.Text = "subject:"; - // - // bodyLabel - // - bodyLabel.AutoSize = true; - bodyLabel.Location = new System.Drawing.Point(28, 122); - bodyLabel.Name = "bodyLabel"; - bodyLabel.Size = new System.Drawing.Size(37, 12); - bodyLabel.TabIndex = 16; - bodyLabel.Text = "body:"; - // - // bn - // - this.bn.AddNewItem = this.bindingNavigatorAddNewItem; - this.bn.BindingSource = this.bs; - this.bn.CountItem = this.bindingNavigatorCountItem; - this.bn.DeleteItem = null; - this.bn.Dock = System.Windows.Forms.DockStyle.Bottom; - this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.bindingNavigatorMoveFirstItem, - this.bindingNavigatorMovePreviousItem, - this.bindingNavigatorSeparator, - this.bindingNavigatorPositionItem, - this.bindingNavigatorCountItem, - this.bindingNavigatorSeparator1, - this.bindingNavigatorMoveNextItem, - this.bindingNavigatorMoveLastItem, - this.bindingNavigatorSeparator2, - this.bindingNavigatorAddNewItem, - this.bindingNavigatorDeleteItem, - this.mailFormBindingNavigatorSaveItem}); - this.bn.Location = new System.Drawing.Point(0, 598); - 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(816, 25); - this.bn.TabIndex = 0; - this.bn.Text = "bindingNavigator1"; - // - // 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.Click += new System.EventHandler(this.bindingNavigatorAddNewItem_Click); - // - // bs - // - this.bs.DataMember = "MailForm"; - this.bs.DataSource = this.dsMSSQL; - this.bs.CurrentChanged += new System.EventHandler(this.bs_CurrentChanged); - // - // 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.Text = "/{0}"; - this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수"; - // - // bindingNavigatorMoveFirstItem - // - this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - 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.Text = "처음으로 이동"; - // - // bindingNavigatorMovePreviousItem - // - this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - 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.Text = "이전으로 이동"; - // - // bindingNavigatorSeparator - // - this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator"; - this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25); - // - // bindingNavigatorPositionItem - // - this.bindingNavigatorPositionItem.AccessibleName = "위치"; - this.bindingNavigatorPositionItem.AutoSize = false; - this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem"; - this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23); - this.bindingNavigatorPositionItem.Text = "0"; - this.bindingNavigatorPositionItem.ToolTipText = "현재 위치"; - // - // bindingNavigatorSeparator1 - // - this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1"; - this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25); - // - // bindingNavigatorMoveNextItem - // - this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - 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.Text = "다음으로 이동"; - // - // bindingNavigatorMoveLastItem - // - this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - 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.Text = "마지막으로 이동"; - // - // bindingNavigatorSeparator2 - // - 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(78, 22); - this.bindingNavigatorDeleteItem.Text = "Delete(&D)"; - this.bindingNavigatorDeleteItem.Click += new System.EventHandler(this.bindingNavigatorDeleteItem_Click); - // - // mailFormBindingNavigatorSaveItem - // - this.mailFormBindingNavigatorSaveItem.Image = ((System.Drawing.Image)(resources.GetObject("mailFormBindingNavigatorSaveItem.Image"))); - this.mailFormBindingNavigatorSaveItem.Name = "mailFormBindingNavigatorSaveItem"; - this.mailFormBindingNavigatorSaveItem.Size = new System.Drawing.Size(67, 22); - this.mailFormBindingNavigatorSaveItem.Text = "Save(&S)"; - this.mailFormBindingNavigatorSaveItem.Click += new System.EventHandler(this.mailFormBindingNavigatorSaveItem_Click); - // - // mailFormDataGridView - // - this.mailFormDataGridView.AllowUserToAddRows = false; - this.mailFormDataGridView.AutoGenerateColumns = false; - this.mailFormDataGridView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells; - this.mailFormDataGridView.ColumnHeadersHeight = 30; - this.mailFormDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing; - this.mailFormDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { - this.dataGridViewTextBoxColumn2, - this.dataGridViewTextBoxColumn3}); - this.mailFormDataGridView.DataSource = this.bs; - this.mailFormDataGridView.Dock = System.Windows.Forms.DockStyle.Left; - this.mailFormDataGridView.Location = new System.Drawing.Point(0, 0); - this.mailFormDataGridView.Name = "mailFormDataGridView"; - this.mailFormDataGridView.RowTemplate.Height = 23; - this.mailFormDataGridView.Size = new System.Drawing.Size(317, 598); - this.mailFormDataGridView.TabIndex = 2; - this.mailFormDataGridView.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.mailFormDataGridView_DataError); - // - // panel1 - // - this.panel1.Controls.Add(this.htmlEditor1); - this.panel1.Controls.Add(this.checkBox3); - this.panel1.Controls.Add(this.checkBox2); - this.panel1.Controls.Add(this.checkBox1); - this.panel1.Controls.Add(tolistLabel); - this.panel1.Controls.Add(this.tolistTextBox); - this.panel1.Controls.Add(bccLabel); - this.panel1.Controls.Add(this.bccTextBox); - this.panel1.Controls.Add(ccLabel); - this.panel1.Controls.Add(this.ccTextBox); - this.panel1.Controls.Add(subjectLabel); - this.panel1.Controls.Add(this.subjectTextBox); - this.panel1.Controls.Add(bodyLabel); - this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel1.Location = new System.Drawing.Point(317, 0); - this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(499, 598); - this.panel1.TabIndex = 3; - // - // htmlEditor1 - // - this.htmlEditor1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.htmlEditor1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.htmlEditor1.Html = resources.GetString("htmlEditor1.Html"); - this.htmlEditor1.Location = new System.Drawing.Point(74, 122); - this.htmlEditor1.Name = "htmlEditor1"; - this.htmlEditor1.ReadOnly = false; - this.htmlEditor1.ShowToolbar = true; - this.htmlEditor1.Size = new System.Drawing.Size(413, 464); - this.htmlEditor1.TabIndex = 23; - this.htmlEditor1.Validated += new System.EventHandler(this.htmlEditor1_Validated); - // - // checkBox3 - // - this.checkBox3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.checkBox3.AutoSize = true; - this.checkBox3.DataBindings.Add(new System.Windows.Forms.Binding("CheckState", this.bs, "selfBCC", true)); - this.checkBox3.Location = new System.Drawing.Point(449, 69); - this.checkBox3.Name = "checkBox3"; - this.checkBox3.Size = new System.Drawing.Size(45, 16); - this.checkBox3.TabIndex = 20; - this.checkBox3.Text = "Self"; - this.checkBox3.UseVisualStyleBackColor = true; - // - // checkBox2 - // - this.checkBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.checkBox2.AutoSize = true; - this.checkBox2.DataBindings.Add(new System.Windows.Forms.Binding("CheckState", this.bs, "selfCC", true)); - this.checkBox2.Location = new System.Drawing.Point(449, 41); - this.checkBox2.Name = "checkBox2"; - this.checkBox2.Size = new System.Drawing.Size(45, 16); - this.checkBox2.TabIndex = 19; - this.checkBox2.Text = "Self"; - this.checkBox2.UseVisualStyleBackColor = true; - // - // checkBox1 - // - this.checkBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.checkBox1.AutoSize = true; - this.checkBox1.DataBindings.Add(new System.Windows.Forms.Binding("CheckState", this.bs, "selfTo", true)); - this.checkBox1.Location = new System.Drawing.Point(449, 13); - this.checkBox1.Name = "checkBox1"; - this.checkBox1.Size = new System.Drawing.Size(45, 16); - this.checkBox1.TabIndex = 18; - this.checkBox1.Text = "Self"; - this.checkBox1.UseVisualStyleBackColor = true; - // - // tolistTextBox - // - this.tolistTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.tolistTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "tolist", true)); - this.tolistTextBox.Location = new System.Drawing.Point(74, 12); - this.tolistTextBox.Name = "tolistTextBox"; - this.tolistTextBox.Size = new System.Drawing.Size(368, 21); - this.tolistTextBox.TabIndex = 7; - // - // bccTextBox - // - this.bccTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.bccTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "bcc", true)); - this.bccTextBox.Location = new System.Drawing.Point(74, 39); - this.bccTextBox.Name = "bccTextBox"; - this.bccTextBox.Size = new System.Drawing.Size(368, 21); - this.bccTextBox.TabIndex = 9; - // - // ccTextBox - // - this.ccTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.ccTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "cc", true)); - this.ccTextBox.Location = new System.Drawing.Point(74, 66); - this.ccTextBox.Name = "ccTextBox"; - this.ccTextBox.Size = new System.Drawing.Size(368, 21); - this.ccTextBox.TabIndex = 11; - // - // subjectTextBox - // - this.subjectTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.subjectTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "subject", true)); - this.subjectTextBox.Location = new System.Drawing.Point(74, 93); - this.subjectTextBox.Name = "subjectTextBox"; - this.subjectTextBox.Size = new System.Drawing.Size(413, 21); - this.subjectTextBox.TabIndex = 13; - // - // ta - // - this.ta.ClearBeforeFill = true; - // - // tam - // - this.tam.BackupDataSetBeforeUpdate = false; - this.tam.BoardTableAdapter = null; - this.tam.CommonTableAdapter = null; - this.tam.InventoryTableAdapter = null; - this.tam.ItemsTableAdapter = null; - this.tam.MailDataTableAdapter = null; - this.tam.MailFormTableAdapter = this.ta; - this.tam.ProjectsTableAdapter = null; - this.tam.RequestItemTableAdapter = null; - this.tam.UpdateOrder = FCM0000.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; - // - // dataGridViewTextBoxColumn2 - // - this.dataGridViewTextBoxColumn2.DataPropertyName = "cate"; - this.dataGridViewTextBoxColumn2.HeaderText = "cate"; - this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2"; - this.dataGridViewTextBoxColumn2.Width = 54; - // - // dataGridViewTextBoxColumn3 - // - this.dataGridViewTextBoxColumn3.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; - this.dataGridViewTextBoxColumn3.DataPropertyName = "title"; - this.dataGridViewTextBoxColumn3.HeaderText = "title"; - this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3"; - // - // fMailform - // - this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(816, 623); - this.Controls.Add(this.panel1); - this.Controls.Add(this.mailFormDataGridView); - this.Controls.Add(this.bn); - this.Name = "fMailform"; - this.Text = "fMailform"; - this.Load += new System.EventHandler(this.fMailform_Load); - ((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.mailFormDataGridView)).EndInit(); - this.panel1.ResumeLayout(false); - this.panel1.PerformLayout(); - this.ResumeLayout(false); - this.PerformLayout(); - - } - - #endregion - - private dsMSSQL dsMSSQL; - private System.Windows.Forms.BindingSource bs; - private dsMSSQLTableAdapters.MailFormTableAdapter ta; - private dsMSSQLTableAdapters.TableAdapterManager tam; - private System.Windows.Forms.BindingNavigator bn; - private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem; - private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem; - private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem; - private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem; - private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem; - private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator; - private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem; - private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1; - private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem; - private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem; - private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2; - private System.Windows.Forms.ToolStripButton mailFormBindingNavigatorSaveItem; - private System.Windows.Forms.DataGridView mailFormDataGridView; - private System.Windows.Forms.Panel panel1; - private System.Windows.Forms.TextBox tolistTextBox; - private System.Windows.Forms.TextBox bccTextBox; - private System.Windows.Forms.TextBox ccTextBox; - private System.Windows.Forms.TextBox subjectTextBox; - private System.Windows.Forms.CheckBox checkBox1; - private System.Windows.Forms.CheckBox checkBox3; - private System.Windows.Forms.CheckBox checkBox2; - private YARTE.UI.HtmlEditor htmlEditor1; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3; - } +namespace FCM0000 +{ + partial class fMailform + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + System.Windows.Forms.Label tolistLabel; + System.Windows.Forms.Label bccLabel; + System.Windows.Forms.Label ccLabel; + System.Windows.Forms.Label subjectLabel; + System.Windows.Forms.Label bodyLabel; + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fMailform)); + 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); + this.dsMSSQL = new FCM0000.dsMSSQL(); + this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel(); + this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator(); + this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox(); + this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator(); + 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.mailFormBindingNavigatorSaveItem = new System.Windows.Forms.ToolStripButton(); + this.mailFormDataGridView = new System.Windows.Forms.DataGridView(); + this.panel1 = new System.Windows.Forms.Panel(); + this.htmlEditor1 = new YARTE.UI.HtmlEditor(); + this.checkBox3 = new System.Windows.Forms.CheckBox(); + this.checkBox2 = new System.Windows.Forms.CheckBox(); + this.checkBox1 = new System.Windows.Forms.CheckBox(); + this.tolistTextBox = new System.Windows.Forms.TextBox(); + this.bccTextBox = new System.Windows.Forms.TextBox(); + this.ccTextBox = new System.Windows.Forms.TextBox(); + this.subjectTextBox = new System.Windows.Forms.TextBox(); + this.ta = new FCM0000.dsMSSQLTableAdapters.MailFormTableAdapter(); + this.tam = new FCM0000.dsMSSQLTableAdapters.TableAdapterManager(); + this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + tolistLabel = new System.Windows.Forms.Label(); + bccLabel = new System.Windows.Forms.Label(); + ccLabel = new System.Windows.Forms.Label(); + subjectLabel = new System.Windows.Forms.Label(); + bodyLabel = new System.Windows.Forms.Label(); + ((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.mailFormDataGridView)).BeginInit(); + this.panel1.SuspendLayout(); + this.SuspendLayout(); + // + // tolistLabel + // + tolistLabel.AutoSize = true; + tolistLabel.Location = new System.Drawing.Point(30, 15); + tolistLabel.Name = "tolistLabel"; + tolistLabel.Size = new System.Drawing.Size(35, 12); + tolistLabel.TabIndex = 6; + tolistLabel.Text = "tolist:"; + // + // bccLabel + // + bccLabel.AutoSize = true; + bccLabel.Location = new System.Drawing.Point(35, 42); + bccLabel.Name = "bccLabel"; + bccLabel.Size = new System.Drawing.Size(30, 12); + bccLabel.TabIndex = 8; + bccLabel.Text = "bcc:"; + // + // ccLabel + // + ccLabel.AutoSize = true; + ccLabel.Location = new System.Drawing.Point(42, 69); + ccLabel.Name = "ccLabel"; + ccLabel.Size = new System.Drawing.Size(23, 12); + ccLabel.TabIndex = 10; + ccLabel.Text = "cc:"; + // + // subjectLabel + // + subjectLabel.AutoSize = true; + subjectLabel.Location = new System.Drawing.Point(15, 96); + subjectLabel.Name = "subjectLabel"; + subjectLabel.Size = new System.Drawing.Size(50, 12); + subjectLabel.TabIndex = 12; + subjectLabel.Text = "subject:"; + // + // bodyLabel + // + bodyLabel.AutoSize = true; + bodyLabel.Location = new System.Drawing.Point(28, 122); + bodyLabel.Name = "bodyLabel"; + bodyLabel.Size = new System.Drawing.Size(37, 12); + bodyLabel.TabIndex = 16; + bodyLabel.Text = "body:"; + // + // bn + // + this.bn.AddNewItem = this.bindingNavigatorAddNewItem; + this.bn.BindingSource = this.bs; + this.bn.CountItem = this.bindingNavigatorCountItem; + this.bn.DeleteItem = null; + this.bn.Dock = System.Windows.Forms.DockStyle.Bottom; + this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.bindingNavigatorMoveFirstItem, + this.bindingNavigatorMovePreviousItem, + this.bindingNavigatorSeparator, + this.bindingNavigatorPositionItem, + this.bindingNavigatorCountItem, + this.bindingNavigatorSeparator1, + this.bindingNavigatorMoveNextItem, + this.bindingNavigatorMoveLastItem, + this.bindingNavigatorSeparator2, + this.bindingNavigatorAddNewItem, + this.bindingNavigatorDeleteItem, + this.mailFormBindingNavigatorSaveItem}); + this.bn.Location = new System.Drawing.Point(0, 598); + 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(816, 25); + this.bn.TabIndex = 0; + this.bn.Text = "bindingNavigator1"; + // + // 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.Click += new System.EventHandler(this.bindingNavigatorAddNewItem_Click); + // + // bs + // + this.bs.DataMember = "MailForm"; + this.bs.DataSource = this.dsMSSQL; + this.bs.CurrentChanged += new System.EventHandler(this.bs_CurrentChanged); + // + // 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.Text = "/{0}"; + this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수"; + // + // bindingNavigatorMoveFirstItem + // + this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + 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.Text = "처음으로 이동"; + // + // bindingNavigatorMovePreviousItem + // + this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + 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.Text = "이전으로 이동"; + // + // bindingNavigatorSeparator + // + this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator"; + this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25); + // + // bindingNavigatorPositionItem + // + this.bindingNavigatorPositionItem.AccessibleName = "위치"; + this.bindingNavigatorPositionItem.AutoSize = false; + this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem"; + this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23); + this.bindingNavigatorPositionItem.Text = "0"; + this.bindingNavigatorPositionItem.ToolTipText = "현재 위치"; + // + // bindingNavigatorSeparator1 + // + this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1"; + this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25); + // + // bindingNavigatorMoveNextItem + // + this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + 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.Text = "다음으로 이동"; + // + // bindingNavigatorMoveLastItem + // + this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + 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.Text = "마지막으로 이동"; + // + // bindingNavigatorSeparator2 + // + 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(78, 22); + this.bindingNavigatorDeleteItem.Text = "Delete(&D)"; + this.bindingNavigatorDeleteItem.Click += new System.EventHandler(this.bindingNavigatorDeleteItem_Click); + // + // mailFormBindingNavigatorSaveItem + // + this.mailFormBindingNavigatorSaveItem.Image = ((System.Drawing.Image)(resources.GetObject("mailFormBindingNavigatorSaveItem.Image"))); + this.mailFormBindingNavigatorSaveItem.Name = "mailFormBindingNavigatorSaveItem"; + this.mailFormBindingNavigatorSaveItem.Size = new System.Drawing.Size(67, 22); + this.mailFormBindingNavigatorSaveItem.Text = "Save(&S)"; + this.mailFormBindingNavigatorSaveItem.Click += new System.EventHandler(this.mailFormBindingNavigatorSaveItem_Click); + // + // mailFormDataGridView + // + this.mailFormDataGridView.AllowUserToAddRows = false; + this.mailFormDataGridView.AutoGenerateColumns = false; + this.mailFormDataGridView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells; + this.mailFormDataGridView.ColumnHeadersHeight = 30; + this.mailFormDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing; + this.mailFormDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.dataGridViewTextBoxColumn2, + this.dataGridViewTextBoxColumn3}); + this.mailFormDataGridView.DataSource = this.bs; + this.mailFormDataGridView.Dock = System.Windows.Forms.DockStyle.Left; + this.mailFormDataGridView.Location = new System.Drawing.Point(0, 0); + this.mailFormDataGridView.Name = "mailFormDataGridView"; + this.mailFormDataGridView.RowTemplate.Height = 23; + this.mailFormDataGridView.Size = new System.Drawing.Size(317, 598); + this.mailFormDataGridView.TabIndex = 2; + this.mailFormDataGridView.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.mailFormDataGridView_DataError); + // + // panel1 + // + this.panel1.Controls.Add(this.htmlEditor1); + this.panel1.Controls.Add(this.checkBox3); + this.panel1.Controls.Add(this.checkBox2); + this.panel1.Controls.Add(this.checkBox1); + this.panel1.Controls.Add(tolistLabel); + this.panel1.Controls.Add(this.tolistTextBox); + this.panel1.Controls.Add(bccLabel); + this.panel1.Controls.Add(this.bccTextBox); + this.panel1.Controls.Add(ccLabel); + this.panel1.Controls.Add(this.ccTextBox); + this.panel1.Controls.Add(subjectLabel); + this.panel1.Controls.Add(this.subjectTextBox); + this.panel1.Controls.Add(bodyLabel); + this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; + this.panel1.Location = new System.Drawing.Point(317, 0); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(499, 598); + this.panel1.TabIndex = 3; + // + // htmlEditor1 + // + this.htmlEditor1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.htmlEditor1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.htmlEditor1.Html = resources.GetString("htmlEditor1.Html"); + this.htmlEditor1.Location = new System.Drawing.Point(74, 122); + this.htmlEditor1.Name = "htmlEditor1"; + this.htmlEditor1.ReadOnly = false; + this.htmlEditor1.ShowToolbar = true; + this.htmlEditor1.Size = new System.Drawing.Size(413, 464); + this.htmlEditor1.TabIndex = 23; + this.htmlEditor1.Validated += new System.EventHandler(this.htmlEditor1_Validated); + // + // checkBox3 + // + this.checkBox3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.checkBox3.AutoSize = true; + this.checkBox3.DataBindings.Add(new System.Windows.Forms.Binding("CheckState", this.bs, "selfBCC", true)); + this.checkBox3.Location = new System.Drawing.Point(449, 69); + this.checkBox3.Name = "checkBox3"; + this.checkBox3.Size = new System.Drawing.Size(45, 16); + this.checkBox3.TabIndex = 20; + this.checkBox3.Text = "Self"; + this.checkBox3.UseVisualStyleBackColor = true; + // + // checkBox2 + // + this.checkBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.checkBox2.AutoSize = true; + this.checkBox2.DataBindings.Add(new System.Windows.Forms.Binding("CheckState", this.bs, "selfCC", true)); + this.checkBox2.Location = new System.Drawing.Point(449, 41); + this.checkBox2.Name = "checkBox2"; + this.checkBox2.Size = new System.Drawing.Size(45, 16); + this.checkBox2.TabIndex = 19; + this.checkBox2.Text = "Self"; + this.checkBox2.UseVisualStyleBackColor = true; + // + // checkBox1 + // + this.checkBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.checkBox1.AutoSize = true; + this.checkBox1.DataBindings.Add(new System.Windows.Forms.Binding("CheckState", this.bs, "selfTo", true)); + this.checkBox1.Location = new System.Drawing.Point(449, 13); + this.checkBox1.Name = "checkBox1"; + this.checkBox1.Size = new System.Drawing.Size(45, 16); + this.checkBox1.TabIndex = 18; + this.checkBox1.Text = "Self"; + this.checkBox1.UseVisualStyleBackColor = true; + // + // tolistTextBox + // + this.tolistTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.tolistTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "tolist", true)); + this.tolistTextBox.Location = new System.Drawing.Point(74, 12); + this.tolistTextBox.Name = "tolistTextBox"; + this.tolistTextBox.Size = new System.Drawing.Size(368, 21); + this.tolistTextBox.TabIndex = 7; + // + // bccTextBox + // + this.bccTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.bccTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "bcc", true)); + this.bccTextBox.Location = new System.Drawing.Point(74, 39); + this.bccTextBox.Name = "bccTextBox"; + this.bccTextBox.Size = new System.Drawing.Size(368, 21); + this.bccTextBox.TabIndex = 9; + // + // ccTextBox + // + this.ccTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.ccTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "cc", true)); + this.ccTextBox.Location = new System.Drawing.Point(74, 66); + this.ccTextBox.Name = "ccTextBox"; + this.ccTextBox.Size = new System.Drawing.Size(368, 21); + this.ccTextBox.TabIndex = 11; + // + // subjectTextBox + // + this.subjectTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.subjectTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "subject", true)); + this.subjectTextBox.Location = new System.Drawing.Point(74, 93); + this.subjectTextBox.Name = "subjectTextBox"; + this.subjectTextBox.Size = new System.Drawing.Size(413, 21); + this.subjectTextBox.TabIndex = 13; + // + // ta + // + this.ta.ClearBeforeFill = true; + // + // tam + // + this.tam.BackupDataSetBeforeUpdate = false; + this.tam.BoardTableAdapter = null; + this.tam.CommonTableAdapter = null; + this.tam.InventoryTableAdapter = null; + this.tam.ItemsTableAdapter = null; + this.tam.MailDataTableAdapter = null; + this.tam.MailFormTableAdapter = this.ta; + this.tam.ProjectsTableAdapter = null; + this.tam.RequestItemTableAdapter = null; + this.tam.UpdateOrder = FCM0000.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; + // + // dataGridViewTextBoxColumn2 + // + this.dataGridViewTextBoxColumn2.DataPropertyName = "cate"; + this.dataGridViewTextBoxColumn2.HeaderText = "cate"; + this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2"; + this.dataGridViewTextBoxColumn2.Width = 54; + // + // dataGridViewTextBoxColumn3 + // + this.dataGridViewTextBoxColumn3.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; + this.dataGridViewTextBoxColumn3.DataPropertyName = "title"; + this.dataGridViewTextBoxColumn3.HeaderText = "title"; + this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3"; + // + // fMailform + // + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(816, 623); + this.Controls.Add(this.panel1); + this.Controls.Add(this.mailFormDataGridView); + this.Controls.Add(this.bn); + this.Name = "fMailform"; + this.Text = "fMailform"; + this.Load += new System.EventHandler(this.fMailform_Load); + ((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.mailFormDataGridView)).EndInit(); + this.panel1.ResumeLayout(false); + this.panel1.PerformLayout(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private dsMSSQL dsMSSQL; + private System.Windows.Forms.BindingSource bs; + private dsMSSQLTableAdapters.MailFormTableAdapter ta; + private dsMSSQLTableAdapters.TableAdapterManager tam; + private System.Windows.Forms.BindingNavigator bn; + private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem; + private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem; + private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem; + private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem; + private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem; + private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator; + private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem; + private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1; + private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem; + private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem; + private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2; + private System.Windows.Forms.ToolStripButton mailFormBindingNavigatorSaveItem; + private System.Windows.Forms.DataGridView mailFormDataGridView; + private System.Windows.Forms.Panel panel1; + private System.Windows.Forms.TextBox tolistTextBox; + private System.Windows.Forms.TextBox bccTextBox; + private System.Windows.Forms.TextBox ccTextBox; + private System.Windows.Forms.TextBox subjectTextBox; + private System.Windows.Forms.CheckBox checkBox1; + private System.Windows.Forms.CheckBox checkBox3; + private System.Windows.Forms.CheckBox checkBox2; + private YARTE.UI.HtmlEditor htmlEditor1; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3; + } } \ No newline at end of file diff --git a/SubProject/FCM0000/Board/fMailform.cs b/SubProject/FCM0000/Board/fMailform.cs index 665cce7..6edf718 100644 --- a/SubProject/FCM0000/Board/fMailform.cs +++ b/SubProject/FCM0000/Board/fMailform.cs @@ -1,101 +1,101 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Data; -using System.Drawing; -using System.Linq; -using System.Text; -using System.Windows.Forms; -using YARTE.UI.Buttons; - -namespace FCM0000 -{ - public partial class fMailform : FCOMMON.fBase - { - public fMailform() - { - InitializeComponent(); - PredefinedButtonSets.SetupDefaultButtons(this.htmlEditor1); - this.dsMSSQL.MailForm.TableNewRow += MailForm_TableNewRow; - } - - void MailForm_TableNewRow(object sender, DataTableNewRowEventArgs e) - { - e.Row["wuid"] = FCOMMON.info.Login.no; - e.Row["wdate"] = DateTime.Now; - e.Row["subject"] = "메일제목"; - e.Row["title"] = "분류제목"; - e.Row["cate"] = "NR"; - } - - private void fMailform_Load(object sender, EventArgs e) - { - refreshData(); - } - - void refreshData() - { - try - { - ta.Fill(this.dsMSSQL.MailForm); - } - catch (Exception ex) - { - FCOMMON.Util.MsgE(ex.Message); - } - } - - private void mailFormBindingNavigatorSaveItem_Click(object sender, EventArgs e) - { - this.Validate(); - this.bs.EndEdit(); - this.tam.UpdateAll(this.dsMSSQL); - - } - - private void toolStripButton1_Click(object sender, EventArgs e) - { - - } - dsMSSQL.MailFormRow dr = null; - private void bs_CurrentChanged(object sender, EventArgs e) - { - var drv = this.bs.Current as DataRowView; - if (drv == null) return; - dr = drv.Row as dsMSSQL.MailFormRow; - this.htmlEditor1.Html = dr.body; - //this.htmlEditor2.Html = dr.tail; - } - - private void richTextBox2_Validated(object sender, EventArgs e) - { - - } - - private void htmlEditor1_Validated(object sender, EventArgs e) - { - if (dr != null) - { - dr.body = this.htmlEditor1.Html; - // dr.tail = this.htmlEditor2.Html; - } - } - - private void mailFormDataGridView_DataError(object sender, DataGridViewDataErrorEventArgs e) - { - - } - - private void bindingNavigatorDeleteItem_Click(object sender, EventArgs e) - { - var dlg = FCOMMON.Util.MsgQ("선택된 자료를 삭제하시겠습니까?"); - if (dlg != System.Windows.Forms.DialogResult.Yes) return; - bs.RemoveCurrent(); - } - - private void bindingNavigatorAddNewItem_Click(object sender, EventArgs e) - { - - } - } -} +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Windows.Forms; +using YARTE.UI.Buttons; + +namespace FCM0000 +{ + public partial class fMailform : FCOMMON.fBase + { + public fMailform() + { + InitializeComponent(); + PredefinedButtonSets.SetupDefaultButtons(this.htmlEditor1); + this.dsMSSQL.MailForm.TableNewRow += MailForm_TableNewRow; + } + + void MailForm_TableNewRow(object sender, DataTableNewRowEventArgs e) + { + e.Row["wuid"] = FCOMMON.info.Login.no; + e.Row["wdate"] = DateTime.Now; + e.Row["subject"] = "메일제목"; + e.Row["title"] = "분류제목"; + e.Row["cate"] = "NR"; + } + + private void fMailform_Load(object sender, EventArgs e) + { + refreshData(); + } + + void refreshData() + { + try + { + ta.Fill(this.dsMSSQL.MailForm); + } + catch (Exception ex) + { + FCOMMON.Util.MsgE(ex.Message); + } + } + + private void mailFormBindingNavigatorSaveItem_Click(object sender, EventArgs e) + { + this.Validate(); + this.bs.EndEdit(); + this.tam.UpdateAll(this.dsMSSQL); + + } + + private void toolStripButton1_Click(object sender, EventArgs e) + { + + } + dsMSSQL.MailFormRow dr = null; + private void bs_CurrentChanged(object sender, EventArgs e) + { + var drv = this.bs.Current as DataRowView; + if (drv == null) return; + dr = drv.Row as dsMSSQL.MailFormRow; + this.htmlEditor1.Html = dr.body; + //this.htmlEditor2.Html = dr.tail; + } + + private void richTextBox2_Validated(object sender, EventArgs e) + { + + } + + private void htmlEditor1_Validated(object sender, EventArgs e) + { + if (dr != null) + { + dr.body = this.htmlEditor1.Html; + // dr.tail = this.htmlEditor2.Html; + } + } + + private void mailFormDataGridView_DataError(object sender, DataGridViewDataErrorEventArgs e) + { + + } + + private void bindingNavigatorDeleteItem_Click(object sender, EventArgs e) + { + var dlg = FCOMMON.Util.MsgQ("선택된 자료를 삭제하시겠습니까?"); + if (dlg != System.Windows.Forms.DialogResult.Yes) return; + bs.RemoveCurrent(); + } + + private void bindingNavigatorAddNewItem_Click(object sender, EventArgs e) + { + + } + } +} diff --git a/SubProject/FCM0000/Board/fMailform.resx b/SubProject/FCM0000/Board/fMailform.resx index 5f26e8d..053decd 100644 --- a/SubProject/FCM0000/Board/fMailform.resx +++ b/SubProject/FCM0000/Board/fMailform.resx @@ -1,230 +1,230 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - False - - - False - - - False - - - False - - - False - - - 435, 17 - - - - - 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== - - - - 122, 17 - - - 17, 17 - - - - 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= - - - - - 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 - - - - - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78 - n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI - N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f - oAc0QjgAAAAASUVORK5CYII= - - - - - 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== - - - - - 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= - - - - - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo - dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII= - - - - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<HTML><HEAD> -<META content="text/html; charset=unicode" http-equiv=Content-Type> -<META name=GENERATOR content="MSHTML 11.00.10570.1001"></HEAD> -<BODY></BODY></HTML> - - - - 184, 17 - - - 362, 17 - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + False + + + False + + + False + + + False + + + False + + + 435, 17 + + + + + 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== + + + + 122, 17 + + + 17, 17 + + + + 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= + + + + + 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 + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78 + n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI + N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f + oAc0QjgAAAAASUVORK5CYII= + + + + + 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== + + + + + 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= + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo + dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII= + + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<HTML><HEAD> +<META content="text/html; charset=unicode" http-equiv=Content-Type> +<META name=GENERATOR content="MSHTML 11.00.10570.1001"></HEAD> +<BODY></BODY></HTML> + + + + 184, 17 + + + 362, 17 + \ No newline at end of file diff --git a/SubProject/FCM0000/Board/fRequestItem.Designer.cs b/SubProject/FCM0000/Board/fRequestItem.Designer.cs index 59a5c71..a58ac14 100644 --- a/SubProject/FCM0000/Board/fRequestItem.Designer.cs +++ b/SubProject/FCM0000/Board/fRequestItem.Designer.cs @@ -1,593 +1,593 @@ -namespace FCM0000 -{ - partial class fRequestItem - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - 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(); - this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton(); - this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator(); - this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox(); - this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator(); - this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton(); - this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton(); - this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator(); - 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(); - this.mailPreviewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.mailPreviewAllToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStrip1 = new System.Windows.Forms.ToolStrip(); - this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel(); - this.dtSD = new System.Windows.Forms.ToolStripTextBox(); - this.toolStripLabel4 = new System.Windows.Forms.ToolStripLabel(); - this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel(); - this.dtED = new System.Windows.Forms.ToolStripTextBox(); - this.btSearch = new System.Windows.Forms.ToolStripButton(); - this.label1 = new System.Windows.Forms.Label(); - this.panel1 = new System.Windows.Forms.Panel(); - this.label7 = new System.Windows.Forms.Label(); - this.label6 = new System.Windows.Forms.Label(); - this.label5 = new System.Windows.Forms.Label(); - this.label4 = new System.Windows.Forms.Label(); - this.label3 = new System.Windows.Forms.Label(); - this.label2 = new System.Windows.Forms.Label(); - this.tam = new FCM0000.dsMSSQLTableAdapters.TableAdapterManager(); - this.ta = new FCM0000.dsMSSQLTableAdapters.RequestItemTableAdapter(); - ((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(); - this.SuspendLayout(); - // - // bn - // - this.bn.AddNewItem = null; - this.bn.BindingSource = this.bs; - this.bn.CountItem = this.bindingNavigatorCountItem; - this.bn.DeleteItem = this.bindingNavigatorDeleteItem; - this.bn.Dock = System.Windows.Forms.DockStyle.Bottom; - this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.bindingNavigatorMoveFirstItem, - this.bindingNavigatorMovePreviousItem, - this.bindingNavigatorSeparator, - this.bindingNavigatorPositionItem, - this.bindingNavigatorCountItem, - this.bindingNavigatorSeparator1, - this.bindingNavigatorMoveNextItem, - this.bindingNavigatorMoveLastItem, - this.bindingNavigatorSeparator2, - this.bindingNavigatorAddNewItem, - this.bindingNavigatorDeleteItem, - this.boardBindingNavigatorSaveItem}); - 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(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"; - this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22); - 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; - 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.Text = "처음으로 이동"; - // - // bindingNavigatorMovePreviousItem - // - this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - 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.Text = "이전으로 이동"; - // - // bindingNavigatorSeparator - // - this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator"; - this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25); - // - // bindingNavigatorPositionItem - // - this.bindingNavigatorPositionItem.AccessibleName = "위치"; - this.bindingNavigatorPositionItem.AutoSize = false; - this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem"; - this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23); - this.bindingNavigatorPositionItem.Text = "0"; - this.bindingNavigatorPositionItem.ToolTipText = "현재 위치"; - // - // bindingNavigatorSeparator1 - // - this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1"; - this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25); - // - // bindingNavigatorMoveNextItem - // - this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - 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.Text = "다음으로 이동"; - // - // bindingNavigatorMoveLastItem - // - this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - 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.Text = "마지막으로 이동"; - // - // bindingNavigatorSeparator2 - // - this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2"; - this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25); - // - // 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.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.Click += new System.EventHandler(this.boardBindingNavigatorSaveItem_Click); - // - // dv1 - // - this.dv1.AllowUserToAddRows = false; - this.dv1.AllowUserToDeleteRows = 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.pdateDataGridViewTextBoxColumn, - this.titleDataGridViewTextBoxColumn, - this.model, - this.sidDataGridViewTextBoxColumn, - this.qtyDataGridViewTextBoxColumn, - this.project, - this.bMail, - this.memo}); - this.dv1.ContextMenuStrip = this.cm; - this.dv1.DataSource = this.bs; - this.dv1.Dock = System.Windows.Forms.DockStyle.Fill; - this.dv1.Location = new System.Drawing.Point(0, 25); - this.dv1.MultiSelect = false; - 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(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[] { - this.autoResizeColumnsToolStripMenuItem, - this.toolStripMenuItem1, - this.mailPreviewToolStripMenuItem, - this.mailPreviewAllToolStripMenuItem}); - this.cm.Name = "cm"; - this.cm.Size = new System.Drawing.Size(182, 76); - // - // autoResizeColumnsToolStripMenuItem - // - this.autoResizeColumnsToolStripMenuItem.Name = "autoResizeColumnsToolStripMenuItem"; - this.autoResizeColumnsToolStripMenuItem.Size = new System.Drawing.Size(181, 22); - this.autoResizeColumnsToolStripMenuItem.Text = "AutoResizeColumns"; - this.autoResizeColumnsToolStripMenuItem.Click += new System.EventHandler(this.autoResizeColumnsToolStripMenuItem_Click); - // - // toolStripMenuItem1 - // - this.toolStripMenuItem1.Name = "toolStripMenuItem1"; - this.toolStripMenuItem1.Size = new System.Drawing.Size(178, 6); - // - // mailPreviewToolStripMenuItem - // - this.mailPreviewToolStripMenuItem.Name = "mailPreviewToolStripMenuItem"; - this.mailPreviewToolStripMenuItem.Size = new System.Drawing.Size(181, 22); - this.mailPreviewToolStripMenuItem.Text = "Mail(Preview_One)"; - this.mailPreviewToolStripMenuItem.Click += new System.EventHandler(this.mailPreviewToolStripMenuItem_Click); - // - // mailPreviewAllToolStripMenuItem - // - this.mailPreviewAllToolStripMenuItem.Name = "mailPreviewAllToolStripMenuItem"; - this.mailPreviewAllToolStripMenuItem.Size = new System.Drawing.Size(181, 22); - this.mailPreviewAllToolStripMenuItem.Text = "Mail(Preview_All)"; - this.mailPreviewAllToolStripMenuItem.Click += new System.EventHandler(this.mailPreviewAllToolStripMenuItem_Click); - // - // toolStrip1 - // - this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.toolStripLabel1, - this.dtSD, - this.toolStripLabel4, - this.toolStripLabel2, - this.dtED, - this.btSearch}); - this.toolStrip1.Location = new System.Drawing.Point(0, 0); - this.toolStrip1.Name = "toolStrip1"; - this.toolStrip1.Size = new System.Drawing.Size(1046, 25); - this.toolStrip1.TabIndex = 4; - this.toolStrip1.Text = "toolStrip1"; - // - // toolStripLabel1 - // - this.toolStripLabel1.Name = "toolStripLabel1"; - this.toolStripLabel1.Size = new System.Drawing.Size(32, 22); - this.toolStripLabel1.Text = "Start"; - // - // dtSD - // - this.dtSD.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.dtSD.Name = "dtSD"; - this.dtSD.Size = new System.Drawing.Size(100, 25); - // - // toolStripLabel4 - // - this.toolStripLabel4.Name = "toolStripLabel4"; - this.toolStripLabel4.Size = new System.Drawing.Size(15, 22); - this.toolStripLabel4.Text = "~"; - // - // toolStripLabel2 - // - this.toolStripLabel2.Name = "toolStripLabel2"; - this.toolStripLabel2.Size = new System.Drawing.Size(27, 22); - this.toolStripLabel2.Text = "End"; - // - // dtED - // - this.dtED.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.dtED.Name = "dtED"; - this.dtED.Size = new System.Drawing.Size(100, 25); - // - // 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); - // - // label1 - // - this.label1.BackColor = System.Drawing.Color.DeepSkyBlue; - 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, 530); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(1046, 20); - this.label1.TabIndex = 5; - this.label1.Text = "-- URL --"; - this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - this.label1.Click += new System.EventHandler(this.label1_Click); - // - // panel1 - // - this.panel1.Controls.Add(this.label7); - this.panel1.Controls.Add(this.label6); - this.panel1.Controls.Add(this.label5); - this.panel1.Controls.Add(this.label4); - 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(874, 25); - this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(172, 505); - this.panel1.TabIndex = 7; - // - // label7 - // - this.label7.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "bcclist", true)); - 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, 205); - this.label7.TabIndex = 5; - this.label7.Text = "--"; - this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - // - // label6 - // - this.label6.BackColor = System.Drawing.Color.Gray; - this.label6.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.label6.Dock = System.Windows.Forms.DockStyle.Top; - this.label6.ForeColor = System.Drawing.Color.White; - this.label6.Location = new System.Drawing.Point(0, 270); - this.label6.Name = "label6"; - this.label6.Size = new System.Drawing.Size(172, 30); - this.label6.TabIndex = 4; - this.label6.Text = "BCC List"; - this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label5 - // - this.label5.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "cclist", true)); - this.label5.Dock = System.Windows.Forms.DockStyle.Top; - this.label5.Location = new System.Drawing.Point(0, 165); - this.label5.Name = "label5"; - this.label5.Size = new System.Drawing.Size(172, 105); - this.label5.TabIndex = 3; - this.label5.Text = "--"; - this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - // - // label4 - // - this.label4.BackColor = System.Drawing.Color.Gray; - this.label4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.label4.Dock = System.Windows.Forms.DockStyle.Top; - this.label4.ForeColor = System.Drawing.Color.White; - this.label4.Location = new System.Drawing.Point(0, 135); - this.label4.Name = "label4"; - this.label4.Size = new System.Drawing.Size(172, 30); - this.label4.TabIndex = 2; - this.label4.Text = "CC List"; - this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label3 - // - this.label3.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "tolist", true)); - this.label3.Dock = System.Windows.Forms.DockStyle.Top; - this.label3.Location = new System.Drawing.Point(0, 30); - this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(172, 105); - this.label3.TabIndex = 1; - this.label3.Text = "--"; - this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - // - // label2 - // - this.label2.BackColor = System.Drawing.Color.Gray; - this.label2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.label2.Dock = System.Windows.Forms.DockStyle.Top; - this.label2.ForeColor = System.Drawing.Color.White; - this.label2.Location = new System.Drawing.Point(0, 0); - this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(172, 30); - this.label2.TabIndex = 0; - this.label2.Text = "TO List"; - this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // 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; - this.tam.MailFormTableAdapter = null; - this.tam.ProjectsTableAdapter = null; - this.tam.RequestItemTableAdapter = this.ta; - this.tam.UpdateOrder = FCM0000.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; - // - // ta - // - this.ta.ClearBeforeFill = true; - // - // fRequestItem - // - this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(1046, 575); - this.Controls.Add(this.dv1); - this.Controls.Add(this.panel1); - this.Controls.Add(this.label1); - this.Controls.Add(this.toolStrip1); - this.Controls.Add(this.bn); - this.Name = "fRequestItem"; - this.Text = "Item Request"; - this.Load += new System.EventHandler(this.fRequestItem_Load); - ((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); - this.ResumeLayout(false); - this.PerformLayout(); - - } - - #endregion - - private dsMSSQL dsMSSQL; - private System.Windows.Forms.BindingSource bs; - private dsMSSQLTableAdapters.TableAdapterManager tam; - private System.Windows.Forms.BindingNavigator bn; - private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem; - private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem; - private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem; - private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem; - private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem; - private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator; - private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem; - private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1; - private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem; - private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem; - private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2; - private System.Windows.Forms.ToolStripButton boardBindingNavigatorSaveItem; - private System.Windows.Forms.DataGridView dv1; - private System.Windows.Forms.ToolStrip toolStrip1; - private System.Windows.Forms.ToolStripLabel toolStripLabel1; - private System.Windows.Forms.ToolStripTextBox dtSD; - private System.Windows.Forms.ToolStripLabel toolStripLabel4; - private System.Windows.Forms.ToolStripLabel toolStripLabel2; - private System.Windows.Forms.ToolStripTextBox dtED; - private System.Windows.Forms.ToolStripButton btSearch; - private dsMSSQLTableAdapters.RequestItemTableAdapter ta; - private System.Windows.Forms.Label label1; - private System.Windows.Forms.ContextMenuStrip cm; - private System.Windows.Forms.ToolStripMenuItem mailPreviewToolStripMenuItem; - private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1; - private System.Windows.Forms.ToolStripMenuItem autoResizeColumnsToolStripMenuItem; - private System.Windows.Forms.Panel panel1; - private System.Windows.Forms.Label label2; - private System.Windows.Forms.Label label3; - private System.Windows.Forms.Label label4; - private System.Windows.Forms.Label label6; - private System.Windows.Forms.Label label5; - private System.Windows.Forms.Label label7; - private System.Windows.Forms.ToolStripMenuItem mailPreviewAllToolStripMenuItem; - private System.Windows.Forms.DataGridViewTextBoxColumn pdateDataGridViewTextBoxColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn titleDataGridViewTextBoxColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn model; - private System.Windows.Forms.DataGridViewTextBoxColumn sidDataGridViewTextBoxColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn qtyDataGridViewTextBoxColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn project; - private System.Windows.Forms.DataGridViewCheckBoxColumn bMail; - private System.Windows.Forms.DataGridViewTextBoxColumn memo; - } +namespace FCM0000 +{ + partial class fRequestItem + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + 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(); + this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator(); + this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox(); + this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator(); + this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator(); + 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(); + this.mailPreviewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.mailPreviewAllToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStrip1 = new System.Windows.Forms.ToolStrip(); + this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel(); + this.dtSD = new System.Windows.Forms.ToolStripTextBox(); + this.toolStripLabel4 = new System.Windows.Forms.ToolStripLabel(); + this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel(); + this.dtED = new System.Windows.Forms.ToolStripTextBox(); + this.btSearch = new System.Windows.Forms.ToolStripButton(); + this.label1 = new System.Windows.Forms.Label(); + this.panel1 = new System.Windows.Forms.Panel(); + this.label7 = new System.Windows.Forms.Label(); + this.label6 = new System.Windows.Forms.Label(); + this.label5 = new System.Windows.Forms.Label(); + this.label4 = new System.Windows.Forms.Label(); + this.label3 = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.tam = new FCM0000.dsMSSQLTableAdapters.TableAdapterManager(); + this.ta = new FCM0000.dsMSSQLTableAdapters.RequestItemTableAdapter(); + ((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(); + this.SuspendLayout(); + // + // bn + // + this.bn.AddNewItem = null; + this.bn.BindingSource = this.bs; + this.bn.CountItem = this.bindingNavigatorCountItem; + this.bn.DeleteItem = this.bindingNavigatorDeleteItem; + this.bn.Dock = System.Windows.Forms.DockStyle.Bottom; + this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.bindingNavigatorMoveFirstItem, + this.bindingNavigatorMovePreviousItem, + this.bindingNavigatorSeparator, + this.bindingNavigatorPositionItem, + this.bindingNavigatorCountItem, + this.bindingNavigatorSeparator1, + this.bindingNavigatorMoveNextItem, + this.bindingNavigatorMoveLastItem, + this.bindingNavigatorSeparator2, + this.bindingNavigatorAddNewItem, + this.bindingNavigatorDeleteItem, + this.boardBindingNavigatorSaveItem}); + 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(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"; + this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22); + 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; + 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.Text = "처음으로 이동"; + // + // bindingNavigatorMovePreviousItem + // + this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + 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.Text = "이전으로 이동"; + // + // bindingNavigatorSeparator + // + this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator"; + this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25); + // + // bindingNavigatorPositionItem + // + this.bindingNavigatorPositionItem.AccessibleName = "위치"; + this.bindingNavigatorPositionItem.AutoSize = false; + this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem"; + this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23); + this.bindingNavigatorPositionItem.Text = "0"; + this.bindingNavigatorPositionItem.ToolTipText = "현재 위치"; + // + // bindingNavigatorSeparator1 + // + this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1"; + this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25); + // + // bindingNavigatorMoveNextItem + // + this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + 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.Text = "다음으로 이동"; + // + // bindingNavigatorMoveLastItem + // + this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + 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.Text = "마지막으로 이동"; + // + // bindingNavigatorSeparator2 + // + this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2"; + this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25); + // + // 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.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.Click += new System.EventHandler(this.boardBindingNavigatorSaveItem_Click); + // + // dv1 + // + this.dv1.AllowUserToAddRows = false; + this.dv1.AllowUserToDeleteRows = 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.pdateDataGridViewTextBoxColumn, + this.titleDataGridViewTextBoxColumn, + this.model, + this.sidDataGridViewTextBoxColumn, + this.qtyDataGridViewTextBoxColumn, + this.project, + this.bMail, + this.memo}); + this.dv1.ContextMenuStrip = this.cm; + this.dv1.DataSource = this.bs; + this.dv1.Dock = System.Windows.Forms.DockStyle.Fill; + this.dv1.Location = new System.Drawing.Point(0, 25); + this.dv1.MultiSelect = false; + 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(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[] { + this.autoResizeColumnsToolStripMenuItem, + this.toolStripMenuItem1, + this.mailPreviewToolStripMenuItem, + this.mailPreviewAllToolStripMenuItem}); + this.cm.Name = "cm"; + this.cm.Size = new System.Drawing.Size(182, 76); + // + // autoResizeColumnsToolStripMenuItem + // + this.autoResizeColumnsToolStripMenuItem.Name = "autoResizeColumnsToolStripMenuItem"; + this.autoResizeColumnsToolStripMenuItem.Size = new System.Drawing.Size(181, 22); + this.autoResizeColumnsToolStripMenuItem.Text = "AutoResizeColumns"; + this.autoResizeColumnsToolStripMenuItem.Click += new System.EventHandler(this.autoResizeColumnsToolStripMenuItem_Click); + // + // toolStripMenuItem1 + // + this.toolStripMenuItem1.Name = "toolStripMenuItem1"; + this.toolStripMenuItem1.Size = new System.Drawing.Size(178, 6); + // + // mailPreviewToolStripMenuItem + // + this.mailPreviewToolStripMenuItem.Name = "mailPreviewToolStripMenuItem"; + this.mailPreviewToolStripMenuItem.Size = new System.Drawing.Size(181, 22); + this.mailPreviewToolStripMenuItem.Text = "Mail(Preview_One)"; + this.mailPreviewToolStripMenuItem.Click += new System.EventHandler(this.mailPreviewToolStripMenuItem_Click); + // + // mailPreviewAllToolStripMenuItem + // + this.mailPreviewAllToolStripMenuItem.Name = "mailPreviewAllToolStripMenuItem"; + this.mailPreviewAllToolStripMenuItem.Size = new System.Drawing.Size(181, 22); + this.mailPreviewAllToolStripMenuItem.Text = "Mail(Preview_All)"; + this.mailPreviewAllToolStripMenuItem.Click += new System.EventHandler(this.mailPreviewAllToolStripMenuItem_Click); + // + // toolStrip1 + // + this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.toolStripLabel1, + this.dtSD, + this.toolStripLabel4, + this.toolStripLabel2, + this.dtED, + this.btSearch}); + this.toolStrip1.Location = new System.Drawing.Point(0, 0); + this.toolStrip1.Name = "toolStrip1"; + this.toolStrip1.Size = new System.Drawing.Size(1046, 25); + this.toolStrip1.TabIndex = 4; + this.toolStrip1.Text = "toolStrip1"; + // + // toolStripLabel1 + // + this.toolStripLabel1.Name = "toolStripLabel1"; + this.toolStripLabel1.Size = new System.Drawing.Size(32, 22); + this.toolStripLabel1.Text = "Start"; + // + // dtSD + // + this.dtSD.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.dtSD.Name = "dtSD"; + this.dtSD.Size = new System.Drawing.Size(100, 25); + // + // toolStripLabel4 + // + this.toolStripLabel4.Name = "toolStripLabel4"; + this.toolStripLabel4.Size = new System.Drawing.Size(15, 22); + this.toolStripLabel4.Text = "~"; + // + // toolStripLabel2 + // + this.toolStripLabel2.Name = "toolStripLabel2"; + this.toolStripLabel2.Size = new System.Drawing.Size(27, 22); + this.toolStripLabel2.Text = "End"; + // + // dtED + // + this.dtED.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.dtED.Name = "dtED"; + this.dtED.Size = new System.Drawing.Size(100, 25); + // + // 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); + // + // label1 + // + this.label1.BackColor = System.Drawing.Color.DeepSkyBlue; + 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, 530); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(1046, 20); + this.label1.TabIndex = 5; + this.label1.Text = "-- URL --"; + this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.label1.Click += new System.EventHandler(this.label1_Click); + // + // panel1 + // + this.panel1.Controls.Add(this.label7); + this.panel1.Controls.Add(this.label6); + this.panel1.Controls.Add(this.label5); + this.panel1.Controls.Add(this.label4); + 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(874, 25); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(172, 505); + this.panel1.TabIndex = 7; + // + // label7 + // + this.label7.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "bcclist", true)); + 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, 205); + this.label7.TabIndex = 5; + this.label7.Text = "--"; + this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // label6 + // + this.label6.BackColor = System.Drawing.Color.Gray; + this.label6.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.label6.Dock = System.Windows.Forms.DockStyle.Top; + this.label6.ForeColor = System.Drawing.Color.White; + this.label6.Location = new System.Drawing.Point(0, 270); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(172, 30); + this.label6.TabIndex = 4; + this.label6.Text = "BCC List"; + this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label5 + // + this.label5.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "cclist", true)); + this.label5.Dock = System.Windows.Forms.DockStyle.Top; + this.label5.Location = new System.Drawing.Point(0, 165); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(172, 105); + this.label5.TabIndex = 3; + this.label5.Text = "--"; + this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // label4 + // + this.label4.BackColor = System.Drawing.Color.Gray; + this.label4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.label4.Dock = System.Windows.Forms.DockStyle.Top; + this.label4.ForeColor = System.Drawing.Color.White; + this.label4.Location = new System.Drawing.Point(0, 135); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(172, 30); + this.label4.TabIndex = 2; + this.label4.Text = "CC List"; + this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label3 + // + this.label3.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "tolist", true)); + this.label3.Dock = System.Windows.Forms.DockStyle.Top; + this.label3.Location = new System.Drawing.Point(0, 30); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(172, 105); + this.label3.TabIndex = 1; + this.label3.Text = "--"; + this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // label2 + // + this.label2.BackColor = System.Drawing.Color.Gray; + this.label2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.label2.Dock = System.Windows.Forms.DockStyle.Top; + this.label2.ForeColor = System.Drawing.Color.White; + this.label2.Location = new System.Drawing.Point(0, 0); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(172, 30); + this.label2.TabIndex = 0; + this.label2.Text = "TO List"; + this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // 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; + this.tam.MailFormTableAdapter = null; + this.tam.ProjectsTableAdapter = null; + this.tam.RequestItemTableAdapter = this.ta; + this.tam.UpdateOrder = FCM0000.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; + // + // ta + // + this.ta.ClearBeforeFill = true; + // + // fRequestItem + // + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(1046, 575); + this.Controls.Add(this.dv1); + this.Controls.Add(this.panel1); + this.Controls.Add(this.label1); + this.Controls.Add(this.toolStrip1); + this.Controls.Add(this.bn); + this.Name = "fRequestItem"; + this.Text = "Item Request"; + this.Load += new System.EventHandler(this.fRequestItem_Load); + ((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); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private dsMSSQL dsMSSQL; + private System.Windows.Forms.BindingSource bs; + private dsMSSQLTableAdapters.TableAdapterManager tam; + private System.Windows.Forms.BindingNavigator bn; + private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem; + private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem; + private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem; + private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem; + private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem; + private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator; + private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem; + private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1; + private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem; + private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem; + private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2; + private System.Windows.Forms.ToolStripButton boardBindingNavigatorSaveItem; + private System.Windows.Forms.DataGridView dv1; + private System.Windows.Forms.ToolStrip toolStrip1; + private System.Windows.Forms.ToolStripLabel toolStripLabel1; + private System.Windows.Forms.ToolStripTextBox dtSD; + private System.Windows.Forms.ToolStripLabel toolStripLabel4; + private System.Windows.Forms.ToolStripLabel toolStripLabel2; + private System.Windows.Forms.ToolStripTextBox dtED; + private System.Windows.Forms.ToolStripButton btSearch; + private dsMSSQLTableAdapters.RequestItemTableAdapter ta; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.ContextMenuStrip cm; + private System.Windows.Forms.ToolStripMenuItem mailPreviewToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1; + private System.Windows.Forms.ToolStripMenuItem autoResizeColumnsToolStripMenuItem; + private System.Windows.Forms.Panel panel1; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.Label label4; + private System.Windows.Forms.Label label6; + private System.Windows.Forms.Label label5; + private System.Windows.Forms.Label label7; + private System.Windows.Forms.ToolStripMenuItem mailPreviewAllToolStripMenuItem; + private System.Windows.Forms.DataGridViewTextBoxColumn pdateDataGridViewTextBoxColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn titleDataGridViewTextBoxColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn model; + private System.Windows.Forms.DataGridViewTextBoxColumn sidDataGridViewTextBoxColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn qtyDataGridViewTextBoxColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn project; + private System.Windows.Forms.DataGridViewCheckBoxColumn bMail; + private System.Windows.Forms.DataGridViewTextBoxColumn memo; + } } \ No newline at end of file diff --git a/SubProject/FCM0000/Board/fRequestItem.resx b/SubProject/FCM0000/Board/fRequestItem.resx index 48f2e30..b8669eb 100644 --- a/SubProject/FCM0000/Board/fRequestItem.resx +++ b/SubProject/FCM0000/Board/fRequestItem.resx @@ -1,239 +1,239 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 259, 17 - - - 122, 17 - - - 17, 17 - - - - - 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= - - - - - 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= - - - - - 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 - - - - - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78 - n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI - N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f - oAc0QjgAAAAASUVORK5CYII= - - - - - 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== - - - - - 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== - - - - - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo - dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII= - - - - 17, 17 - - - True - - - True - - - True - - - True - - - 493, 17 - - - 325, 17 - - - - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAE4SURBVDhPtZPPasJAEMbzPn0FwWA92JtP4NGKB1/DP7ei - QSsovkChh7ZBrCfpyR4sikopUgq9StFzM/UbZ5asSS4FfzAkO7vft5udiZMEnSBpk5dhFJmncjdHxXaG - A+9K4SbFT1luEwQBbXavVO5d0nI3ovnW5yeiMriiu+kt5asXbABEdgRigAUQDr+aHLU3lxoLl/yPJhvF - GsiYJ/vPdX5qPK3bVJ25VFukafztGQNsKHJ791I3w+8KcpNth8XDz5YxACI/gsR1J8sTYcO4UIzwv1gG - cTshgJ5IT8hChTMHsHi+v+fvffmxywVwN2FDkdsGEOK2ceu4feQ0tDqKyKMGqDfqjvprLzyswuX7Tf4E - dBo6zn/3OB7XHovRyuhQ6+hhYKA9DpL+A1keRebNAhkaJH0OHOcP031C4EjYr6wAAAAASUVORK5CYII= - - - - 186, 17 - - - 431, 17 - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 259, 17 + + + 122, 17 + + + 17, 17 + + + + + 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= + + + + + 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= + + + + + 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 + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78 + n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI + N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f + oAc0QjgAAAAASUVORK5CYII= + + + + + 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== + + + + + 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== + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo + dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII= + + + + 17, 17 + + + True + + + True + + + True + + + True + + + 493, 17 + + + 325, 17 + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAE4SURBVDhPtZPPasJAEMbzPn0FwWA92JtP4NGKB1/DP7ei + QSsovkChh7ZBrCfpyR4sikopUgq9StFzM/UbZ5asSS4FfzAkO7vft5udiZMEnSBpk5dhFJmncjdHxXaG + A+9K4SbFT1luEwQBbXavVO5d0nI3ovnW5yeiMriiu+kt5asXbABEdgRigAUQDr+aHLU3lxoLl/yPJhvF + GsiYJ/vPdX5qPK3bVJ25VFukafztGQNsKHJ791I3w+8KcpNth8XDz5YxACI/gsR1J8sTYcO4UIzwv1gG + cTshgJ5IT8hChTMHsHi+v+fvffmxywVwN2FDkdsGEOK2ceu4feQ0tDqKyKMGqDfqjvprLzyswuX7Tf4E + dBo6zn/3OB7XHovRyuhQ6+hhYKA9DpL+A1keRebNAhkaJH0OHOcP031C4EjYr6wAAAAASUVORK5CYII= + + + + 186, 17 + + + 431, 17 + \ No newline at end of file diff --git a/SubProject/FCM0000/Board/fRequestItem_Add.Designer.cs b/SubProject/FCM0000/Board/fRequestItem_Add.Designer.cs index 99ab7e3..210a213 100644 --- a/SubProject/FCM0000/Board/fRequestItem_Add.Designer.cs +++ b/SubProject/FCM0000/Board/fRequestItem_Add.Designer.cs @@ -1,471 +1,471 @@ -namespace FCM0000 -{ - partial class fRequestItem_Add - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - this.components = new System.ComponentModel.Container(); - System.Windows.Forms.Label pdateLabel; - System.Windows.Forms.Label tolistLabel; - System.Windows.Forms.Label cclistLabel; - System.Windows.Forms.Label bcclistLabel; - System.Windows.Forms.Label titleLabel; - System.Windows.Forms.Label remarkLabel; - System.Windows.Forms.Label label1; - System.Windows.Forms.Label label2; - System.Windows.Forms.Label label3; - System.Windows.Forms.Label label4; - System.Windows.Forms.Label label5; - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fRequestItem_Add)); - System.Windows.Forms.Label label6; - this.dsMSSQL = new FCM0000.dsMSSQL(); - this.bs = new System.Windows.Forms.BindingSource(this.components); - this.ta = new FCM0000.dsMSSQLTableAdapters.RequestItemTableAdapter(); - this.tam = new FCM0000.dsMSSQLTableAdapters.TableAdapterManager(); - this.tbItem = new System.Windows.Forms.TextBox(); - this.btPDate = new System.Windows.Forms.DateTimePicker(); - this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); - this.lbTo = new System.Windows.Forms.Label(); - this.lbCC = new System.Windows.Forms.Label(); - this.lbBCC = new System.Windows.Forms.Label(); - this.tbRemark = new YARTE.UI.HtmlEditor(); - this.tbQty = new System.Windows.Forms.TextBox(); - this.tbSID = new System.Windows.Forms.TextBox(); - this.tbURL = new System.Windows.Forms.TextBox(); - this.cmProject = new System.Windows.Forms.ComboBox(); - this.btOK = new System.Windows.Forms.Button(); - this.tbModel = new System.Windows.Forms.TextBox(); - this.textBox1 = new System.Windows.Forms.TextBox(); - pdateLabel = new System.Windows.Forms.Label(); - tolistLabel = new System.Windows.Forms.Label(); - cclistLabel = new System.Windows.Forms.Label(); - bcclistLabel = new System.Windows.Forms.Label(); - titleLabel = new System.Windows.Forms.Label(); - remarkLabel = new System.Windows.Forms.Label(); - label1 = new System.Windows.Forms.Label(); - label2 = new System.Windows.Forms.Label(); - label3 = new System.Windows.Forms.Label(); - label4 = new System.Windows.Forms.Label(); - label5 = new System.Windows.Forms.Label(); - label6 = new System.Windows.Forms.Label(); - ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); - this.tableLayoutPanel1.SuspendLayout(); - this.SuspendLayout(); - // - // pdateLabel - // - pdateLabel.AutoSize = true; - pdateLabel.Dock = System.Windows.Forms.DockStyle.Fill; - pdateLabel.Location = new System.Drawing.Point(5, 2); - pdateLabel.Name = "pdateLabel"; - pdateLabel.Size = new System.Drawing.Size(248, 23); - pdateLabel.TabIndex = 4; - pdateLabel.Text = "등록일자"; - pdateLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - // - // tolistLabel - // - tolistLabel.AutoSize = true; - tolistLabel.Dock = System.Windows.Forms.DockStyle.Fill; - tolistLabel.Location = new System.Drawing.Point(5, 53); - tolistLabel.Name = "tolistLabel"; - tolistLabel.Size = new System.Drawing.Size(248, 25); - tolistLabel.TabIndex = 6; - tolistLabel.Text = "To"; - tolistLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - // - // cclistLabel - // - cclistLabel.AutoSize = true; - cclistLabel.Dock = System.Windows.Forms.DockStyle.Fill; - cclistLabel.Location = new System.Drawing.Point(5, 131); - cclistLabel.Name = "cclistLabel"; - cclistLabel.Size = new System.Drawing.Size(248, 20); - cclistLabel.TabIndex = 8; - cclistLabel.Text = "CC"; - cclistLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - // - // bcclistLabel - // - bcclistLabel.AutoSize = true; - bcclistLabel.Dock = System.Windows.Forms.DockStyle.Fill; - bcclistLabel.Location = new System.Drawing.Point(5, 204); - bcclistLabel.Name = "bcclistLabel"; - bcclistLabel.Size = new System.Drawing.Size(248, 20); - bcclistLabel.TabIndex = 10; - bcclistLabel.Text = "BCC"; - bcclistLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - // - // titleLabel - // - titleLabel.AutoSize = true; - titleLabel.Location = new System.Drawing.Point(292, 14); - titleLabel.Name = "titleLabel"; - titleLabel.Size = new System.Drawing.Size(29, 12); - titleLabel.TabIndex = 1; - titleLabel.Text = "Item"; - titleLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // remarkLabel - // - remarkLabel.AutoSize = true; - remarkLabel.Location = new System.Drawing.Point(266, 113); - remarkLabel.Name = "remarkLabel"; - remarkLabel.Size = new System.Drawing.Size(55, 12); - remarkLabel.TabIndex = 13; - remarkLabel.Text = "Contents"; - remarkLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - remarkLabel.Click += new System.EventHandler(this.remarkLabel_Click); - // - // label1 - // - label1.AutoSize = true; - label1.Location = new System.Drawing.Point(493, 65); - label1.Name = "label1"; - label1.Size = new System.Drawing.Size(24, 12); - label1.TabIndex = 7; - label1.Text = "Qty"; - label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label2 - // - label2.AutoSize = true; - label2.Location = new System.Drawing.Point(585, 65); - label2.Name = "label2"; - label2.Size = new System.Drawing.Size(24, 12); - label2.TabIndex = 9; - label2.Text = "SID"; - label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label3 - // - label3.AutoSize = true; - label3.Location = new System.Drawing.Point(293, 91); - label3.Name = "label3"; - label3.Size = new System.Drawing.Size(28, 12); - label3.TabIndex = 11; - label3.Text = "URL"; - label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label4 - // - label4.AutoSize = true; - label4.Location = new System.Drawing.Point(277, 40); - label4.Name = "label4"; - label4.Size = new System.Drawing.Size(44, 12); - label4.TabIndex = 3; - label4.Text = "Project"; - label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label5 - // - label5.AutoSize = true; - label5.Location = new System.Drawing.Point(281, 65); - label5.Name = "label5"; - label5.Size = new System.Drawing.Size(40, 12); - label5.TabIndex = 5; - label5.Text = "Model"; - label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // dsMSSQL - // - this.dsMSSQL.DataSetName = "dsMSSQL"; - this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; - // - // bs - // - this.bs.DataMember = "RequestItem"; - this.bs.DataSource = this.dsMSSQL; - // - // ta - // - this.ta.ClearBeforeFill = true; - // - // tam - // - this.tam.BackupDataSetBeforeUpdate = false; - this.tam.BoardTableAdapter = null; - this.tam.CommonTableAdapter = null; - this.tam.InventoryTableAdapter = null; - this.tam.ItemsTableAdapter = null; - this.tam.MailDataTableAdapter = null; - this.tam.MailFormTableAdapter = null; - this.tam.ProjectsTableAdapter = null; - this.tam.RequestItemTableAdapter = this.ta; - this.tam.UpdateOrder = FCM0000.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; - // - // tbItem - // - this.tbItem.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "title", true)); - this.tbItem.Location = new System.Drawing.Point(329, 10); - this.tbItem.Name = "tbItem"; - this.tbItem.Size = new System.Drawing.Size(401, 21); - this.tbItem.TabIndex = 2; - // - // btPDate - // - this.btPDate.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.bs, "pdate", true)); - this.btPDate.Dock = System.Windows.Forms.DockStyle.Fill; - this.btPDate.Location = new System.Drawing.Point(2, 25); - this.btPDate.Margin = new System.Windows.Forms.Padding(0); - this.btPDate.Name = "btPDate"; - this.btPDate.Size = new System.Drawing.Size(254, 21); - this.btPDate.TabIndex = 26; - // - // tableLayoutPanel1 - // - this.tableLayoutPanel1.ColumnCount = 1; - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 254F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F)); - this.tableLayoutPanel1.Controls.Add(pdateLabel, 0, 0); - this.tableLayoutPanel1.Controls.Add(tolistLabel, 0, 2); - this.tableLayoutPanel1.Controls.Add(bcclistLabel, 0, 6); - this.tableLayoutPanel1.Controls.Add(this.btPDate, 0, 1); - this.tableLayoutPanel1.Controls.Add(cclistLabel, 0, 4); - this.tableLayoutPanel1.Controls.Add(this.lbTo, 0, 3); - this.tableLayoutPanel1.Controls.Add(this.lbCC, 0, 5); - this.tableLayoutPanel1.Controls.Add(this.lbBCC, 0, 7); - this.tableLayoutPanel1.Location = new System.Drawing.Point(5, 5); - this.tableLayoutPanel1.Name = "tableLayoutPanel1"; - this.tableLayoutPanel1.Padding = new System.Windows.Forms.Padding(2); - this.tableLayoutPanel1.RowCount = 8; - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 23F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 28F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.32999F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.33001F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.34F)); - this.tableLayoutPanel1.Size = new System.Drawing.Size(258, 281); - this.tableLayoutPanel1.TabIndex = 0; - // - // lbTo - // - this.lbTo.AutoSize = true; - this.lbTo.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.lbTo.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "tolist", true)); - this.lbTo.Dock = System.Windows.Forms.DockStyle.Fill; - this.lbTo.Location = new System.Drawing.Point(2, 78); - this.lbTo.Margin = new System.Windows.Forms.Padding(0); - this.lbTo.Name = "lbTo"; - this.lbTo.Size = new System.Drawing.Size(254, 53); - this.lbTo.TabIndex = 30; - this.lbTo.Text = "--"; - this.lbTo.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // lbCC - // - this.lbCC.AutoSize = true; - this.lbCC.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.lbCC.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "cclist", true)); - this.lbCC.Dock = System.Windows.Forms.DockStyle.Fill; - this.lbCC.Location = new System.Drawing.Point(2, 151); - this.lbCC.Margin = new System.Windows.Forms.Padding(0); - this.lbCC.Name = "lbCC"; - this.lbCC.Size = new System.Drawing.Size(254, 53); - this.lbCC.TabIndex = 30; - this.lbCC.Text = "--"; - this.lbCC.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // lbBCC - // - this.lbBCC.AutoSize = true; - this.lbBCC.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.lbBCC.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "bcclist", true)); - this.lbBCC.Dock = System.Windows.Forms.DockStyle.Fill; - this.lbBCC.Location = new System.Drawing.Point(2, 224); - this.lbBCC.Margin = new System.Windows.Forms.Padding(0); - this.lbBCC.Name = "lbBCC"; - this.lbBCC.Size = new System.Drawing.Size(254, 55); - this.lbBCC.TabIndex = 30; - this.lbBCC.Text = "--"; - this.lbBCC.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // tbRemark - // - this.tbRemark.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.tbRemark.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.tbRemark.Html = resources.GetString("tbRemark.Html"); - this.tbRemark.Location = new System.Drawing.Point(329, 113); - this.tbRemark.Margin = new System.Windows.Forms.Padding(0); - this.tbRemark.Name = "tbRemark"; - this.tbRemark.ReadOnly = false; - this.tbRemark.ShowToolbar = true; - this.tbRemark.Size = new System.Drawing.Size(403, 427); - this.tbRemark.TabIndex = 14; - // - // tbQty - // - this.tbQty.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "qty", true)); - this.tbQty.Location = new System.Drawing.Point(522, 61); - this.tbQty.Margin = new System.Windows.Forms.Padding(0); - this.tbQty.Name = "tbQty"; - this.tbQty.Size = new System.Drawing.Size(58, 21); - this.tbQty.TabIndex = 8; - this.tbQty.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; - // - // tbSID - // - this.tbSID.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "sid", true)); - this.tbSID.Location = new System.Drawing.Point(615, 61); - this.tbSID.Margin = new System.Windows.Forms.Padding(0); - this.tbSID.Name = "tbSID"; - this.tbSID.Size = new System.Drawing.Size(115, 21); - this.tbSID.TabIndex = 10; - this.tbSID.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; - // - // tbURL - // - this.tbURL.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "url", true)); - this.tbURL.Location = new System.Drawing.Point(329, 87); - this.tbURL.Margin = new System.Windows.Forms.Padding(0); - this.tbURL.Name = "tbURL"; - this.tbURL.Size = new System.Drawing.Size(401, 21); - this.tbURL.TabIndex = 12; - // - // cmProject - // - this.cmProject.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.bs, "project", true)); - this.cmProject.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmProject.FormattingEnabled = true; - this.cmProject.Location = new System.Drawing.Point(329, 36); - this.cmProject.Margin = new System.Windows.Forms.Padding(0); - this.cmProject.Name = "cmProject"; - this.cmProject.Size = new System.Drawing.Size(401, 20); - this.cmProject.TabIndex = 4; - // - // btOK - // - this.btOK.Dock = System.Windows.Forms.DockStyle.Bottom; - this.btOK.Location = new System.Drawing.Point(5, 569); - this.btOK.Name = "btOK"; - this.btOK.Size = new System.Drawing.Size(730, 33); - this.btOK.TabIndex = 29; - this.btOK.Text = "OK"; - this.btOK.UseVisualStyleBackColor = true; - this.btOK.Click += new System.EventHandler(this.button1_Click); - // - // tbModel - // - this.tbModel.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "model", true)); - this.tbModel.Location = new System.Drawing.Point(329, 61); - this.tbModel.Margin = new System.Windows.Forms.Padding(0); - this.tbModel.Name = "tbModel"; - this.tbModel.Size = new System.Drawing.Size(161, 21); - this.tbModel.TabIndex = 6; - this.tbModel.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; - // - // textBox1 - // - this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.textBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "memo", true)); - this.textBox1.Location = new System.Drawing.Point(329, 545); - this.textBox1.Margin = new System.Windows.Forms.Padding(0); - this.textBox1.Name = "textBox1"; - this.textBox1.Size = new System.Drawing.Size(403, 21); - this.textBox1.TabIndex = 31; - // - // label6 - // - label6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - label6.AutoSize = true; - label6.Location = new System.Drawing.Point(282, 550); - label6.Name = "label6"; - label6.Size = new System.Drawing.Size(41, 12); - label6.TabIndex = 30; - label6.Text = "Memo"; - label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // fRequestItem_Add - // - this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(740, 607); - this.Controls.Add(this.textBox1); - this.Controls.Add(label6); - this.Controls.Add(label5); - this.Controls.Add(this.tbModel); - this.Controls.Add(this.tableLayoutPanel1); - this.Controls.Add(this.tbItem); - this.Controls.Add(this.btOK); - this.Controls.Add(titleLabel); - this.Controls.Add(label4); - this.Controls.Add(this.cmProject); - this.Controls.Add(label1); - this.Controls.Add(this.tbQty); - this.Controls.Add(this.tbRemark); - this.Controls.Add(remarkLabel); - this.Controls.Add(label2); - this.Controls.Add(this.tbSID); - this.Controls.Add(this.tbURL); - this.Controls.Add(label3); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; - this.MaximizeBox = false; - this.MinimizeBox = false; - this.Name = "fRequestItem_Add"; - this.Padding = new System.Windows.Forms.Padding(5); - this.Text = "fRequestItem_Add"; - this.Load += new System.EventHandler(this.@__Load); - ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); - this.tableLayoutPanel1.ResumeLayout(false); - this.tableLayoutPanel1.PerformLayout(); - this.ResumeLayout(false); - this.PerformLayout(); - - } - - #endregion - - private dsMSSQL dsMSSQL; - private System.Windows.Forms.BindingSource bs; - private dsMSSQLTableAdapters.RequestItemTableAdapter ta; - private dsMSSQLTableAdapters.TableAdapterManager tam; - public System.Windows.Forms.TextBox tbItem; - public System.Windows.Forms.DateTimePicker btPDate; - private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; - private YARTE.UI.HtmlEditor tbRemark; - private System.Windows.Forms.Button btOK; - private System.Windows.Forms.Label lbTo; - private System.Windows.Forms.Label lbCC; - private System.Windows.Forms.Label lbBCC; - public System.Windows.Forms.TextBox tbQty; - public System.Windows.Forms.TextBox tbSID; - private System.Windows.Forms.TextBox tbURL; - private System.Windows.Forms.ComboBox cmProject; - public System.Windows.Forms.TextBox tbModel; - private System.Windows.Forms.TextBox textBox1; - } +namespace FCM0000 +{ + partial class fRequestItem_Add + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + System.Windows.Forms.Label pdateLabel; + System.Windows.Forms.Label tolistLabel; + System.Windows.Forms.Label cclistLabel; + System.Windows.Forms.Label bcclistLabel; + System.Windows.Forms.Label titleLabel; + System.Windows.Forms.Label remarkLabel; + System.Windows.Forms.Label label1; + System.Windows.Forms.Label label2; + System.Windows.Forms.Label label3; + System.Windows.Forms.Label label4; + System.Windows.Forms.Label label5; + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fRequestItem_Add)); + System.Windows.Forms.Label label6; + this.dsMSSQL = new FCM0000.dsMSSQL(); + this.bs = new System.Windows.Forms.BindingSource(this.components); + this.ta = new FCM0000.dsMSSQLTableAdapters.RequestItemTableAdapter(); + this.tam = new FCM0000.dsMSSQLTableAdapters.TableAdapterManager(); + this.tbItem = new System.Windows.Forms.TextBox(); + this.btPDate = new System.Windows.Forms.DateTimePicker(); + this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); + this.lbTo = new System.Windows.Forms.Label(); + this.lbCC = new System.Windows.Forms.Label(); + this.lbBCC = new System.Windows.Forms.Label(); + this.tbRemark = new YARTE.UI.HtmlEditor(); + this.tbQty = new System.Windows.Forms.TextBox(); + this.tbSID = new System.Windows.Forms.TextBox(); + this.tbURL = new System.Windows.Forms.TextBox(); + this.cmProject = new System.Windows.Forms.ComboBox(); + this.btOK = new System.Windows.Forms.Button(); + this.tbModel = new System.Windows.Forms.TextBox(); + this.textBox1 = new System.Windows.Forms.TextBox(); + pdateLabel = new System.Windows.Forms.Label(); + tolistLabel = new System.Windows.Forms.Label(); + cclistLabel = new System.Windows.Forms.Label(); + bcclistLabel = new System.Windows.Forms.Label(); + titleLabel = new System.Windows.Forms.Label(); + remarkLabel = new System.Windows.Forms.Label(); + label1 = new System.Windows.Forms.Label(); + label2 = new System.Windows.Forms.Label(); + label3 = new System.Windows.Forms.Label(); + label4 = new System.Windows.Forms.Label(); + label5 = new System.Windows.Forms.Label(); + label6 = new System.Windows.Forms.Label(); + ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); + this.tableLayoutPanel1.SuspendLayout(); + this.SuspendLayout(); + // + // pdateLabel + // + pdateLabel.AutoSize = true; + pdateLabel.Dock = System.Windows.Forms.DockStyle.Fill; + pdateLabel.Location = new System.Drawing.Point(5, 2); + pdateLabel.Name = "pdateLabel"; + pdateLabel.Size = new System.Drawing.Size(248, 23); + pdateLabel.TabIndex = 4; + pdateLabel.Text = "등록일자"; + pdateLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // tolistLabel + // + tolistLabel.AutoSize = true; + tolistLabel.Dock = System.Windows.Forms.DockStyle.Fill; + tolistLabel.Location = new System.Drawing.Point(5, 53); + tolistLabel.Name = "tolistLabel"; + tolistLabel.Size = new System.Drawing.Size(248, 25); + tolistLabel.TabIndex = 6; + tolistLabel.Text = "To"; + tolistLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // cclistLabel + // + cclistLabel.AutoSize = true; + cclistLabel.Dock = System.Windows.Forms.DockStyle.Fill; + cclistLabel.Location = new System.Drawing.Point(5, 131); + cclistLabel.Name = "cclistLabel"; + cclistLabel.Size = new System.Drawing.Size(248, 20); + cclistLabel.TabIndex = 8; + cclistLabel.Text = "CC"; + cclistLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // bcclistLabel + // + bcclistLabel.AutoSize = true; + bcclistLabel.Dock = System.Windows.Forms.DockStyle.Fill; + bcclistLabel.Location = new System.Drawing.Point(5, 204); + bcclistLabel.Name = "bcclistLabel"; + bcclistLabel.Size = new System.Drawing.Size(248, 20); + bcclistLabel.TabIndex = 10; + bcclistLabel.Text = "BCC"; + bcclistLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // titleLabel + // + titleLabel.AutoSize = true; + titleLabel.Location = new System.Drawing.Point(292, 14); + titleLabel.Name = "titleLabel"; + titleLabel.Size = new System.Drawing.Size(29, 12); + titleLabel.TabIndex = 1; + titleLabel.Text = "Item"; + titleLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // remarkLabel + // + remarkLabel.AutoSize = true; + remarkLabel.Location = new System.Drawing.Point(266, 113); + remarkLabel.Name = "remarkLabel"; + remarkLabel.Size = new System.Drawing.Size(55, 12); + remarkLabel.TabIndex = 13; + remarkLabel.Text = "Contents"; + remarkLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + remarkLabel.Click += new System.EventHandler(this.remarkLabel_Click); + // + // label1 + // + label1.AutoSize = true; + label1.Location = new System.Drawing.Point(493, 65); + label1.Name = "label1"; + label1.Size = new System.Drawing.Size(24, 12); + label1.TabIndex = 7; + label1.Text = "Qty"; + label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label2 + // + label2.AutoSize = true; + label2.Location = new System.Drawing.Point(585, 65); + label2.Name = "label2"; + label2.Size = new System.Drawing.Size(24, 12); + label2.TabIndex = 9; + label2.Text = "SID"; + label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label3 + // + label3.AutoSize = true; + label3.Location = new System.Drawing.Point(293, 91); + label3.Name = "label3"; + label3.Size = new System.Drawing.Size(28, 12); + label3.TabIndex = 11; + label3.Text = "URL"; + label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label4 + // + label4.AutoSize = true; + label4.Location = new System.Drawing.Point(277, 40); + label4.Name = "label4"; + label4.Size = new System.Drawing.Size(44, 12); + label4.TabIndex = 3; + label4.Text = "Project"; + label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label5 + // + label5.AutoSize = true; + label5.Location = new System.Drawing.Point(281, 65); + label5.Name = "label5"; + label5.Size = new System.Drawing.Size(40, 12); + label5.TabIndex = 5; + label5.Text = "Model"; + label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // dsMSSQL + // + this.dsMSSQL.DataSetName = "dsMSSQL"; + this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; + // + // bs + // + this.bs.DataMember = "RequestItem"; + this.bs.DataSource = this.dsMSSQL; + // + // ta + // + this.ta.ClearBeforeFill = true; + // + // tam + // + this.tam.BackupDataSetBeforeUpdate = false; + this.tam.BoardTableAdapter = null; + this.tam.CommonTableAdapter = null; + this.tam.InventoryTableAdapter = null; + this.tam.ItemsTableAdapter = null; + this.tam.MailDataTableAdapter = null; + this.tam.MailFormTableAdapter = null; + this.tam.ProjectsTableAdapter = null; + this.tam.RequestItemTableAdapter = this.ta; + this.tam.UpdateOrder = FCM0000.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; + // + // tbItem + // + this.tbItem.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "title", true)); + this.tbItem.Location = new System.Drawing.Point(329, 10); + this.tbItem.Name = "tbItem"; + this.tbItem.Size = new System.Drawing.Size(401, 21); + this.tbItem.TabIndex = 2; + // + // btPDate + // + this.btPDate.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.bs, "pdate", true)); + this.btPDate.Dock = System.Windows.Forms.DockStyle.Fill; + this.btPDate.Location = new System.Drawing.Point(2, 25); + this.btPDate.Margin = new System.Windows.Forms.Padding(0); + this.btPDate.Name = "btPDate"; + this.btPDate.Size = new System.Drawing.Size(254, 21); + this.btPDate.TabIndex = 26; + // + // tableLayoutPanel1 + // + this.tableLayoutPanel1.ColumnCount = 1; + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 254F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F)); + this.tableLayoutPanel1.Controls.Add(pdateLabel, 0, 0); + this.tableLayoutPanel1.Controls.Add(tolistLabel, 0, 2); + this.tableLayoutPanel1.Controls.Add(bcclistLabel, 0, 6); + this.tableLayoutPanel1.Controls.Add(this.btPDate, 0, 1); + this.tableLayoutPanel1.Controls.Add(cclistLabel, 0, 4); + this.tableLayoutPanel1.Controls.Add(this.lbTo, 0, 3); + this.tableLayoutPanel1.Controls.Add(this.lbCC, 0, 5); + this.tableLayoutPanel1.Controls.Add(this.lbBCC, 0, 7); + this.tableLayoutPanel1.Location = new System.Drawing.Point(5, 5); + this.tableLayoutPanel1.Name = "tableLayoutPanel1"; + this.tableLayoutPanel1.Padding = new System.Windows.Forms.Padding(2); + this.tableLayoutPanel1.RowCount = 8; + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 23F)); + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 28F)); + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25F)); + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.32999F)); + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.33001F)); + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.34F)); + this.tableLayoutPanel1.Size = new System.Drawing.Size(258, 281); + this.tableLayoutPanel1.TabIndex = 0; + // + // lbTo + // + this.lbTo.AutoSize = true; + this.lbTo.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.lbTo.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "tolist", true)); + this.lbTo.Dock = System.Windows.Forms.DockStyle.Fill; + this.lbTo.Location = new System.Drawing.Point(2, 78); + this.lbTo.Margin = new System.Windows.Forms.Padding(0); + this.lbTo.Name = "lbTo"; + this.lbTo.Size = new System.Drawing.Size(254, 53); + this.lbTo.TabIndex = 30; + this.lbTo.Text = "--"; + this.lbTo.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // lbCC + // + this.lbCC.AutoSize = true; + this.lbCC.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.lbCC.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "cclist", true)); + this.lbCC.Dock = System.Windows.Forms.DockStyle.Fill; + this.lbCC.Location = new System.Drawing.Point(2, 151); + this.lbCC.Margin = new System.Windows.Forms.Padding(0); + this.lbCC.Name = "lbCC"; + this.lbCC.Size = new System.Drawing.Size(254, 53); + this.lbCC.TabIndex = 30; + this.lbCC.Text = "--"; + this.lbCC.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // lbBCC + // + this.lbBCC.AutoSize = true; + this.lbBCC.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.lbBCC.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "bcclist", true)); + this.lbBCC.Dock = System.Windows.Forms.DockStyle.Fill; + this.lbBCC.Location = new System.Drawing.Point(2, 224); + this.lbBCC.Margin = new System.Windows.Forms.Padding(0); + this.lbBCC.Name = "lbBCC"; + this.lbBCC.Size = new System.Drawing.Size(254, 55); + this.lbBCC.TabIndex = 30; + this.lbBCC.Text = "--"; + this.lbBCC.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // tbRemark + // + this.tbRemark.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.tbRemark.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.tbRemark.Html = resources.GetString("tbRemark.Html"); + this.tbRemark.Location = new System.Drawing.Point(329, 113); + this.tbRemark.Margin = new System.Windows.Forms.Padding(0); + this.tbRemark.Name = "tbRemark"; + this.tbRemark.ReadOnly = false; + this.tbRemark.ShowToolbar = true; + this.tbRemark.Size = new System.Drawing.Size(403, 427); + this.tbRemark.TabIndex = 14; + // + // tbQty + // + this.tbQty.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "qty", true)); + this.tbQty.Location = new System.Drawing.Point(522, 61); + this.tbQty.Margin = new System.Windows.Forms.Padding(0); + this.tbQty.Name = "tbQty"; + this.tbQty.Size = new System.Drawing.Size(58, 21); + this.tbQty.TabIndex = 8; + this.tbQty.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // tbSID + // + this.tbSID.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "sid", true)); + this.tbSID.Location = new System.Drawing.Point(615, 61); + this.tbSID.Margin = new System.Windows.Forms.Padding(0); + this.tbSID.Name = "tbSID"; + this.tbSID.Size = new System.Drawing.Size(115, 21); + this.tbSID.TabIndex = 10; + this.tbSID.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // tbURL + // + this.tbURL.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "url", true)); + this.tbURL.Location = new System.Drawing.Point(329, 87); + this.tbURL.Margin = new System.Windows.Forms.Padding(0); + this.tbURL.Name = "tbURL"; + this.tbURL.Size = new System.Drawing.Size(401, 21); + this.tbURL.TabIndex = 12; + // + // cmProject + // + this.cmProject.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.bs, "project", true)); + this.cmProject.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cmProject.FormattingEnabled = true; + this.cmProject.Location = new System.Drawing.Point(329, 36); + this.cmProject.Margin = new System.Windows.Forms.Padding(0); + this.cmProject.Name = "cmProject"; + this.cmProject.Size = new System.Drawing.Size(401, 20); + this.cmProject.TabIndex = 4; + // + // btOK + // + this.btOK.Dock = System.Windows.Forms.DockStyle.Bottom; + this.btOK.Location = new System.Drawing.Point(5, 569); + this.btOK.Name = "btOK"; + this.btOK.Size = new System.Drawing.Size(730, 33); + this.btOK.TabIndex = 29; + this.btOK.Text = "OK"; + this.btOK.UseVisualStyleBackColor = true; + this.btOK.Click += new System.EventHandler(this.button1_Click); + // + // tbModel + // + this.tbModel.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "model", true)); + this.tbModel.Location = new System.Drawing.Point(329, 61); + this.tbModel.Margin = new System.Windows.Forms.Padding(0); + this.tbModel.Name = "tbModel"; + this.tbModel.Size = new System.Drawing.Size(161, 21); + this.tbModel.TabIndex = 6; + this.tbModel.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // textBox1 + // + this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.textBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "memo", true)); + this.textBox1.Location = new System.Drawing.Point(329, 545); + this.textBox1.Margin = new System.Windows.Forms.Padding(0); + this.textBox1.Name = "textBox1"; + this.textBox1.Size = new System.Drawing.Size(403, 21); + this.textBox1.TabIndex = 31; + // + // label6 + // + label6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + label6.AutoSize = true; + label6.Location = new System.Drawing.Point(282, 550); + label6.Name = "label6"; + label6.Size = new System.Drawing.Size(41, 12); + label6.TabIndex = 30; + label6.Text = "Memo"; + label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // fRequestItem_Add + // + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(740, 607); + this.Controls.Add(this.textBox1); + this.Controls.Add(label6); + this.Controls.Add(label5); + this.Controls.Add(this.tbModel); + this.Controls.Add(this.tableLayoutPanel1); + this.Controls.Add(this.tbItem); + this.Controls.Add(this.btOK); + this.Controls.Add(titleLabel); + this.Controls.Add(label4); + this.Controls.Add(this.cmProject); + this.Controls.Add(label1); + this.Controls.Add(this.tbQty); + this.Controls.Add(this.tbRemark); + this.Controls.Add(remarkLabel); + this.Controls.Add(label2); + this.Controls.Add(this.tbSID); + this.Controls.Add(this.tbURL); + this.Controls.Add(label3); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; + this.MaximizeBox = false; + this.MinimizeBox = false; + this.Name = "fRequestItem_Add"; + this.Padding = new System.Windows.Forms.Padding(5); + this.Text = "fRequestItem_Add"; + this.Load += new System.EventHandler(this.@__Load); + ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); + this.tableLayoutPanel1.ResumeLayout(false); + this.tableLayoutPanel1.PerformLayout(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private dsMSSQL dsMSSQL; + private System.Windows.Forms.BindingSource bs; + private dsMSSQLTableAdapters.RequestItemTableAdapter ta; + private dsMSSQLTableAdapters.TableAdapterManager tam; + public System.Windows.Forms.TextBox tbItem; + public System.Windows.Forms.DateTimePicker btPDate; + private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; + private YARTE.UI.HtmlEditor tbRemark; + private System.Windows.Forms.Button btOK; + private System.Windows.Forms.Label lbTo; + private System.Windows.Forms.Label lbCC; + private System.Windows.Forms.Label lbBCC; + public System.Windows.Forms.TextBox tbQty; + public System.Windows.Forms.TextBox tbSID; + private System.Windows.Forms.TextBox tbURL; + private System.Windows.Forms.ComboBox cmProject; + public System.Windows.Forms.TextBox tbModel; + private System.Windows.Forms.TextBox textBox1; + } } \ No newline at end of file diff --git a/SubProject/FCM0000/Board/fRequestItem_Add.cs b/SubProject/FCM0000/Board/fRequestItem_Add.cs index 2b6f55b..b190c13 100644 --- a/SubProject/FCM0000/Board/fRequestItem_Add.cs +++ b/SubProject/FCM0000/Board/fRequestItem_Add.cs @@ -1,101 +1,101 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Data; -using System.Drawing; -using System.Linq; -using System.Text; -using System.Windows.Forms; -using YARTE.UI.Buttons; - -namespace FCM0000 -{ - public partial class fRequestItem_Add : FCOMMON.fBase - { - dsMSSQL.RequestItemRow dr = null; - public fRequestItem_Add(dsMSSQL.RequestItemRow dr_) - { - InitializeComponent(); - dr = dr_; - PredefinedButtonSets.SetupDefaultButtons(this.tbRemark); - } - - private void __Load(object sender, EventArgs e) - { - //프로젝트 리스트를 가져와서 cmb에 연결해준다. - var projectDT = FCOMMON.DBM.getProjectData(); - this.cmProject.DataSource = projectDT; - this.cmProject.DisplayMember = "KeyValue"; - this.cmProject.ValueMember = "Key"; - - - this.bs.DataSource = this.dr; - if (this.dr.RowState == DataRowState.Detached) - { - //자로에서 불러와서 그 값을 가져온다. - dsMSSQLTableAdapters.MailFormTableAdapter taMF = new dsMSSQLTableAdapters.MailFormTableAdapter(); - var data = taMF.GetbyCate("BY"); - if (data != null && data.Rows.Count > 0) - { - var drForm = data.Rows[0] as dsMSSQL.MailFormRow; - this.tbItem.Text = drForm.title; - this.tbRemark.Html = drForm.body; - - dr.tolist = drForm.tolist; - dr.bcclist = drForm.bcc; - dr.cclist = drForm.cc; - dr.EndEdit(); - } - } - - if (this.dr.RowState != DataRowState.Deleted) - { - lbBCC.Text = dr.bcclist; - lbCC.Text = dr.cclist; - lbTo.Text = dr.tolist; - tbRemark.Html = dr.remark; - } - } - - private void requestItemBindingNavigatorSaveItem_Click(object sender, EventArgs e) - { - this.Validate(); - this.bs.EndEdit(); - DialogResult = System.Windows.Forms.DialogResult.OK; - - } - - private void button1_Click(object sender, EventArgs e) - { - if (this.dr.cclist != lbCC.Text) - this.dr.cclist = lbCC.Text; - if (this.dr.tolist != lbTo.Text) - this.dr.tolist = lbTo.Text; - if (this.dr.bcclist != lbBCC.Text) - this.dr.bcclist = lbBCC.Text; - if (this.dr.remark != tbRemark.Html) - this.dr.remark = tbRemark.Html; - - this.Invalidate(); - this.bs.EndEdit(); - - DialogResult = System.Windows.Forms.DialogResult.OK; - } - - private void remarkLabel_Click(object sender, EventArgs e) - { - var dlg = FCOMMON.Util.MsgQ("메일 형식을 초기화 하시겠습니까?"); - if (dlg != System.Windows.Forms.DialogResult.Yes) return; - - //자로에서 불러와서 그 값을 가져온다. - dsMSSQLTableAdapters.MailFormTableAdapter taMF = new dsMSSQLTableAdapters.MailFormTableAdapter(); - var data = taMF.GetbyCate("BY"); - if (data != null && data.Rows.Count > 0) - { - var drForm = data.Rows[0] as dsMSSQL.MailFormRow; - this.tbRemark.Html = drForm.body; - } - } - - } -} +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Windows.Forms; +using YARTE.UI.Buttons; + +namespace FCM0000 +{ + public partial class fRequestItem_Add : FCOMMON.fBase + { + dsMSSQL.RequestItemRow dr = null; + public fRequestItem_Add(dsMSSQL.RequestItemRow dr_) + { + InitializeComponent(); + dr = dr_; + PredefinedButtonSets.SetupDefaultButtons(this.tbRemark); + } + + private void __Load(object sender, EventArgs e) + { + //프로젝트 리스트를 가져와서 cmb에 연결해준다. + var projectDT = FCOMMON.DBM.getProjectData(); + this.cmProject.DataSource = projectDT; + this.cmProject.DisplayMember = "KeyValue"; + this.cmProject.ValueMember = "Key"; + + + this.bs.DataSource = this.dr; + if (this.dr.RowState == DataRowState.Detached) + { + //자로에서 불러와서 그 값을 가져온다. + dsMSSQLTableAdapters.MailFormTableAdapter taMF = new dsMSSQLTableAdapters.MailFormTableAdapter(); + var data = taMF.GetbyCate("BY"); + if (data != null && data.Rows.Count > 0) + { + var drForm = data.Rows[0] as dsMSSQL.MailFormRow; + this.tbItem.Text = drForm.title; + this.tbRemark.Html = drForm.body; + + dr.tolist = drForm.tolist; + dr.bcclist = drForm.bcc; + dr.cclist = drForm.cc; + dr.EndEdit(); + } + } + + if (this.dr.RowState != DataRowState.Deleted) + { + lbBCC.Text = dr.bcclist; + lbCC.Text = dr.cclist; + lbTo.Text = dr.tolist; + tbRemark.Html = dr.remark; + } + } + + private void requestItemBindingNavigatorSaveItem_Click(object sender, EventArgs e) + { + this.Validate(); + this.bs.EndEdit(); + DialogResult = System.Windows.Forms.DialogResult.OK; + + } + + private void button1_Click(object sender, EventArgs e) + { + if (this.dr.cclist != lbCC.Text) + this.dr.cclist = lbCC.Text; + if (this.dr.tolist != lbTo.Text) + this.dr.tolist = lbTo.Text; + if (this.dr.bcclist != lbBCC.Text) + this.dr.bcclist = lbBCC.Text; + if (this.dr.remark != tbRemark.Html) + this.dr.remark = tbRemark.Html; + + this.Invalidate(); + this.bs.EndEdit(); + + DialogResult = System.Windows.Forms.DialogResult.OK; + } + + private void remarkLabel_Click(object sender, EventArgs e) + { + var dlg = FCOMMON.Util.MsgQ("메일 형식을 초기화 하시겠습니까?"); + if (dlg != System.Windows.Forms.DialogResult.Yes) return; + + //자로에서 불러와서 그 값을 가져온다. + dsMSSQLTableAdapters.MailFormTableAdapter taMF = new dsMSSQLTableAdapters.MailFormTableAdapter(); + var data = taMF.GetbyCate("BY"); + if (data != null && data.Rows.Count > 0) + { + var drForm = data.Rows[0] as dsMSSQL.MailFormRow; + this.tbRemark.Html = drForm.body; + } + } + + } +} diff --git a/SubProject/FCM0000/Board/fRequestItem_Add.resx b/SubProject/FCM0000/Board/fRequestItem_Add.resx index d1c4991..b8228c4 100644 --- a/SubProject/FCM0000/Board/fRequestItem_Add.resx +++ b/SubProject/FCM0000/Board/fRequestItem_Add.resx @@ -1,176 +1,176 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - False - - - False - - - False - - - False - - - False - - - False - - - False - - - False - - - False - - - False - - - False - - - 17, 17 - - - 122, 17 - - - 186, 17 - - - 248, 17 - - - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<HTML><HEAD> -<META content="text/html; charset=unicode" http-equiv=Content-Type> -<META name=GENERATOR content="MSHTML 11.00.10570.1001"></HEAD> -<BODY></BODY></HTML> - - - - False - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + 17, 17 + + + 122, 17 + + + 186, 17 + + + 248, 17 + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<HTML><HEAD> +<META content="text/html; charset=unicode" http-equiv=Content-Type> +<META name=GENERATOR content="MSHTML 11.00.10570.1001"></HEAD> +<BODY></BODY></HTML> + + + + False + \ No newline at end of file diff --git a/SubProject/FCM0000/Board/fSendMail.Designer.cs b/SubProject/FCM0000/Board/fSendMail.Designer.cs index 0672e13..d3f2627 100644 --- a/SubProject/FCM0000/Board/fSendMail.Designer.cs +++ b/SubProject/FCM0000/Board/fSendMail.Designer.cs @@ -1,289 +1,289 @@ -namespace FCM0000 -{ - partial class fSendMail - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - this.components = new System.ComponentModel.Container(); - System.Windows.Forms.Label tolistLabel; - System.Windows.Forms.Label bccLabel; - System.Windows.Forms.Label ccLabel; - System.Windows.Forms.Label subjectLabel; - System.Windows.Forms.Label bodyLabel; - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fSendMail)); - this.bn = new System.Windows.Forms.BindingNavigator(this.components); - this.bs = new System.Windows.Forms.BindingSource(this.components); - this.dsMSSQL = new FCM0000.dsMSSQL(); - this.mailFormBindingNavigatorSaveItem = new System.Windows.Forms.ToolStripButton(); - this.panel1 = new System.Windows.Forms.Panel(); - this.tbBody = new YARTE.UI.HtmlEditor(); - this.tbTo = new System.Windows.Forms.TextBox(); - this.tbBCC = new System.Windows.Forms.TextBox(); - this.tbCC = new System.Windows.Forms.TextBox(); - this.tbSubject = new System.Windows.Forms.TextBox(); - this.tam = new FCM0000.dsMSSQLTableAdapters.TableAdapterManager(); - this.ta = new FCM0000.dsMSSQLTableAdapters.MailDataTableAdapter(); - this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); - tolistLabel = new System.Windows.Forms.Label(); - bccLabel = new System.Windows.Forms.Label(); - ccLabel = new System.Windows.Forms.Label(); - subjectLabel = new System.Windows.Forms.Label(); - bodyLabel = new System.Windows.Forms.Label(); - ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); - this.bn.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit(); - this.panel1.SuspendLayout(); - this.SuspendLayout(); - // - // tolistLabel - // - tolistLabel.AutoSize = true; - tolistLabel.Location = new System.Drawing.Point(30, 15); - tolistLabel.Name = "tolistLabel"; - tolistLabel.Size = new System.Drawing.Size(35, 12); - tolistLabel.TabIndex = 0; - tolistLabel.Text = "tolist:"; - // - // bccLabel - // - bccLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - bccLabel.AutoSize = true; - bccLabel.Location = new System.Drawing.Point(35, 481); - bccLabel.Name = "bccLabel"; - bccLabel.Size = new System.Drawing.Size(30, 12); - bccLabel.TabIndex = 8; - bccLabel.Text = "bcc:"; - // - // ccLabel - // - ccLabel.AutoSize = true; - ccLabel.Location = new System.Drawing.Point(42, 43); - ccLabel.Name = "ccLabel"; - ccLabel.Size = new System.Drawing.Size(23, 12); - ccLabel.TabIndex = 2; - ccLabel.Text = "cc:"; - // - // subjectLabel - // - subjectLabel.AutoSize = true; - subjectLabel.Location = new System.Drawing.Point(15, 71); - subjectLabel.Name = "subjectLabel"; - subjectLabel.Size = new System.Drawing.Size(50, 12); - subjectLabel.TabIndex = 4; - subjectLabel.Text = "subject:"; - // - // bodyLabel - // - bodyLabel.AutoSize = true; - bodyLabel.Location = new System.Drawing.Point(28, 97); - bodyLabel.Name = "bodyLabel"; - bodyLabel.Size = new System.Drawing.Size(37, 12); - bodyLabel.TabIndex = 6; - bodyLabel.Text = "body:"; - // - // bn - // - this.bn.AddNewItem = null; - this.bn.BindingSource = this.bs; - this.bn.CountItem = null; - this.bn.DeleteItem = null; - this.bn.Dock = System.Windows.Forms.DockStyle.Bottom; - this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.mailFormBindingNavigatorSaveItem, - this.toolStripButton1}); - this.bn.Location = new System.Drawing.Point(0, 512); - this.bn.MoveFirstItem = null; - this.bn.MoveLastItem = null; - this.bn.MoveNextItem = null; - this.bn.MovePreviousItem = null; - this.bn.Name = "bn"; - this.bn.PositionItem = null; - this.bn.Size = new System.Drawing.Size(575, 25); - this.bn.TabIndex = 0; - this.bn.Text = "bindingNavigator1"; - // - // bs - // - this.bs.DataMember = "MailData"; - this.bs.DataSource = this.dsMSSQL; - this.bs.CurrentChanged += new System.EventHandler(this.bs_CurrentChanged); - // - // dsMSSQL - // - this.dsMSSQL.DataSetName = "dsMSSQL"; - this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; - // - // mailFormBindingNavigatorSaveItem - // - this.mailFormBindingNavigatorSaveItem.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; - this.mailFormBindingNavigatorSaveItem.Image = ((System.Drawing.Image)(resources.GetObject("mailFormBindingNavigatorSaveItem.Image"))); - this.mailFormBindingNavigatorSaveItem.Name = "mailFormBindingNavigatorSaveItem"; - this.mailFormBindingNavigatorSaveItem.Size = new System.Drawing.Size(69, 22); - this.mailFormBindingNavigatorSaveItem.Text = "Send(&S)"; - this.mailFormBindingNavigatorSaveItem.Click += new System.EventHandler(this.mailFormBindingNavigatorSaveItem_Click); - // - // panel1 - // - this.panel1.Controls.Add(this.tbBody); - this.panel1.Controls.Add(tolistLabel); - this.panel1.Controls.Add(this.tbTo); - this.panel1.Controls.Add(bccLabel); - this.panel1.Controls.Add(this.tbBCC); - this.panel1.Controls.Add(ccLabel); - this.panel1.Controls.Add(this.tbCC); - this.panel1.Controls.Add(subjectLabel); - this.panel1.Controls.Add(this.tbSubject); - this.panel1.Controls.Add(bodyLabel); - this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel1.Location = new System.Drawing.Point(0, 0); - this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(575, 512); - this.panel1.TabIndex = 1; - // - // tbBody - // - this.tbBody.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.tbBody.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.tbBody.Html = resources.GetString("tbBody.Html"); - this.tbBody.Location = new System.Drawing.Point(74, 97); - this.tbBody.Name = "tbBody"; - this.tbBody.ReadOnly = false; - this.tbBody.ShowToolbar = true; - this.tbBody.Size = new System.Drawing.Size(489, 375); - this.tbBody.TabIndex = 7; - this.tbBody.Validated += new System.EventHandler(this.htmlEditor1_Validated); - // - // tbTo - // - this.tbTo.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.tbTo.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "tolist", true)); - this.tbTo.Location = new System.Drawing.Point(74, 12); - this.tbTo.Name = "tbTo"; - this.tbTo.Size = new System.Drawing.Size(489, 21); - this.tbTo.TabIndex = 1; - // - // tbBCC - // - this.tbBCC.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.tbBCC.BackColor = System.Drawing.Color.SkyBlue; - this.tbBCC.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "bcc", true)); - this.tbBCC.Location = new System.Drawing.Point(74, 478); - this.tbBCC.Name = "tbBCC"; - this.tbBCC.Size = new System.Drawing.Size(489, 21); - this.tbBCC.TabIndex = 9; - // - // tbCC - // - this.tbCC.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.tbCC.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "cc", true)); - this.tbCC.Location = new System.Drawing.Point(74, 40); - this.tbCC.Name = "tbCC"; - this.tbCC.Size = new System.Drawing.Size(489, 21); - this.tbCC.TabIndex = 3; - // - // tbSubject - // - this.tbSubject.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.tbSubject.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "subject", true)); - this.tbSubject.Location = new System.Drawing.Point(74, 68); - this.tbSubject.Name = "tbSubject"; - this.tbSubject.Size = new System.Drawing.Size(489, 21); - this.tbSubject.TabIndex = 5; - // - // tam - // - this.tam.BackupDataSetBeforeUpdate = false; - this.tam.BoardTableAdapter = null; - this.tam.CommonTableAdapter = null; - this.tam.InventoryTableAdapter = null; - this.tam.ItemsTableAdapter = null; - this.tam.MailDataTableAdapter = this.ta; - this.tam.MailFormTableAdapter = null; - this.tam.ProjectsTableAdapter = null; - this.tam.RequestItemTableAdapter = null; - this.tam.UpdateOrder = FCM0000.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; - // - // ta - // - this.ta.ClearBeforeFill = true; - // - // toolStripButton1 - // - this.toolStripButton1.Image = global::FCM0000.Properties.Resources.action_refresh; - this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta; - this.toolStripButton1.Name = "toolStripButton1"; - this.toolStripButton1.Size = new System.Drawing.Size(90, 22); - this.toolStripButton1.Text = "To OutLook"; - this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click_1); - // - // fSendMail - // - this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(575, 537); - this.Controls.Add(this.panel1); - this.Controls.Add(this.bn); - this.Name = "fSendMail"; - this.Text = "Send Mail"; - this.Load += new System.EventHandler(this.fMailform_Load); - ((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(); - this.panel1.ResumeLayout(false); - this.panel1.PerformLayout(); - this.ResumeLayout(false); - this.PerformLayout(); - - } - - #endregion - - private dsMSSQL dsMSSQL; - private System.Windows.Forms.BindingSource bs; - private dsMSSQLTableAdapters.TableAdapterManager tam; - private System.Windows.Forms.BindingNavigator bn; - private System.Windows.Forms.ToolStripButton mailFormBindingNavigatorSaveItem; - private System.Windows.Forms.Panel panel1; - private System.Windows.Forms.TextBox tbTo; - private System.Windows.Forms.TextBox tbBCC; - private System.Windows.Forms.TextBox tbCC; - private System.Windows.Forms.TextBox tbSubject; - private YARTE.UI.HtmlEditor tbBody; - private dsMSSQLTableAdapters.MailDataTableAdapter ta; - private System.Windows.Forms.ToolStripButton toolStripButton1; - } +namespace FCM0000 +{ + partial class fSendMail + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + System.Windows.Forms.Label tolistLabel; + System.Windows.Forms.Label bccLabel; + System.Windows.Forms.Label ccLabel; + System.Windows.Forms.Label subjectLabel; + System.Windows.Forms.Label bodyLabel; + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fSendMail)); + this.bn = new System.Windows.Forms.BindingNavigator(this.components); + this.bs = new System.Windows.Forms.BindingSource(this.components); + this.dsMSSQL = new FCM0000.dsMSSQL(); + this.mailFormBindingNavigatorSaveItem = new System.Windows.Forms.ToolStripButton(); + this.panel1 = new System.Windows.Forms.Panel(); + this.tbBody = new YARTE.UI.HtmlEditor(); + this.tbTo = new System.Windows.Forms.TextBox(); + this.tbBCC = new System.Windows.Forms.TextBox(); + this.tbCC = new System.Windows.Forms.TextBox(); + this.tbSubject = new System.Windows.Forms.TextBox(); + this.tam = new FCM0000.dsMSSQLTableAdapters.TableAdapterManager(); + this.ta = new FCM0000.dsMSSQLTableAdapters.MailDataTableAdapter(); + this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); + tolistLabel = new System.Windows.Forms.Label(); + bccLabel = new System.Windows.Forms.Label(); + ccLabel = new System.Windows.Forms.Label(); + subjectLabel = new System.Windows.Forms.Label(); + bodyLabel = new System.Windows.Forms.Label(); + ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); + this.bn.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit(); + this.panel1.SuspendLayout(); + this.SuspendLayout(); + // + // tolistLabel + // + tolistLabel.AutoSize = true; + tolistLabel.Location = new System.Drawing.Point(30, 15); + tolistLabel.Name = "tolistLabel"; + tolistLabel.Size = new System.Drawing.Size(35, 12); + tolistLabel.TabIndex = 0; + tolistLabel.Text = "tolist:"; + // + // bccLabel + // + bccLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + bccLabel.AutoSize = true; + bccLabel.Location = new System.Drawing.Point(35, 481); + bccLabel.Name = "bccLabel"; + bccLabel.Size = new System.Drawing.Size(30, 12); + bccLabel.TabIndex = 8; + bccLabel.Text = "bcc:"; + // + // ccLabel + // + ccLabel.AutoSize = true; + ccLabel.Location = new System.Drawing.Point(42, 43); + ccLabel.Name = "ccLabel"; + ccLabel.Size = new System.Drawing.Size(23, 12); + ccLabel.TabIndex = 2; + ccLabel.Text = "cc:"; + // + // subjectLabel + // + subjectLabel.AutoSize = true; + subjectLabel.Location = new System.Drawing.Point(15, 71); + subjectLabel.Name = "subjectLabel"; + subjectLabel.Size = new System.Drawing.Size(50, 12); + subjectLabel.TabIndex = 4; + subjectLabel.Text = "subject:"; + // + // bodyLabel + // + bodyLabel.AutoSize = true; + bodyLabel.Location = new System.Drawing.Point(28, 97); + bodyLabel.Name = "bodyLabel"; + bodyLabel.Size = new System.Drawing.Size(37, 12); + bodyLabel.TabIndex = 6; + bodyLabel.Text = "body:"; + // + // bn + // + this.bn.AddNewItem = null; + this.bn.BindingSource = this.bs; + this.bn.CountItem = null; + this.bn.DeleteItem = null; + this.bn.Dock = System.Windows.Forms.DockStyle.Bottom; + this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.mailFormBindingNavigatorSaveItem, + this.toolStripButton1}); + this.bn.Location = new System.Drawing.Point(0, 512); + this.bn.MoveFirstItem = null; + this.bn.MoveLastItem = null; + this.bn.MoveNextItem = null; + this.bn.MovePreviousItem = null; + this.bn.Name = "bn"; + this.bn.PositionItem = null; + this.bn.Size = new System.Drawing.Size(575, 25); + this.bn.TabIndex = 0; + this.bn.Text = "bindingNavigator1"; + // + // bs + // + this.bs.DataMember = "MailData"; + this.bs.DataSource = this.dsMSSQL; + this.bs.CurrentChanged += new System.EventHandler(this.bs_CurrentChanged); + // + // dsMSSQL + // + this.dsMSSQL.DataSetName = "dsMSSQL"; + this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; + // + // mailFormBindingNavigatorSaveItem + // + this.mailFormBindingNavigatorSaveItem.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; + this.mailFormBindingNavigatorSaveItem.Image = ((System.Drawing.Image)(resources.GetObject("mailFormBindingNavigatorSaveItem.Image"))); + this.mailFormBindingNavigatorSaveItem.Name = "mailFormBindingNavigatorSaveItem"; + this.mailFormBindingNavigatorSaveItem.Size = new System.Drawing.Size(69, 22); + this.mailFormBindingNavigatorSaveItem.Text = "Send(&S)"; + this.mailFormBindingNavigatorSaveItem.Click += new System.EventHandler(this.mailFormBindingNavigatorSaveItem_Click); + // + // panel1 + // + this.panel1.Controls.Add(this.tbBody); + this.panel1.Controls.Add(tolistLabel); + this.panel1.Controls.Add(this.tbTo); + this.panel1.Controls.Add(bccLabel); + this.panel1.Controls.Add(this.tbBCC); + this.panel1.Controls.Add(ccLabel); + this.panel1.Controls.Add(this.tbCC); + this.panel1.Controls.Add(subjectLabel); + this.panel1.Controls.Add(this.tbSubject); + this.panel1.Controls.Add(bodyLabel); + this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; + this.panel1.Location = new System.Drawing.Point(0, 0); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(575, 512); + this.panel1.TabIndex = 1; + // + // tbBody + // + this.tbBody.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.tbBody.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.tbBody.Html = resources.GetString("tbBody.Html"); + this.tbBody.Location = new System.Drawing.Point(74, 97); + this.tbBody.Name = "tbBody"; + this.tbBody.ReadOnly = false; + this.tbBody.ShowToolbar = true; + this.tbBody.Size = new System.Drawing.Size(489, 375); + this.tbBody.TabIndex = 7; + this.tbBody.Validated += new System.EventHandler(this.htmlEditor1_Validated); + // + // tbTo + // + this.tbTo.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.tbTo.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "tolist", true)); + this.tbTo.Location = new System.Drawing.Point(74, 12); + this.tbTo.Name = "tbTo"; + this.tbTo.Size = new System.Drawing.Size(489, 21); + this.tbTo.TabIndex = 1; + // + // tbBCC + // + this.tbBCC.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.tbBCC.BackColor = System.Drawing.Color.SkyBlue; + this.tbBCC.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "bcc", true)); + this.tbBCC.Location = new System.Drawing.Point(74, 478); + this.tbBCC.Name = "tbBCC"; + this.tbBCC.Size = new System.Drawing.Size(489, 21); + this.tbBCC.TabIndex = 9; + // + // tbCC + // + this.tbCC.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.tbCC.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "cc", true)); + this.tbCC.Location = new System.Drawing.Point(74, 40); + this.tbCC.Name = "tbCC"; + this.tbCC.Size = new System.Drawing.Size(489, 21); + this.tbCC.TabIndex = 3; + // + // tbSubject + // + this.tbSubject.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.tbSubject.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "subject", true)); + this.tbSubject.Location = new System.Drawing.Point(74, 68); + this.tbSubject.Name = "tbSubject"; + this.tbSubject.Size = new System.Drawing.Size(489, 21); + this.tbSubject.TabIndex = 5; + // + // tam + // + this.tam.BackupDataSetBeforeUpdate = false; + this.tam.BoardTableAdapter = null; + this.tam.CommonTableAdapter = null; + this.tam.InventoryTableAdapter = null; + this.tam.ItemsTableAdapter = null; + this.tam.MailDataTableAdapter = this.ta; + this.tam.MailFormTableAdapter = null; + this.tam.ProjectsTableAdapter = null; + this.tam.RequestItemTableAdapter = null; + this.tam.UpdateOrder = FCM0000.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; + // + // ta + // + this.ta.ClearBeforeFill = true; + // + // toolStripButton1 + // + this.toolStripButton1.Image = global::FCM0000.Properties.Resources.action_refresh; + this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripButton1.Name = "toolStripButton1"; + this.toolStripButton1.Size = new System.Drawing.Size(90, 22); + this.toolStripButton1.Text = "To OutLook"; + this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click_1); + // + // fSendMail + // + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(575, 537); + this.Controls.Add(this.panel1); + this.Controls.Add(this.bn); + this.Name = "fSendMail"; + this.Text = "Send Mail"; + this.Load += new System.EventHandler(this.fMailform_Load); + ((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(); + this.panel1.ResumeLayout(false); + this.panel1.PerformLayout(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private dsMSSQL dsMSSQL; + private System.Windows.Forms.BindingSource bs; + private dsMSSQLTableAdapters.TableAdapterManager tam; + private System.Windows.Forms.BindingNavigator bn; + private System.Windows.Forms.ToolStripButton mailFormBindingNavigatorSaveItem; + private System.Windows.Forms.Panel panel1; + private System.Windows.Forms.TextBox tbTo; + private System.Windows.Forms.TextBox tbBCC; + private System.Windows.Forms.TextBox tbCC; + private System.Windows.Forms.TextBox tbSubject; + private YARTE.UI.HtmlEditor tbBody; + private dsMSSQLTableAdapters.MailDataTableAdapter ta; + private System.Windows.Forms.ToolStripButton toolStripButton1; + } } \ No newline at end of file diff --git a/SubProject/FCM0000/Board/fSendMail.resx b/SubProject/FCM0000/Board/fSendMail.resx index 5eb6785..11e2f79 100644 --- a/SubProject/FCM0000/Board/fSendMail.resx +++ b/SubProject/FCM0000/Board/fSendMail.resx @@ -1,169 +1,169 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - False - - - False - - - False - - - False - - - False - - - 259, 17 - - - 122, 17 - - - 17, 17 - - - - - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo - dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII= - - - - 17, 17 - - - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<HTML><HEAD> -<META content="text/html; charset=unicode" http-equiv=Content-Type> -<META name=GENERATOR content="MSHTML 11.00.10570.1001"></HEAD> -<BODY></BODY></HTML> - - - - 186, 17 - - - 325, 17 - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + False + + + False + + + False + + + False + + + False + + + 259, 17 + + + 122, 17 + + + 17, 17 + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo + dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII= + + + + 17, 17 + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<HTML><HEAD> +<META content="text/html; charset=unicode" http-equiv=Content-Type> +<META name=GENERATOR content="MSHTML 11.00.10570.1001"></HEAD> +<BODY></BODY></HTML> + + + + 186, 17 + + + 325, 17 + \ No newline at end of file diff --git a/SubProject/FCM0000/Customer_Import.Designer.cs b/SubProject/FCM0000/Customer_Import.Designer.cs new file mode 100644 index 0000000..b67dcba --- /dev/null +++ b/SubProject/FCM0000/Customer_Import.Designer.cs @@ -0,0 +1,527 @@ +namespace FCM0000 +{ + partial class Customer_Import + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Customer_Import)); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.linkLabel1 = new System.Windows.Forms.LinkLabel(); + this.button1 = new System.Windows.Forms.Button(); + this.dataGridView1 = new System.Windows.Forms.DataGridView(); + this.button3 = new System.Windows.Forms.Button(); + this.panel1 = new System.Windows.Forms.Panel(); + this.checkBox1 = new System.Windows.Forms.CheckBox(); + this.numericUpDown2 = new System.Windows.Forms.NumericUpDown(); + this.label6 = new System.Windows.Forms.Label(); + this.ed = new System.Windows.Forms.DateTimePicker(); + this.sd = new System.Windows.Forms.DateTimePicker(); + this.label4 = new System.Windows.Forms.Label(); + this.nudCE = new System.Windows.Forms.NumericUpDown(); + this.nudCS = new System.Windows.Forms.NumericUpDown(); + this.label5 = new System.Windows.Forms.Label(); + this.label3 = new System.Windows.Forms.Label(); + this.nudE = new System.Windows.Forms.NumericUpDown(); + this.nudS = new System.Windows.Forms.NumericUpDown(); + this.label2 = new System.Windows.Forms.Label(); + this.numericUpDown1 = new System.Windows.Forms.NumericUpDown(); + this.label1 = new System.Windows.Forms.Label(); + 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(); + this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox(); + this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator(); + this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator(); + this.progressBar1 = new System.Windows.Forms.ToolStripProgressBar(); + this.bs = new System.Windows.Forms.BindingSource(this.components); + ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); + this.panel1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudCE)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudCS)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudE)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudS)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); + this.bn.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); + this.SuspendLayout(); + // + // textBox1 + // + this.textBox1.Location = new System.Drawing.Point(42, 9); + this.textBox1.Name = "textBox1"; + this.textBox1.Size = new System.Drawing.Size(170, 21); + this.textBox1.TabIndex = 1; + // + // linkLabel1 + // + this.linkLabel1.AutoSize = true; + this.linkLabel1.Location = new System.Drawing.Point(12, 13); + this.linkLabel1.Name = "linkLabel1"; + this.linkLabel1.Size = new System.Drawing.Size(25, 12); + this.linkLabel1.TabIndex = 0; + this.linkLabel1.TabStop = true; + this.linkLabel1.Text = "File"; + this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked); + // + // button1 + // + this.button1.Location = new System.Drawing.Point(525, 8); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(102, 21); + this.button1.TabIndex = 4; + this.button1.Text = "1.View"; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click); + // + // dataGridView1 + // + this.dataGridView1.AllowUserToAddRows = false; + this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill; + this.dataGridView1.Location = new System.Drawing.Point(0, 97); + this.dataGridView1.Name = "dataGridView1"; + this.dataGridView1.RowTemplate.Height = 23; + this.dataGridView1.Size = new System.Drawing.Size(950, 536); + this.dataGridView1.TabIndex = 1; + // + // button3 + // + this.button3.Location = new System.Drawing.Point(525, 35); + this.button3.Name = "button3"; + this.button3.Size = new System.Drawing.Size(102, 21); + this.button3.TabIndex = 6; + this.button3.Text = "2.Save"; + this.button3.UseVisualStyleBackColor = true; + this.button3.Click += new System.EventHandler(this.button3_Click); + // + // panel1 + // + this.panel1.Controls.Add(this.checkBox1); + this.panel1.Controls.Add(this.numericUpDown2); + this.panel1.Controls.Add(this.label6); + this.panel1.Controls.Add(this.ed); + this.panel1.Controls.Add(this.sd); + this.panel1.Controls.Add(this.label4); + this.panel1.Controls.Add(this.nudCE); + this.panel1.Controls.Add(this.nudCS); + this.panel1.Controls.Add(this.label5); + this.panel1.Controls.Add(this.label3); + this.panel1.Controls.Add(this.nudE); + this.panel1.Controls.Add(this.nudS); + this.panel1.Controls.Add(this.label2); + this.panel1.Controls.Add(this.numericUpDown1); + this.panel1.Controls.Add(this.label1); + this.panel1.Controls.Add(this.button3); + this.panel1.Controls.Add(this.textBox1); + this.panel1.Controls.Add(this.linkLabel1); + this.panel1.Controls.Add(this.button1); + this.panel1.Dock = System.Windows.Forms.DockStyle.Top; + this.panel1.Location = new System.Drawing.Point(0, 0); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(950, 97); + this.panel1.TabIndex = 0; + this.panel1.Paint += new System.Windows.Forms.PaintEventHandler(this.panel1_Paint); + // + // checkBox1 + // + this.checkBox1.AutoSize = true; + this.checkBox1.Location = new System.Drawing.Point(474, 66); + this.checkBox1.Name = "checkBox1"; + this.checkBox1.Size = new System.Drawing.Size(127, 16); + this.checkBox1.TabIndex = 19; + this.checkBox1.Text = "Auto Delete Import"; + this.checkBox1.UseVisualStyleBackColor = true; + // + // numericUpDown2 + // + this.numericUpDown2.Location = new System.Drawing.Point(406, 63); + this.numericUpDown2.Maximum = new decimal(new int[] { + 65535, + 0, + 0, + 0}); + this.numericUpDown2.Name = "numericUpDown2"; + this.numericUpDown2.Size = new System.Drawing.Size(45, 21); + this.numericUpDown2.TabIndex = 18; + this.numericUpDown2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.numericUpDown2.Value = new decimal(new int[] { + 1, + 0, + 0, + 0}); + // + // label6 + // + this.label6.AutoSize = true; + this.label6.Location = new System.Drawing.Point(312, 67); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(87, 12); + this.label6.TabIndex = 17; + this.label6.Text = "Column Name"; + // + // ed + // + this.ed.Location = new System.Drawing.Point(42, 67); + this.ed.Name = "ed"; + this.ed.Size = new System.Drawing.Size(170, 21); + this.ed.TabIndex = 16; + // + // sd + // + this.sd.Location = new System.Drawing.Point(42, 40); + this.sd.Name = "sd"; + this.sd.Size = new System.Drawing.Size(170, 21); + this.sd.TabIndex = 15; + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Location = new System.Drawing.Point(455, 13); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(14, 12); + this.label4.TabIndex = 14; + this.label4.Text = "~"; + // + // nudCE + // + this.nudCE.Location = new System.Drawing.Point(474, 9); + this.nudCE.Maximum = new decimal(new int[] { + 65535, + 0, + 0, + 0}); + this.nudCE.Name = "nudCE"; + this.nudCE.Size = new System.Drawing.Size(45, 21); + this.nudCE.TabIndex = 13; + this.nudCE.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.nudCE.Value = new decimal(new int[] { + 11, + 0, + 0, + 0}); + // + // nudCS + // + this.nudCS.Location = new System.Drawing.Point(406, 9); + this.nudCS.Maximum = new decimal(new int[] { + 65535, + 0, + 0, + 0}); + this.nudCS.Name = "nudCS"; + this.nudCS.Size = new System.Drawing.Size(45, 21); + this.nudCS.TabIndex = 12; + this.nudCS.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.nudCS.Value = new decimal(new int[] { + 1, + 0, + 0, + 0}); + // + // label5 + // + this.label5.AutoSize = true; + this.label5.Location = new System.Drawing.Point(335, 13); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(64, 12); + this.label5.TabIndex = 11; + this.label5.Text = "Col Range"; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Location = new System.Drawing.Point(455, 40); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(14, 12); + this.label3.TabIndex = 10; + this.label3.Text = "~"; + // + // nudE + // + this.nudE.Location = new System.Drawing.Point(474, 36); + this.nudE.Maximum = new decimal(new int[] { + 65535, + 0, + 0, + 0}); + this.nudE.Name = "nudE"; + this.nudE.Size = new System.Drawing.Size(45, 21); + this.nudE.TabIndex = 9; + this.nudE.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.nudE.Value = new decimal(new int[] { + 100, + 0, + 0, + 0}); + // + // nudS + // + this.nudS.Location = new System.Drawing.Point(406, 36); + this.nudS.Maximum = new decimal(new int[] { + 65535, + 0, + 0, + 0}); + this.nudS.Name = "nudS"; + this.nudS.Size = new System.Drawing.Size(45, 21); + this.nudS.TabIndex = 8; + this.nudS.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.nudS.Value = new decimal(new int[] { + 2, + 0, + 0, + 0}); + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(329, 40); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(70, 12); + this.label2.TabIndex = 7; + this.label2.Text = "Row Range"; + // + // numericUpDown1 + // + this.numericUpDown1.Location = new System.Drawing.Point(261, 9); + this.numericUpDown1.Maximum = new decimal(new int[] { + 10, + 0, + 0, + 0}); + this.numericUpDown1.Name = "numericUpDown1"; + this.numericUpDown1.Size = new System.Drawing.Size(45, 21); + this.numericUpDown1.TabIndex = 3; + this.numericUpDown1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(218, 13); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(37, 12); + this.label1.TabIndex = 2; + this.label1.Text = "Sheet"; + // + // bn + // + this.bn.AddNewItem = this.bindingNavigatorAddNewItem; + this.bn.CountItem = this.bindingNavigatorCountItem; + this.bn.DeleteItem = this.bindingNavigatorDeleteItem; + this.bn.Dock = System.Windows.Forms.DockStyle.Bottom; + this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.bindingNavigatorMoveFirstItem, + this.bindingNavigatorMovePreviousItem, + this.bindingNavigatorSeparator, + this.bindingNavigatorPositionItem, + this.bindingNavigatorCountItem, + this.bindingNavigatorSeparator1, + this.bindingNavigatorMoveNextItem, + this.bindingNavigatorMoveLastItem, + this.bindingNavigatorSeparator2, + this.bindingNavigatorAddNewItem, + this.bindingNavigatorDeleteItem, + this.progressBar1}); + this.bn.Location = new System.Drawing.Point(0, 633); + 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(950, 25); + this.bn.TabIndex = 2; + this.bn.Text = "bindingNavigator1"; + // + // bindingNavigatorAddNewItem + // + this.bindingNavigatorAddNewItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + 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(23, 22); + this.bindingNavigatorAddNewItem.Text = "새로 추가"; + // + // bindingNavigatorCountItem + // + this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem"; + this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22); + this.bindingNavigatorCountItem.Text = "/{0}"; + this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수"; + // + // bindingNavigatorDeleteItem + // + this.bindingNavigatorDeleteItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + 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(23, 22); + this.bindingNavigatorDeleteItem.Text = "삭제"; + // + // bindingNavigatorMoveFirstItem + // + this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + 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.Text = "처음으로 이동"; + // + // bindingNavigatorMovePreviousItem + // + this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + 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.Text = "이전으로 이동"; + // + // bindingNavigatorSeparator + // + this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator"; + this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25); + // + // bindingNavigatorPositionItem + // + this.bindingNavigatorPositionItem.AccessibleName = "위치"; + this.bindingNavigatorPositionItem.AutoSize = false; + this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem"; + this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23); + this.bindingNavigatorPositionItem.Text = "0"; + this.bindingNavigatorPositionItem.ToolTipText = "현재 위치"; + // + // bindingNavigatorSeparator1 + // + this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1"; + this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25); + // + // bindingNavigatorMoveNextItem + // + this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + 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.Text = "다음으로 이동"; + // + // bindingNavigatorMoveLastItem + // + this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + 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.Text = "마지막으로 이동"; + // + // bindingNavigatorSeparator2 + // + this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2"; + this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25); + // + // progressBar1 + // + this.progressBar1.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; + this.progressBar1.Name = "progressBar1"; + this.progressBar1.Size = new System.Drawing.Size(200, 22); + // + // Customer_Import + // + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(950, 658); + this.Controls.Add(this.dataGridView1); + this.Controls.Add(this.bn); + this.Controls.Add(this.panel1); + this.Name = "Customer_Import"; + this.Text = "fImpEquipment"; + this.Load += new System.EventHandler(this.@__Load); + ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit(); + this.panel1.ResumeLayout(false); + this.panel1.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudCE)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudCS)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudE)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudS)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit(); + this.bn.ResumeLayout(false); + this.bn.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.LinkLabel linkLabel1; + private System.Windows.Forms.Button button1; + private System.Windows.Forms.DataGridView dataGridView1; + private System.Windows.Forms.Button button3; + private System.Windows.Forms.Panel panel1; + private System.Windows.Forms.BindingNavigator bn; + private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem; + private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem; + private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem; + private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem; + private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem; + private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator; + private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem; + private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1; + private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem; + private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem; + private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2; + private System.Windows.Forms.ToolStripProgressBar progressBar1; + private System.Windows.Forms.BindingSource bs; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.NumericUpDown numericUpDown1; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.NumericUpDown nudE; + private System.Windows.Forms.NumericUpDown nudS; + private System.Windows.Forms.Label label4; + private System.Windows.Forms.NumericUpDown nudCE; + private System.Windows.Forms.NumericUpDown nudCS; + private System.Windows.Forms.Label label5; + private System.Windows.Forms.DateTimePicker ed; + private System.Windows.Forms.DateTimePicker sd; + private System.Windows.Forms.NumericUpDown numericUpDown2; + private System.Windows.Forms.Label label6; + private System.Windows.Forms.CheckBox checkBox1; + } +} \ No newline at end of file diff --git a/SubProject/FCM0000/Customer_Import.cs b/SubProject/FCM0000/Customer_Import.cs new file mode 100644 index 0000000..377c771 --- /dev/null +++ b/SubProject/FCM0000/Customer_Import.cs @@ -0,0 +1,284 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Windows.Forms; + +namespace FCM0000 +{ + public partial class Customer_Import : Form + { + DataTable dt = new dsMSSQL.CustomsDataTable(); + DataTable dtExcel = new DataTable(); + public Customer_Import() + { + InitializeComponent(); + this.FormClosed += __Closed; + } + + private void __Load(object sender, EventArgs e) + { + this.sd.Value = DateTime.Now.AddMonths(-1); + this.ed.Value = DateTime.Now; + } + + void __Closed(object sender, FormClosedEventArgs e) + { + + } + + private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) + { + OpenFileDialog od = new OpenFileDialog(); + od.Filter = "excel|*.xlsx|all files|*.*"; + od.InitialDirectory = FCOMMON.Util.CurrentPath + "model"; + od.FilterIndex = 1; + od.RestoreDirectory = true; + if (od.ShowDialog() != System.Windows.Forms.DialogResult.OK) return; + textBox1.Text = od.FileName; + } + + private void button1_Click(object sender, EventArgs e) + { + int ColumnNameNo = (int)numericUpDown2.Value; + if(textBox1.Text.isEmpty()) + { + FCOMMON.Util.MsgE("파일을 선택하세요"); + textBox1.Focus(); + return; + } + if(!System.IO.File.Exists(textBox1.Text)) + { + FCOMMON.Util.MsgE("입력하신 파일이 존재하지 않습니다."); + textBox1.Focus(); + textBox1.SelectAll(); + return; + } + + dtExcel.Columns.Clear(); + dtExcel.Rows.Clear(); + dtExcel.AcceptChanges(); + + libxl.Book book;// = new libxl.BinBook(); + book = new libxl.XmlBook(); + book.setKey(FCOMMON.info.libxlCompany, FCOMMON.info.libxlKey); + try + { + book.load(textBox1.Text); + }catch (Exception ex) + { + FCOMMON.Util.MsgE(ex.Message); + return; + } + + int sheetNum = (int)numericUpDown1.Value; + if (sheetNum >= book.sheetCount()) + { + FCOMMON.Util.MsgE("입력한 시트 번호는 존재하지 않습니다."); + book = null; + return; + } + var sheet = book.getSheet(sheetNum); + var MaxRow = sheet.lastRow(); + var MinRow = sheet.firstRow(); + + MaxRow = (int)Math.Min(MaxRow, nudE.Value-1); + MinRow = (int)Math.Max(MinRow, nudS.Value-1); + if(MinRow <= (ColumnNameNo-1)) + { + FCOMMON.Util.MsgI("시작줄을 제목줄 보다 커야 합니다. 자동으로 +1 증가합니다."); + MinRow = ColumnNameNo ; + } + + + var MaxCol = sheet.lastCol(); + var MinCol = sheet.firstCol(); + + MaxCol = (int)Math.Min(MaxCol, nudCE.Value - 1); + MinCol = (int)Math.Max(MinCol, nudCS.Value - 1); + + //제목줄을 처리한다. 181029 + List cols = new List(); + + string sDate = sd.Value.ToShortDateString(); + string eDate = ed.Value.ToShortDateString(); + + for (int c = MinCol; c <= MaxCol; c++) + { + var strVallue = sheet.readStr(ColumnNameNo-1, c); + if (strVallue.isEmpty() ) + { + if (c == MinCol) + { + //첫줄 첫행이 빈값이면 처리하지 않는다. + FCOMMON.Util.MsgE("열 제목에 빈값이 있어 처리되지 못합니다."); + return; + } + else + { + //빈값이 나왓으므로 열 최대값을 변경해준다. + if(c < MaxCol) + { + FCOMMON.Util.MsgI("빈값으로 인해 최대 열 번호를 " + c.ToString() + "로 변경합니다"); + MaxCol = c; + break; + } + } + } + cols.Add(strVallue); + this.dtExcel.Columns.Add(strVallue); + } + + + try{ + for (int r = MinRow; r <= MaxRow; r++) + { + DataRow dr = dtExcel.NewRow(); + + Boolean nullColumn = false; + for (int c = MinCol; c <= MaxCol; c++) + { + if (sheet.isDate(r, c)) + { + var datevalue = sheet.readNum(r, c); + int y, m, d; + y = m = d = 0; + book.dateUnpack(datevalue, ref y, ref m, ref d); + if (y >= 2000) + dr[cols[c]] = string.Format("{0:0000}-{1:00}-{2:00}", y, m, d); + else + dr[cols[c]] = string.Empty; + + //일자가 만약 넘어서면 패스한다. + if(cols[c]=="일자" ) + { + string value = dr[cols[c]].ToString(); + if(value == "") + { + nullColumn = true; //날짜가 없다면 패스 + break; + } else if(value.CompareTo(sDate) < 0) + { + nullColumn = true; //과거데이터라서 패스 + break; + } else if(value.CompareTo(eDate) > 0) + { + nullColumn = true; //미래데이터 패스 + break; + } + } + } + else + { + var dateStrin = sheet.readStr(r, c); + + var strVallue = sheet.readStr(r, c); + if (strVallue.isEmpty() && c == MinCol) + { + //첫줄 첫행이 빈값이면 처리하지 않는다. + nullColumn = true; + break; + } + if (!cols[c].isEmpty()) + dr[cols[c]] = strVallue; + } + } + if (nullColumn) continue; //줄처리를 못한 경우 넘어감 + if (dr != null) + { + dtExcel.Rows.Add(dr); + } + } + dtExcel.AcceptChanges(); + } + catch(Exception ex) + { + FCOMMON.Util.MsgE("불러오는 중 오류 발생\n" + ex.Message); + } + // + book = null; + + this.bs.DataSource = dtExcel; + this.dataGridView1.DataSource = dtExcel; + this.bn.BindingSource = this.bs; + + if(this.bs.Count < 1) + { + FCOMMON.Util.MsgE("입력된 자료가 없습니다.\n\n지정된 엑셀의 1번째 칸에 값이 없다면 입력되지 않습니다."); + } + } + + + private void button3_Click(object sender, EventArgs e) + { + if(dtExcel == null || dtExcel.Rows.Count < 1) + { + FCOMMON.Util.MsgE("등록 가능한 자료가 없습니다."); + return; + } + + System.Text.StringBuilder sb = new StringBuilder(); + sb.AppendLine("다음 자료를 추가하시겠습니까?"); + sb.AppendLine(); + sb.AppendLine("'저장 완료' 메세지가 나올때 까지 기다려 주세요."); + sb.AppendLine(); + sb.AppendLine("실행 하려면 '예' 를 누르세요"); + var dlg = FCOMMON.Util.MsgQ(sb.ToString()); + if (dlg != System.Windows.Forms.DialogResult.Yes) return; + + dt.Clear(); + dt.AcceptChanges(); + + this.progressBar1.Value = 0; + this.progressBar1.Maximum = dtExcel.Rows.Count; + var taE = new dsMSSQLTableAdapters.CustomsTableAdapter(); + + + int addcnt = 0; + //12,13 + foreach (DataRow dr in dtExcel.Rows) + { + this.progressBar1.Value += 1; + + //데이터추가 + var newdr = dt.NewRow(); + if (dr[0] == DBNull.Value) continue; //nullerror + + string sangho = dr[1].ToString().Trim(); + int cnt = (int)(taE.ExistName(sangho)); + if (cnt > 0) continue; + + // + + newdr["grp"] = dr[0].ToString(); + newdr["name"] = sangho; + newdr["uptae"] = dr[2].ToString(); + newdr["tel"] = dr[3].ToString(); + newdr["fax"] = dr[4].ToString(); + newdr["email"] = dr[5].ToString().Replace(" ",""); //181116 - 빈공백제거 + newdr["staff"] = dr[6].ToString(); + newdr["stafftel"] = dr[7].ToString(); + newdr["owner"] = dr[8].ToString(); + newdr["ownertel"] = dr[9].ToString(); + newdr["address"] = dr[10].ToString(); + newdr["wuid"] = FCOMMON.info.Login.no; + newdr["wdate"] = DateTime.Now; + addcnt += 1; + dt.Rows.Add(newdr); + taE.Update((dsMSSQL.CustomsDataTable)dt); + } + + + dt.AcceptChanges(); + FCOMMON.Util.MsgI("Save OK(" +addcnt + ")"); + } + + private void panel1_Paint(object sender, PaintEventArgs e) + { + + } + } +} diff --git a/SubProject/FCM0000/Customer_Import.resx b/SubProject/FCM0000/Customer_Import.resx new file mode 100644 index 0000000..5efb7d4 --- /dev/null +++ b/SubProject/FCM0000/Customer_Import.resx @@ -0,0 +1,191 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 17, 17 + + + + + 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== + + + + + 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= + + + + + 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= + + + + + 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 + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78 + n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI + N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f + oAc0QjgAAAAASUVORK5CYII= + + + + + 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== + + + + 83, 17 + + \ No newline at end of file diff --git a/SubProject/FCM0000/DSReport.Designer.cs b/SubProject/FCM0000/DSReport.Designer.cs new file mode 100644 index 0000000..915e40d --- /dev/null +++ b/SubProject/FCM0000/DSReport.Designer.cs @@ -0,0 +1,1329 @@ +//------------------------------------------------------------------------------ +// +// 이 코드는 도구를 사용하여 생성되었습니다. +// 런타임 버전:4.0.30319.42000 +// +// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 +// 이러한 변경 내용이 손실됩니다. +// +//------------------------------------------------------------------------------ + +#pragma warning disable 1591 + +namespace FCM0000 { + + + /// + ///Represents a strongly typed in-memory cache of data. + /// + [global::System.Serializable()] + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")] + [global::System.Xml.Serialization.XmlRootAttribute("DSReport")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")] + public partial class DSReport : global::System.Data.DataSet { + + private PersonInvStockDataTable tablePersonInvStock; + + private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public DSReport() { + this.BeginInit(); + this.InitClass(); + global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); + base.Tables.CollectionChanged += schemaChangedHandler; + base.Relations.CollectionChanged += schemaChangedHandler; + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected DSReport(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context, false) { + if ((this.IsBinarySerialized(info, context) == true)) { + this.InitVars(false); + global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); + this.Tables.CollectionChanged += schemaChangedHandler1; + this.Relations.CollectionChanged += schemaChangedHandler1; + return; + } + string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string)))); + if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { + global::System.Data.DataSet ds = new global::System.Data.DataSet(); + ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema))); + if ((ds.Tables["PersonInvStock"] != null)) { + base.Tables.Add(new PersonInvStockDataTable(ds.Tables["PersonInvStock"])); + } + this.DataSetName = ds.DataSetName; + this.Prefix = ds.Prefix; + this.Namespace = ds.Namespace; + this.Locale = ds.Locale; + this.CaseSensitive = ds.CaseSensitive; + this.EnforceConstraints = ds.EnforceConstraints; + this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add); + this.InitVars(); + } + else { + this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema))); + } + this.GetSerializationData(info, context); + global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); + base.Tables.CollectionChanged += schemaChangedHandler; + this.Relations.CollectionChanged += schemaChangedHandler; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public PersonInvStockDataTable PersonInvStock { + get { + return this.tablePersonInvStock; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.BrowsableAttribute(true)] + [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)] + public override global::System.Data.SchemaSerializationMode SchemaSerializationMode { + get { + return this._schemaSerializationMode; + } + set { + this._schemaSerializationMode = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public new global::System.Data.DataTableCollection Tables { + get { + return base.Tables; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public new global::System.Data.DataRelationCollection Relations { + get { + return base.Relations; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void InitializeDerivedDataSet() { + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataSet Clone() { + DSReport cln = ((DSReport)(base.Clone())); + cln.InitVars(); + cln.SchemaSerializationMode = this.SchemaSerializationMode; + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override bool ShouldSerializeTables() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override bool ShouldSerializeRelations() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) { + if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { + this.Reset(); + global::System.Data.DataSet ds = new global::System.Data.DataSet(); + ds.ReadXml(reader); + if ((ds.Tables["PersonInvStock"] != null)) { + base.Tables.Add(new PersonInvStockDataTable(ds.Tables["PersonInvStock"])); + } + this.DataSetName = ds.DataSetName; + this.Prefix = ds.Prefix; + this.Namespace = ds.Namespace; + this.Locale = ds.Locale; + this.CaseSensitive = ds.CaseSensitive; + this.EnforceConstraints = ds.EnforceConstraints; + this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add); + this.InitVars(); + } + else { + this.ReadXml(reader); + this.InitVars(); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() { + global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream(); + this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null)); + stream.Position = 0; + return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.InitVars(true); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars(bool initTable) { + this.tablePersonInvStock = ((PersonInvStockDataTable)(base.Tables["PersonInvStock"])); + if ((initTable == true)) { + if ((this.tablePersonInvStock != null)) { + this.tablePersonInvStock.InitVars(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.DataSetName = "DSReport"; + this.Prefix = ""; + this.Namespace = "http://tempuri.org/DSReport.xsd"; + this.EnforceConstraints = true; + this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; + this.tablePersonInvStock = new PersonInvStockDataTable(); + base.Tables.Add(this.tablePersonInvStock); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializePersonInvStock() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { + if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) { + this.InitVars(); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + DSReport ds = new DSReport(); + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny(); + any.Namespace = ds.Namespace; + sequence.Items.Add(any); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void PersonInvStockRowChangeEventHandler(object sender, PersonInvStockRowChangeEvent e); + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class PersonInvStockDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnusername; + + private global::System.Data.DataColumn columnproject; + + private global::System.Data.DataColumn columnpdate; + + private global::System.Data.DataColumn columnItemName; + + private global::System.Data.DataColumn columnstock; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public PersonInvStockDataTable() { + this.TableName = "PersonInvStock"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal PersonInvStockDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected PersonInvStockDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn usernameColumn { + get { + return this.columnusername; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn projectColumn { + get { + return this.columnproject; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn pdateColumn { + get { + return this.columnpdate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ItemNameColumn { + get { + return this.columnItemName; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn stockColumn { + get { + return this.columnstock; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public PersonInvStockRow this[int index] { + get { + return ((PersonInvStockRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event PersonInvStockRowChangeEventHandler PersonInvStockRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event PersonInvStockRowChangeEventHandler PersonInvStockRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event PersonInvStockRowChangeEventHandler PersonInvStockRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event PersonInvStockRowChangeEventHandler PersonInvStockRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddPersonInvStockRow(PersonInvStockRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public PersonInvStockRow AddPersonInvStockRow(string username, string project, string pdate, string ItemName, int stock) { + PersonInvStockRow rowPersonInvStockRow = ((PersonInvStockRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + username, + project, + pdate, + ItemName, + stock}; + rowPersonInvStockRow.ItemArray = columnValuesArray; + this.Rows.Add(rowPersonInvStockRow); + return rowPersonInvStockRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + PersonInvStockDataTable cln = ((PersonInvStockDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new PersonInvStockDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnusername = base.Columns["username"]; + this.columnproject = base.Columns["project"]; + this.columnpdate = base.Columns["pdate"]; + this.columnItemName = base.Columns["ItemName"]; + this.columnstock = base.Columns["stock"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnusername = new global::System.Data.DataColumn("username", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnusername); + this.columnproject = new global::System.Data.DataColumn("project", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnproject); + this.columnpdate = new global::System.Data.DataColumn("pdate", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnpdate); + this.columnItemName = new global::System.Data.DataColumn("ItemName", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnItemName); + this.columnstock = new global::System.Data.DataColumn("stock", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnstock); + this.columnusername.ReadOnly = true; + this.columnusername.MaxLength = 200; + this.columnproject.ReadOnly = true; + this.columnproject.MaxLength = 200; + this.columnpdate.ReadOnly = true; + this.columnpdate.MaxLength = 10; + this.columnItemName.MaxLength = 200; + this.columnstock.ReadOnly = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public PersonInvStockRow NewPersonInvStockRow() { + return ((PersonInvStockRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new PersonInvStockRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(PersonInvStockRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.PersonInvStockRowChanged != null)) { + this.PersonInvStockRowChanged(this, new PersonInvStockRowChangeEvent(((PersonInvStockRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.PersonInvStockRowChanging != null)) { + this.PersonInvStockRowChanging(this, new PersonInvStockRowChangeEvent(((PersonInvStockRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.PersonInvStockRowDeleted != null)) { + this.PersonInvStockRowDeleted(this, new PersonInvStockRowChangeEvent(((PersonInvStockRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.PersonInvStockRowDeleting != null)) { + this.PersonInvStockRowDeleting(this, new PersonInvStockRowChangeEvent(((PersonInvStockRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemovePersonInvStockRow(PersonInvStockRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DSReport ds = new DSReport(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "PersonInvStockDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class PersonInvStockRow : global::System.Data.DataRow { + + private PersonInvStockDataTable tablePersonInvStock; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal PersonInvStockRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablePersonInvStock = ((PersonInvStockDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string username { + get { + try { + return ((string)(this[this.tablePersonInvStock.usernameColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'PersonInvStock\' 테이블의 \'username\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tablePersonInvStock.usernameColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string project { + get { + try { + return ((string)(this[this.tablePersonInvStock.projectColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'PersonInvStock\' 테이블의 \'project\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tablePersonInvStock.projectColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string pdate { + get { + try { + return ((string)(this[this.tablePersonInvStock.pdateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'PersonInvStock\' 테이블의 \'pdate\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tablePersonInvStock.pdateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string ItemName { + get { + try { + return ((string)(this[this.tablePersonInvStock.ItemNameColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'PersonInvStock\' 테이블의 \'ItemName\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tablePersonInvStock.ItemNameColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int stock { + get { + try { + return ((int)(this[this.tablePersonInvStock.stockColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'PersonInvStock\' 테이블의 \'stock\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tablePersonInvStock.stockColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsusernameNull() { + return this.IsNull(this.tablePersonInvStock.usernameColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetusernameNull() { + this[this.tablePersonInvStock.usernameColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsprojectNull() { + return this.IsNull(this.tablePersonInvStock.projectColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetprojectNull() { + this[this.tablePersonInvStock.projectColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IspdateNull() { + return this.IsNull(this.tablePersonInvStock.pdateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetpdateNull() { + this[this.tablePersonInvStock.pdateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsItemNameNull() { + return this.IsNull(this.tablePersonInvStock.ItemNameColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetItemNameNull() { + this[this.tablePersonInvStock.ItemNameColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsstockNull() { + return this.IsNull(this.tablePersonInvStock.stockColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetstockNull() { + this[this.tablePersonInvStock.stockColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class PersonInvStockRowChangeEvent : global::System.EventArgs { + + private PersonInvStockRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public PersonInvStockRowChangeEvent(PersonInvStockRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public PersonInvStockRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + } +} +namespace FCM0000.DSReportTableAdapters { + + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DataObjectAttribute(true)] + [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + + ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class PersonInvStockTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public PersonInvStockTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "PersonInvStock"; + tableMapping.ColumnMappings.Add("username", "username"); + tableMapping.ColumnMappings.Add("project", "project"); + tableMapping.ColumnMappings.Add("pdate", "pdate"); + tableMapping.ColumnMappings.Add("ItemName", "ItemName"); + tableMapping.ColumnMappings.Add("stock", "stock"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::FCM0000.Properties.Settings.Default.gwcs; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = @"SELECT dbo.getUserName(uid) AS username, ISNULL(dbo.getProjectName(project), '--') AS project, MAX(pdate) AS pdate, ItemName, SUM(dr_qty) AS stock +FROM Inventory +WHERE (dbo.getUserName(uid) LIKE @uid) +GROUP BY dbo.getUserName(uid), dbo.getProjectName(project), ItemName +HAVING (SUM(dr_qty) <> 0) +ORDER BY username, project, ItemName"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uid", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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.Fill, true)] + public virtual int Fill(DSReport.PersonInvStockDataTable dataTable, string uid) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((uid == null)) { + throw new global::System.ArgumentNullException("uid"); + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(uid)); + } + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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.Select, true)] + public virtual DSReport.PersonInvStockDataTable GetData(string uid) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((uid == null)) { + throw new global::System.ArgumentNullException("uid"); + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(uid)); + } + DSReport.PersonInvStockDataTable dataTable = new DSReport.PersonInvStockDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios + /// + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerDesigner, Microsoft.VSD" + + "esigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapterManager")] + public partial class TableAdapterManager : global::System.ComponentModel.Component { + + private UpdateOrderOption _updateOrder; + + private bool _backupDataSetBeforeUpdate; + + private global::System.Data.IDbConnection _connection; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public UpdateOrderOption UpdateOrder { + get { + return this._updateOrder; + } + set { + this._updateOrder = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool BackupDataSetBeforeUpdate { + get { + return this._backupDataSetBeforeUpdate; + } + set { + this._backupDataSetBeforeUpdate = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public global::System.Data.IDbConnection Connection { + get { + if ((this._connection != null)) { + return this._connection; + } + return null; + } + set { + this._connection = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int TableAdapterInstanceCount { + get { + int count = 0; + return count; + } + } + + /// + ///Update rows in top-down order. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private int UpdateUpdatedRows(DSReport dataSet, global::System.Collections.Generic.List allChangedRows, global::System.Collections.Generic.List allAddedRows) { + int result = 0; + return result; + } + + /// + ///Insert rows in top-down order. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private int UpdateInsertedRows(DSReport dataSet, global::System.Collections.Generic.List allAddedRows) { + int result = 0; + return result; + } + + /// + ///Delete rows in bottom-up order. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private int UpdateDeletedRows(DSReport dataSet, global::System.Collections.Generic.List allChangedRows) { + int result = 0; + return result; + } + + /// + ///Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private global::System.Data.DataRow[] GetRealUpdatedRows(global::System.Data.DataRow[] updatedRows, global::System.Collections.Generic.List allAddedRows) { + if (((updatedRows == null) + || (updatedRows.Length < 1))) { + return updatedRows; + } + if (((allAddedRows == null) + || (allAddedRows.Count < 1))) { + return updatedRows; + } + global::System.Collections.Generic.List realUpdatedRows = new global::System.Collections.Generic.List(); + for (int i = 0; (i < updatedRows.Length); i = (i + 1)) { + global::System.Data.DataRow row = updatedRows[i]; + if ((allAddedRows.Contains(row) == false)) { + realUpdatedRows.Add(row); + } + } + return realUpdatedRows.ToArray(); + } + + /// + ///Update all changes to the dataset. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public virtual int UpdateAll(DSReport dataSet) { + if ((dataSet == null)) { + throw new global::System.ArgumentNullException("dataSet"); + } + if ((dataSet.HasChanges() == false)) { + return 0; + } + global::System.Data.IDbConnection workConnection = this.Connection; + if ((workConnection == null)) { + throw new global::System.ApplicationException("TableAdapterManager에 연결 정보가 없습니다. 각 TableAdapterManager TableAdapter 속성을 올바른 Tabl" + + "eAdapter 인스턴스로 설정하십시오."); + } + bool workConnOpened = false; + if (((workConnection.State & global::System.Data.ConnectionState.Broken) + == global::System.Data.ConnectionState.Broken)) { + workConnection.Close(); + } + if ((workConnection.State == global::System.Data.ConnectionState.Closed)) { + workConnection.Open(); + workConnOpened = true; + } + global::System.Data.IDbTransaction workTransaction = workConnection.BeginTransaction(); + if ((workTransaction == null)) { + throw new global::System.ApplicationException("트랜잭션을 시작할 수 없습니다. 현재 데이터 연결에서 트랜잭션이 지원되지 않거나 현재 상태에서 트랜잭션을 시작할 수 없습니다."); + } + global::System.Collections.Generic.List allChangedRows = new global::System.Collections.Generic.List(); + global::System.Collections.Generic.List allAddedRows = new global::System.Collections.Generic.List(); + global::System.Collections.Generic.List adaptersWithAcceptChangesDuringUpdate = new global::System.Collections.Generic.List(); + global::System.Collections.Generic.Dictionary revertConnections = new global::System.Collections.Generic.Dictionary(); + int result = 0; + global::System.Data.DataSet backupDataSet = null; + if (this.BackupDataSetBeforeUpdate) { + backupDataSet = new global::System.Data.DataSet(); + backupDataSet.Merge(dataSet); + } + try { + // ---- Prepare for update ----------- + // + // + //---- Perform updates ----------- + // + if ((this.UpdateOrder == UpdateOrderOption.UpdateInsertDelete)) { + result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows)); + result = (result + this.UpdateInsertedRows(dataSet, allAddedRows)); + } + else { + result = (result + this.UpdateInsertedRows(dataSet, allAddedRows)); + result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows)); + } + result = (result + this.UpdateDeletedRows(dataSet, allChangedRows)); + // + //---- Commit updates ----------- + // + workTransaction.Commit(); + if ((0 < allAddedRows.Count)) { + global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count]; + allAddedRows.CopyTo(rows); + for (int i = 0; (i < rows.Length); i = (i + 1)) { + global::System.Data.DataRow row = rows[i]; + row.AcceptChanges(); + } + } + if ((0 < allChangedRows.Count)) { + global::System.Data.DataRow[] rows = new System.Data.DataRow[allChangedRows.Count]; + allChangedRows.CopyTo(rows); + for (int i = 0; (i < rows.Length); i = (i + 1)) { + global::System.Data.DataRow row = rows[i]; + row.AcceptChanges(); + } + } + } + catch (global::System.Exception ex) { + workTransaction.Rollback(); + // ---- Restore the dataset ----------- + if (this.BackupDataSetBeforeUpdate) { + global::System.Diagnostics.Debug.Assert((backupDataSet != null)); + dataSet.Clear(); + dataSet.Merge(backupDataSet); + } + else { + if ((0 < allAddedRows.Count)) { + global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count]; + allAddedRows.CopyTo(rows); + for (int i = 0; (i < rows.Length); i = (i + 1)) { + global::System.Data.DataRow row = rows[i]; + row.AcceptChanges(); + row.SetAdded(); + } + } + } + throw ex; + } + finally { + if (workConnOpened) { + workConnection.Close(); + } + if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) { + global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count]; + adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters); + for (int i = 0; (i < adapters.Length); i = (i + 1)) { + global::System.Data.Common.DataAdapter adapter = adapters[i]; + adapter.AcceptChangesDuringUpdate = true; + } + } + } + return result; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected virtual void SortSelfReferenceRows(global::System.Data.DataRow[] rows, global::System.Data.DataRelation relation, bool childFirst) { + global::System.Array.Sort(rows, new SelfReferenceComparer(relation, childFirst)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected virtual bool MatchTableAdapterConnection(global::System.Data.IDbConnection inputConnection) { + if ((this._connection != null)) { + return true; + } + if (((this.Connection == null) + || (inputConnection == null))) { + return true; + } + if (string.Equals(this.Connection.ConnectionString, inputConnection.ConnectionString, global::System.StringComparison.Ordinal)) { + return true; + } + return false; + } + + /// + ///Update Order Option + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public enum UpdateOrderOption { + + InsertUpdateDelete = 0, + + UpdateInsertDelete = 1, + } + + /// + ///Used to sort self-referenced table's rows + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private class SelfReferenceComparer : object, global::System.Collections.Generic.IComparer { + + private global::System.Data.DataRelation _relation; + + private int _childFirst; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal SelfReferenceComparer(global::System.Data.DataRelation relation, bool childFirst) { + this._relation = relation; + if (childFirst) { + this._childFirst = -1; + } + else { + this._childFirst = 1; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private global::System.Data.DataRow GetRoot(global::System.Data.DataRow row, out int distance) { + global::System.Diagnostics.Debug.Assert((row != null)); + global::System.Data.DataRow root = row; + distance = 0; + + global::System.Collections.Generic.IDictionary traversedRows = new global::System.Collections.Generic.Dictionary(); + traversedRows[row] = row; + + global::System.Data.DataRow parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default); + for ( + ; ((parent != null) + && (traversedRows.ContainsKey(parent) == false)); + ) { + distance = (distance + 1); + root = parent; + traversedRows[parent] = parent; + parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default); + } + + if ((distance == 0)) { + traversedRows.Clear(); + traversedRows[row] = row; + parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original); + for ( + ; ((parent != null) + && (traversedRows.ContainsKey(parent) == false)); + ) { + distance = (distance + 1); + root = parent; + traversedRows[parent] = parent; + parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original); + } + } + + return root; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int Compare(global::System.Data.DataRow row1, global::System.Data.DataRow row2) { + if (object.ReferenceEquals(row1, row2)) { + return 0; + } + if ((row1 == null)) { + return -1; + } + if ((row2 == null)) { + return 1; + } + + int distance1 = 0; + global::System.Data.DataRow root1 = this.GetRoot(row1, out distance1); + + int distance2 = 0; + global::System.Data.DataRow root2 = this.GetRoot(row2, out distance2); + + if (object.ReferenceEquals(root1, root2)) { + return (this._childFirst * distance1.CompareTo(distance2)); + } + else { + global::System.Diagnostics.Debug.Assert(((root1.Table != null) + && (root2.Table != null))); + if ((root1.Table.Rows.IndexOf(root1) < root2.Table.Rows.IndexOf(root2))) { + return -1; + } + else { + return 1; + } + } + } + } + } +} + +#pragma warning restore 1591 \ No newline at end of file diff --git a/SubProject/FCM0000/DSReport.xsc b/SubProject/FCM0000/DSReport.xsc new file mode 100644 index 0000000..551fc56 --- /dev/null +++ b/SubProject/FCM0000/DSReport.xsc @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/SubProject/FCM0000/DSReport.xsd b/SubProject/FCM0000/DSReport.xsd new file mode 100644 index 0000000..a61ecda --- /dev/null +++ b/SubProject/FCM0000/DSReport.xsd @@ -0,0 +1,83 @@ + + + + + + + + + + + + + + + SELECT dbo.getUserName(uid) AS username, ISNULL(dbo.getProjectName(project), '--') AS project, MAX(pdate) AS pdate, ItemName, SUM(dr_qty) AS stock +FROM Inventory +WHERE (dbo.getUserName(uid) LIKE @uid) +GROUP BY dbo.getUserName(uid), dbo.getProjectName(project), ItemName +HAVING (SUM(dr_qty) <> 0) +ORDER BY username, project, ItemName + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SubProject/FCM0000/DSReport.xss b/SubProject/FCM0000/DSReport.xss new file mode 100644 index 0000000..122fe31 --- /dev/null +++ b/SubProject/FCM0000/DSReport.xss @@ -0,0 +1,12 @@ + + + + + + + + \ No newline at end of file diff --git a/SubProject/FCM0000/FCM0000.csproj b/SubProject/FCM0000/FCM0000.csproj index dcce3cf..a27242c 100644 --- a/SubProject/FCM0000/FCM0000.csproj +++ b/SubProject/FCM0000/FCM0000.csproj @@ -1,310 +1,310 @@ - - - - - Debug - AnyCPU - {26982882-C1FF-45F8-861C-D67558725FF1} - WinExe - Properties - FCM0000 - FCM0000 - v4.0 - 512 - - - x86 - true - full - false - ..\..\..\..\..\Amkor\GroupWare\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - ..\..\DLL\ArSetting.Net4.dll - - - - - - - - - - - - - - - ..\..\DLL\libxl.net.dll - - - - - ..\..\packages\NetOffice.Core.1.7.4.4\lib\net40\NetOffice.dll - False - True - - - ..\..\packages\NetOffice.Core.1.7.4.4\lib\net40\OfficeApi.dll - False - True - - - ..\..\packages\NetOffice.Outlook.1.7.4.4\lib\net40\OutlookApi.dll - False - True - - - - - - - - - - - - - - - ..\..\packages\NetOffice.Core.1.7.4.4\lib\net40\VBIDEApi.dll - False - True - - - - - - Form - - - fSendMail.cs - - - Form - - - fRequestItem.cs - - - Form - - - fRequestItem_Add.cs - - - True - True - dsMSSQL.xsd - - - True - True - DSReport.xsd - - - Form - - - fCode.cs - - - Form - - - fCustoms.cs - - - Form - - - fInventory.cs - - - Form - - - fItems.cs - - - Form - - - fLovOneItem.cs - - - Form - - - fLovSupply.cs - - - Form - - - fLovProject.cs - - - Form - - - fLovItem.cs - - - Form - - - fMailform.cs - - - Form - - - Customer_Import.cs - - - Form - - - fSelectDate.cs - - - Form - - - RepInvStock.cs - - - - - - fSendMail.cs - - - fRequestItem.cs - - - fRequestItem_Add.cs - - - fCode.cs - - - fCustoms.cs - - - fInventory.cs - - - fItems.cs - - - fLovOneItem.cs - - - fLovSupply.cs - - - fLovProject.cs - - - fLovItem.cs - - - fMailform.cs - - - Customer_Import.cs - - - fSelectDate.cs - - - - RepInvStock.cs - - - - ResXFileCodeGenerator - Resources.Designer.cs - Designer - - - - True - Resources.resx - True - - - - dsMSSQL.xsd - - - Designer - MSDataSetGenerator - dsMSSQL.Designer.cs - - - dsMSSQL.xsd - - - DSReport.xsd - - - Designer - MSDataSetGenerator - DSReport.Designer.cs - - - DSReport.xsd - - - - SettingsSingleFileGenerator - Settings.Designer.cs - - - True - Settings.settings - True - - - - - {f31c242c-1b15-4518-9733-48558499fe4b} - arControl - - - {db5ee9c8-eacf-4231-877e-b9dfd7a714de} - YARTE - - - {304bd018-194b-47da-b4e0-f16df7b606da} - FCOMMON - - - - - - - + + + + + Debug + AnyCPU + {26982882-C1FF-45F8-861C-D67558725FF1} + WinExe + Properties + FCM0000 + FCM0000 + v4.0 + 512 + + + x86 + true + full + false + ..\..\..\..\..\Amkor\GroupWare\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + ..\..\DLL\ArSetting.Net4.dll + + + + + + + + + + + + + + + ..\..\DLL\libxl.net.dll + + + + + ..\..\packages\NetOffice.Core.1.7.4.4\lib\net40\NetOffice.dll + False + True + + + ..\..\packages\NetOffice.Core.1.7.4.4\lib\net40\OfficeApi.dll + False + True + + + ..\..\packages\NetOffice.Outlook.1.7.4.4\lib\net40\OutlookApi.dll + False + True + + + + + + + + + + + + + + + ..\..\packages\NetOffice.Core.1.7.4.4\lib\net40\VBIDEApi.dll + False + True + + + + + + Form + + + fSendMail.cs + + + Form + + + fRequestItem.cs + + + Form + + + fRequestItem_Add.cs + + + True + True + dsMSSQL.xsd + + + True + True + DSReport.xsd + + + Form + + + fCode.cs + + + Form + + + fCustoms.cs + + + Form + + + fInventory.cs + + + Form + + + fItems.cs + + + Form + + + fLovOneItem.cs + + + Form + + + fLovSupply.cs + + + Form + + + fLovProject.cs + + + Form + + + fLovItem.cs + + + Form + + + fMailform.cs + + + Form + + + Customer_Import.cs + + + Form + + + fSelectDate.cs + + + Form + + + RepInvStock.cs + + + + + + fSendMail.cs + + + fRequestItem.cs + + + fRequestItem_Add.cs + + + fCode.cs + + + fCustoms.cs + + + fInventory.cs + + + fItems.cs + + + fLovOneItem.cs + + + fLovSupply.cs + + + fLovProject.cs + + + fLovItem.cs + + + fMailform.cs + + + Customer_Import.cs + + + fSelectDate.cs + + + + RepInvStock.cs + + + + ResXFileCodeGenerator + Resources.Designer.cs + Designer + + + + True + Resources.resx + True + + + + dsMSSQL.xsd + + + Designer + MSDataSetGenerator + dsMSSQL.Designer.cs + + + dsMSSQL.xsd + + + DSReport.xsd + + + Designer + MSDataSetGenerator + DSReport.Designer.cs + + + DSReport.xsd + + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + True + Settings.settings + True + + + + + {f31c242c-1b15-4518-9733-48558499fe4b} + arControl + + + {db5ee9c8-eacf-4231-877e-b9dfd7a714de} + YARTE + + + {304bd018-194b-47da-b4e0-f16df7b606da} + FCOMMON + + + + + + + \ No newline at end of file diff --git a/SubProject/FCM0000/Inventory/RepInvStock.Designer.cs b/SubProject/FCM0000/Inventory/RepInvStock.Designer.cs new file mode 100644 index 0000000..8b91ab2 --- /dev/null +++ b/SubProject/FCM0000/Inventory/RepInvStock.Designer.cs @@ -0,0 +1,90 @@ +namespace FCM0000.Inventory +{ + partial class RepInvStock + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + Microsoft.Reporting.WinForms.ReportDataSource reportDataSource1 = new Microsoft.Reporting.WinForms.ReportDataSource(); + this.reportViewer1 = new Microsoft.Reporting.WinForms.ReportViewer(); + this.dSReport = new FCM0000.DSReport(); + this.bs = new System.Windows.Forms.BindingSource(this.components); + this.ta = new FCM0000.DSReportTableAdapters.PersonInvStockTableAdapter(); + ((System.ComponentModel.ISupportInitialize)(this.dSReport)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); + this.SuspendLayout(); + // + // reportViewer1 + // + this.reportViewer1.Dock = System.Windows.Forms.DockStyle.Fill; + reportDataSource1.Name = "DataSet1"; + reportDataSource1.Value = this.bs; + this.reportViewer1.LocalReport.DataSources.Add(reportDataSource1); + this.reportViewer1.LocalReport.ReportEmbeddedResource = "FCM0000.Inventory.RepInvStock.rdlc"; + this.reportViewer1.Location = new System.Drawing.Point(0, 0); + this.reportViewer1.Name = "reportViewer1"; + this.reportViewer1.Size = new System.Drawing.Size(660, 589); + this.reportViewer1.TabIndex = 0; + // + // dSReport + // + this.dSReport.DataSetName = "DSReport"; + this.dSReport.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; + // + // bs + // + this.bs.DataMember = "PersonInvStock"; + this.bs.DataSource = this.dSReport; + // + // ta + // + this.ta.ClearBeforeFill = true; + // + // RepInvStock + // + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(660, 589); + this.Controls.Add(this.reportViewer1); + this.Name = "RepInvStock"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "RepInvStock"; + this.Load += new System.EventHandler(this.RepInvStock_Load); + ((System.ComponentModel.ISupportInitialize)(this.dSReport)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); + this.ResumeLayout(false); + + } + + #endregion + + private Microsoft.Reporting.WinForms.ReportViewer reportViewer1; + private System.Windows.Forms.BindingSource bs; + private DSReport dSReport; + private DSReportTableAdapters.PersonInvStockTableAdapter ta; + } +} \ No newline at end of file diff --git a/SubProject/FCM0000/Inventory/RepInvStock.cs b/SubProject/FCM0000/Inventory/RepInvStock.cs new file mode 100644 index 0000000..a4b4ea8 --- /dev/null +++ b/SubProject/FCM0000/Inventory/RepInvStock.cs @@ -0,0 +1,34 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Windows.Forms; + +namespace FCM0000.Inventory +{ + public partial class RepInvStock : Form + { + string userid = string.Empty; + public RepInvStock(string uid) + { + InitializeComponent(); + this.userid = uid; + } + + private void RepInvStock_Load(object sender, EventArgs e) + { + try + { + this.ta.Fill(this.dSReport.PersonInvStock, this.userid); + this.reportViewer1.RefreshReport(); + }catch (Exception ex) + { + FCOMMON.Util.MsgE(ex.Message); + } + + } + } +} diff --git a/SubProject/FCM0000/Inventory/RepInvStock.rdlc b/SubProject/FCM0000/Inventory/RepInvStock.rdlc new file mode 100644 index 0000000..c7e5a15 --- /dev/null +++ b/SubProject/FCM0000/Inventory/RepInvStock.rdlc @@ -0,0 +1,608 @@ + + + + + + + + + 3.135cm + + + 5.58208cm + + + 2.5cm + + + + + 1.50896cm + + + + + true + true + + + + + + + + + + + + Textbox27 + + + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + + + + + + + + Textbox28 + + + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + + + + + + + + Textbox29 + + + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + 0.6cm + + + + + true + true + + + + + Date + + + + + + + Textbox2 + + + LightGrey + Middle + 2pt + 2pt + 2pt + 2pt + + + true + + + + + + true + true + + + + + Item + + + + + + + Textbox3 + + + LightGrey + Middle + 2pt + 2pt + 2pt + 2pt + + + true + + + + + + true + true + + + + + Stock + + + + + + + Textbox5 + + + LightGrey + Middle + 2pt + 2pt + 2pt + 2pt + + + true + + + + + + 0.6cm + + + + + true + true + + + + + =Fields!pdate.Value + + + + + + + pdate + + + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!ItemName.Value + + + + + + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Sum(Fields!stock.Value) + + + + + + + stock + + + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + + + + + + + + + + + + + 5.43688cm + + + true + true + + + + + =first(Fields!username.Value) + + + + + + + Textbox26 + + + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + 5.43688cm + + + true + true + + + + + Project + + + + + + + Textbox7 + + + LightGrey + Middle + 2pt + 2pt + 2pt + 2pt + + + true + + + + + + + + + + =Fields!username.Value + + + + + =Fields!username.Value + + + + + + + =Fields!project.Value + + + + + =Fields!project.Value + + + + 5.43688cm + + + true + true + + + + + =Fields!project.Value + + + + + + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + + + + + + + + DataSet1 + 2.70896cm + 16.65396cm + + + Middle + + + + 1.06652in + - - - - - - Textbox10 - - - Middle - 2pt - 2pt - 2pt - 2pt - - - 2 - - - - - - - - - - - - 1.78563cm - - - 1.99729cm - - - 2.57938cm - - - - - 0.6cm - - - - - true - true - - - - - =Sum(Fields!pumamt.Value) - - - - - - - pumamt - - - Middle - 2pt - 2pt - 2pt - 2pt - - - - - - - - true - true - - - - - =Sum(Fields!pumamt.Value) - - - - - - - pumamt1 - - - LightGrey - Middle - 2pt - 2pt - 2pt - 2pt - - - - - - - - true - true - - - - - =Sum(Fields!pumamt.Value) - - - - - - - Textbox8 - - - Silver - 2pt - 2pt - 2pt - 2pt - - - - - - - - 0.6cm - - - - - true - true - - - - - =Sum(Fields!pumamt.Value) - - - - - - - Textbox6 - - - LightGrey - Middle - 2pt - 2pt - 2pt - 2pt - - - - - - - - true - true - - - - - =Sum(Fields!pumamt.Value) - - - - - - - Textbox20 - - - LightGrey - Middle - 2pt - 2pt - 2pt - 2pt - - - - - - - - true - true - - - - - =Sum(Fields!pumamt.Value) - - - - - - - Textbox9 - - - Silver - 2pt - 2pt - 2pt - 2pt - - - - - - - - - - - - - - = left(Fields!pdate.Value,4) - - - - - =Fields!pdate.Value - - - - 0.6cm - - - true - true - - - - - = left(Fields!pdate.Value,4) - - - - - - - pdate1 - - - Middle - 2pt - 2pt - 2pt - 2pt - - - - - - - - - =mid(Fields!pdate.Value,6,2) - - - - - =Fields!pdate.Value - - - - 0.6cm - - - true - true - - - - - =mid(Fields!pdate.Value,6,2) - - - - - - - pdate - - - Middle - 2pt - 2pt - 2pt - 2pt - - - - - - - - - - - 0.6cm - - - true - true - - - - - S.Total - - - - - - - Textbox18 - - - LightGrey - Middle - 2pt - 2pt - 2pt - 2pt - - - - - - - - - - 1.2cm - - - true - true - - - - - Total - - - - - - - Textbox12 - - - Silver - Middle - 2pt - 2pt - 2pt - 2pt - - - - - - - - - - - - - =Fields!request.Value - - - - - =Fields!request.Value - - - - 2.5cm - - - true - true - - - - - =Fields!request.Value - - - - - - - request - - - 2pt - 2pt - 2pt - 2pt - - - - - - - - - - - 2.5cm - - - true - true - - - - - 합계 - - - - - - - Textbox5 - - - LightGrey - 2pt - 2pt - 2pt - 2pt - - - - - Before - - - - DataSet1 - 2.4cm - 8.86229cm - - - - - - 2.125in - + + + + + + Textbox10 + + + Middle + 2pt + 2pt + 2pt + 2pt + + + 2 + + + + + + + + + + + + 1.78563cm + + + 1.99729cm + + + 2.57938cm + + + + + 0.6cm + + + + + true + true + + + + + =Sum(Fields!pumamt.Value) + + + + + + + pumamt + + + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Sum(Fields!pumamt.Value) + + + + + + + pumamt1 + + + LightGrey + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Sum(Fields!pumamt.Value) + + + + + + + Textbox8 + + + Silver + 2pt + 2pt + 2pt + 2pt + + + + + + + + 0.6cm + + + + + true + true + + + + + =Sum(Fields!pumamt.Value) + + + + + + + Textbox6 + + + LightGrey + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Sum(Fields!pumamt.Value) + + + + + + + Textbox20 + + + LightGrey + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Sum(Fields!pumamt.Value) + + + + + + + Textbox9 + + + Silver + 2pt + 2pt + 2pt + 2pt + + + + + + + + + + + + + + = left(Fields!pdate.Value,4) + + + + + =Fields!pdate.Value + + + + 0.6cm + + + true + true + + + + + = left(Fields!pdate.Value,4) + + + + + + + pdate1 + + + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + + =mid(Fields!pdate.Value,6,2) + + + + + =Fields!pdate.Value + + + + 0.6cm + + + true + true + + + + + =mid(Fields!pdate.Value,6,2) + + + + + + + pdate + + + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + + + + 0.6cm + + + true + true + + + + + S.Total + + + + + + + Textbox18 + + + LightGrey + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + + + 1.2cm + + + true + true + + + + + Total + + + + + + + Textbox12 + + + Silver + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + + + + + + =Fields!request.Value + + + + + =Fields!request.Value + + + + 2.5cm + + + true + true + + + + + =Fields!request.Value + + + + + + + request + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + + + + 2.5cm + + + true + true + + + + + 합계 + + + + + + + Textbox5 + + + LightGrey + 2pt + 2pt + 2pt + 2pt + + + + + Before + + + + DataSet1 + 2.4cm + 8.86229cm + + + + + + 2.125in + - - - - - - Textbox10 - - - Middle - 2pt - 2pt - 2pt - 2pt - - - 2 - - - - - - - - - - - - 1.78563cm - - - 1.99729cm - - - 2.57938cm - - - - - 0.6cm - - - - - true - true - - - - - =Sum(Fields!pumamt.Value) - - - - - - - pumamt - - - Middle - 2pt - 2pt - 2pt - 2pt - - - true - - - - - - true - true - - - - - =Sum(Fields!pumamt.Value) - - - - - - - pumamt1 - - - LightGrey - Middle - 2pt - 2pt - 2pt - 2pt - - - true - - - - - - true - true - - - - - =Sum(Fields!pumamt.Value) - - - - - - - Textbox8 - - - Silver - Middle - 2pt - 2pt - 2pt - 2pt - - - true - - - - - - 0.6cm - - - - - true - true - - - - - =Sum(Fields!pumamt.Value) - - - - - - - Textbox6 - - - LightGrey - Middle - 2pt - 2pt - 2pt - 2pt - - - true - - - - - - true - true - - - - - =Sum(Fields!pumamt.Value) - - - - - - - Textbox20 - - - LightGrey - Middle - 2pt - 2pt - 2pt - 2pt - - - true - - - - - - true - true - - - - - =Sum(Fields!pumamt.Value) - - - - - - - Textbox9 - - - Silver - Middle - 2pt - 2pt - 2pt - 2pt - - - true - - - - - - - - - - - - = left(Fields!pdate.Value,4) - - - - - =Fields!pdate.Value - - - - 0.6cm - - - true - true - - - - - = left(Fields!pdate.Value,4) - - - - - - - pdate1 - - - Middle - 2pt - 2pt - 2pt - 2pt - - - - - - - - - =mid(Fields!pdate.Value,6,2) - - - - - =Fields!pdate.Value - - - - 0.6cm - - - true - true - - - - - =mid(Fields!pdate.Value,6,2) - - - - - - - pdate - - - Middle - 2pt - 2pt - 2pt - 2pt - - - - - - - - - - - 0.6cm - - - true - true - - - - - S.Total - - - - - - - Textbox18 - - - LightGrey - Middle - 2pt - 2pt - 2pt - 2pt - - - - - - - - - - 1.2cm - - - true - true - - - - - Total - - - - - - - Textbox12 - - - Silver - Middle - 2pt - 2pt - 2pt - 2pt - - - - - - - - - - - - - =Fields!process.Value - - - - - =Fields!request.Value - - - - 3.77cm - - - true - true - - - - - =Fields!process.Value - - - - - - - process - - - 2pt - 2pt - 2pt - 2pt - - - - - - - - - - - 3.77cm - - - true - true - - - - - 합계 - - - - - - - Textbox5 - - - LightGrey - 2pt - 2pt - 2pt - 2pt - - - - - Before - - - - DataSet1 - 2.4cm - 10.1323cm - - - - - - 2.125in - + + + + + + Textbox10 + + + Middle + 2pt + 2pt + 2pt + 2pt + + + 2 + + + + + + + + + + + + 1.78563cm + + + 1.99729cm + + + 2.57938cm + + + + + 0.6cm + + + + + true + true + + + + + =Sum(Fields!pumamt.Value) + + + + + + + pumamt + + + Middle + 2pt + 2pt + 2pt + 2pt + + + true + + + + + + true + true + + + + + =Sum(Fields!pumamt.Value) + + + + + + + pumamt1 + + + LightGrey + Middle + 2pt + 2pt + 2pt + 2pt + + + true + + + + + + true + true + + + + + =Sum(Fields!pumamt.Value) + + + + + + + Textbox8 + + + Silver + Middle + 2pt + 2pt + 2pt + 2pt + + + true + + + + + + 0.6cm + + + + + true + true + + + + + =Sum(Fields!pumamt.Value) + + + + + + + Textbox6 + + + LightGrey + Middle + 2pt + 2pt + 2pt + 2pt + + + true + + + + + + true + true + + + + + =Sum(Fields!pumamt.Value) + + + + + + + Textbox20 + + + LightGrey + Middle + 2pt + 2pt + 2pt + 2pt + + + true + + + + + + true + true + + + + + =Sum(Fields!pumamt.Value) + + + + + + + Textbox9 + + + Silver + Middle + 2pt + 2pt + 2pt + 2pt + + + true + + + + + + + + + + + + = left(Fields!pdate.Value,4) + + + + + =Fields!pdate.Value + + + + 0.6cm + + + true + true + + + + + = left(Fields!pdate.Value,4) + + + + + + + pdate1 + + + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + + =mid(Fields!pdate.Value,6,2) + + + + + =Fields!pdate.Value + + + + 0.6cm + + + true + true + + + + + =mid(Fields!pdate.Value,6,2) + + + + + + + pdate + + + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + + + + 0.6cm + + + true + true + + + + + S.Total + + + + + + + Textbox18 + + + LightGrey + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + + + 1.2cm + + + true + true + + + + + Total + + + + + + + Textbox12 + + + Silver + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + + + + + + =Fields!process.Value + + + + + =Fields!request.Value + + + + 3.77cm + + + true + true + + + + + =Fields!process.Value + + + + + + + process + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + + + + 3.77cm + + + true + true + + + + + 합계 + + + + + + + Textbox5 + + + LightGrey + 2pt + 2pt + 2pt + 2pt + + + + + Before + + + + DataSet1 + 2.4cm + 10.1323cm + + + + + + 2.125in + - - - - - #384c70 - 2pt - 2pt - 2pt - 2pt - - - - - - - - true - true - - - - - Item Name - - - - - - #384c70 - 2pt - 2pt - 2pt - 2pt - - - - - - - - true - true - - - - - Model - - - - - - #384c70 - 2pt - 2pt - 2pt - 2pt - - - - - - - - true - true - - - - - SID - - - - - - #384c70 - 2pt - 2pt - 2pt - 2pt - - - - - - - - true - true - - - - - Supply - - - - - - #384c70 - 2pt - 2pt - 2pt - 2pt - - - - - - - - true - true - - - - - qty - - - - - - #384c70 - 2pt - 2pt - 2pt - 2pt - - - - - - - - true - true - - - - - price - - - - - - #384c70 - 2pt - 2pt - 2pt - 2pt - - - - - - - - true - true - - - - - amt - - - - - - #384c70 - 2pt - 2pt - 2pt - 2pt - - - - - - - - true - true - - - - - jago - - - - - - #384c70 - 2pt - 2pt - 2pt - 2pt - - - - - - - - true - true - - - - - memo - - - - - - #384c70 - 2pt - 2pt - 2pt - 2pt - - - - - - - - 0.6cm - - - - - true - true - - - - - =Sum(Fields!Item.Value) - - - - - - 2pt - 2pt - 2pt - 2pt - - - - - - - - true - true - - - - - =Fields!ItemName.Value - - - - - - 2pt - 2pt - 2pt - 2pt - - - - - - - - true - true - - - - - =Fields!Model.Value - - - - - - 2pt - 2pt - 2pt - 2pt - - - - - - - - true - true - - - - - =Fields!SID.Value - - - - - - 2pt - 2pt - 2pt - 2pt - - - - - - - - true - true - - - - - =Fields!Supply.Value - - - - - - 2pt - 2pt - 2pt - 2pt - - - - - - - - true - true - - - - - =Sum(Fields!qty.Value) - - - - - - 2pt - 2pt - 2pt - 2pt - - - - - - - - true - true - - - - - =Sum(Fields!price.Value) - - - - - - 2pt - 2pt - 2pt - 2pt - - - - - - - - true - true - - - - - =Sum(Fields!amt.Value) - - - - - - 2pt - 2pt - 2pt - 2pt - - - - - - - - true - true - - - - - =Sum(Fields!jago.Value) - - - - - - 2pt - 2pt - 2pt - 2pt - - - - - - - - true - true - - - - - =Fields!memo.Value - - - - - - 2pt - 2pt - 2pt - 2pt - - - - - - - - - - - - - - - - - - - - - - - - - - After - - - - - - - DataSet1 - 1.2cm - 25cm - - - - - - 0.47244in - + + + + + #384c70 + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Item Name + + + + + + #384c70 + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Model + + + + + + #384c70 + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + SID + + + + + + #384c70 + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Supply + + + + + + #384c70 + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + qty + + + + + + #384c70 + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + price + + + + + + #384c70 + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + amt + + + + + + #384c70 + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + jago + + + + + + #384c70 + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + memo + + + + + + #384c70 + 2pt + 2pt + 2pt + 2pt + + + + + + + + 0.6cm + + + + + true + true + + + + + =Sum(Fields!Item.Value) + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!ItemName.Value + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!Model.Value + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!SID.Value + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!Supply.Value + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Sum(Fields!qty.Value) + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Sum(Fields!price.Value) + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Sum(Fields!amt.Value) + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Sum(Fields!jago.Value) + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!memo.Value + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + + + + + + + + + + + + + + + + + + + After + + + + + + + DataSet1 + 1.2cm + 25cm + + + + + + 0.47244in +