item, project 를 별도 분리
lov 생성 personalInventoryToolStripMenuItem_Click 기능 추가
This commit is contained in:
		
							
								
								
									
										14
									
								
								EETGW.sln
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								EETGW.sln
									
									
									
									
									
								
							| @@ -19,6 +19,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "arControl", "Sub\arControl\ | |||||||
| EndProject | EndProject | ||||||
| Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FPJ0000", "SubProject\FPJ0000\FPJ0000.csproj", "{74836A5F-CB5B-449F-9210-99C9D1A23B97}" | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FPJ0000", "SubProject\FPJ0000\FPJ0000.csproj", "{74836A5F-CB5B-449F-9210-99C9D1A23B97}" | ||||||
| EndProject | EndProject | ||||||
|  | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FCM0000", "SubProject\FCM0000\FCM0000.csproj", "{26982882-C1FF-45F8-861C-D67558725FF1}" | ||||||
|  | EndProject | ||||||
|  | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Project", "Project", "{6C7EC99E-7367-4255-A039-EF5E8D75A2F6}" | ||||||
|  | EndProject | ||||||
| Global | Global | ||||||
| 	GlobalSection(SolutionConfigurationPlatforms) = preSolution | 	GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||||||
| 		Debug|Any CPU = Debug|Any CPU | 		Debug|Any CPU = Debug|Any CPU | ||||||
| @@ -71,6 +75,12 @@ Global | |||||||
| 		{74836A5F-CB5B-449F-9210-99C9D1A23B97}.Release|Any CPU.ActiveCfg = Release|Any CPU | 		{74836A5F-CB5B-449F-9210-99C9D1A23B97}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||||||
| 		{74836A5F-CB5B-449F-9210-99C9D1A23B97}.Release|Any CPU.Build.0 = Release|Any CPU | 		{74836A5F-CB5B-449F-9210-99C9D1A23B97}.Release|Any CPU.Build.0 = Release|Any CPU | ||||||
| 		{74836A5F-CB5B-449F-9210-99C9D1A23B97}.Release|x86.ActiveCfg = Release|Any CPU | 		{74836A5F-CB5B-449F-9210-99C9D1A23B97}.Release|x86.ActiveCfg = Release|Any CPU | ||||||
|  | 		{26982882-C1FF-45F8-861C-D67558725FF1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||||||
|  | 		{26982882-C1FF-45F8-861C-D67558725FF1}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||||||
|  | 		{26982882-C1FF-45F8-861C-D67558725FF1}.Debug|x86.ActiveCfg = Debug|Any CPU | ||||||
|  | 		{26982882-C1FF-45F8-861C-D67558725FF1}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||||||
|  | 		{26982882-C1FF-45F8-861C-D67558725FF1}.Release|Any CPU.Build.0 = Release|Any CPU | ||||||
|  | 		{26982882-C1FF-45F8-861C-D67558725FF1}.Release|x86.ActiveCfg = Release|Any CPU | ||||||
| 	EndGlobalSection | 	EndGlobalSection | ||||||
| 	GlobalSection(SolutionProperties) = preSolution | 	GlobalSection(SolutionProperties) = preSolution | ||||||
| 		HideSolutionNode = FALSE | 		HideSolutionNode = FALSE | ||||||
| @@ -78,7 +88,11 @@ Global | |||||||
| 	GlobalSection(NestedProjects) = preSolution | 	GlobalSection(NestedProjects) = preSolution | ||||||
| 		{B832738C-74DD-4CE2-8A29-98D0BCBB9EA4} = {28105E67-9D33-4627-8E26-FCE67700622F} | 		{B832738C-74DD-4CE2-8A29-98D0BCBB9EA4} = {28105E67-9D33-4627-8E26-FCE67700622F} | ||||||
| 		{58CFC90C-5068-46A2-A8DE-0E92EE9E0990} = {28105E67-9D33-4627-8E26-FCE67700622F} | 		{58CFC90C-5068-46A2-A8DE-0E92EE9E0990} = {28105E67-9D33-4627-8E26-FCE67700622F} | ||||||
|  | 		{C2E0627D-0623-4B68-A558-37CBCE6BDCA6} = {6C7EC99E-7367-4255-A039-EF5E8D75A2F6} | ||||||
|  | 		{304BD018-194B-47DA-B4E0-F16DF7B606DA} = {6C7EC99E-7367-4255-A039-EF5E8D75A2F6} | ||||||
| 		{F31C242C-1B15-4518-9733-48558499FE4B} = {28105E67-9D33-4627-8E26-FCE67700622F} | 		{F31C242C-1B15-4518-9733-48558499FE4B} = {28105E67-9D33-4627-8E26-FCE67700622F} | ||||||
|  | 		{74836A5F-CB5B-449F-9210-99C9D1A23B97} = {6C7EC99E-7367-4255-A039-EF5E8D75A2F6} | ||||||
|  | 		{26982882-C1FF-45F8-861C-D67558725FF1} = {6C7EC99E-7367-4255-A039-EF5E8D75A2F6} | ||||||
| 	EndGlobalSection | 	EndGlobalSection | ||||||
| 	GlobalSection(ExtensibilityGlobals) = postSolution | 	GlobalSection(ExtensibilityGlobals) = postSolution | ||||||
| 		SolutionGuid = {B5B1FD72-356F-4840-83E8-B070AC21C8D9} | 		SolutionGuid = {B5B1FD72-356F-4840-83E8-B070AC21C8D9} | ||||||
|   | |||||||
| @@ -210,22 +210,11 @@ | |||||||
|     </Compile> |     </Compile> | ||||||
|     <Compile Include="Language\Lang.cs" /> |     <Compile Include="Language\Lang.cs" /> | ||||||
|     <Compile Include="Manager\DataBaseManager.cs" /> |     <Compile Include="Manager\DataBaseManager.cs" /> | ||||||
|  |     <Compile Include="Manager\keyValuedataTable.cs" /> | ||||||
|     <Compile Include="Manager\ModelManager.cs" /> |     <Compile Include="Manager\ModelManager.cs" /> | ||||||
|     <Compile Include="MessageWindow.cs" /> |     <Compile Include="MessageWindow.cs" /> | ||||||
|     <Compile Include="MethodExtentions.cs" /> |     <Compile Include="MethodExtentions.cs" /> | ||||||
|     <Compile Include="Program.cs" /> |     <Compile Include="Program.cs" /> | ||||||
|     <Compile Include="_Common\fInventory.cs"> |  | ||||||
|       <SubType>Form</SubType> |  | ||||||
|     </Compile> |  | ||||||
|     <Compile Include="_Common\fInventory.Designer.cs"> |  | ||||||
|       <DependentUpon>fInventory.cs</DependentUpon> |  | ||||||
|     </Compile> |  | ||||||
|     <Compile Include="_Common\fItems.cs"> |  | ||||||
|       <SubType>Form</SubType> |  | ||||||
|     </Compile> |  | ||||||
|     <Compile Include="_Common\fItems.Designer.cs"> |  | ||||||
|       <DependentUpon>fItems.cs</DependentUpon> |  | ||||||
|     </Compile> |  | ||||||
|     <Compile Include="_Common\fNewID.cs"> |     <Compile Include="_Common\fNewID.cs"> | ||||||
|       <SubType>Form</SubType> |       <SubType>Form</SubType> | ||||||
|     </Compile> |     </Compile> | ||||||
| @@ -299,12 +288,6 @@ | |||||||
|     <EmbeddedResource Include="fSetting.resx"> |     <EmbeddedResource Include="fSetting.resx"> | ||||||
|       <DependentUpon>fSetting.cs</DependentUpon> |       <DependentUpon>fSetting.cs</DependentUpon> | ||||||
|     </EmbeddedResource> |     </EmbeddedResource> | ||||||
|     <EmbeddedResource Include="_Common\fInventory.resx"> |  | ||||||
|       <DependentUpon>fInventory.cs</DependentUpon> |  | ||||||
|     </EmbeddedResource> |  | ||||||
|     <EmbeddedResource Include="_Common\fItems.resx"> |  | ||||||
|       <DependentUpon>fItems.cs</DependentUpon> |  | ||||||
|     </EmbeddedResource> |  | ||||||
|     <EmbeddedResource Include="_Common\fNewID.resx"> |     <EmbeddedResource Include="_Common\fNewID.resx"> | ||||||
|       <DependentUpon>fNewID.cs</DependentUpon> |       <DependentUpon>fNewID.cs</DependentUpon> | ||||||
|     </EmbeddedResource> |     </EmbeddedResource> | ||||||
| @@ -411,6 +394,10 @@ | |||||||
|       <Project>{58cfc90c-5068-46a2-a8de-0e92ee9e0990}</Project> |       <Project>{58cfc90c-5068-46a2-a8de-0e92ee9e0990}</Project> | ||||||
|       <Name>AmkorRestfulService</Name> |       <Name>AmkorRestfulService</Name> | ||||||
|     </ProjectReference> |     </ProjectReference> | ||||||
|  |     <ProjectReference Include="..\SubProject\FCM0000\FCM0000.csproj"> | ||||||
|  |       <Project>{26982882-c1ff-45f8-861c-d67558725ff1}</Project> | ||||||
|  |       <Name>FCM0000</Name> | ||||||
|  |     </ProjectReference> | ||||||
|     <ProjectReference Include="..\SubProject\FCOMMON\FCOMMON.csproj"> |     <ProjectReference Include="..\SubProject\FCOMMON\FCOMMON.csproj"> | ||||||
|       <Project>{304bd018-194b-47da-b4e0-f16df7b606da}</Project> |       <Project>{304bd018-194b-47da-b4e0-f16df7b606da}</Project> | ||||||
|       <Name>FCOMMON</Name> |       <Name>FCOMMON</Name> | ||||||
|   | |||||||
| @@ -14,12 +14,20 @@ namespace Project.Manager | |||||||
|             cn.ConnectionString = cs; |             cn.ConnectionString = cs; | ||||||
|             return cn; |             return cn; | ||||||
|         } |         } | ||||||
|         public static List<String> getEQGroupLiist(string GroupColumn,string table) |         public static List<String> getGroupList(string GroupColumn, string table, string where = "") | ||||||
|         { |         { | ||||||
|             List<string> retval = new List<string>(); |             List<string> retval = new List<string>(); | ||||||
|             var cn = getCn(); |             var cn = getCn(); | ||||||
|             cn.Open(); |             cn.Open(); | ||||||
|             var sql = "select {0} from {1} where isnull({0},'') != '' group by {0} order by {0}"; |             var sql = "select {0} " + | ||||||
|  |                 " from {1} " + | ||||||
|  |                 " where isnull({0},'') != '' "; | ||||||
|  |  | ||||||
|  |             if (where != "") sql += " and " + where; | ||||||
|  |  | ||||||
|  |             sql += " group by {0} "+ | ||||||
|  |                    " order by {0}"; | ||||||
|  |  | ||||||
|             sql = string.Format(sql, "[" + GroupColumn +"]",table); |             sql = string.Format(sql, "[" + GroupColumn +"]",table); | ||||||
|             var cmd = new System.Data.SqlClient.SqlCommand(sql,cn); |             var cmd = new System.Data.SqlClient.SqlCommand(sql,cn); | ||||||
|             var rdr = cmd.ExecuteReader(); |             var rdr = cmd.ExecuteReader(); | ||||||
| @@ -32,5 +40,9 @@ namespace Project.Manager | |||||||
|             cn.Dispose(); |             cn.Dispose(); | ||||||
|             return retval; |             return retval; | ||||||
|         } |         } | ||||||
|  |         public static List<String> getDateList(string table,string where="") | ||||||
|  |         { | ||||||
|  |             return getGroupList("pdate", table,where); | ||||||
|  |         } | ||||||
|     } |     } | ||||||
| } | } | ||||||
|   | |||||||
							
								
								
									
										33
									
								
								Project/Manager/keyValuedataTable.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								Project/Manager/keyValuedataTable.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +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(); | ||||||
|  |         } | ||||||
|  |     } | ||||||
|  |  | ||||||
|  | } | ||||||
| @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; | |||||||
| // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로 | // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로 | ||||||
| // 지정되도록 할 수 있습니다. | // 지정되도록 할 수 있습니다. | ||||||
| // [assembly: AssemblyVersion("1.0.*")] | // [assembly: AssemblyVersion("1.0.*")] | ||||||
| [assembly: AssemblyVersion("18.09.17.1600")] | [assembly: AssemblyVersion("18.09.17.1700")] | ||||||
| [assembly: AssemblyFileVersion("18.09.17.1600")] | [assembly: AssemblyFileVersion("18.09.17.1700")] | ||||||
|   | |||||||
| @@ -16,7 +16,7 @@ namespace Project | |||||||
|         { |         { | ||||||
|             while(bBW) |             while(bBW) | ||||||
|             { |             { | ||||||
|                 System.Threading.Thread.Sleep(1000); |                 System.Threading.Thread.Sleep(5000); | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
|   | |||||||
| @@ -1,52 +0,0 @@ | |||||||
| 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 fInventory : Form |  | ||||||
|     { |  | ||||||
|         public fInventory() |  | ||||||
|         { |  | ||||||
|             InitializeComponent(); |  | ||||||
|         } |  | ||||||
|  |  | ||||||
|         private void inventoryBindingNavigatorSaveItem_Click(object sender, EventArgs e) |  | ||||||
|         { |  | ||||||
|             this.Validate(); |  | ||||||
|             this.inventoryBindingSource.EndEdit(); |  | ||||||
|             this.tableAdapterManager.UpdateAll(this.dsMSSQL); |  | ||||||
|  |  | ||||||
|         } |  | ||||||
|  |  | ||||||
|         private void fInventory_Load(object sender, EventArgs e) |  | ||||||
|         { |  | ||||||
|             // TODO: 이 코드는 데이터를 'dsMSSQL.Inventory' 테이블에 로드합니다. 필요한 경우 이 코드를 이동하거나 제거할 수 있습니다. |  | ||||||
|             this.inventoryTableAdapter.Fill(this.dsMSSQL.Inventory); |  | ||||||
|             this.dsMSSQL.Inventory.TableNewRow += Inventory_TableNewRow; |  | ||||||
|  |  | ||||||
|             dsMSSQLTableAdapters.QueriesTableAdapter taQuery = new dsMSSQLTableAdapters.QueriesTableAdapter(); |  | ||||||
|  |  | ||||||
|             //모든자료를 조회해서 이름을 찾는다. |  | ||||||
|             foreach(dsMSSQL.InventoryRow dr in this.dsMSSQL.Inventory.Rows) |  | ||||||
|             { |  | ||||||
|                 dr._itemname = taQuery.GetItemName(dr.item); |  | ||||||
|                 dr._projectname = taQuery.GetProjectName(dr.project); |  | ||||||
|                 dr.EndEdit(); |  | ||||||
|             } |  | ||||||
|             this.dsMSSQL.Inventory.AcceptChanges(); |  | ||||||
|         } |  | ||||||
|  |  | ||||||
|         void Inventory_TableNewRow(object sender, DataTableNewRowEventArgs e) |  | ||||||
|         { |  | ||||||
|             e.Row["wuid"] = FCOMMON.info.Login.no; |  | ||||||
|             e.Row["wdate"] = DateTime.Now; |  | ||||||
|             e.Row["pdate"] = DateTime.Now.ToShortDateString(); |  | ||||||
|         } |  | ||||||
|     } |  | ||||||
| } |  | ||||||
| @@ -1,40 +0,0 @@ | |||||||
| 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 fItems : Form |  | ||||||
|     { |  | ||||||
|         public fItems() |  | ||||||
|         { |  | ||||||
|             InitializeComponent(); |  | ||||||
|         } |  | ||||||
|         private void fItems_Load(object sender, EventArgs e) |  | ||||||
|         { |  | ||||||
|             // TODO: 이 코드는 데이터를 'dsMSSQL.Items' 테이블에 로드합니다. 필요한 경우 이 코드를 이동하거나 제거할 수 있습니다. |  | ||||||
|             this.itemsTableAdapter.Fill(this.dsMSSQL.Items); |  | ||||||
|             this.dsMSSQL.Items.TableNewRow += Items_TableNewRow; |  | ||||||
|         } |  | ||||||
|  |  | ||||||
|         void Items_TableNewRow(object sender, DataTableNewRowEventArgs e) |  | ||||||
|         { |  | ||||||
|             e.Row["wuid"] = FCOMMON.info.Login.no; |  | ||||||
|             e.Row["wdate"] = DateTime.Now; |  | ||||||
|         } |  | ||||||
|         private void itemsBindingNavigatorSaveItem_Click(object sender, EventArgs e) |  | ||||||
|         { |  | ||||||
|             this.Validate(); |  | ||||||
|             this.itemsBindingSource.EndEdit(); |  | ||||||
|             this.tableAdapterManager.UpdateAll(this.dsMSSQL); |  | ||||||
|  |  | ||||||
|         } |  | ||||||
|  |  | ||||||
|        |  | ||||||
|     } |  | ||||||
| } |  | ||||||
							
								
								
									
										635
									
								
								Project/dsMSSQL.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										635
									
								
								Project/dsMSSQL.Designer.cs
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @@ -257,7 +257,7 @@ SELECT idx, name, pdate, request, reqstaff, sdate, edate, odate, memo, wuid, wda | |||||||
|               <DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Items" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill"> |               <DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Items" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill"> | ||||||
|                 <DeleteCommand> |                 <DeleteCommand> | ||||||
|                   <DbCommand CommandType="Text" ModifiedByUser="false"> |                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||||
|                     <CommandText>DELETE FROM [Items] WHERE (([idx] = @Original_idx) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_sid = 1 AND [sid] IS NULL) OR ([sid] = @Original_sid)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_supply = 1 AND [supply] IS NULL) OR ([supply] = @Original_supply)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate))</CommandText> |                     <CommandText>DELETE FROM [Items] WHERE (([idx] = @Original_idx) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_sid = 1 AND [sid] IS NULL) OR ([sid] = @Original_sid)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_supply = 1 AND [supply] IS NULL) OR ([supply] = @Original_supply)) AND ((@IsNull_price = 1 AND [price] IS NULL) OR ([price] = @Original_price)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate))</CommandText> | ||||||
|                     <Parameters> |                     <Parameters> | ||||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" /> |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="true" SourceVersion="Original" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
| @@ -270,6 +270,8 @@ SELECT idx, name, pdate, request, reqstaff, sdate, edate, odate, memo, wuid, wda | |||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_manu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manu" SourceColumnNullMapping="false" SourceVersion="Original" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_manu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manu" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_supply" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="supply" SourceColumnNullMapping="true" SourceVersion="Original" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_supply" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="supply" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_supply" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="supply" SourceColumnNullMapping="false" SourceVersion="Original" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_supply" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="supply" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_price" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="price" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_price" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="price" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_memo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="true" SourceVersion="Original" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_memo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Original" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" /> |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
| @@ -279,14 +281,15 @@ SELECT idx, name, pdate, request, reqstaff, sdate, edate, odate, memo, wuid, wda | |||||||
|                 </DeleteCommand> |                 </DeleteCommand> | ||||||
|                 <InsertCommand> |                 <InsertCommand> | ||||||
|                   <DbCommand CommandType="Text" ModifiedByUser="false"> |                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||||
|                     <CommandText>INSERT INTO [Items] ([name], [sid], [model], [manu], [supply], [memo], [wuid], [wdate]) VALUES (@name, @sid, @model, @manu, @supply, @memo, @wuid, @wdate); |                     <CommandText>INSERT INTO [Items] ([name], [sid], [model], [manu], [supply], [price], [memo], [wuid], [wdate]) VALUES (@name, @sid, @model, @manu, @supply, @price, @memo, @wuid, @wdate); | ||||||
| SELECT idx, name, sid, model, manu, supply, memo, wuid, wdate FROM Items WHERE (idx = SCOPE_IDENTITY())</CommandText> | SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate FROM Items WHERE (idx = SCOPE_IDENTITY())</CommandText> | ||||||
|                     <Parameters> |                     <Parameters> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@sid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="sid" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@sid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="sid" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@model" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="model" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@model" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="model" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@manu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manu" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@manu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manu" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@supply" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="supply" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@supply" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="supply" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@price" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="price" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
| @@ -294,22 +297,23 @@ SELECT idx, name, sid, model, manu, supply, memo, wuid, wdate FROM Items WHERE ( | |||||||
|                   </DbCommand> |                   </DbCommand> | ||||||
|                 </InsertCommand> |                 </InsertCommand> | ||||||
|                 <SelectCommand> |                 <SelectCommand> | ||||||
|                   <DbCommand CommandType="Text" ModifiedByUser="true"> |                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||||
|                     <CommandText>SELECT  Items.* |                     <CommandText>SELECT  idx, name, sid, model, manu, supply, price, memo, wuid, wdate | ||||||
| FROM     Items</CommandText> | FROM     Items</CommandText> | ||||||
|                     <Parameters /> |                     <Parameters /> | ||||||
|                   </DbCommand> |                   </DbCommand> | ||||||
|                 </SelectCommand> |                 </SelectCommand> | ||||||
|                 <UpdateCommand> |                 <UpdateCommand> | ||||||
|                   <DbCommand CommandType="Text" ModifiedByUser="false"> |                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||||
|                     <CommandText>UPDATE [Items] SET [name] = @name, [sid] = @sid, [model] = @model, [manu] = @manu, [supply] = @supply, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate WHERE (([idx] = @Original_idx) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_sid = 1 AND [sid] IS NULL) OR ([sid] = @Original_sid)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_supply = 1 AND [supply] IS NULL) OR ([supply] = @Original_supply)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate)); |                     <CommandText>UPDATE [Items] SET [name] = @name, [sid] = @sid, [model] = @model, [manu] = @manu, [supply] = @supply, [price] = @price, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate WHERE (([idx] = @Original_idx) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_sid = 1 AND [sid] IS NULL) OR ([sid] = @Original_sid)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_supply = 1 AND [supply] IS NULL) OR ([supply] = @Original_supply)) AND ((@IsNull_price = 1 AND [price] IS NULL) OR ([price] = @Original_price)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate)); | ||||||
| SELECT idx, name, sid, model, manu, supply, memo, wuid, wdate FROM Items WHERE (idx = @idx)</CommandText> | SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate FROM Items WHERE (idx = @idx)</CommandText> | ||||||
|                     <Parameters> |                     <Parameters> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@sid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="sid" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@sid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="sid" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@model" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="model" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@model" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="model" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@manu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manu" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@manu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manu" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@supply" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="supply" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@supply" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="supply" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@price" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="price" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
| @@ -324,6 +328,8 @@ SELECT idx, name, sid, model, manu, supply, memo, wuid, wdate FROM Items WHERE ( | |||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_manu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manu" SourceColumnNullMapping="false" SourceVersion="Original" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_manu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manu" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_supply" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="supply" SourceColumnNullMapping="true" SourceVersion="Original" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_supply" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="supply" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_supply" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="supply" SourceColumnNullMapping="false" SourceVersion="Original" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_supply" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="supply" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_price" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="price" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_price" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="price" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_memo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="true" SourceVersion="Original" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_memo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Original" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" /> |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
| @@ -344,6 +350,7 @@ SELECT idx, name, sid, model, manu, supply, memo, wuid, wdate FROM Items WHERE ( | |||||||
|               <Mapping SourceColumn="memo" DataSetColumn="memo" /> |               <Mapping SourceColumn="memo" DataSetColumn="memo" /> | ||||||
|               <Mapping SourceColumn="wuid" DataSetColumn="wuid" /> |               <Mapping SourceColumn="wuid" DataSetColumn="wuid" /> | ||||||
|               <Mapping SourceColumn="wdate" DataSetColumn="wdate" /> |               <Mapping SourceColumn="wdate" DataSetColumn="wdate" /> | ||||||
|  |               <Mapping SourceColumn="price" DataSetColumn="price" /> | ||||||
|             </Mappings> |             </Mappings> | ||||||
|             <Sources /> |             <Sources /> | ||||||
|           </TableAdapter> |           </TableAdapter> | ||||||
| @@ -352,7 +359,7 @@ SELECT idx, name, sid, model, manu, supply, memo, wuid, wdate FROM Items WHERE ( | |||||||
|               <DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Inventory" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill"> |               <DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Inventory" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill"> | ||||||
|                 <DeleteCommand> |                 <DeleteCommand> | ||||||
|                   <DbCommand CommandType="Text" ModifiedByUser="false"> |                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||||
|                     <CommandText>DELETE FROM [Inventory] WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ((@IsNull_item = 1 AND [item] IS NULL) OR ([item] = @Original_item)) AND ((@IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_dr_qty = 1 AND [dr_qty] IS NULL) OR ([dr_qty] = @Original_dr_qty)) AND ((@IsNull_dr_amt = 1 AND [dr_amt] IS NULL) OR ([dr_amt] = @Original_dr_amt)) AND ((@IsNull_cr_qty = 1 AND [cr_qty] IS NULL) OR ([cr_qty] = @Original_cr_qty)) AND ((@IsNull_cr_amt = 1 AND [cr_amt] IS NULL) OR ([cr_amt] = @Original_cr_amt)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate))</CommandText> |                     <CommandText>DELETE FROM [Inventory] WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ((@IsNull_item = 1 AND [item] IS NULL) OR ([item] = @Original_item)) AND ((@IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_dr_qty = 1 AND [dr_qty] IS NULL) OR ([dr_qty] = @Original_dr_qty)) AND ((@IsNull_dr_amt = 1 AND [dr_amt] IS NULL) OR ([dr_amt] = @Original_dr_amt)) AND ((@IsNull_cr_qty = 1 AND [cr_qty] IS NULL) OR ([cr_qty] = @Original_cr_qty)) AND ((@IsNull_cr_amt = 1 AND [cr_amt] IS NULL) OR ([cr_amt] = @Original_cr_amt)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_invtype = 1 AND [invtype] IS NULL) OR ([invtype] = @Original_invtype)) AND ((@IsNull_ItemName = 1 AND [ItemName] IS NULL) OR ([ItemName] = @Original_ItemName)) AND ((@IsNull_projectName = 1 AND [projectName] IS NULL) OR ([projectName] = @Original_projectName)))</CommandText> | ||||||
|                     <Parameters> |                     <Parameters> | ||||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" /> |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="true" SourceVersion="Original" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
| @@ -377,13 +384,19 @@ SELECT idx, name, sid, model, manu, supply, memo, wuid, wdate FROM Items WHERE ( | |||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_project" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="project" SourceColumnNullMapping="false" SourceVersion="Original" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_project" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="project" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" /> |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" /> |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_invtype" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="invtype" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_invtype" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="invtype" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ItemName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemName" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ItemName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemName" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_projectName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="projectName" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_projectName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="projectName" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|                     </Parameters> |                     </Parameters> | ||||||
|                   </DbCommand> |                   </DbCommand> | ||||||
|                 </DeleteCommand> |                 </DeleteCommand> | ||||||
|                 <InsertCommand> |                 <InsertCommand> | ||||||
|                   <DbCommand CommandType="Text" ModifiedByUser="false"> |                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||||
|                     <CommandText>INSERT INTO [Inventory] ([pdate], [uid], [item], [serial], [dr_qty], [dr_amt], [cr_qty], [cr_amt], [memo], [project], [wuid], [wdate]) VALUES (@pdate, @uid, @item, @serial, @dr_qty, @dr_amt, @cr_qty, @cr_amt, @memo, @project, @wuid, @wdate); |                     <CommandText>INSERT INTO [Inventory] ([pdate], [uid], [item], [serial], [dr_qty], [dr_amt], [cr_qty], [cr_amt], [memo], [project], [wuid], [wdate], [invtype], [ItemName], [projectName]) VALUES (@pdate, @uid, @item, @serial, @dr_qty, @dr_amt, @cr_qty, @cr_amt, @memo, @project, @wuid, @wdate, @invtype, @ItemName, @projectName); | ||||||
| SELECT idx, pdate, uid, item, serial, dr_qty, dr_amt, cr_qty, cr_amt, memo, project, wuid, wdate FROM Inventory WHERE (idx = SCOPE_IDENTITY())</CommandText> | SELECT idx, pdate, uid, item, serial, dr_qty, dr_amt, cr_qty, cr_amt, memo, project, wuid, wdate, invtype, ItemName, projectName FROM Inventory WHERE (idx = SCOPE_IDENTITY()) ORDER BY pdate</CommandText> | ||||||
|                     <Parameters> |                     <Parameters> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
| @@ -397,20 +410,24 @@ SELECT idx, pdate, uid, item, serial, dr_qty, dr_amt, cr_qty, cr_amt, memo, proj | |||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@project" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="project" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@project" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="project" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@invtype" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="invtype" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ItemName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemName" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@projectName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="projectName" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                     </Parameters> |                     </Parameters> | ||||||
|                   </DbCommand> |                   </DbCommand> | ||||||
|                 </InsertCommand> |                 </InsertCommand> | ||||||
|                 <SelectCommand> |                 <SelectCommand> | ||||||
|                   <DbCommand CommandType="Text" ModifiedByUser="false"> |                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||||
|                     <CommandText>SELECT  idx, pdate, uid, item, serial, dr_qty, dr_amt, cr_qty, cr_amt, memo, project, wuid, wdate |                     <CommandText>SELECT  idx, pdate, uid, item, serial, dr_qty, dr_amt, cr_qty, cr_amt, memo, project, wuid, wdate, invtype, ItemName, projectName | ||||||
| FROM     Inventory</CommandText> | FROM     Inventory | ||||||
|  | ORDER BY pdate</CommandText> | ||||||
|                     <Parameters /> |                     <Parameters /> | ||||||
|                   </DbCommand> |                   </DbCommand> | ||||||
|                 </SelectCommand> |                 </SelectCommand> | ||||||
|                 <UpdateCommand> |                 <UpdateCommand> | ||||||
|                   <DbCommand CommandType="Text" ModifiedByUser="false"> |                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||||
|                     <CommandText>UPDATE [Inventory] SET [pdate] = @pdate, [uid] = @uid, [item] = @item, [serial] = @serial, [dr_qty] = @dr_qty, [dr_amt] = @dr_amt, [cr_qty] = @cr_qty, [cr_amt] = @cr_amt, [memo] = @memo, [project] = @project, [wuid] = @wuid, [wdate] = @wdate WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ((@IsNull_item = 1 AND [item] IS NULL) OR ([item] = @Original_item)) AND ((@IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_dr_qty = 1 AND [dr_qty] IS NULL) OR ([dr_qty] = @Original_dr_qty)) AND ((@IsNull_dr_amt = 1 AND [dr_amt] IS NULL) OR ([dr_amt] = @Original_dr_amt)) AND ((@IsNull_cr_qty = 1 AND [cr_qty] IS NULL) OR ([cr_qty] = @Original_cr_qty)) AND ((@IsNull_cr_amt = 1 AND [cr_amt] IS NULL) OR ([cr_amt] = @Original_cr_amt)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate)); |                     <CommandText>UPDATE [Inventory] SET [pdate] = @pdate, [uid] = @uid, [item] = @item, [serial] = @serial, [dr_qty] = @dr_qty, [dr_amt] = @dr_amt, [cr_qty] = @cr_qty, [cr_amt] = @cr_amt, [memo] = @memo, [project] = @project, [wuid] = @wuid, [wdate] = @wdate, [invtype] = @invtype, [ItemName] = @ItemName, [projectName] = @projectName WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ((@IsNull_item = 1 AND [item] IS NULL) OR ([item] = @Original_item)) AND ((@IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_dr_qty = 1 AND [dr_qty] IS NULL) OR ([dr_qty] = @Original_dr_qty)) AND ((@IsNull_dr_amt = 1 AND [dr_amt] IS NULL) OR ([dr_amt] = @Original_dr_amt)) AND ((@IsNull_cr_qty = 1 AND [cr_qty] IS NULL) OR ([cr_qty] = @Original_cr_qty)) AND ((@IsNull_cr_amt = 1 AND [cr_amt] IS NULL) OR ([cr_amt] = @Original_cr_amt)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_invtype = 1 AND [invtype] IS NULL) OR ([invtype] = @Original_invtype)) AND ((@IsNull_ItemName = 1 AND [ItemName] IS NULL) OR ([ItemName] = @Original_ItemName)) AND ((@IsNull_projectName = 1 AND [projectName] IS NULL) OR ([projectName] = @Original_projectName))); | ||||||
| SELECT idx, pdate, uid, item, serial, dr_qty, dr_amt, cr_qty, cr_amt, memo, project, wuid, wdate FROM Inventory WHERE (idx = @idx)</CommandText> | SELECT idx, pdate, uid, item, serial, dr_qty, dr_amt, cr_qty, cr_amt, memo, project, wuid, wdate, invtype, ItemName, projectName FROM Inventory WHERE (idx = @idx) ORDER BY pdate</CommandText> | ||||||
|                     <Parameters> |                     <Parameters> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
| @@ -424,6 +441,9 @@ SELECT idx, pdate, uid, item, serial, dr_qty, dr_amt, cr_qty, cr_amt, memo, proj | |||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@project" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="project" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@project" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="project" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@invtype" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="invtype" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ItemName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemName" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@projectName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="projectName" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" /> |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="true" SourceVersion="Original" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Original" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
| @@ -447,6 +467,12 @@ SELECT idx, pdate, uid, item, serial, dr_qty, dr_amt, cr_qty, cr_amt, memo, proj | |||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_project" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="project" SourceColumnNullMapping="false" SourceVersion="Original" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_project" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="project" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" /> |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" /> |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_invtype" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="invtype" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_invtype" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="invtype" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ItemName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemName" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ItemName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemName" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_projectName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="projectName" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_projectName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="projectName" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="GroupWare.dbo.Inventory" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="GroupWare.dbo.Inventory" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                     </Parameters> |                     </Parameters> | ||||||
|                   </DbCommand> |                   </DbCommand> | ||||||
| @@ -467,8 +493,27 @@ SELECT idx, pdate, uid, item, serial, dr_qty, dr_amt, cr_qty, cr_amt, memo, proj | |||||||
|               <Mapping SourceColumn="wuid" DataSetColumn="wuid" /> |               <Mapping SourceColumn="wuid" DataSetColumn="wuid" /> | ||||||
|               <Mapping SourceColumn="wdate" DataSetColumn="wdate" /> |               <Mapping SourceColumn="wdate" DataSetColumn="wdate" /> | ||||||
|               <Mapping SourceColumn="project" DataSetColumn="project" /> |               <Mapping SourceColumn="project" DataSetColumn="project" /> | ||||||
|  |               <Mapping SourceColumn="invtype" DataSetColumn="invtype" /> | ||||||
|  |               <Mapping SourceColumn="ItemName" DataSetColumn="ItemName" /> | ||||||
|  |               <Mapping SourceColumn="projectName" DataSetColumn="projectName" /> | ||||||
|             </Mappings> |             </Mappings> | ||||||
|             <Sources /> |             <Sources> | ||||||
|  |               <DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Inventory" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByUID" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetbyUID" GeneratorSourceName="FillByUID" GetMethodModifier="Public" GetMethodName="GetbyUID" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetbyUID" UserSourceName="FillByUID"> | ||||||
|  |                 <SelectCommand> | ||||||
|  |                   <DbCommand CommandType="Text" ModifiedByUser="true"> | ||||||
|  |                     <CommandText>SELECT  ItemName, cr_amt, cr_qty, dr_amt, dr_qty, idx, invtype, item, memo, pdate, project, projectName, serial, uid, wdate, wuid | ||||||
|  | FROM     Inventory | ||||||
|  | WHERE  (pdate BETWEEN @sd AND @ed) AND (uid = @uid) | ||||||
|  | ORDER BY pdate</CommandText> | ||||||
|  |                     <Parameters> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="sd" ColumnName="pdate" DataSourceName="GroupWare.dbo.Inventory" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@sd" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="ed" ColumnName="pdate" DataSourceName="GroupWare.dbo.Inventory" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@ed" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="uid" ColumnName="uid" DataSourceName="GroupWare.dbo.Inventory" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                     </Parameters> | ||||||
|  |                   </DbCommand> | ||||||
|  |                 </SelectCommand> | ||||||
|  |               </DbSource> | ||||||
|  |             </Sources> | ||||||
|           </TableAdapter> |           </TableAdapter> | ||||||
|           <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="LineCodeTableAdapter" GeneratorDataComponentClassName="LineCodeTableAdapter" Name="LineCode" UserDataComponentName="LineCodeTableAdapter"> |           <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="LineCodeTableAdapter" GeneratorDataComponentClassName="LineCodeTableAdapter" Name="LineCode" UserDataComponentName="LineCodeTableAdapter"> | ||||||
|             <MainSource> |             <MainSource> | ||||||
| @@ -801,6 +846,7 @@ WHERE  (idx = @idx)</CommandText> | |||||||
|                 </xs:simpleType> |                 </xs:simpleType> | ||||||
|               </xs:element> |               </xs:element> | ||||||
|               <xs:element name="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_UserColumnName="wdate" type="xs:dateTime" /> |               <xs:element name="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_UserColumnName="wdate" type="xs:dateTime" /> | ||||||
|  |               <xs:element name="price" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="price" msprop:Generator_ColumnVarNameInTable="columnprice" msprop:Generator_ColumnPropNameInTable="priceColumn" msprop:Generator_UserColumnName="price" type="xs:decimal" minOccurs="0" /> | ||||||
|             </xs:sequence> |             </xs:sequence> | ||||||
|           </xs:complexType> |           </xs:complexType> | ||||||
|         </xs:element> |         </xs:element> | ||||||
| @@ -850,8 +896,27 @@ WHERE  (idx = @idx)</CommandText> | |||||||
|               </xs:element> |               </xs:element> | ||||||
|               <xs:element name="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_UserColumnName="wdate" type="xs:dateTime" /> |               <xs:element name="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_UserColumnName="wdate" type="xs:dateTime" /> | ||||||
|               <xs:element name="project" msprop:nullValue="-1" msprop:Generator_ColumnPropNameInRow="project" msprop:Generator_ColumnVarNameInTable="columnproject" msprop:Generator_ColumnPropNameInTable="projectColumn" msprop:Generator_UserColumnName="project" type="xs:int" minOccurs="0" /> |               <xs:element name="project" msprop:nullValue="-1" msprop:Generator_ColumnPropNameInRow="project" msprop:Generator_ColumnVarNameInTable="columnproject" msprop:Generator_ColumnPropNameInTable="projectColumn" msprop:Generator_UserColumnName="project" type="xs:int" minOccurs="0" /> | ||||||
|               <xs:element name="_itemname" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="_itemname" msprop:Generator_ColumnVarNameInTable="column_itemname" msprop:Generator_ColumnPropNameInTable="_itemnameColumn" msprop:Generator_UserColumnName="_itemname" type="xs:string" minOccurs="0" /> |               <xs:element name="invtype" msprop:nullValue="ET" msprop:Generator_ColumnPropNameInRow="invtype" msprop:Generator_ColumnVarNameInTable="columninvtype" msprop:Generator_ColumnPropNameInTable="invtypeColumn" msprop:Generator_UserColumnName="invtype" minOccurs="0"> | ||||||
|               <xs:element name="_projectname" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="_projectname" msprop:Generator_ColumnVarNameInTable="column_projectname" msprop:Generator_ColumnPropNameInTable="_projectnameColumn" msprop:Generator_UserColumnName="_projectname" type="xs:string" minOccurs="0" /> |                 <xs:simpleType> | ||||||
|  |                   <xs:restriction base="xs:string"> | ||||||
|  |                     <xs:maxLength value="2" /> | ||||||
|  |                   </xs:restriction> | ||||||
|  |                 </xs:simpleType> | ||||||
|  |               </xs:element> | ||||||
|  |               <xs:element name="ItemName" msprop:Generator_ColumnVarNameInTable="columnItemName" msprop:Generator_ColumnPropNameInRow="ItemName" msprop:Generator_ColumnPropNameInTable="ItemNameColumn" msprop:Generator_UserColumnName="ItemName" minOccurs="0"> | ||||||
|  |                 <xs:simpleType> | ||||||
|  |                   <xs:restriction base="xs:string"> | ||||||
|  |                     <xs:maxLength value="200" /> | ||||||
|  |                   </xs:restriction> | ||||||
|  |                 </xs:simpleType> | ||||||
|  |               </xs:element> | ||||||
|  |               <xs:element name="projectName" msprop:Generator_ColumnVarNameInTable="columnprojectName" msprop:Generator_ColumnPropNameInRow="projectName" msprop:Generator_ColumnPropNameInTable="projectNameColumn" msprop:Generator_UserColumnName="projectName" minOccurs="0"> | ||||||
|  |                 <xs:simpleType> | ||||||
|  |                   <xs:restriction base="xs:string"> | ||||||
|  |                     <xs:maxLength value="200" /> | ||||||
|  |                   </xs:restriction> | ||||||
|  |                 </xs:simpleType> | ||||||
|  |               </xs:element> | ||||||
|             </xs:sequence> |             </xs:sequence> | ||||||
|           </xs:complexType> |           </xs:complexType> | ||||||
|         </xs:element> |         </xs:element> | ||||||
|   | |||||||
| @@ -4,12 +4,12 @@ | |||||||
|      Changes to this file may cause incorrect behavior and will be lost if |      Changes to this file may cause incorrect behavior and will be lost if | ||||||
|      the code is regenerated. |      the code is regenerated. | ||||||
| </autogenerated>--> | </autogenerated>--> | ||||||
| <DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="-10" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout"> | <DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="-21" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout"> | ||||||
|   <Shapes> |   <Shapes> | ||||||
|     <Shape ID="DesignTable:Users" ZOrder="6" X="39" Y="43" Height="305" Width="187" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" /> |     <Shape ID="DesignTable:Users" ZOrder="6" X="39" Y="43" Height="305" Width="187" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" /> | ||||||
|     <Shape ID="DesignTable:Projects" ZOrder="5" X="252" Y="43" Height="90" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="0" /> |     <Shape ID="DesignTable:Projects" ZOrder="5" X="252" Y="-11" Height="149" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="59" /> | ||||||
|     <Shape ID="DesignTable:Items" ZOrder="4" X="245" Y="160" Height="476" Width="184" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" /> |     <Shape ID="DesignTable:Items" ZOrder="4" X="245" Y="160" Height="476" Width="184" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" /> | ||||||
|     <Shape ID="DesignTable:Inventory" ZOrder="3" X="462" Y="50" Height="412" Width="245" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="292" /> |     <Shape ID="DesignTable:Inventory" ZOrder="3" X="481" Y="47" Height="362" Width="234" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="292" /> | ||||||
|     <Shape ID="DesignTable:LineCode" ZOrder="2" X="923" Y="263" Height="224" Width="189" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="156" /> |     <Shape ID="DesignTable:LineCode" ZOrder="2" X="923" Y="263" Height="224" Width="189" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="156" /> | ||||||
|     <Shape ID="DesignSources:QueriesTableAdapter" ZOrder="1" X="756" Y="65" Height="220" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="216" /> |     <Shape ID="DesignSources:QueriesTableAdapter" ZOrder="1" X="756" Y="65" Height="220" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="216" /> | ||||||
|   </Shapes> |   </Shapes> | ||||||
|   | |||||||
| @@ -166,7 +166,7 @@ namespace Project | |||||||
|  |  | ||||||
|         private void itemsToolStripMenuItem_Click(object sender, EventArgs e) |         private void itemsToolStripMenuItem_Click(object sender, EventArgs e) | ||||||
|         { |         { | ||||||
|             _Common.fItems f = new _Common.fItems(); |             var f = new FCM0000.fItems(); | ||||||
|             f.MdiParent = this; |             f.MdiParent = this; | ||||||
|             f.Show(); |             f.Show(); | ||||||
|         } |         } | ||||||
| @@ -298,7 +298,7 @@ namespace Project | |||||||
|  |  | ||||||
|         private void personalInventoryToolStripMenuItem_Click(object sender, EventArgs e) |         private void personalInventoryToolStripMenuItem_Click(object sender, EventArgs e) | ||||||
|         { |         { | ||||||
|             _Common.fInventory f = new _Common.fInventory(); |             var f = new FCM0000.fInventory(); | ||||||
|             f.MdiParent = this; |             f.MdiParent = this; | ||||||
|             f.Show(); |             f.Show(); | ||||||
|         } |         } | ||||||
|   | |||||||
							
								
								
									
										153
									
								
								SubProject/FCM0000/FCM0000.csproj
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										153
									
								
								SubProject/FCM0000/FCM0000.csproj
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,153 @@ | |||||||
|  | <?xml version="1.0" encoding="utf-8"?> | ||||||
|  | <Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||||||
|  |   <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> | ||||||
|  |   <PropertyGroup> | ||||||
|  |     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||||||
|  |     <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||||||
|  |     <ProjectGuid>{26982882-C1FF-45F8-861C-D67558725FF1}</ProjectGuid> | ||||||
|  |     <OutputType>WinExe</OutputType> | ||||||
|  |     <AppDesignerFolder>Properties</AppDesignerFolder> | ||||||
|  |     <RootNamespace>FCM0000</RootNamespace> | ||||||
|  |     <AssemblyName>FCM0000</AssemblyName> | ||||||
|  |     <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> | ||||||
|  |     <FileAlignment>512</FileAlignment> | ||||||
|  |   </PropertyGroup> | ||||||
|  |   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||||||
|  |     <PlatformTarget>x86</PlatformTarget> | ||||||
|  |     <DebugSymbols>true</DebugSymbols> | ||||||
|  |     <DebugType>full</DebugType> | ||||||
|  |     <Optimize>false</Optimize> | ||||||
|  |     <OutputPath>bin\Debug\</OutputPath> | ||||||
|  |     <DefineConstants>DEBUG;TRACE</DefineConstants> | ||||||
|  |     <ErrorReport>prompt</ErrorReport> | ||||||
|  |     <WarningLevel>4</WarningLevel> | ||||||
|  |   </PropertyGroup> | ||||||
|  |   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||||||
|  |     <PlatformTarget>AnyCPU</PlatformTarget> | ||||||
|  |     <DebugType>pdbonly</DebugType> | ||||||
|  |     <Optimize>true</Optimize> | ||||||
|  |     <OutputPath>bin\Release\</OutputPath> | ||||||
|  |     <DefineConstants>TRACE</DefineConstants> | ||||||
|  |     <ErrorReport>prompt</ErrorReport> | ||||||
|  |     <WarningLevel>4</WarningLevel> | ||||||
|  |   </PropertyGroup> | ||||||
|  |   <ItemGroup> | ||||||
|  |     <Reference Include="ArSetting.Net4"> | ||||||
|  |       <HintPath>..\..\DLL\ArSetting.Net4.dll</HintPath> | ||||||
|  |     </Reference> | ||||||
|  |     <Reference Include="libxl.net"> | ||||||
|  |       <HintPath>..\..\DLL\libxl.net.dll</HintPath> | ||||||
|  |     </Reference> | ||||||
|  |     <Reference Include="Microsoft.ReportViewer.Common, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" /> | ||||||
|  |     <Reference Include="Microsoft.ReportViewer.WinForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" /> | ||||||
|  |     <Reference Include="System" /> | ||||||
|  |     <Reference Include="System.Core" /> | ||||||
|  |     <Reference Include="System.Web.Services" /> | ||||||
|  |     <Reference Include="System.Xml.Linq" /> | ||||||
|  |     <Reference Include="System.Data.DataSetExtensions" /> | ||||||
|  |     <Reference Include="Microsoft.CSharp" /> | ||||||
|  |     <Reference Include="System.Data" /> | ||||||
|  |     <Reference Include="System.Deployment" /> | ||||||
|  |     <Reference Include="System.Drawing" /> | ||||||
|  |     <Reference Include="System.Windows.Forms" /> | ||||||
|  |     <Reference Include="System.Xml" /> | ||||||
|  |   </ItemGroup> | ||||||
|  |   <ItemGroup> | ||||||
|  |     <Compile Include="dsMSSQL.Designer.cs"> | ||||||
|  |       <AutoGen>True</AutoGen> | ||||||
|  |       <DesignTime>True</DesignTime> | ||||||
|  |       <DependentUpon>dsMSSQL.xsd</DependentUpon> | ||||||
|  |     </Compile> | ||||||
|  |     <Compile Include="fInventory.cs"> | ||||||
|  |       <SubType>Form</SubType> | ||||||
|  |     </Compile> | ||||||
|  |     <Compile Include="fInventory.Designer.cs"> | ||||||
|  |       <DependentUpon>fInventory.cs</DependentUpon> | ||||||
|  |     </Compile> | ||||||
|  |     <Compile Include="fItems.cs"> | ||||||
|  |       <SubType>Form</SubType> | ||||||
|  |     </Compile> | ||||||
|  |     <Compile Include="fItems.Designer.cs"> | ||||||
|  |       <DependentUpon>fItems.cs</DependentUpon> | ||||||
|  |     </Compile> | ||||||
|  |     <Compile Include="fLovProject.cs"> | ||||||
|  |       <SubType>Form</SubType> | ||||||
|  |     </Compile> | ||||||
|  |     <Compile Include="fLovProject.Designer.cs"> | ||||||
|  |       <DependentUpon>fLovProject.cs</DependentUpon> | ||||||
|  |     </Compile> | ||||||
|  |     <Compile Include="fLovItem.cs"> | ||||||
|  |       <SubType>Form</SubType> | ||||||
|  |     </Compile> | ||||||
|  |     <Compile Include="fLovItem.Designer.cs"> | ||||||
|  |       <DependentUpon>fLovItem.cs</DependentUpon> | ||||||
|  |     </Compile> | ||||||
|  |     <Compile Include="MethodExtentions.cs" /> | ||||||
|  |     <Compile Include="Program.cs" /> | ||||||
|  |     <Compile Include="Properties\AssemblyInfo.cs" /> | ||||||
|  |     <EmbeddedResource Include="fInventory.resx"> | ||||||
|  |       <DependentUpon>fInventory.cs</DependentUpon> | ||||||
|  |     </EmbeddedResource> | ||||||
|  |     <EmbeddedResource Include="fItems.resx"> | ||||||
|  |       <DependentUpon>fItems.cs</DependentUpon> | ||||||
|  |     </EmbeddedResource> | ||||||
|  |     <EmbeddedResource Include="fLovProject.resx"> | ||||||
|  |       <DependentUpon>fLovProject.cs</DependentUpon> | ||||||
|  |     </EmbeddedResource> | ||||||
|  |     <EmbeddedResource Include="fLovItem.resx"> | ||||||
|  |       <DependentUpon>fLovItem.cs</DependentUpon> | ||||||
|  |     </EmbeddedResource> | ||||||
|  |     <EmbeddedResource Include="Properties\Resources.resx"> | ||||||
|  |       <Generator>ResXFileCodeGenerator</Generator> | ||||||
|  |       <LastGenOutput>Resources.Designer.cs</LastGenOutput> | ||||||
|  |       <SubType>Designer</SubType> | ||||||
|  |     </EmbeddedResource> | ||||||
|  |     <Compile Include="Properties\Resources.Designer.cs"> | ||||||
|  |       <AutoGen>True</AutoGen> | ||||||
|  |       <DependentUpon>Resources.resx</DependentUpon> | ||||||
|  |       <DesignTime>True</DesignTime> | ||||||
|  |     </Compile> | ||||||
|  |     <None Include="app.config" /> | ||||||
|  |     <None Include="dsMSSQL.xsc"> | ||||||
|  |       <DependentUpon>dsMSSQL.xsd</DependentUpon> | ||||||
|  |     </None> | ||||||
|  |     <None Include="dsMSSQL.xsd"> | ||||||
|  |       <SubType>Designer</SubType> | ||||||
|  |       <Generator>MSDataSetGenerator</Generator> | ||||||
|  |       <LastGenOutput>dsMSSQL.Designer.cs</LastGenOutput> | ||||||
|  |     </None> | ||||||
|  |     <None Include="dsMSSQL.xss"> | ||||||
|  |       <DependentUpon>dsMSSQL.xsd</DependentUpon> | ||||||
|  |     </None> | ||||||
|  |     <None Include="Properties\Settings.settings"> | ||||||
|  |       <Generator>SettingsSingleFileGenerator</Generator> | ||||||
|  |       <LastGenOutput>Settings.Designer.cs</LastGenOutput> | ||||||
|  |     </None> | ||||||
|  |     <Compile Include="Properties\Settings.Designer.cs"> | ||||||
|  |       <AutoGen>True</AutoGen> | ||||||
|  |       <DependentUpon>Settings.settings</DependentUpon> | ||||||
|  |       <DesignTimeSharedInput>True</DesignTimeSharedInput> | ||||||
|  |     </Compile> | ||||||
|  |   </ItemGroup> | ||||||
|  |   <ItemGroup> | ||||||
|  |     <ProjectReference Include="..\..\Sub\arControl\arControl.csproj"> | ||||||
|  |       <Project>{f31c242c-1b15-4518-9733-48558499fe4b}</Project> | ||||||
|  |       <Name>arControl</Name> | ||||||
|  |     </ProjectReference> | ||||||
|  |     <ProjectReference Include="..\FCOMMON\FCOMMON.csproj"> | ||||||
|  |       <Project>{304bd018-194b-47da-b4e0-f16df7b606da}</Project> | ||||||
|  |       <Name>FCOMMON</Name> | ||||||
|  |     </ProjectReference> | ||||||
|  |   </ItemGroup> | ||||||
|  |   <ItemGroup> | ||||||
|  |     <None Include="Resources\action_refresh.gif" /> | ||||||
|  |   </ItemGroup> | ||||||
|  |   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | ||||||
|  |   <!-- To modify your build process, add your task inside one of the targets below and uncomment it.  | ||||||
|  |        Other similar extension points exist, see Microsoft.Common.targets. | ||||||
|  |   <Target Name="BeforeBuild"> | ||||||
|  |   </Target> | ||||||
|  |   <Target Name="AfterBuild"> | ||||||
|  |   </Target> | ||||||
|  |   --> | ||||||
|  | </Project> | ||||||
							
								
								
									
										154
									
								
								SubProject/FCM0000/MethodExtentions.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										154
									
								
								SubProject/FCM0000/MethodExtentions.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,154 @@ | |||||||
|  | //180917    chi makefilepath,MakeFTPPath 입력 | ||||||
|  | //180705    chi GetHexStringNoSpace 다시 추가 ,UrlPathEncode 추가 | ||||||
|  | //              getDateValue 추가                 | ||||||
|  | //180625    chi GetHexStringNoSpace 삭제(이것은 util.cs로 이동) | ||||||
|  | //180614    chi Map 명령추가 | ||||||
|  |  | ||||||
|  |  | ||||||
|  | using System; | ||||||
|  | using System.Collections.Generic; | ||||||
|  | using System.Linq; | ||||||
|  | using System.Runtime.InteropServices; | ||||||
|  | using System.Text; | ||||||
|  | using System.Text.RegularExpressions; | ||||||
|  | using System.Threading.Tasks; | ||||||
|  |  | ||||||
|  | namespace FCM0000 | ||||||
|  | { | ||||||
|  |     /// <summary> | ||||||
|  |     /// generic method Extension | ||||||
|  |     /// </summary> | ||||||
|  |     public static class MethodExtensions | ||||||
|  |     { | ||||||
|  |         public static string MakeFilePath(this string value,params string[] param) | ||||||
|  |         { | ||||||
|  |             System.Text.StringBuilder sb = new System.Text.StringBuilder(); | ||||||
|  |             sb.Append(value.Replace("/", "\\")); | ||||||
|  |             foreach (var item in param) | ||||||
|  |             { | ||||||
|  |                 if (sb.Length > 0 && sb.ToString().EndsWith("\\") == false) sb.Append("\\"); | ||||||
|  |                 sb.Append(item.Replace("/", "\\")); | ||||||
|  |             } | ||||||
|  |             var retval = sb.ToString().Replace("/", "\\").Replace("\\\\", "\\"); | ||||||
|  |             return retval.ToString(); | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |  | ||||||
|  |         public static string MakeFTPPath(this string value, params string[] param) | ||||||
|  |         { | ||||||
|  |             System.Text.StringBuilder sb = new System.Text.StringBuilder(); | ||||||
|  |             sb.Append(value.Replace("\\", "/"));  | ||||||
|  |             foreach (var item in param) | ||||||
|  |             { | ||||||
|  |                 if (sb.Length > 0 && sb.ToString().EndsWith("/") == false) sb.Append("/"); | ||||||
|  |                 sb.Append(item.Replace("\\", "/")); | ||||||
|  |             } | ||||||
|  |             var retval = sb.ToString().Replace("//", "/"); | ||||||
|  |             return retval.ToString(); | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |  | ||||||
|  |         public static double map(this double x, int in_min, int in_max, int out_min, int out_max) | ||||||
|  |         { | ||||||
|  |             return (x - in_min) * (out_max - out_min) / (in_max - in_min) + out_min; | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         public static string Base64Encode(this string src) | ||||||
|  |         { | ||||||
|  |             string base64enc = Convert.ToBase64String(System.Text.Encoding.UTF8.GetBytes(src)); | ||||||
|  |             return base64enc; | ||||||
|  |         } | ||||||
|  |         public static string Base64Decode(this string src) | ||||||
|  |         { | ||||||
|  |             var base64dec = Convert.FromBase64String(src); | ||||||
|  |             return System.Text.Encoding.UTF8.GetString(base64dec); | ||||||
|  |         } | ||||||
|  |         | ||||||
|  |  | ||||||
|  |         public static string ToString(this System.Drawing.Rectangle rect) | ||||||
|  |         { | ||||||
|  |             return string.Format("X={0},Y={1},W={2},H={3}", rect.X, rect.Y, rect.Width, rect.Height); | ||||||
|  |         } | ||||||
|  |         public static string ToString(this System.Drawing.RectangleF rect) | ||||||
|  |         { | ||||||
|  |             return string.Format("X={0},Y={1},W={2},H={3}", rect.X, rect.Y, rect.Width, rect.Height); | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         //public static void SetBGColor(this System.Windows.Forms.Label ctl,System.Drawing.Color color1) | ||||||
|  |         //{ | ||||||
|  |         //    ctl.BackColor = System.Drawing.Color.Red; | ||||||
|  |         //} | ||||||
|  |  | ||||||
|  |         /// <summary> | ||||||
|  |         /// 0101이 반복되는 문자열 형태로 전환합니다. | ||||||
|  |         /// </summary> | ||||||
|  |         /// <param name="arr"></param> | ||||||
|  |         /// <returns></returns> | ||||||
|  |         public static string BitString(this System.Collections.BitArray arr) | ||||||
|  |         { | ||||||
|  |             System.Text.StringBuilder sb = new System.Text.StringBuilder(); | ||||||
|  |             for (int i = arr.Length; i > 0; i--) | ||||||
|  |                 sb.Append(arr[i - 1] ? "1" : "0"); | ||||||
|  |             return sb.ToString(); | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         /// <summary> | ||||||
|  |         /// int 값으로 변환합니다. | ||||||
|  |         /// </summary> | ||||||
|  |         /// <param name="arr"></param> | ||||||
|  |         /// <returns></returns> | ||||||
|  |         public static int ValueI(this System.Collections.BitArray arr) | ||||||
|  |         { | ||||||
|  |             byte[] buf = new byte[4]; | ||||||
|  |             arr.CopyTo(buf, 0); | ||||||
|  |             return BitConverter.ToInt32(buf, 0); | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         /// <summary> | ||||||
|  |         /// 숫자인지 검사합니다. | ||||||
|  |         /// </summary> | ||||||
|  |         /// <param name="input"></param> | ||||||
|  |         /// <returns></returns> | ||||||
|  |         public static bool IsNumeric(this string input) | ||||||
|  |         { | ||||||
|  |             double data; | ||||||
|  |             return double.TryParse(input, out data); | ||||||
|  |             //return Regex.IsMatch(input, @"^\d+$"); | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         /// <summary> | ||||||
|  |         /// isnullorempty 를 수행합니다. | ||||||
|  |         /// </summary> | ||||||
|  |         /// <param name="input"></param> | ||||||
|  |         /// <returns></returns> | ||||||
|  |         public static Boolean isEmpty(this string input) | ||||||
|  |         { | ||||||
|  |             return string.IsNullOrEmpty(input); | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         /// <summary> | ||||||
|  |         /// default 인코딩을 사용하여 문자열로 반환합니다. | ||||||
|  |         /// </summary> | ||||||
|  |         /// <param name="input"></param> | ||||||
|  |         /// <returns></returns> | ||||||
|  |         public static string GetString(this Byte[] input) | ||||||
|  |         { | ||||||
|  |             return System.Text.Encoding.Default.GetString(input); | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         /// <summary> | ||||||
|  |         /// 16진수 문자열 형태로 반환합니다. | ||||||
|  |         /// </summary> | ||||||
|  |         /// <param name="input"></param> | ||||||
|  |         /// <returns></returns> | ||||||
|  |         public static string GetHexString(this Byte[] input) | ||||||
|  |         { | ||||||
|  |             System.Text.StringBuilder sb = new System.Text.StringBuilder(); | ||||||
|  |             foreach (byte b in input) | ||||||
|  |                 sb.Append(" " + b.ToString("X2")); | ||||||
|  |             return sb.ToString(); | ||||||
|  |         } | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |  | ||||||
|  | } | ||||||
							
								
								
									
										20
									
								
								SubProject/FCM0000/Program.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								SubProject/FCM0000/Program.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,20 @@ | |||||||
|  | using System; | ||||||
|  | using System.Collections.Generic; | ||||||
|  | using System.Linq; | ||||||
|  | using System.Windows.Forms; | ||||||
|  |  | ||||||
|  | namespace FCM0000 | ||||||
|  | { | ||||||
|  |     static class Program | ||||||
|  |     { | ||||||
|  |         /// <summary> | ||||||
|  |         /// 해당 응용 프로그램의 주 진입점입니다. | ||||||
|  |         /// </summary> | ||||||
|  |         [STAThread] | ||||||
|  |         static void Main() | ||||||
|  |         { | ||||||
|  |             FCOMMON.Util.MsgE("이 프로그램은 단독으로 실행할 수 없습니다."); | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |     } | ||||||
|  | } | ||||||
							
								
								
									
										36
									
								
								SubProject/FCM0000/Properties/AssemblyInfo.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										36
									
								
								SubProject/FCM0000/Properties/AssemblyInfo.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,36 @@ | |||||||
|  | using System.Reflection; | ||||||
|  | using System.Runtime.CompilerServices; | ||||||
|  | using System.Runtime.InteropServices; | ||||||
|  |  | ||||||
|  | // 어셈블리의 일반 정보는 다음 특성 집합을 통해 제어됩니다. | ||||||
|  | // 어셈블리와 관련된 정보를 수정하려면 | ||||||
|  | // 이 특성 값을 변경하십시오. | ||||||
|  | [assembly: AssemblyTitle("FEQ0000")] | ||||||
|  | [assembly: AssemblyDescription("")] | ||||||
|  | [assembly: AssemblyConfiguration("")] | ||||||
|  | [assembly: AssemblyCompany("")] | ||||||
|  | [assembly: AssemblyProduct("FEQ0000")] | ||||||
|  | [assembly: AssemblyCopyright("Copyright ©  2018")] | ||||||
|  | [assembly: AssemblyTrademark("")] | ||||||
|  | [assembly: AssemblyCulture("")] | ||||||
|  |  | ||||||
|  | // ComVisible을 false로 설정하면 이 어셈블리의 형식이 COM 구성 요소에  | ||||||
|  | // 표시되지 않습니다.  COM에서 이 어셈블리의 형식에 액세스하려면  | ||||||
|  | // 해당 형식에 대해 ComVisible 특성을 true로 설정하십시오. | ||||||
|  | [assembly: ComVisible(false)] | ||||||
|  |  | ||||||
|  | // 이 프로젝트가 COM에 노출되는 경우 다음 GUID는 typelib의 ID를 나타냅니다. | ||||||
|  | [assembly: Guid("aaa0bb0f-63e9-4777-8dca-8d601cf44c25")] | ||||||
|  |  | ||||||
|  | // 어셈블리의 버전 정보는 다음 네 가지 값으로 구성됩니다. | ||||||
|  | // | ||||||
|  | //      주 버전 | ||||||
|  | //      부 버전  | ||||||
|  | //      빌드 번호 | ||||||
|  | //      수정 버전 | ||||||
|  | // | ||||||
|  | // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 버전이 자동으로 | ||||||
|  | // 지정되도록 할 수 있습니다. | ||||||
|  | // [assembly: AssemblyVersion("1.0.*")] | ||||||
|  | [assembly: AssemblyVersion("1.0.0.0")] | ||||||
|  | [assembly: AssemblyFileVersion("1.0.0.0")] | ||||||
							
								
								
									
										73
									
								
								SubProject/FCM0000/Properties/Resources.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										73
									
								
								SubProject/FCM0000/Properties/Resources.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,73 @@ | |||||||
|  | //------------------------------------------------------------------------------ | ||||||
|  | // <auto-generated> | ||||||
|  | //     이 코드는 도구를 사용하여 생성되었습니다. | ||||||
|  | //     런타임 버전:4.0.30319.42000 | ||||||
|  | // | ||||||
|  | //     파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 | ||||||
|  | //     이러한 변경 내용이 손실됩니다. | ||||||
|  | // </auto-generated> | ||||||
|  | //------------------------------------------------------------------------------ | ||||||
|  |  | ||||||
|  | namespace FCM0000.Properties { | ||||||
|  |     using System; | ||||||
|  |      | ||||||
|  |      | ||||||
|  |     /// <summary> | ||||||
|  |     ///   지역화된 문자열 등을 찾기 위한 강력한 형식의 리소스 클래스입니다. | ||||||
|  |     /// </summary> | ||||||
|  |     // 이 클래스는 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() { | ||||||
|  |         } | ||||||
|  |          | ||||||
|  |         /// <summary> | ||||||
|  |         ///   이 클래스에서 사용하는 캐시된 ResourceManager 인스턴스를 반환합니다. | ||||||
|  |         /// </summary> | ||||||
|  |         [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("FCM0000.Properties.Resources", typeof(Resources).Assembly); | ||||||
|  |                     resourceMan = temp; | ||||||
|  |                 } | ||||||
|  |                 return resourceMan; | ||||||
|  |             } | ||||||
|  |         } | ||||||
|  |          | ||||||
|  |         /// <summary> | ||||||
|  |         ///   이 강력한 형식의 리소스 클래스를 사용하여 모든 리소스 조회에 대한 현재 스레드의 CurrentUICulture | ||||||
|  |         ///   속성을 재정의합니다. | ||||||
|  |         /// </summary> | ||||||
|  |         [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] | ||||||
|  |         internal static global::System.Globalization.CultureInfo Culture { | ||||||
|  |             get { | ||||||
|  |                 return resourceCulture; | ||||||
|  |             } | ||||||
|  |             set { | ||||||
|  |                 resourceCulture = value; | ||||||
|  |             } | ||||||
|  |         } | ||||||
|  |          | ||||||
|  |         /// <summary> | ||||||
|  |         ///   System.Drawing.Bitmap 형식의 지역화된 리소스를 찾습니다. | ||||||
|  |         /// </summary> | ||||||
|  |         internal static System.Drawing.Bitmap action_refresh { | ||||||
|  |             get { | ||||||
|  |                 object obj = ResourceManager.GetObject("action_refresh", resourceCulture); | ||||||
|  |                 return ((System.Drawing.Bitmap)(obj)); | ||||||
|  |             } | ||||||
|  |         } | ||||||
|  |     } | ||||||
|  | } | ||||||
							
								
								
									
										124
									
								
								SubProject/FCM0000/Properties/Resources.resx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										124
									
								
								SubProject/FCM0000/Properties/Resources.resx
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,124 @@ | |||||||
|  | <?xml version="1.0" encoding="utf-8"?> | ||||||
|  | <root> | ||||||
|  |   <!--  | ||||||
|  |     Microsoft ResX Schema  | ||||||
|  |      | ||||||
|  |     Version 2.0 | ||||||
|  |      | ||||||
|  |     The primary goals of this format is to allow a simple XML format  | ||||||
|  |     that is mostly human readable. The generation and parsing of the  | ||||||
|  |     various data types are done through the TypeConverter classes  | ||||||
|  |     associated with the data types. | ||||||
|  |      | ||||||
|  |     Example: | ||||||
|  |      | ||||||
|  |     ... ado.net/XML headers & schema ... | ||||||
|  |     <resheader name="resmimetype">text/microsoft-resx</resheader> | ||||||
|  |     <resheader name="version">2.0</resheader> | ||||||
|  |     <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> | ||||||
|  |     <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> | ||||||
|  |     <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> | ||||||
|  |     <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> | ||||||
|  |     <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> | ||||||
|  |         <value>[base64 mime encoded serialized .NET Framework object]</value> | ||||||
|  |     </data> | ||||||
|  |     <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|  |         <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> | ||||||
|  |         <comment>This is a comment</comment> | ||||||
|  |     </data> | ||||||
|  |                  | ||||||
|  |     There are any number of "resheader" rows that contain simple  | ||||||
|  |     name/value pairs. | ||||||
|  |      | ||||||
|  |     Each data row contains a name, and value. The row also contains a  | ||||||
|  |     type or mimetype. Type corresponds to a .NET class that support  | ||||||
|  |     text/value conversion through the TypeConverter architecture.  | ||||||
|  |     Classes that don't support this are serialized and stored with the  | ||||||
|  |     mimetype set. | ||||||
|  |      | ||||||
|  |     The mimetype is used for serialized objects, and tells the  | ||||||
|  |     ResXResourceReader how to depersist the object. This is currently not  | ||||||
|  |     extensible. For a given mimetype the value must be set accordingly: | ||||||
|  |      | ||||||
|  |     Note - application/x-microsoft.net.object.binary.base64 is the format  | ||||||
|  |     that the ResXResourceWriter will generate, however the reader can  | ||||||
|  |     read any of the formats listed below. | ||||||
|  |      | ||||||
|  |     mimetype: application/x-microsoft.net.object.binary.base64 | ||||||
|  |     value   : The object must be serialized with  | ||||||
|  |             : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter | ||||||
|  |             : and then encoded with base64 encoding. | ||||||
|  |      | ||||||
|  |     mimetype: application/x-microsoft.net.object.soap.base64 | ||||||
|  |     value   : The object must be serialized with  | ||||||
|  |             : System.Runtime.Serialization.Formatters.Soap.SoapFormatter | ||||||
|  |             : and then encoded with base64 encoding. | ||||||
|  |  | ||||||
|  |     mimetype: application/x-microsoft.net.object.bytearray.base64 | ||||||
|  |     value   : The object must be serialized into a byte array  | ||||||
|  |             : using a System.ComponentModel.TypeConverter | ||||||
|  |             : and then encoded with base64 encoding. | ||||||
|  |     --> | ||||||
|  |   <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | ||||||
|  |     <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> | ||||||
|  |     <xsd:element name="root" msdata:IsDataSet="true"> | ||||||
|  |       <xsd:complexType> | ||||||
|  |         <xsd:choice maxOccurs="unbounded"> | ||||||
|  |           <xsd:element name="metadata"> | ||||||
|  |             <xsd:complexType> | ||||||
|  |               <xsd:sequence> | ||||||
|  |                 <xsd:element name="value" type="xsd:string" minOccurs="0" /> | ||||||
|  |               </xsd:sequence> | ||||||
|  |               <xsd:attribute name="name" use="required" type="xsd:string" /> | ||||||
|  |               <xsd:attribute name="type" type="xsd:string" /> | ||||||
|  |               <xsd:attribute name="mimetype" type="xsd:string" /> | ||||||
|  |               <xsd:attribute ref="xml:space" /> | ||||||
|  |             </xsd:complexType> | ||||||
|  |           </xsd:element> | ||||||
|  |           <xsd:element name="assembly"> | ||||||
|  |             <xsd:complexType> | ||||||
|  |               <xsd:attribute name="alias" type="xsd:string" /> | ||||||
|  |               <xsd:attribute name="name" type="xsd:string" /> | ||||||
|  |             </xsd:complexType> | ||||||
|  |           </xsd:element> | ||||||
|  |           <xsd:element name="data"> | ||||||
|  |             <xsd:complexType> | ||||||
|  |               <xsd:sequence> | ||||||
|  |                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||||
|  |                 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> | ||||||
|  |               </xsd:sequence> | ||||||
|  |               <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> | ||||||
|  |               <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> | ||||||
|  |               <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> | ||||||
|  |               <xsd:attribute ref="xml:space" /> | ||||||
|  |             </xsd:complexType> | ||||||
|  |           </xsd:element> | ||||||
|  |           <xsd:element name="resheader"> | ||||||
|  |             <xsd:complexType> | ||||||
|  |               <xsd:sequence> | ||||||
|  |                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||||
|  |               </xsd:sequence> | ||||||
|  |               <xsd:attribute name="name" type="xsd:string" use="required" /> | ||||||
|  |             </xsd:complexType> | ||||||
|  |           </xsd:element> | ||||||
|  |         </xsd:choice> | ||||||
|  |       </xsd:complexType> | ||||||
|  |     </xsd:element> | ||||||
|  |   </xsd:schema> | ||||||
|  |   <resheader name="resmimetype"> | ||||||
|  |     <value>text/microsoft-resx</value> | ||||||
|  |   </resheader> | ||||||
|  |   <resheader name="version"> | ||||||
|  |     <value>2.0</value> | ||||||
|  |   </resheader> | ||||||
|  |   <resheader name="reader"> | ||||||
|  |     <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||||
|  |   </resheader> | ||||||
|  |   <resheader name="writer"> | ||||||
|  |     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||||
|  |   </resheader> | ||||||
|  |   <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> | ||||||
|  |   <data name="action_refresh" type="System.Resources.ResXFileRef, System.Windows.Forms"> | ||||||
|  |     <value>..\Resources\action_refresh.gif;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> | ||||||
|  |   </data> | ||||||
|  | </root> | ||||||
							
								
								
									
										37
									
								
								SubProject/FCM0000/Properties/Settings.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										37
									
								
								SubProject/FCM0000/Properties/Settings.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,37 @@ | |||||||
|  | //------------------------------------------------------------------------------ | ||||||
|  | // <auto-generated> | ||||||
|  | //     이 코드는 도구를 사용하여 생성되었습니다. | ||||||
|  | //     런타임 버전:4.0.30319.42000 | ||||||
|  | // | ||||||
|  | //     파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 | ||||||
|  | //     이러한 변경 내용이 손실됩니다. | ||||||
|  | // </auto-generated> | ||||||
|  | //------------------------------------------------------------------------------ | ||||||
|  |  | ||||||
|  | namespace FCM0000.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"])); | ||||||
|  |             } | ||||||
|  |         } | ||||||
|  |     } | ||||||
|  | } | ||||||
							
								
								
									
										14
									
								
								SubProject/FCM0000/Properties/Settings.settings
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								SubProject/FCM0000/Properties/Settings.settings
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,14 @@ | |||||||
|  | <?xml version='1.0' encoding='utf-8'?> | ||||||
|  | <SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="FEQ0000.Properties" GeneratedClassName="Settings"> | ||||||
|  |   <Profiles /> | ||||||
|  |   <Settings> | ||||||
|  |     <Setting Name="gwcs" Type="(Connection string)" Scope="Application"> | ||||||
|  |       <DesignTimeValue Profile="(Default)"><?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></DesignTimeValue> | ||||||
|  |       <Value Profile="(Default)">Data Source=10.131.36.205;Initial Catalog=GroupWare;Persist Security Info=True;User ID=gw;Password=Amkor123!</Value> | ||||||
|  |     </Setting> | ||||||
|  |   </Settings> | ||||||
|  | </SettingsFile> | ||||||
							
								
								
									
										
											BIN
										
									
								
								SubProject/FCM0000/Resources/action_refresh.gif
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								SubProject/FCM0000/Resources/action_refresh.gif
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 248 B | 
							
								
								
									
										9
									
								
								SubProject/FCM0000/app.config
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								SubProject/FCM0000/app.config
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | |||||||
|  | <?xml version="1.0" encoding="utf-8" ?> | ||||||
|  | <configuration> | ||||||
|  |     <configSections> | ||||||
|  |     </configSections> | ||||||
|  |     <connectionStrings> | ||||||
|  |         <add name="FEQ0000.Properties.Settings.gwcs" connectionString="Data Source=10.131.36.205;Initial Catalog=GroupWare;Persist Security Info=True;User ID=gw;Password=Amkor123!" | ||||||
|  |             providerName="System.Data.SqlClient" /> | ||||||
|  |     </connectionStrings> | ||||||
|  | </configuration> | ||||||
							
								
								
									
										5659
									
								
								SubProject/FCM0000/dsMSSQL.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										5659
									
								
								SubProject/FCM0000/dsMSSQL.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										9
									
								
								SubProject/FCM0000/dsMSSQL.xsc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								SubProject/FCM0000/dsMSSQL.xsc
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | |||||||
|  | <?xml version="1.0" encoding="utf-8"?> | ||||||
|  | <!--<autogenerated> | ||||||
|  |      This code was generated by a tool. | ||||||
|  |      Changes to this file may cause incorrect behavior and will be lost if | ||||||
|  |      the code is regenerated. | ||||||
|  | </autogenerated>--> | ||||||
|  | <DataSetUISetting Version="1.00" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> | ||||||
|  |   <TableUISettings /> | ||||||
|  | </DataSetUISetting> | ||||||
							
								
								
									
										672
									
								
								SubProject/FCM0000/dsMSSQL.xsd
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										672
									
								
								SubProject/FCM0000/dsMSSQL.xsd
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,672 @@ | |||||||
|  | <?xml version="1.0" encoding="utf-8"?> | ||||||
|  | <xs:schema id="dsMSSQL" targetNamespace="http://tempuri.org/dsMSSQL.xsd" xmlns:mstns="http://tempuri.org/dsMSSQL.xsd" xmlns="http://tempuri.org/dsMSSQL.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified"> | ||||||
|  |   <xs:annotation> | ||||||
|  |     <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource"> | ||||||
|  |       <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> | ||||||
|  |         <Connections> | ||||||
|  |           <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="gwcs" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="gwcs (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.FCM0000.Properties.Settings.GlobalReference.Default.gwcs" Provider="System.Data.SqlClient" /> | ||||||
|  |         </Connections> | ||||||
|  |         <Tables> | ||||||
|  |           <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ItemsTableAdapter" GeneratorDataComponentClassName="ItemsTableAdapter" Name="Items" UserDataComponentName="ItemsTableAdapter"> | ||||||
|  |             <MainSource> | ||||||
|  |               <DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Items" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill"> | ||||||
|  |                 <DeleteCommand> | ||||||
|  |                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||||
|  |                     <CommandText>DELETE FROM [Items] WHERE (([idx] = @Original_idx) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_sid = 1 AND [sid] IS NULL) OR ([sid] = @Original_sid)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_supply = 1 AND [supply] IS NULL) OR ([supply] = @Original_supply)) AND ((@IsNull_price = 1 AND [price] IS NULL) OR ([price] = @Original_price)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)))</CommandText> | ||||||
|  |                     <Parameters> | ||||||
|  |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sid" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_sid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="sid" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_model" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="model" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_model" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="model" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_manu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="manu" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_manu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manu" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_supply" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="supply" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_supply" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="supply" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_price" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="price" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_price" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="price" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_memo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cate" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_cate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cate" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                     </Parameters> | ||||||
|  |                   </DbCommand> | ||||||
|  |                 </DeleteCommand> | ||||||
|  |                 <InsertCommand> | ||||||
|  |                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||||
|  |                     <CommandText>INSERT INTO [Items] ([name], [sid], [model], [manu], [supply], [price], [memo], [wuid], [wdate], [cate]) VALUES (@name, @sid, @model, @manu, @supply, @price, @memo, @wuid, @wdate, @cate); | ||||||
|  | SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate FROM Items WHERE (idx = SCOPE_IDENTITY()) ORDER BY cate, name</CommandText> | ||||||
|  |                     <Parameters> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@sid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="sid" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@model" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="model" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@manu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manu" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@supply" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="supply" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@price" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="price" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@cate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                     </Parameters> | ||||||
|  |                   </DbCommand> | ||||||
|  |                 </InsertCommand> | ||||||
|  |                 <SelectCommand> | ||||||
|  |                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||||
|  |                     <CommandText>SELECT  idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate | ||||||
|  | FROM     Items | ||||||
|  | ORDER BY cate, name</CommandText> | ||||||
|  |                     <Parameters /> | ||||||
|  |                   </DbCommand> | ||||||
|  |                 </SelectCommand> | ||||||
|  |                 <UpdateCommand> | ||||||
|  |                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||||
|  |                     <CommandText>UPDATE [Items] SET [name] = @name, [sid] = @sid, [model] = @model, [manu] = @manu, [supply] = @supply, [price] = @price, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate, [cate] = @cate WHERE (([idx] = @Original_idx) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_sid = 1 AND [sid] IS NULL) OR ([sid] = @Original_sid)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_supply = 1 AND [supply] IS NULL) OR ([supply] = @Original_supply)) AND ((@IsNull_price = 1 AND [price] IS NULL) OR ([price] = @Original_price)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate))); | ||||||
|  | SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate FROM Items WHERE (idx = @idx) ORDER BY cate, name</CommandText> | ||||||
|  |                     <Parameters> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@sid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="sid" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@model" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="model" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@manu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manu" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@supply" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="supply" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@price" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="price" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@cate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sid" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_sid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="sid" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_model" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="model" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_model" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="model" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_manu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="manu" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_manu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manu" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_supply" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="supply" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_supply" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="supply" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_price" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="price" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_price" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="price" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_memo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cate" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_cate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cate" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="GroupWare.dbo.Items" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                     </Parameters> | ||||||
|  |                   </DbCommand> | ||||||
|  |                 </UpdateCommand> | ||||||
|  |               </DbSource> | ||||||
|  |             </MainSource> | ||||||
|  |             <Mappings> | ||||||
|  |               <Mapping SourceColumn="idx" DataSetColumn="idx" /> | ||||||
|  |               <Mapping SourceColumn="name" DataSetColumn="name" /> | ||||||
|  |               <Mapping SourceColumn="sid" DataSetColumn="sid" /> | ||||||
|  |               <Mapping SourceColumn="model" DataSetColumn="model" /> | ||||||
|  |               <Mapping SourceColumn="manu" DataSetColumn="manu" /> | ||||||
|  |               <Mapping SourceColumn="supply" DataSetColumn="supply" /> | ||||||
|  |               <Mapping SourceColumn="memo" DataSetColumn="memo" /> | ||||||
|  |               <Mapping SourceColumn="wuid" DataSetColumn="wuid" /> | ||||||
|  |               <Mapping SourceColumn="wdate" DataSetColumn="wdate" /> | ||||||
|  |               <Mapping SourceColumn="price" DataSetColumn="price" /> | ||||||
|  |               <Mapping SourceColumn="cate" DataSetColumn="cate" /> | ||||||
|  |             </Mappings> | ||||||
|  |             <Sources> | ||||||
|  |               <DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Items" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillNoImage" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetNoImage" GeneratorSourceName="FillNoImage" GetMethodModifier="Public" GetMethodName="GetNoImage" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetNoImage" UserSourceName="FillNoImage"> | ||||||
|  |                 <SelectCommand> | ||||||
|  |                   <DbCommand CommandType="Text" ModifiedByUser="true"> | ||||||
|  |                     <CommandText>SELECT  cate, idx, manu, memo, model, name, price, sid, supply, wdate, wuid | ||||||
|  | FROM     Items | ||||||
|  | ORDER BY cate, name</CommandText> | ||||||
|  |                     <Parameters /> | ||||||
|  |                   </DbCommand> | ||||||
|  |                 </SelectCommand> | ||||||
|  |               </DbSource> | ||||||
|  |               <DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Items" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillSearch" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetSearch" GeneratorSourceName="FillSearch" GetMethodModifier="Public" GetMethodName="GetSearch" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetSearch" UserSourceName="FillSearch"> | ||||||
|  |                 <SelectCommand> | ||||||
|  |                   <DbCommand CommandType="Text" ModifiedByUser="true"> | ||||||
|  |                     <CommandText>SELECT  cate, idx, manu, memo, model, name, price, sid, supply, wdate, wuid | ||||||
|  | FROM     Items | ||||||
|  | WHERE  (ISNULL(name, N'') LIKE @search) OR | ||||||
|  |                (ISNULL(sid, N'') LIKE @search) OR | ||||||
|  |                (ISNULL(manu, N'') LIKE @search) OR | ||||||
|  |                (ISNULL(supply, N'') LIKE @search) OR | ||||||
|  |                (ISNULL(model, N'') LIKE @search) OR | ||||||
|  |                (ISNULL(memo, N'') LIKE @search) | ||||||
|  | ORDER BY cate, name</CommandText> | ||||||
|  |                     <Parameters> | ||||||
|  |                       <Parameter AllowDbNull="false" AutogeneratedName="search" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="String" Direction="Input" ParameterName="@search" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                     </Parameters> | ||||||
|  |                   </DbCommand> | ||||||
|  |                 </SelectCommand> | ||||||
|  |               </DbSource> | ||||||
|  |               <DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Items" DbObjectType="Table" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="GetIDX" GetMethodModifier="Public" GetMethodName="GetIDX" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetIDX" UserSourceName="GetIDX"> | ||||||
|  |                 <SelectCommand> | ||||||
|  |                   <DbCommand CommandType="Text" ModifiedByUser="true"> | ||||||
|  |                     <CommandText>SELECT cate, idx, manu, memo, model, name, price, sid, supply, wdate, wuid FROM Items WHERE (idx = @idx)</CommandText> | ||||||
|  |                     <Parameters> | ||||||
|  |                       <Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="GroupWare.dbo.Items" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                     </Parameters> | ||||||
|  |                   </DbCommand> | ||||||
|  |                 </SelectCommand> | ||||||
|  |               </DbSource> | ||||||
|  |             </Sources> | ||||||
|  |           </TableAdapter> | ||||||
|  |           <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="InventoryTableAdapter" GeneratorDataComponentClassName="InventoryTableAdapter" Name="Inventory" UserDataComponentName="InventoryTableAdapter"> | ||||||
|  |             <MainSource> | ||||||
|  |               <DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Inventory" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill"> | ||||||
|  |                 <DeleteCommand> | ||||||
|  |                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||||
|  |                     <CommandText>DELETE FROM [Inventory] WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ((@IsNull_item = 1 AND [item] IS NULL) OR ([item] = @Original_item)) AND ((@IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_dr_qty = 1 AND [dr_qty] IS NULL) OR ([dr_qty] = @Original_dr_qty)) AND ((@IsNull_dr_amt = 1 AND [dr_amt] IS NULL) OR ([dr_amt] = @Original_dr_amt)) AND ((@IsNull_cr_qty = 1 AND [cr_qty] IS NULL) OR ([cr_qty] = @Original_cr_qty)) AND ((@IsNull_cr_amt = 1 AND [cr_amt] IS NULL) OR ([cr_amt] = @Original_cr_amt)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_invtype = 1 AND [invtype] IS NULL) OR ([invtype] = @Original_invtype)) AND ((@IsNull_ItemName = 1 AND [ItemName] IS NULL) OR ([ItemName] = @Original_ItemName)) AND ((@IsNull_projectName = 1 AND [projectName] IS NULL) OR ([projectName] = @Original_projectName)))</CommandText> | ||||||
|  |                     <Parameters> | ||||||
|  |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_uid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_uid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_item" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="item" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_item" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="item" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_serial" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="serial" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_serial" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="serial" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dr_qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dr_qty" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_dr_qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dr_qty" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dr_amt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dr_amt" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_dr_amt" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="dr_amt" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cr_qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cr_qty" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_cr_qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cr_qty" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cr_amt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cr_amt" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_cr_amt" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="cr_amt" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_memo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_project" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="project" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_project" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="project" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_invtype" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="invtype" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_invtype" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="invtype" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ItemName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemName" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ItemName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemName" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_projectName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="projectName" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_projectName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="projectName" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                     </Parameters> | ||||||
|  |                   </DbCommand> | ||||||
|  |                 </DeleteCommand> | ||||||
|  |                 <InsertCommand> | ||||||
|  |                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||||
|  |                     <CommandText>INSERT INTO [Inventory] ([pdate], [uid], [item], [serial], [dr_qty], [dr_amt], [cr_qty], [cr_amt], [memo], [project], [wuid], [wdate], [invtype], [ItemName], [projectName]) VALUES (@pdate, @uid, @item, @serial, @dr_qty, @dr_amt, @cr_qty, @cr_amt, @memo, @project, @wuid, @wdate, @invtype, @ItemName, @projectName); | ||||||
|  | SELECT idx, pdate, uid, item, serial, dr_qty, dr_amt, cr_qty, cr_amt, memo, project, wuid, wdate, invtype, ItemName, projectName FROM Inventory WHERE (idx = SCOPE_IDENTITY()) ORDER BY pdate</CommandText> | ||||||
|  |                     <Parameters> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@item" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="item" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@serial" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="serial" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@dr_qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dr_qty" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@dr_amt" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="dr_amt" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@cr_qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cr_qty" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@cr_amt" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="cr_amt" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@project" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="project" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@invtype" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="invtype" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ItemName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemName" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@projectName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="projectName" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                     </Parameters> | ||||||
|  |                   </DbCommand> | ||||||
|  |                 </InsertCommand> | ||||||
|  |                 <SelectCommand> | ||||||
|  |                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||||
|  |                     <CommandText>SELECT  idx, pdate, uid, item, serial, dr_qty, dr_amt, cr_qty, cr_amt, memo, project, wuid, wdate, invtype, ItemName, projectName | ||||||
|  | FROM     Inventory | ||||||
|  | ORDER BY pdate</CommandText> | ||||||
|  |                     <Parameters /> | ||||||
|  |                   </DbCommand> | ||||||
|  |                 </SelectCommand> | ||||||
|  |                 <UpdateCommand> | ||||||
|  |                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||||
|  |                     <CommandText>UPDATE [Inventory] SET [pdate] = @pdate, [uid] = @uid, [item] = @item, [serial] = @serial, [dr_qty] = @dr_qty, [dr_amt] = @dr_amt, [cr_qty] = @cr_qty, [cr_amt] = @cr_amt, [memo] = @memo, [project] = @project, [wuid] = @wuid, [wdate] = @wdate, [invtype] = @invtype, [ItemName] = @ItemName, [projectName] = @projectName WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ((@IsNull_item = 1 AND [item] IS NULL) OR ([item] = @Original_item)) AND ((@IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_dr_qty = 1 AND [dr_qty] IS NULL) OR ([dr_qty] = @Original_dr_qty)) AND ((@IsNull_dr_amt = 1 AND [dr_amt] IS NULL) OR ([dr_amt] = @Original_dr_amt)) AND ((@IsNull_cr_qty = 1 AND [cr_qty] IS NULL) OR ([cr_qty] = @Original_cr_qty)) AND ((@IsNull_cr_amt = 1 AND [cr_amt] IS NULL) OR ([cr_amt] = @Original_cr_amt)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_invtype = 1 AND [invtype] IS NULL) OR ([invtype] = @Original_invtype)) AND ((@IsNull_ItemName = 1 AND [ItemName] IS NULL) OR ([ItemName] = @Original_ItemName)) AND ((@IsNull_projectName = 1 AND [projectName] IS NULL) OR ([projectName] = @Original_projectName))); | ||||||
|  | SELECT idx, pdate, uid, item, serial, dr_qty, dr_amt, cr_qty, cr_amt, memo, project, wuid, wdate, invtype, ItemName, projectName FROM Inventory WHERE (idx = @idx) ORDER BY pdate</CommandText> | ||||||
|  |                     <Parameters> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@item" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="item" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@serial" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="serial" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@dr_qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dr_qty" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@dr_amt" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="dr_amt" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@cr_qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cr_qty" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@cr_amt" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="cr_amt" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@project" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="project" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@invtype" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="invtype" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ItemName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemName" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@projectName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="projectName" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_uid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_uid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_item" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="item" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_item" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="item" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_serial" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="serial" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_serial" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="serial" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dr_qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dr_qty" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_dr_qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dr_qty" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dr_amt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dr_amt" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_dr_amt" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="dr_amt" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cr_qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cr_qty" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_cr_qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cr_qty" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cr_amt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cr_amt" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_cr_amt" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="cr_amt" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_memo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_project" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="project" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_project" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="project" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_invtype" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="invtype" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_invtype" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="invtype" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ItemName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemName" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ItemName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemName" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_projectName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="projectName" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_projectName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="projectName" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                     </Parameters> | ||||||
|  |                   </DbCommand> | ||||||
|  |                 </UpdateCommand> | ||||||
|  |               </DbSource> | ||||||
|  |             </MainSource> | ||||||
|  |             <Mappings> | ||||||
|  |               <Mapping SourceColumn="idx" DataSetColumn="idx" /> | ||||||
|  |               <Mapping SourceColumn="pdate" DataSetColumn="pdate" /> | ||||||
|  |               <Mapping SourceColumn="uid" DataSetColumn="uid" /> | ||||||
|  |               <Mapping SourceColumn="item" DataSetColumn="item" /> | ||||||
|  |               <Mapping SourceColumn="serial" DataSetColumn="serial" /> | ||||||
|  |               <Mapping SourceColumn="dr_qty" DataSetColumn="dr_qty" /> | ||||||
|  |               <Mapping SourceColumn="dr_amt" DataSetColumn="dr_amt" /> | ||||||
|  |               <Mapping SourceColumn="cr_qty" DataSetColumn="cr_qty" /> | ||||||
|  |               <Mapping SourceColumn="cr_amt" DataSetColumn="cr_amt" /> | ||||||
|  |               <Mapping SourceColumn="memo" DataSetColumn="memo" /> | ||||||
|  |               <Mapping SourceColumn="wuid" DataSetColumn="wuid" /> | ||||||
|  |               <Mapping SourceColumn="wdate" DataSetColumn="wdate" /> | ||||||
|  |               <Mapping SourceColumn="project" DataSetColumn="project" /> | ||||||
|  |               <Mapping SourceColumn="invtype" DataSetColumn="invtype" /> | ||||||
|  |               <Mapping SourceColumn="ItemName" DataSetColumn="ItemName" /> | ||||||
|  |               <Mapping SourceColumn="projectName" DataSetColumn="projectName" /> | ||||||
|  |             </Mappings> | ||||||
|  |             <Sources> | ||||||
|  |               <DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Inventory" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByUID" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetbyUID" GeneratorSourceName="FillByUID" GetMethodModifier="Public" GetMethodName="GetbyUID" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetbyUID" UserSourceName="FillByUID"> | ||||||
|  |                 <SelectCommand> | ||||||
|  |                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||||
|  |                     <CommandText>SELECT ItemName, cr_amt, cr_qty, dr_amt, dr_qty, idx, invtype, item, memo, pdate, project, projectName, serial, uid, wdate, wuid FROM Inventory WHERE (pdate BETWEEN @sd AND @ed) AND (uid = @uid) ORDER BY pdate</CommandText> | ||||||
|  |                     <Parameters> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="sd" ColumnName="pdate" DataSourceName="" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@sd" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="ed" ColumnName="pdate" DataSourceName="" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@ed" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="uid" ColumnName="uid" DataSourceName="" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                     </Parameters> | ||||||
|  |                   </DbCommand> | ||||||
|  |                 </SelectCommand> | ||||||
|  |               </DbSource> | ||||||
|  |             </Sources> | ||||||
|  |           </TableAdapter> | ||||||
|  |           <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ProjectsTableAdapter" GeneratorDataComponentClassName="ProjectsTableAdapter" Name="Projects" UserDataComponentName="ProjectsTableAdapter"> | ||||||
|  |             <MainSource> | ||||||
|  |               <DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Projects" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill"> | ||||||
|  |                 <DeleteCommand> | ||||||
|  |                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||||
|  |                     <CommandText>DELETE FROM [Projects] WHERE (([idx] = @Original_idx) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_request = 1 AND [request] IS NULL) OR ([request] = @Original_request)) AND ((@IsNull_reqstaff = 1 AND [reqstaff] IS NULL) OR ([reqstaff] = @Original_reqstaff)) 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_odate = 1 AND [odate] IS NULL) OR ([odate] = @Original_odate)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate))</CommandText> | ||||||
|  |                     <Parameters> | ||||||
|  |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_request" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="request" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_request" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="request" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_reqstaff" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="reqstaff" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_reqstaff" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="reqstaff" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sdate" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_sdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="sdate" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_edate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="edate" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_edate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="edate" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_odate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="odate" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_odate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="odate" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_memo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                     </Parameters> | ||||||
|  |                   </DbCommand> | ||||||
|  |                 </DeleteCommand> | ||||||
|  |                 <InsertCommand> | ||||||
|  |                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||||
|  |                     <CommandText>INSERT INTO [Projects] ([name], [pdate], [request], [reqstaff], [sdate], [edate], [odate], [memo], [wuid], [wdate]) VALUES (@name, @pdate, @request, @reqstaff, @sdate, @edate, @odate, @memo, @wuid, @wdate); | ||||||
|  | SELECT idx, name, pdate, request, reqstaff, sdate, edate, odate, memo, wuid, wdate FROM Projects WHERE (idx = SCOPE_IDENTITY())</CommandText> | ||||||
|  |                     <Parameters> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@request" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="request" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@reqstaff" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="reqstaff" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@sdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="sdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@edate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="edate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@odate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="odate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                     </Parameters> | ||||||
|  |                   </DbCommand> | ||||||
|  |                 </InsertCommand> | ||||||
|  |                 <SelectCommand> | ||||||
|  |                   <DbCommand CommandType="Text" ModifiedByUser="true"> | ||||||
|  |                     <CommandText>SELECT  idx, name, pdate, request, reqstaff, sdate, edate, odate, memo, wuid, wdate | ||||||
|  | FROM     Projects | ||||||
|  | WHERE  (idx = @idx)</CommandText> | ||||||
|  |                     <Parameters> | ||||||
|  |                       <Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                     </Parameters> | ||||||
|  |                   </DbCommand> | ||||||
|  |                 </SelectCommand> | ||||||
|  |                 <UpdateCommand> | ||||||
|  |                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||||
|  |                     <CommandText>UPDATE [Projects] SET [name] = @name, [pdate] = @pdate, [request] = @request, [reqstaff] = @reqstaff, [sdate] = @sdate, [edate] = @edate, [odate] = @odate, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate WHERE (([idx] = @Original_idx) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_request = 1 AND [request] IS NULL) OR ([request] = @Original_request)) AND ((@IsNull_reqstaff = 1 AND [reqstaff] IS NULL) OR ([reqstaff] = @Original_reqstaff)) 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_odate = 1 AND [odate] IS NULL) OR ([odate] = @Original_odate)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate)); | ||||||
|  | SELECT idx, name, pdate, request, reqstaff, sdate, edate, odate, memo, wuid, wdate FROM Projects WHERE (idx = @idx)</CommandText> | ||||||
|  |                     <Parameters> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@request" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="request" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@reqstaff" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="reqstaff" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@sdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="sdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@edate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="edate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@odate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="odate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_request" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="request" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_request" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="request" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_reqstaff" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="reqstaff" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_reqstaff" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="reqstaff" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sdate" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_sdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="sdate" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_edate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="edate" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_edate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="edate" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_odate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="odate" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_odate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="odate" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_memo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                     </Parameters> | ||||||
|  |                   </DbCommand> | ||||||
|  |                 </UpdateCommand> | ||||||
|  |               </DbSource> | ||||||
|  |             </MainSource> | ||||||
|  |             <Mappings> | ||||||
|  |               <Mapping SourceColumn="idx" DataSetColumn="idx" /> | ||||||
|  |               <Mapping SourceColumn="name" DataSetColumn="name" /> | ||||||
|  |               <Mapping SourceColumn="pdate" DataSetColumn="pdate" /> | ||||||
|  |               <Mapping SourceColumn="request" DataSetColumn="request" /> | ||||||
|  |               <Mapping SourceColumn="reqstaff" DataSetColumn="reqstaff" /> | ||||||
|  |               <Mapping SourceColumn="sdate" DataSetColumn="sdate" /> | ||||||
|  |               <Mapping SourceColumn="edate" DataSetColumn="edate" /> | ||||||
|  |               <Mapping SourceColumn="odate" DataSetColumn="odate" /> | ||||||
|  |               <Mapping SourceColumn="memo" DataSetColumn="memo" /> | ||||||
|  |               <Mapping SourceColumn="wuid" DataSetColumn="wuid" /> | ||||||
|  |               <Mapping SourceColumn="wdate" DataSetColumn="wdate" /> | ||||||
|  |             </Mappings> | ||||||
|  |             <Sources> | ||||||
|  |               <DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Projects" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillSearch" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetSearch" GeneratorSourceName="FillSearch" GetMethodModifier="Public" GetMethodName="GetSearch" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetSearch" UserSourceName="FillSearch"> | ||||||
|  |                 <SelectCommand> | ||||||
|  |                   <DbCommand CommandType="Text" ModifiedByUser="true"> | ||||||
|  |                     <CommandText>SELECT  idx, name, pdate, request, reqstaff, sdate, edate, odate, memo, wuid, wdate | ||||||
|  | FROM     Projects | ||||||
|  | WHERE  (ISNULL(name, N'') LIKE @search) OR | ||||||
|  |                (ISNULL(memo, N'') LIKE @search)</CommandText> | ||||||
|  |                     <Parameters> | ||||||
|  |                       <Parameter AllowDbNull="false" AutogeneratedName="search" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="String" Direction="Input" ParameterName="@search" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                     </Parameters> | ||||||
|  |                   </DbCommand> | ||||||
|  |                 </SelectCommand> | ||||||
|  |               </DbSource> | ||||||
|  |             </Sources> | ||||||
|  |           </TableAdapter> | ||||||
|  |         </Tables> | ||||||
|  |         <Sources /> | ||||||
|  |       </DataSource> | ||||||
|  |     </xs:appinfo> | ||||||
|  |   </xs:annotation> | ||||||
|  |   <xs:element name="dsMSSQL" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="dsMSSQL" msprop:Generator_UserDSName="dsMSSQL"> | ||||||
|  |     <xs:complexType> | ||||||
|  |       <xs:choice minOccurs="0" maxOccurs="unbounded"> | ||||||
|  |         <xs:element name="Items" msprop:Generator_TableClassName="ItemsDataTable" msprop:Generator_TableVarName="tableItems" msprop:Generator_RowChangedName="ItemsRowChanged" msprop:Generator_TablePropName="Items" msprop:Generator_RowDeletingName="ItemsRowDeleting" msprop:Generator_RowChangingName="ItemsRowChanging" msprop:Generator_RowEvHandlerName="ItemsRowChangeEventHandler" msprop:Generator_RowDeletedName="ItemsRowDeleted" msprop:Generator_RowClassName="ItemsRow" msprop:Generator_UserTableName="Items" msprop:Generator_RowEvArgName="ItemsRowChangeEvent"> | ||||||
|  |           <xs:complexType> | ||||||
|  |             <xs:sequence> | ||||||
|  |               <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> | ||||||
|  |               <xs:element name="name" msprop:Generator_ColumnVarNameInTable="columnname" msprop:Generator_ColumnPropNameInRow="name" msprop:Generator_ColumnPropNameInTable="nameColumn" msprop:Generator_UserColumnName="name" minOccurs="0"> | ||||||
|  |                 <xs:simpleType> | ||||||
|  |                   <xs:restriction base="xs:string"> | ||||||
|  |                     <xs:maxLength value="50" /> | ||||||
|  |                   </xs:restriction> | ||||||
|  |                 </xs:simpleType> | ||||||
|  |               </xs:element> | ||||||
|  |               <xs:element name="sid" msprop:Generator_ColumnVarNameInTable="columnsid" msprop:Generator_ColumnPropNameInRow="sid" msprop:Generator_ColumnPropNameInTable="sidColumn" msprop:Generator_UserColumnName="sid" minOccurs="0"> | ||||||
|  |                 <xs:simpleType> | ||||||
|  |                   <xs:restriction base="xs:string"> | ||||||
|  |                     <xs:maxLength value="50" /> | ||||||
|  |                   </xs:restriction> | ||||||
|  |                 </xs:simpleType> | ||||||
|  |               </xs:element> | ||||||
|  |               <xs:element name="model" msprop:Generator_ColumnVarNameInTable="columnmodel" msprop:Generator_ColumnPropNameInRow="model" msprop:Generator_ColumnPropNameInTable="modelColumn" msprop:Generator_UserColumnName="model" minOccurs="0"> | ||||||
|  |                 <xs:simpleType> | ||||||
|  |                   <xs:restriction base="xs:string"> | ||||||
|  |                     <xs:maxLength value="50" /> | ||||||
|  |                   </xs:restriction> | ||||||
|  |                 </xs:simpleType> | ||||||
|  |               </xs:element> | ||||||
|  |               <xs:element name="manu" msprop:Generator_ColumnVarNameInTable="columnmanu" msprop:Generator_ColumnPropNameInRow="manu" msprop:Generator_ColumnPropNameInTable="manuColumn" msprop:Generator_UserColumnName="manu" minOccurs="0"> | ||||||
|  |                 <xs:simpleType> | ||||||
|  |                   <xs:restriction base="xs:string"> | ||||||
|  |                     <xs:maxLength value="50" /> | ||||||
|  |                   </xs:restriction> | ||||||
|  |                 </xs:simpleType> | ||||||
|  |               </xs:element> | ||||||
|  |               <xs:element name="supply" msprop:Generator_ColumnVarNameInTable="columnsupply" msprop:Generator_ColumnPropNameInRow="supply" msprop:Generator_ColumnPropNameInTable="supplyColumn" msprop:Generator_UserColumnName="supply" minOccurs="0"> | ||||||
|  |                 <xs:simpleType> | ||||||
|  |                   <xs:restriction base="xs:string"> | ||||||
|  |                     <xs:maxLength value="50" /> | ||||||
|  |                   </xs:restriction> | ||||||
|  |                 </xs:simpleType> | ||||||
|  |               </xs:element> | ||||||
|  |               <xs:element name="memo" msprop:Generator_ColumnVarNameInTable="columnmemo" msprop:Generator_ColumnPropNameInRow="memo" msprop:Generator_ColumnPropNameInTable="memoColumn" msprop:Generator_UserColumnName="memo" minOccurs="0"> | ||||||
|  |                 <xs:simpleType> | ||||||
|  |                   <xs:restriction base="xs:string"> | ||||||
|  |                     <xs:maxLength value="255" /> | ||||||
|  |                   </xs:restriction> | ||||||
|  |                 </xs:simpleType> | ||||||
|  |               </xs:element> | ||||||
|  |               <xs:element name="wuid" msprop:Generator_ColumnVarNameInTable="columnwuid" msprop:Generator_ColumnPropNameInRow="wuid" msprop:Generator_ColumnPropNameInTable="wuidColumn" msprop:Generator_UserColumnName="wuid"> | ||||||
|  |                 <xs:simpleType> | ||||||
|  |                   <xs:restriction base="xs:string"> | ||||||
|  |                     <xs:maxLength value="20" /> | ||||||
|  |                   </xs:restriction> | ||||||
|  |                 </xs:simpleType> | ||||||
|  |               </xs:element> | ||||||
|  |               <xs:element name="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_UserColumnName="wdate" type="xs:dateTime" /> | ||||||
|  |               <xs:element name="price" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="price" msprop:Generator_ColumnVarNameInTable="columnprice" msprop:Generator_ColumnPropNameInTable="priceColumn" msprop:Generator_UserColumnName="price" type="xs:decimal" minOccurs="0" /> | ||||||
|  |               <xs:element name="cate" msprop:Generator_ColumnVarNameInTable="columncate" msprop:Generator_ColumnPropNameInRow="cate" msprop:Generator_ColumnPropNameInTable="cateColumn" msprop:Generator_UserColumnName="cate" minOccurs="0"> | ||||||
|  |                 <xs:simpleType> | ||||||
|  |                   <xs:restriction base="xs:string"> | ||||||
|  |                     <xs:maxLength value="20" /> | ||||||
|  |                   </xs:restriction> | ||||||
|  |                 </xs:simpleType> | ||||||
|  |               </xs:element> | ||||||
|  |             </xs:sequence> | ||||||
|  |           </xs:complexType> | ||||||
|  |         </xs:element> | ||||||
|  |         <xs:element name="Inventory" msprop:Generator_TableClassName="InventoryDataTable" msprop:Generator_TableVarName="tableInventory" msprop:Generator_RowChangedName="InventoryRowChanged" msprop:Generator_TablePropName="Inventory" msprop:Generator_RowDeletingName="InventoryRowDeleting" msprop:Generator_RowChangingName="InventoryRowChanging" msprop:Generator_RowEvHandlerName="InventoryRowChangeEventHandler" msprop:Generator_RowDeletedName="InventoryRowDeleted" msprop:Generator_RowClassName="InventoryRow" msprop:Generator_UserTableName="Inventory" msprop:Generator_RowEvArgName="InventoryRowChangeEvent"> | ||||||
|  |           <xs:complexType> | ||||||
|  |             <xs:sequence> | ||||||
|  |               <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> | ||||||
|  |               <xs:element name="pdate" msprop:Generator_ColumnVarNameInTable="columnpdate" msprop:Generator_ColumnPropNameInRow="pdate" msprop:Generator_ColumnPropNameInTable="pdateColumn" msprop:Generator_UserColumnName="pdate" minOccurs="0"> | ||||||
|  |                 <xs:simpleType> | ||||||
|  |                   <xs:restriction base="xs:string"> | ||||||
|  |                     <xs:maxLength value="10" /> | ||||||
|  |                   </xs:restriction> | ||||||
|  |                 </xs:simpleType> | ||||||
|  |               </xs:element> | ||||||
|  |               <xs:element name="uid" msprop:Generator_ColumnVarNameInTable="columnuid" msprop:Generator_ColumnPropNameInRow="uid" msprop:Generator_ColumnPropNameInTable="uidColumn" msprop:Generator_UserColumnName="uid" minOccurs="0"> | ||||||
|  |                 <xs:simpleType> | ||||||
|  |                   <xs:restriction base="xs:string"> | ||||||
|  |                     <xs:maxLength value="20" /> | ||||||
|  |                   </xs:restriction> | ||||||
|  |                 </xs:simpleType> | ||||||
|  |               </xs:element> | ||||||
|  |               <xs:element name="item" msprop:nullValue="-1" msprop:Generator_ColumnPropNameInRow="item" msprop:Generator_ColumnVarNameInTable="columnitem" msprop:Generator_ColumnPropNameInTable="itemColumn" msprop:Generator_UserColumnName="item" type="xs:int" minOccurs="0" /> | ||||||
|  |               <xs:element name="serial" msprop:Generator_ColumnVarNameInTable="columnserial" msprop:Generator_ColumnPropNameInRow="serial" msprop:Generator_ColumnPropNameInTable="serialColumn" msprop:Generator_UserColumnName="serial" minOccurs="0"> | ||||||
|  |                 <xs:simpleType> | ||||||
|  |                   <xs:restriction base="xs:string"> | ||||||
|  |                     <xs:maxLength value="50" /> | ||||||
|  |                   </xs:restriction> | ||||||
|  |                 </xs:simpleType> | ||||||
|  |               </xs:element> | ||||||
|  |               <xs:element name="dr_qty" msprop:Generator_ColumnVarNameInTable="columndr_qty" msprop:Generator_ColumnPropNameInRow="dr_qty" msprop:Generator_ColumnPropNameInTable="dr_qtyColumn" msprop:Generator_UserColumnName="dr_qty" type="xs:int" minOccurs="0" /> | ||||||
|  |               <xs:element name="dr_amt" msprop:Generator_ColumnVarNameInTable="columndr_amt" msprop:Generator_ColumnPropNameInRow="dr_amt" msprop:Generator_ColumnPropNameInTable="dr_amtColumn" msprop:Generator_UserColumnName="dr_amt" type="xs:decimal" minOccurs="0" /> | ||||||
|  |               <xs:element name="cr_qty" msprop:Generator_ColumnVarNameInTable="columncr_qty" msprop:Generator_ColumnPropNameInRow="cr_qty" msprop:Generator_ColumnPropNameInTable="cr_qtyColumn" msprop:Generator_UserColumnName="cr_qty" type="xs:int" minOccurs="0" /> | ||||||
|  |               <xs:element name="cr_amt" msprop:Generator_ColumnVarNameInTable="columncr_amt" msprop:Generator_ColumnPropNameInRow="cr_amt" msprop:Generator_ColumnPropNameInTable="cr_amtColumn" msprop:Generator_UserColumnName="cr_amt" type="xs:decimal" minOccurs="0" /> | ||||||
|  |               <xs:element name="memo" msprop:Generator_ColumnVarNameInTable="columnmemo" msprop:Generator_ColumnPropNameInRow="memo" msprop:Generator_ColumnPropNameInTable="memoColumn" msprop:Generator_UserColumnName="memo" minOccurs="0"> | ||||||
|  |                 <xs:simpleType> | ||||||
|  |                   <xs:restriction base="xs:string"> | ||||||
|  |                     <xs:maxLength value="255" /> | ||||||
|  |                   </xs:restriction> | ||||||
|  |                 </xs:simpleType> | ||||||
|  |               </xs:element> | ||||||
|  |               <xs:element name="wuid" msprop:Generator_ColumnVarNameInTable="columnwuid" msprop:Generator_ColumnPropNameInRow="wuid" msprop:Generator_ColumnPropNameInTable="wuidColumn" msprop:Generator_UserColumnName="wuid"> | ||||||
|  |                 <xs:simpleType> | ||||||
|  |                   <xs:restriction base="xs:string"> | ||||||
|  |                     <xs:maxLength value="20" /> | ||||||
|  |                   </xs:restriction> | ||||||
|  |                 </xs:simpleType> | ||||||
|  |               </xs:element> | ||||||
|  |               <xs:element name="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_UserColumnName="wdate" type="xs:dateTime" /> | ||||||
|  |               <xs:element name="project" msprop:nullValue="-1" msprop:Generator_ColumnPropNameInRow="project" msprop:Generator_ColumnVarNameInTable="columnproject" msprop:Generator_ColumnPropNameInTable="projectColumn" msprop:Generator_UserColumnName="project" type="xs:int" minOccurs="0" /> | ||||||
|  |               <xs:element name="invtype" msprop:nullValue="ET" msprop:Generator_ColumnPropNameInRow="invtype" msprop:Generator_ColumnVarNameInTable="columninvtype" msprop:Generator_ColumnPropNameInTable="invtypeColumn" msprop:Generator_UserColumnName="invtype" minOccurs="0"> | ||||||
|  |                 <xs:simpleType> | ||||||
|  |                   <xs:restriction base="xs:string"> | ||||||
|  |                     <xs:maxLength value="2" /> | ||||||
|  |                   </xs:restriction> | ||||||
|  |                 </xs:simpleType> | ||||||
|  |               </xs:element> | ||||||
|  |               <xs:element name="ItemName" msprop:Generator_ColumnVarNameInTable="columnItemName" msprop:Generator_ColumnPropNameInRow="ItemName" msprop:Generator_ColumnPropNameInTable="ItemNameColumn" msprop:Generator_UserColumnName="ItemName" minOccurs="0"> | ||||||
|  |                 <xs:simpleType> | ||||||
|  |                   <xs:restriction base="xs:string"> | ||||||
|  |                     <xs:maxLength value="200" /> | ||||||
|  |                   </xs:restriction> | ||||||
|  |                 </xs:simpleType> | ||||||
|  |               </xs:element> | ||||||
|  |               <xs:element name="projectName" msprop:Generator_ColumnVarNameInTable="columnprojectName" msprop:Generator_ColumnPropNameInRow="projectName" msprop:Generator_ColumnPropNameInTable="projectNameColumn" msprop:Generator_UserColumnName="projectName" minOccurs="0"> | ||||||
|  |                 <xs:simpleType> | ||||||
|  |                   <xs:restriction base="xs:string"> | ||||||
|  |                     <xs:maxLength value="200" /> | ||||||
|  |                   </xs:restriction> | ||||||
|  |                 </xs:simpleType> | ||||||
|  |               </xs:element> | ||||||
|  |             </xs:sequence> | ||||||
|  |           </xs:complexType> | ||||||
|  |         </xs:element> | ||||||
|  |         <xs:element name="Projects" msprop:Generator_TableClassName="ProjectsDataTable" msprop:Generator_TableVarName="tableProjects" msprop:Generator_RowChangedName="ProjectsRowChanged" msprop:Generator_TablePropName="Projects" msprop:Generator_RowDeletingName="ProjectsRowDeleting" msprop:Generator_RowChangingName="ProjectsRowChanging" msprop:Generator_RowEvHandlerName="ProjectsRowChangeEventHandler" msprop:Generator_RowDeletedName="ProjectsRowDeleted" msprop:Generator_RowClassName="ProjectsRow" msprop:Generator_UserTableName="Projects" msprop:Generator_RowEvArgName="ProjectsRowChangeEvent"> | ||||||
|  |           <xs:complexType> | ||||||
|  |             <xs:sequence> | ||||||
|  |               <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> | ||||||
|  |               <xs:element name="name" msprop:Generator_ColumnVarNameInTable="columnname" msprop:Generator_ColumnPropNameInRow="name" msprop:Generator_ColumnPropNameInTable="nameColumn" msprop:Generator_UserColumnName="name" minOccurs="0"> | ||||||
|  |                 <xs:simpleType> | ||||||
|  |                   <xs:restriction base="xs:string"> | ||||||
|  |                     <xs:maxLength value="50" /> | ||||||
|  |                   </xs:restriction> | ||||||
|  |                 </xs:simpleType> | ||||||
|  |               </xs:element> | ||||||
|  |               <xs:element name="pdate" msprop:Generator_ColumnVarNameInTable="columnpdate" msprop:Generator_ColumnPropNameInRow="pdate" msprop:Generator_ColumnPropNameInTable="pdateColumn" msprop:Generator_UserColumnName="pdate" minOccurs="0"> | ||||||
|  |                 <xs:simpleType> | ||||||
|  |                   <xs:restriction base="xs:string"> | ||||||
|  |                     <xs:maxLength value="10" /> | ||||||
|  |                   </xs:restriction> | ||||||
|  |                 </xs:simpleType> | ||||||
|  |               </xs:element> | ||||||
|  |               <xs:element name="request" msprop:Generator_ColumnVarNameInTable="columnrequest" msprop:Generator_ColumnPropNameInRow="request" msprop:Generator_ColumnPropNameInTable="requestColumn" msprop:Generator_UserColumnName="request" minOccurs="0"> | ||||||
|  |                 <xs:simpleType> | ||||||
|  |                   <xs:restriction base="xs:string"> | ||||||
|  |                     <xs:maxLength value="50" /> | ||||||
|  |                   </xs:restriction> | ||||||
|  |                 </xs:simpleType> | ||||||
|  |               </xs:element> | ||||||
|  |               <xs:element name="reqstaff" msprop:Generator_ColumnVarNameInTable="columnreqstaff" msprop:Generator_ColumnPropNameInRow="reqstaff" msprop:Generator_ColumnPropNameInTable="reqstaffColumn" msprop:Generator_UserColumnName="reqstaff" minOccurs="0"> | ||||||
|  |                 <xs:simpleType> | ||||||
|  |                   <xs:restriction base="xs:string"> | ||||||
|  |                     <xs:maxLength value="50" /> | ||||||
|  |                   </xs:restriction> | ||||||
|  |                 </xs:simpleType> | ||||||
|  |               </xs:element> | ||||||
|  |               <xs:element name="sdate" msprop:Generator_ColumnVarNameInTable="columnsdate" msprop:Generator_ColumnPropNameInRow="sdate" msprop:Generator_ColumnPropNameInTable="sdateColumn" msprop:Generator_UserColumnName="sdate" minOccurs="0"> | ||||||
|  |                 <xs:simpleType> | ||||||
|  |                   <xs:restriction base="xs:string"> | ||||||
|  |                     <xs:maxLength value="10" /> | ||||||
|  |                   </xs:restriction> | ||||||
|  |                 </xs:simpleType> | ||||||
|  |               </xs:element> | ||||||
|  |               <xs:element name="edate" msprop:Generator_ColumnVarNameInTable="columnedate" msprop:Generator_ColumnPropNameInRow="edate" msprop:Generator_ColumnPropNameInTable="edateColumn" msprop:Generator_UserColumnName="edate" minOccurs="0"> | ||||||
|  |                 <xs:simpleType> | ||||||
|  |                   <xs:restriction base="xs:string"> | ||||||
|  |                     <xs:maxLength value="10" /> | ||||||
|  |                   </xs:restriction> | ||||||
|  |                 </xs:simpleType> | ||||||
|  |               </xs:element> | ||||||
|  |               <xs:element name="odate" msprop:Generator_ColumnVarNameInTable="columnodate" msprop:Generator_ColumnPropNameInRow="odate" msprop:Generator_ColumnPropNameInTable="odateColumn" msprop:Generator_UserColumnName="odate" minOccurs="0"> | ||||||
|  |                 <xs:simpleType> | ||||||
|  |                   <xs:restriction base="xs:string"> | ||||||
|  |                     <xs:maxLength value="10" /> | ||||||
|  |                   </xs:restriction> | ||||||
|  |                 </xs:simpleType> | ||||||
|  |               </xs:element> | ||||||
|  |               <xs:element name="memo" msprop:Generator_ColumnVarNameInTable="columnmemo" msprop:Generator_ColumnPropNameInRow="memo" msprop:Generator_ColumnPropNameInTable="memoColumn" msprop:Generator_UserColumnName="memo" minOccurs="0"> | ||||||
|  |                 <xs:simpleType> | ||||||
|  |                   <xs:restriction base="xs:string"> | ||||||
|  |                     <xs:maxLength value="255" /> | ||||||
|  |                   </xs:restriction> | ||||||
|  |                 </xs:simpleType> | ||||||
|  |               </xs:element> | ||||||
|  |               <xs:element name="wuid" msprop:Generator_ColumnVarNameInTable="columnwuid" msprop:Generator_ColumnPropNameInRow="wuid" msprop:Generator_ColumnPropNameInTable="wuidColumn" msprop:Generator_UserColumnName="wuid"> | ||||||
|  |                 <xs:simpleType> | ||||||
|  |                   <xs:restriction base="xs:string"> | ||||||
|  |                     <xs:maxLength value="20" /> | ||||||
|  |                   </xs:restriction> | ||||||
|  |                 </xs:simpleType> | ||||||
|  |               </xs:element> | ||||||
|  |               <xs:element name="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_UserColumnName="wdate" type="xs:dateTime" /> | ||||||
|  |             </xs:sequence> | ||||||
|  |           </xs:complexType> | ||||||
|  |         </xs:element> | ||||||
|  |       </xs:choice> | ||||||
|  |     </xs:complexType> | ||||||
|  |     <xs:unique name="Constraint1" msdata:PrimaryKey="true"> | ||||||
|  |       <xs:selector xpath=".//mstns:Items" /> | ||||||
|  |       <xs:field xpath="mstns:idx" /> | ||||||
|  |     </xs:unique> | ||||||
|  |     <xs:unique name="Inventory_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true"> | ||||||
|  |       <xs:selector xpath=".//mstns:Inventory" /> | ||||||
|  |       <xs:field xpath="mstns:idx" /> | ||||||
|  |     </xs:unique> | ||||||
|  |     <xs:unique name="Projects_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true"> | ||||||
|  |       <xs:selector xpath=".//mstns:Projects" /> | ||||||
|  |       <xs:field xpath="mstns:idx" /> | ||||||
|  |     </xs:unique> | ||||||
|  |   </xs:element> | ||||||
|  | </xs:schema> | ||||||
							
								
								
									
										14
									
								
								SubProject/FCM0000/dsMSSQL.xss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								SubProject/FCM0000/dsMSSQL.xss
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,14 @@ | |||||||
|  | <?xml version="1.0" encoding="utf-8"?> | ||||||
|  | <!--<autogenerated> | ||||||
|  |      This code was generated by a tool to store the dataset designer's layout information. | ||||||
|  |      Changes to this file may cause incorrect behavior and will be lost if | ||||||
|  |      the code is regenerated. | ||||||
|  | </autogenerated>--> | ||||||
|  | <DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="-13" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout"> | ||||||
|  |   <Shapes> | ||||||
|  |     <Shape ID="DesignTable:Items" ZOrder="3" X="62" Y="-1" Height="343" Width="211" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" /> | ||||||
|  |     <Shape ID="DesignTable:Inventory" ZOrder="2" X="280" Y="-3" Height="324" Width="234" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" /> | ||||||
|  |     <Shape ID="DesignTable:Projects" ZOrder="1" X="563" Y="36" Height="90" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="0" /> | ||||||
|  |   </Shapes> | ||||||
|  |   <Connectors /> | ||||||
|  | </DiagramLayout> | ||||||
| @@ -1,4 +1,4 @@ | |||||||
| namespace Project._Common | namespace FCM0000 | ||||||
| { | { | ||||||
|     partial class fInventory |     partial class fInventory | ||||||
|     { |     { | ||||||
| @@ -35,11 +35,12 @@ | |||||||
|             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = 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 dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); | ||||||
|             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); |             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); | ||||||
|             this.dsMSSQL = new Project.dsMSSQL(); |             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); | ||||||
|             this.inventoryBindingSource = new System.Windows.Forms.BindingSource(this.components); |             this.dsMSSQL = new FCM0000.dsMSSQL(); | ||||||
|             this.inventoryTableAdapter = new Project.dsMSSQLTableAdapters.InventoryTableAdapter(); |             this.bs = new System.Windows.Forms.BindingSource(this.components); | ||||||
|             this.tableAdapterManager = new Project.dsMSSQLTableAdapters.TableAdapterManager(); |             this.ta = new FCM0000.dsMSSQLTableAdapters.InventoryTableAdapter(); | ||||||
|             this.inventoryBindingNavigator = new System.Windows.Forms.BindingNavigator(this.components); |             this.tam = new FCM0000.dsMSSQLTableAdapters.TableAdapterManager(); | ||||||
|  |             this.bn = new System.Windows.Forms.BindingNavigator(this.components); | ||||||
|             this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton(); |             this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton(); | ||||||
|             this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel(); |             this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel(); | ||||||
|             this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton(); |             this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton(); | ||||||
| @@ -52,27 +53,38 @@ | |||||||
|             this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton(); |             this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton(); | ||||||
|             this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator(); |             this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator(); | ||||||
|             this.inventoryBindingNavigatorSaveItem = new System.Windows.Forms.ToolStripButton(); |             this.inventoryBindingNavigatorSaveItem = new System.Windows.Forms.ToolStripButton(); | ||||||
|             this.inventoryDataGridView = new System.Windows.Forms.DataGridView(); |             this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); | ||||||
|             this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |             this.toolStripLabel3 = new System.Windows.Forms.ToolStripLabel(); | ||||||
|  |             this.toolStripTextBox1 = new System.Windows.Forms.ToolStripTextBox(); | ||||||
|  |             this.tbFind = new System.Windows.Forms.ToolStripButton(); | ||||||
|  |             this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components); | ||||||
|  |             this.autoColumnsSizeToolStripMenuItem = 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.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel(); | ||||||
|  |             this.dtED = new System.Windows.Forms.ToolStripTextBox(); | ||||||
|  |             this.btSearch = new System.Windows.Forms.ToolStripButton(); | ||||||
|  |             this.taItem = new FCM0000.dsMSSQLTableAdapters.ItemsTableAdapter(); | ||||||
|  |             this.dv1 = new arCtl.arDatagridView(); | ||||||
|  |             this.taPrj = new FCM0000.dsMSSQLTableAdapters.ProjectsTableAdapter(); | ||||||
|  |             this.dvc_iffnvtype = new System.Windows.Forms.DataGridViewComboBoxColumn(); | ||||||
|             this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |             this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|             this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |             this.dvc_projectname = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|             this.project = new System.Windows.Forms.DataGridViewTextBoxColumn(); |             this.dvc_project = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|             this._projectname = new System.Windows.Forms.DataGridViewTextBoxColumn(); |  | ||||||
|             this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |  | ||||||
|             this.dvc_itemName = new System.Windows.Forms.DataGridViewTextBoxColumn(); |             this.dvc_itemName = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|  |             this.dvc_item = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|             this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |             this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|             this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |             this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|             this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |             this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|             this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |  | ||||||
|             this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |  | ||||||
|             this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |             this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|             this.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |  | ||||||
|             this.dataGridViewTextBoxColumn12 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |  | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit(); |             ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit(); | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.inventoryBindingSource)).BeginInit(); |             ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.inventoryBindingNavigator)).BeginInit(); |             ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); | ||||||
|             this.inventoryBindingNavigator.SuspendLayout(); |             this.bn.SuspendLayout(); | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.inventoryDataGridView)).BeginInit(); |             this.cm1.SuspendLayout(); | ||||||
|  |             this.toolStrip1.SuspendLayout(); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.dv1)).BeginInit(); | ||||||
|             this.SuspendLayout(); |             this.SuspendLayout(); | ||||||
|             //  |             //  | ||||||
|             // dsMSSQL |             // dsMSSQL | ||||||
| @@ -80,32 +92,32 @@ | |||||||
|             this.dsMSSQL.DataSetName = "dsMSSQL"; |             this.dsMSSQL.DataSetName = "dsMSSQL"; | ||||||
|             this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; |             this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; | ||||||
|             //  |             //  | ||||||
|             // inventoryBindingSource |             // bs | ||||||
|             //  |             //  | ||||||
|             this.inventoryBindingSource.DataMember = "Inventory"; |             this.bs.DataMember = "Inventory"; | ||||||
|             this.inventoryBindingSource.DataSource = this.dsMSSQL; |             this.bs.DataSource = this.dsMSSQL; | ||||||
|  |             this.bs.Sort = ""; | ||||||
|             //  |             //  | ||||||
|             // inventoryTableAdapter |             // ta | ||||||
|             //  |             //  | ||||||
|             this.inventoryTableAdapter.ClearBeforeFill = true; |             this.ta.ClearBeforeFill = true; | ||||||
|             //  |             //  | ||||||
|             // tableAdapterManager |             // tam | ||||||
|             //  |             //  | ||||||
|             this.tableAdapterManager.BackupDataSetBeforeUpdate = false; |             this.tam.BackupDataSetBeforeUpdate = false; | ||||||
|             this.tableAdapterManager.InventoryTableAdapter = this.inventoryTableAdapter; |             this.tam.InventoryTableAdapter = this.ta; | ||||||
|             this.tableAdapterManager.ItemsTableAdapter = null; |             this.tam.ItemsTableAdapter = null; | ||||||
|             this.tableAdapterManager.ProjectsTableAdapter = null; |             this.tam.ProjectsTableAdapter = null; | ||||||
|             this.tableAdapterManager.UpdateOrder = Project.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; |             this.tam.UpdateOrder = FCM0000.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; | ||||||
|             this.tableAdapterManager.UsersTableAdapter = null; |  | ||||||
|             //  |             //  | ||||||
|             // inventoryBindingNavigator |             // bn | ||||||
|             //  |             //  | ||||||
|             this.inventoryBindingNavigator.AddNewItem = this.bindingNavigatorAddNewItem; |             this.bn.AddNewItem = this.bindingNavigatorAddNewItem; | ||||||
|             this.inventoryBindingNavigator.BindingSource = this.inventoryBindingSource; |             this.bn.BindingSource = this.bs; | ||||||
|             this.inventoryBindingNavigator.CountItem = this.bindingNavigatorCountItem; |             this.bn.CountItem = this.bindingNavigatorCountItem; | ||||||
|             this.inventoryBindingNavigator.DeleteItem = this.bindingNavigatorDeleteItem; |             this.bn.DeleteItem = this.bindingNavigatorDeleteItem; | ||||||
|             this.inventoryBindingNavigator.Dock = System.Windows.Forms.DockStyle.Bottom; |             this.bn.Dock = System.Windows.Forms.DockStyle.Bottom; | ||||||
|             this.inventoryBindingNavigator.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { |             this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { | ||||||
|             this.bindingNavigatorMoveFirstItem, |             this.bindingNavigatorMoveFirstItem, | ||||||
|             this.bindingNavigatorMovePreviousItem, |             this.bindingNavigatorMovePreviousItem, | ||||||
|             this.bindingNavigatorSeparator, |             this.bindingNavigatorSeparator, | ||||||
| @@ -117,26 +129,29 @@ | |||||||
|             this.bindingNavigatorSeparator2, |             this.bindingNavigatorSeparator2, | ||||||
|             this.bindingNavigatorAddNewItem, |             this.bindingNavigatorAddNewItem, | ||||||
|             this.bindingNavigatorDeleteItem, |             this.bindingNavigatorDeleteItem, | ||||||
|             this.inventoryBindingNavigatorSaveItem}); |             this.inventoryBindingNavigatorSaveItem, | ||||||
|             this.inventoryBindingNavigator.Location = new System.Drawing.Point(0, 550); |             this.toolStripSeparator1, | ||||||
|             this.inventoryBindingNavigator.MoveFirstItem = this.bindingNavigatorMoveFirstItem; |             this.toolStripLabel3, | ||||||
|             this.inventoryBindingNavigator.MoveLastItem = this.bindingNavigatorMoveLastItem; |             this.toolStripTextBox1, | ||||||
|             this.inventoryBindingNavigator.MoveNextItem = this.bindingNavigatorMoveNextItem; |             this.tbFind}); | ||||||
|             this.inventoryBindingNavigator.MovePreviousItem = this.bindingNavigatorMovePreviousItem; |             this.bn.Location = new System.Drawing.Point(0, 388); | ||||||
|             this.inventoryBindingNavigator.Name = "inventoryBindingNavigator"; |             this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem; | ||||||
|             this.inventoryBindingNavigator.PositionItem = this.bindingNavigatorPositionItem; |             this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem; | ||||||
|             this.inventoryBindingNavigator.Size = new System.Drawing.Size(671, 25); |             this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem; | ||||||
|             this.inventoryBindingNavigator.TabIndex = 0; |             this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem; | ||||||
|             this.inventoryBindingNavigator.Text = "bindingNavigator1"; |             this.bn.Name = "bn"; | ||||||
|  |             this.bn.PositionItem = this.bindingNavigatorPositionItem; | ||||||
|  |             this.bn.Size = new System.Drawing.Size(762, 25); | ||||||
|  |             this.bn.TabIndex = 0; | ||||||
|  |             this.bn.Text = "bindingNavigator1"; | ||||||
|             //  |             //  | ||||||
|             // bindingNavigatorAddNewItem |             // bindingNavigatorAddNewItem | ||||||
|             //  |             //  | ||||||
|             this.bindingNavigatorAddNewItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; |  | ||||||
|             this.bindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image"))); |             this.bindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image"))); | ||||||
|             this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem"; |             this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem"; | ||||||
|             this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true; |             this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true; | ||||||
|             this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(23, 22); |             this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(65, 22); | ||||||
|             this.bindingNavigatorAddNewItem.Text = "새로 추가"; |             this.bindingNavigatorAddNewItem.Text = "Add(&A)"; | ||||||
|             //  |             //  | ||||||
|             // bindingNavigatorCountItem |             // bindingNavigatorCountItem | ||||||
|             //  |             //  | ||||||
| @@ -147,12 +162,11 @@ | |||||||
|             //  |             //  | ||||||
|             // bindingNavigatorDeleteItem |             // bindingNavigatorDeleteItem | ||||||
|             //  |             //  | ||||||
|             this.bindingNavigatorDeleteItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; |  | ||||||
|             this.bindingNavigatorDeleteItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image"))); |             this.bindingNavigatorDeleteItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image"))); | ||||||
|             this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem"; |             this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem"; | ||||||
|             this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true; |             this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true; | ||||||
|             this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(23, 22); |             this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(78, 22); | ||||||
|             this.bindingNavigatorDeleteItem.Text = "삭제"; |             this.bindingNavigatorDeleteItem.Text = "Delete(&D)"; | ||||||
|             //  |             //  | ||||||
|             // bindingNavigatorMoveFirstItem |             // bindingNavigatorMoveFirstItem | ||||||
|             //  |             //  | ||||||
| @@ -216,178 +230,248 @@ | |||||||
|             //  |             //  | ||||||
|             // inventoryBindingNavigatorSaveItem |             // inventoryBindingNavigatorSaveItem | ||||||
|             //  |             //  | ||||||
|             this.inventoryBindingNavigatorSaveItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; |  | ||||||
|             this.inventoryBindingNavigatorSaveItem.Image = ((System.Drawing.Image)(resources.GetObject("inventoryBindingNavigatorSaveItem.Image"))); |             this.inventoryBindingNavigatorSaveItem.Image = ((System.Drawing.Image)(resources.GetObject("inventoryBindingNavigatorSaveItem.Image"))); | ||||||
|             this.inventoryBindingNavigatorSaveItem.Name = "inventoryBindingNavigatorSaveItem"; |             this.inventoryBindingNavigatorSaveItem.Name = "inventoryBindingNavigatorSaveItem"; | ||||||
|             this.inventoryBindingNavigatorSaveItem.Size = new System.Drawing.Size(23, 22); |             this.inventoryBindingNavigatorSaveItem.Size = new System.Drawing.Size(67, 22); | ||||||
|             this.inventoryBindingNavigatorSaveItem.Text = "데이터 저장"; |             this.inventoryBindingNavigatorSaveItem.Text = "Save(&S)"; | ||||||
|             this.inventoryBindingNavigatorSaveItem.Click += new System.EventHandler(this.inventoryBindingNavigatorSaveItem_Click); |             this.inventoryBindingNavigatorSaveItem.Click += new System.EventHandler(this.inventoryBindingNavigatorSaveItem_Click); | ||||||
|             //  |             //  | ||||||
|             // inventoryDataGridView |             // toolStripSeparator1 | ||||||
|             //  |             //  | ||||||
|             this.inventoryDataGridView.AutoGenerateColumns = false; |             this.toolStripSeparator1.Name = "toolStripSeparator1"; | ||||||
|             this.inventoryDataGridView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells; |             this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25); | ||||||
|             this.inventoryDataGridView.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells; |             //  | ||||||
|             this.inventoryDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |             // toolStripLabel3 | ||||||
|             this.inventoryDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |             //  | ||||||
|             this.dataGridViewTextBoxColumn1, |             this.toolStripLabel3.Name = "toolStripLabel3"; | ||||||
|  |             this.toolStripLabel3.Size = new System.Drawing.Size(28, 22); | ||||||
|  |             this.toolStripLabel3.Text = "find"; | ||||||
|  |             //  | ||||||
|  |             // toolStripTextBox1 | ||||||
|  |             //  | ||||||
|  |             this.toolStripTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; | ||||||
|  |             this.toolStripTextBox1.Name = "toolStripTextBox1"; | ||||||
|  |             this.toolStripTextBox1.Size = new System.Drawing.Size(100, 25); | ||||||
|  |             this.toolStripTextBox1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.toolStripTextBox1_KeyDown); | ||||||
|  |             this.toolStripTextBox1.Click += new System.EventHandler(this.toolStripTextBox1_Click); | ||||||
|  |             this.toolStripTextBox1.TextChanged += new System.EventHandler(this.toolStripTextBox1_TextChanged); | ||||||
|  |             //  | ||||||
|  |             // tbFind | ||||||
|  |             //  | ||||||
|  |             this.tbFind.Image = ((System.Drawing.Image)(resources.GetObject("tbFind.Image"))); | ||||||
|  |             this.tbFind.ImageTransparentColor = System.Drawing.Color.Magenta; | ||||||
|  |             this.tbFind.Name = "tbFind"; | ||||||
|  |             this.tbFind.Size = new System.Drawing.Size(50, 22); | ||||||
|  |             this.tbFind.Text = "Find"; | ||||||
|  |             //  | ||||||
|  |             // cm1 | ||||||
|  |             //  | ||||||
|  |             this.cm1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { | ||||||
|  |             this.autoColumnsSizeToolStripMenuItem}); | ||||||
|  |             this.cm1.Name = "cm1"; | ||||||
|  |             this.cm1.Size = new System.Drawing.Size(175, 26); | ||||||
|  |             //  | ||||||
|  |             // autoColumnsSizeToolStripMenuItem | ||||||
|  |             //  | ||||||
|  |             this.autoColumnsSizeToolStripMenuItem.Name = "autoColumnsSizeToolStripMenuItem"; | ||||||
|  |             this.autoColumnsSizeToolStripMenuItem.Size = new System.Drawing.Size(174, 22); | ||||||
|  |             this.autoColumnsSizeToolStripMenuItem.Text = "AutoColumns Size"; | ||||||
|  |             this.autoColumnsSizeToolStripMenuItem.Click += new System.EventHandler(this.autoColumnsSizeToolStripMenuItem_Click); | ||||||
|  |             //  | ||||||
|  |             // toolStrip1 | ||||||
|  |             //  | ||||||
|  |             this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { | ||||||
|  |             this.toolStripLabel1, | ||||||
|  |             this.dtSD, | ||||||
|  |             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(762, 25); | ||||||
|  |             this.toolStrip1.TabIndex = 2; | ||||||
|  |             this.toolStrip1.Text = "toolStrip1"; | ||||||
|  |             //  | ||||||
|  |             // toolStripLabel1 | ||||||
|  |             //  | ||||||
|  |             this.toolStripLabel1.Name = "toolStripLabel1"; | ||||||
|  |             this.toolStripLabel1.Size = new System.Drawing.Size(41, 22); | ||||||
|  |             this.toolStripLabel1.Text = "Period"; | ||||||
|  |             //  | ||||||
|  |             // dtSD | ||||||
|  |             //  | ||||||
|  |             this.dtSD.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; | ||||||
|  |             this.dtSD.Name = "dtSD"; | ||||||
|  |             this.dtSD.Size = new System.Drawing.Size(100, 25); | ||||||
|  |             //  | ||||||
|  |             // toolStripLabel2 | ||||||
|  |             //  | ||||||
|  |             this.toolStripLabel2.Name = "toolStripLabel2"; | ||||||
|  |             this.toolStripLabel2.Size = new System.Drawing.Size(15, 22); | ||||||
|  |             this.toolStripLabel2.Text = "~"; | ||||||
|  |             //  | ||||||
|  |             // 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); | ||||||
|  |             //  | ||||||
|  |             // taItem | ||||||
|  |             //  | ||||||
|  |             this.taItem.ClearBeforeFill = true; | ||||||
|  |             //  | ||||||
|  |             // dv1 | ||||||
|  |             //  | ||||||
|  |             this.dv1.A_DelCurrentCell = true; | ||||||
|  |             this.dv1.A_EnterToTab = true; | ||||||
|  |             this.dv1.A_KoreanField = null; | ||||||
|  |             this.dv1.A_UpperField = null; | ||||||
|  |             this.dv1.A_ViewRownumOnHeader = true; | ||||||
|  |             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_iffnvtype, | ||||||
|             this.dataGridViewTextBoxColumn2, |             this.dataGridViewTextBoxColumn2, | ||||||
|             this.dataGridViewTextBoxColumn3, |             this.dvc_projectname, | ||||||
|             this.project, |             this.dvc_project, | ||||||
|             this._projectname, |  | ||||||
|             this.dataGridViewTextBoxColumn4, |  | ||||||
|             this.dvc_itemName, |             this.dvc_itemName, | ||||||
|  |             this.dvc_item, | ||||||
|             this.dataGridViewTextBoxColumn5, |             this.dataGridViewTextBoxColumn5, | ||||||
|             this.dataGridViewTextBoxColumn6, |             this.dataGridViewTextBoxColumn6, | ||||||
|             this.dataGridViewTextBoxColumn7, |             this.dataGridViewTextBoxColumn7, | ||||||
|             this.dataGridViewTextBoxColumn8, |             this.dataGridViewTextBoxColumn10}); | ||||||
|             this.dataGridViewTextBoxColumn9, |             this.dv1.ContextMenuStrip = this.cm1; | ||||||
|             this.dataGridViewTextBoxColumn10, |             this.dv1.DataSource = this.bs; | ||||||
|             this.dataGridViewTextBoxColumn11, |             this.dv1.Dock = System.Windows.Forms.DockStyle.Fill; | ||||||
|             this.dataGridViewTextBoxColumn12}); |             this.dv1.Location = new System.Drawing.Point(0, 25); | ||||||
|             this.inventoryDataGridView.DataSource = this.inventoryBindingSource; |             this.dv1.Name = "dv1"; | ||||||
|             this.inventoryDataGridView.Dock = System.Windows.Forms.DockStyle.Fill; |             this.dv1.RowTemplate.Height = 23; | ||||||
|             this.inventoryDataGridView.Location = new System.Drawing.Point(0, 0); |             this.dv1.Size = new System.Drawing.Size(762, 363); | ||||||
|             this.inventoryDataGridView.Name = "inventoryDataGridView"; |             this.dv1.TabIndex = 1; | ||||||
|             this.inventoryDataGridView.RowTemplate.Height = 23; |             this.dv1.CellEndEdit += new System.Windows.Forms.DataGridViewCellEventHandler(this.dv1_CellEndEdit); | ||||||
|             this.inventoryDataGridView.Size = new System.Drawing.Size(671, 550); |             this.dv1.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.inventoryDataGridView_DataError); | ||||||
|             this.inventoryDataGridView.TabIndex = 1; |  | ||||||
|             //  |             //  | ||||||
|             // dataGridViewTextBoxColumn1 |             // taPrj | ||||||
|             //  |             //  | ||||||
|             this.dataGridViewTextBoxColumn1.DataPropertyName = "idx"; |             this.taPrj.ClearBeforeFill = true; | ||||||
|             dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |             //  | ||||||
|             dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); |             // dvc_iffnvtype | ||||||
|             this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle1; |             //  | ||||||
|             this.dataGridViewTextBoxColumn1.HeaderText = "idx"; |             this.dvc_iffnvtype.DataPropertyName = "invtype"; | ||||||
|             this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1"; |             this.dvc_iffnvtype.HeaderText = "Type"; | ||||||
|             this.dataGridViewTextBoxColumn1.ReadOnly = true; |             this.dvc_iffnvtype.Name = "dvc_iffnvtype"; | ||||||
|             this.dataGridViewTextBoxColumn1.Width = 47; |             this.dvc_iffnvtype.Resizable = System.Windows.Forms.DataGridViewTriState.True; | ||||||
|  |             this.dvc_iffnvtype.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; | ||||||
|  |             this.dvc_iffnvtype.Width = 70; | ||||||
|             //  |             //  | ||||||
|             // dataGridViewTextBoxColumn2 |             // dataGridViewTextBoxColumn2 | ||||||
|             //  |             //  | ||||||
|             this.dataGridViewTextBoxColumn2.DataPropertyName = "pdate"; |             this.dataGridViewTextBoxColumn2.DataPropertyName = "pdate"; | ||||||
|             this.dataGridViewTextBoxColumn2.HeaderText = "pdate"; |             this.dataGridViewTextBoxColumn2.HeaderText = "PDate"; | ||||||
|             this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2"; |             this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2"; | ||||||
|             this.dataGridViewTextBoxColumn2.Width = 61; |             this.dataGridViewTextBoxColumn2.Width = 61; | ||||||
|             //  |             //  | ||||||
|             // dataGridViewTextBoxColumn3 |             // dvc_projectname | ||||||
|             //  |             //  | ||||||
|             this.dataGridViewTextBoxColumn3.DataPropertyName = "uid"; |             this.dvc_projectname.DataPropertyName = "projectName"; | ||||||
|             this.dataGridViewTextBoxColumn3.HeaderText = "uid"; |             dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192))))); | ||||||
|             this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3"; |             this.dvc_projectname.DefaultCellStyle = dataGridViewCellStyle1; | ||||||
|             this.dataGridViewTextBoxColumn3.Width = 47; |             this.dvc_projectname.HeaderText = "Project"; | ||||||
|  |             this.dvc_projectname.Name = "dvc_projectname"; | ||||||
|  |             this.dvc_projectname.Width = 69; | ||||||
|             //  |             //  | ||||||
|             // project |             // dvc_project | ||||||
|             //  |             //  | ||||||
|             this.project.DataPropertyName = "project"; |             this.dvc_project.DataPropertyName = "project"; | ||||||
|  |             dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; | ||||||
|             dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); |             dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); | ||||||
|             this.project.DefaultCellStyle = dataGridViewCellStyle2; |             this.dvc_project.DefaultCellStyle = dataGridViewCellStyle2; | ||||||
|             this.project.HeaderText = "pIDX"; |             this.dvc_project.HeaderText = "idx"; | ||||||
|             this.project.Name = "project"; |             this.dvc_project.Name = "dvc_project"; | ||||||
|             this.project.ReadOnly = true; |             this.dvc_project.Width = 47; | ||||||
|             this.project.Width = 56; |  | ||||||
|             //  |  | ||||||
|             // _projectname |  | ||||||
|             //  |  | ||||||
|             this._projectname.DataPropertyName = "_projectname"; |  | ||||||
|             dataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192))))); |  | ||||||
|             this._projectname.DefaultCellStyle = dataGridViewCellStyle3; |  | ||||||
|             this._projectname.HeaderText = "Project"; |  | ||||||
|             this._projectname.Name = "_projectname"; |  | ||||||
|             this._projectname.Width = 69; |  | ||||||
|             //  |  | ||||||
|             // dataGridViewTextBoxColumn4 |  | ||||||
|             //  |  | ||||||
|             this.dataGridViewTextBoxColumn4.DataPropertyName = "item"; |  | ||||||
|             dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); |  | ||||||
|             this.dataGridViewTextBoxColumn4.DefaultCellStyle = dataGridViewCellStyle4; |  | ||||||
|             this.dataGridViewTextBoxColumn4.HeaderText = "iIDX"; |  | ||||||
|             this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4"; |  | ||||||
|             this.dataGridViewTextBoxColumn4.ReadOnly = true; |  | ||||||
|             this.dataGridViewTextBoxColumn4.Width = 52; |  | ||||||
|             //  |             //  | ||||||
|             // dvc_itemName |             // dvc_itemName | ||||||
|             //  |             //  | ||||||
|             this.dvc_itemName.DataPropertyName = "_itemname"; |             this.dvc_itemName.DataPropertyName = "itemName"; | ||||||
|             dataGridViewCellStyle5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192))))); |             dataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192))))); | ||||||
|             this.dvc_itemName.DefaultCellStyle = dataGridViewCellStyle5; |             this.dvc_itemName.DefaultCellStyle = dataGridViewCellStyle3; | ||||||
|             this.dvc_itemName.HeaderText = "Item"; |             this.dvc_itemName.HeaderText = "Item"; | ||||||
|             this.dvc_itemName.Name = "dvc_itemName"; |             this.dvc_itemName.Name = "dvc_itemName"; | ||||||
|             this.dvc_itemName.Width = 54; |             this.dvc_itemName.Width = 54; | ||||||
|             //  |             //  | ||||||
|  |             // dvc_item | ||||||
|  |             //  | ||||||
|  |             this.dvc_item.DataPropertyName = "item"; | ||||||
|  |             dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; | ||||||
|  |             dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); | ||||||
|  |             this.dvc_item.DefaultCellStyle = dataGridViewCellStyle4; | ||||||
|  |             this.dvc_item.HeaderText = "idx"; | ||||||
|  |             this.dvc_item.Name = "dvc_item"; | ||||||
|  |             this.dvc_item.Width = 47; | ||||||
|  |             //  | ||||||
|             // dataGridViewTextBoxColumn5 |             // dataGridViewTextBoxColumn5 | ||||||
|             //  |             //  | ||||||
|             this.dataGridViewTextBoxColumn5.DataPropertyName = "serial"; |             this.dataGridViewTextBoxColumn5.DataPropertyName = "serial"; | ||||||
|             this.dataGridViewTextBoxColumn5.HeaderText = "serial"; |             this.dataGridViewTextBoxColumn5.HeaderText = "Serial N/O"; | ||||||
|             this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5"; |             this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5"; | ||||||
|             this.dataGridViewTextBoxColumn5.Width = 61; |             this.dataGridViewTextBoxColumn5.Width = 61; | ||||||
|             //  |             //  | ||||||
|             // dataGridViewTextBoxColumn6 |             // dataGridViewTextBoxColumn6 | ||||||
|             //  |             //  | ||||||
|             this.dataGridViewTextBoxColumn6.DataPropertyName = "dr_qty"; |             this.dataGridViewTextBoxColumn6.DataPropertyName = "dr_qty"; | ||||||
|             this.dataGridViewTextBoxColumn6.HeaderText = "dr_qty"; |             dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; | ||||||
|  |             this.dataGridViewTextBoxColumn6.DefaultCellStyle = dataGridViewCellStyle5; | ||||||
|  |             this.dataGridViewTextBoxColumn6.HeaderText = "Qty"; | ||||||
|             this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6"; |             this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6"; | ||||||
|             this.dataGridViewTextBoxColumn6.Width = 64; |             this.dataGridViewTextBoxColumn6.Width = 64; | ||||||
|             //  |             //  | ||||||
|             // dataGridViewTextBoxColumn7 |             // dataGridViewTextBoxColumn7 | ||||||
|             //  |             //  | ||||||
|             this.dataGridViewTextBoxColumn7.DataPropertyName = "dr_amt"; |             this.dataGridViewTextBoxColumn7.DataPropertyName = "dr_amt"; | ||||||
|             this.dataGridViewTextBoxColumn7.HeaderText = "dr_amt"; |             dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; | ||||||
|  |             this.dataGridViewTextBoxColumn7.DefaultCellStyle = dataGridViewCellStyle6; | ||||||
|  |             this.dataGridViewTextBoxColumn7.HeaderText = "Amt"; | ||||||
|             this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7"; |             this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7"; | ||||||
|             this.dataGridViewTextBoxColumn7.Width = 68; |             this.dataGridViewTextBoxColumn7.Width = 68; | ||||||
|             //  |             //  | ||||||
|             // dataGridViewTextBoxColumn8 |  | ||||||
|             //  |  | ||||||
|             this.dataGridViewTextBoxColumn8.DataPropertyName = "cr_qty"; |  | ||||||
|             this.dataGridViewTextBoxColumn8.HeaderText = "cr_qty"; |  | ||||||
|             this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8"; |  | ||||||
|             this.dataGridViewTextBoxColumn8.Width = 64; |  | ||||||
|             //  |  | ||||||
|             // dataGridViewTextBoxColumn9 |  | ||||||
|             //  |  | ||||||
|             this.dataGridViewTextBoxColumn9.DataPropertyName = "cr_amt"; |  | ||||||
|             this.dataGridViewTextBoxColumn9.HeaderText = "cr_amt"; |  | ||||||
|             this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9"; |  | ||||||
|             this.dataGridViewTextBoxColumn9.Width = 68; |  | ||||||
|             //  |  | ||||||
|             // dataGridViewTextBoxColumn10 |             // dataGridViewTextBoxColumn10 | ||||||
|             //  |             //  | ||||||
|             this.dataGridViewTextBoxColumn10.DataPropertyName = "memo"; |             this.dataGridViewTextBoxColumn10.DataPropertyName = "memo"; | ||||||
|             this.dataGridViewTextBoxColumn10.HeaderText = "memo"; |             this.dataGridViewTextBoxColumn10.HeaderText = "Memo"; | ||||||
|             this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10"; |             this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10"; | ||||||
|             this.dataGridViewTextBoxColumn10.Width = 66; |             this.dataGridViewTextBoxColumn10.Width = 66; | ||||||
|             //  |             //  | ||||||
|             // dataGridViewTextBoxColumn11 |  | ||||||
|             //  |  | ||||||
|             this.dataGridViewTextBoxColumn11.DataPropertyName = "wuid"; |  | ||||||
|             this.dataGridViewTextBoxColumn11.HeaderText = "wuid"; |  | ||||||
|             this.dataGridViewTextBoxColumn11.Name = "dataGridViewTextBoxColumn11"; |  | ||||||
|             this.dataGridViewTextBoxColumn11.Width = 57; |  | ||||||
|             //  |  | ||||||
|             // dataGridViewTextBoxColumn12 |  | ||||||
|             //  |  | ||||||
|             this.dataGridViewTextBoxColumn12.DataPropertyName = "wdate"; |  | ||||||
|             this.dataGridViewTextBoxColumn12.HeaderText = "wdate"; |  | ||||||
|             this.dataGridViewTextBoxColumn12.Name = "dataGridViewTextBoxColumn12"; |  | ||||||
|             this.dataGridViewTextBoxColumn12.Width = 64; |  | ||||||
|             //  |  | ||||||
|             // fInventory |             // fInventory | ||||||
|             //  |             //  | ||||||
|             this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); |             this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); | ||||||
|             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | ||||||
|             this.ClientSize = new System.Drawing.Size(671, 575); |             this.ClientSize = new System.Drawing.Size(762, 413); | ||||||
|             this.Controls.Add(this.inventoryDataGridView); |             this.Controls.Add(this.dv1); | ||||||
|             this.Controls.Add(this.inventoryBindingNavigator); |             this.Controls.Add(this.toolStrip1); | ||||||
|  |             this.Controls.Add(this.bn); | ||||||
|             this.Name = "fInventory"; |             this.Name = "fInventory"; | ||||||
|             this.Text = "fInventory"; |             this.Text = "fInventory"; | ||||||
|             this.Load += new System.EventHandler(this.fInventory_Load); |             this.Load += new System.EventHandler(this.@__Load); | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit(); |             ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit(); | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.inventoryBindingSource)).EndInit(); |             ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.inventoryBindingNavigator)).EndInit(); |             ((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit(); | ||||||
|             this.inventoryBindingNavigator.ResumeLayout(false); |             this.bn.ResumeLayout(false); | ||||||
|             this.inventoryBindingNavigator.PerformLayout(); |             this.bn.PerformLayout(); | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.inventoryDataGridView)).EndInit(); |             this.cm1.ResumeLayout(false); | ||||||
|  |             this.toolStrip1.ResumeLayout(false); | ||||||
|  |             this.toolStrip1.PerformLayout(); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.dv1)).EndInit(); | ||||||
|             this.ResumeLayout(false); |             this.ResumeLayout(false); | ||||||
|             this.PerformLayout(); |             this.PerformLayout(); | ||||||
| 
 | 
 | ||||||
| @@ -396,10 +480,10 @@ | |||||||
|         #endregion |         #endregion | ||||||
| 
 | 
 | ||||||
|         private dsMSSQL dsMSSQL; |         private dsMSSQL dsMSSQL; | ||||||
|         private System.Windows.Forms.BindingSource inventoryBindingSource; |         private System.Windows.Forms.BindingSource bs; | ||||||
|         private dsMSSQLTableAdapters.InventoryTableAdapter inventoryTableAdapter; |         private dsMSSQLTableAdapters.InventoryTableAdapter ta; | ||||||
|         private dsMSSQLTableAdapters.TableAdapterManager tableAdapterManager; |         private dsMSSQLTableAdapters.TableAdapterManager tam; | ||||||
|         private System.Windows.Forms.BindingNavigator inventoryBindingNavigator; |         private System.Windows.Forms.BindingNavigator bn; | ||||||
|         private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem; |         private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem; | ||||||
|         private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem; |         private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem; | ||||||
|         private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem; |         private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem; | ||||||
| @@ -412,21 +496,30 @@ | |||||||
|         private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem; |         private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem; | ||||||
|         private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2; |         private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2; | ||||||
|         private System.Windows.Forms.ToolStripButton inventoryBindingNavigatorSaveItem; |         private System.Windows.Forms.ToolStripButton inventoryBindingNavigatorSaveItem; | ||||||
|         private System.Windows.Forms.DataGridView inventoryDataGridView; |         private arCtl.arDatagridView dv1; | ||||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1; |         private System.Windows.Forms.ToolStrip toolStrip1; | ||||||
|  |         private System.Windows.Forms.ToolStripLabel toolStripLabel1; | ||||||
|  |         private System.Windows.Forms.ToolStripTextBox dtSD; | ||||||
|  |         private System.Windows.Forms.ToolStripLabel toolStripLabel2; | ||||||
|  |         private System.Windows.Forms.ToolStripTextBox dtED; | ||||||
|  |         private System.Windows.Forms.ToolStripButton btSearch; | ||||||
|  |         private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; | ||||||
|  |         private System.Windows.Forms.ToolStripLabel toolStripLabel3; | ||||||
|  |         private System.Windows.Forms.ToolStripButton tbFind; | ||||||
|  |         private System.Windows.Forms.ToolStripTextBox toolStripTextBox1; | ||||||
|  |         private System.Windows.Forms.ContextMenuStrip cm1; | ||||||
|  |         private System.Windows.Forms.ToolStripMenuItem autoColumnsSizeToolStripMenuItem; | ||||||
|  |         private dsMSSQLTableAdapters.ItemsTableAdapter taItem; | ||||||
|  |         private dsMSSQLTableAdapters.ProjectsTableAdapter taPrj; | ||||||
|  |         private System.Windows.Forms.DataGridViewComboBoxColumn dvc_iffnvtype; | ||||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2; |         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2; | ||||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3; |         private System.Windows.Forms.DataGridViewTextBoxColumn dvc_projectname; | ||||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn project; |         private System.Windows.Forms.DataGridViewTextBoxColumn dvc_project; | ||||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn _projectname; |  | ||||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4; |  | ||||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn dvc_itemName; |         private System.Windows.Forms.DataGridViewTextBoxColumn dvc_itemName; | ||||||
|  |         private System.Windows.Forms.DataGridViewTextBoxColumn dvc_item; | ||||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5; |         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5; | ||||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn6; |         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn6; | ||||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn7; |         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn7; | ||||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn8; |  | ||||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn9; |  | ||||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn10; |         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn10; | ||||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn11; |  | ||||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn12; |  | ||||||
|     } |     } | ||||||
| } | } | ||||||
							
								
								
									
										300
									
								
								SubProject/FCM0000/fInventory.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										300
									
								
								SubProject/FCM0000/fInventory.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,300 @@ | |||||||
|  | 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 fInventory : Form | ||||||
|  |     { | ||||||
|  |         public fInventory() | ||||||
|  |         { | ||||||
|  |             InitializeComponent(); | ||||||
|  |             this.FormClosed += __Closed; | ||||||
|  |             this.dsMSSQL.Inventory.TableNewRow += Inventory_TableNewRow; | ||||||
|  |  | ||||||
|  |             var invtypeList = new FCOMMON.keyValuedataTable(); | ||||||
|  |             invtypeList.Add("I1", "입고"); | ||||||
|  |             invtypeList.Add("I2", "입고(대여)"); | ||||||
|  |             invtypeList.Add("O1", "출고"); | ||||||
|  |             invtypeList.Add("O2", "출고(대여)"); | ||||||
|  |             invtypeList.Add("ET", "기타"); | ||||||
|  |             dvc_iffnvtype.DataSource = invtypeList.DataTable; | ||||||
|  |             dvc_iffnvtype.ValueMember = "key"; | ||||||
|  |             dvc_iffnvtype.DisplayMember = "Value"; | ||||||
|  |             this.dtSD.KeyDown += dtSD_KeyDown; | ||||||
|  |             this.dtED.KeyDown += dtSD_KeyDown; | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         void dtSD_KeyDown(object sender, KeyEventArgs e) | ||||||
|  |         { | ||||||
|  |             if (e.KeyCode == Keys.Enter) | ||||||
|  |             { | ||||||
|  |                 ToolStripTextBox tb = sender as ToolStripTextBox; | ||||||
|  |                 var vale = tb.Text.Trim(); | ||||||
|  |                 var datestring = string.Empty; | ||||||
|  |                 if (FCOMMON.Util.MakeDateString(vale, out datestring)) | ||||||
|  |                 { | ||||||
|  |                     tb.Text = datestring; | ||||||
|  |                     if (e.KeyCode == Keys.Enter) | ||||||
|  |                         SendKeys.Send("{TAB}"); | ||||||
|  |                 } | ||||||
|  |                 else | ||||||
|  |                 { | ||||||
|  |                     FCOMMON.Util.MsgE("날짜형식으로 입력하세요.\n\n18-01-01"); | ||||||
|  |                     tb.SelectAll(); | ||||||
|  |                     tb.Focus(); | ||||||
|  |                 } | ||||||
|  |             } | ||||||
|  |  | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         void __Closed(object sender, FormClosedEventArgs e) | ||||||
|  |         { | ||||||
|  |             var form = this as Form; | ||||||
|  |             FCOMMON.Util.SetFormStatus(ref form, this.Name, false); | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         private void __Load(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             var form = this as Form; | ||||||
|  |             FCOMMON.Util.SetFormStatus(ref form, this.Name, true); | ||||||
|  |             this.Show(); | ||||||
|  |             Application.DoEvents(); | ||||||
|  |  | ||||||
|  |             //마지막 자료를 가져온날을 찾는다. | ||||||
|  |             var dateList = FCOMMON.DBM.getDateList("Inventory", "uid='" + FCOMMON.info.Login.no + "'"); | ||||||
|  |             dtED.Text = DateTime.Now.ToShortDateString(); | ||||||
|  |  | ||||||
|  |             if (dateList.Count > 0) dtSD.Text = dateList[dateList.Count - 1]; | ||||||
|  |             else dtSD.Text = DateTime.Now.AddDays(-7).ToShortDateString(); | ||||||
|  |  | ||||||
|  |             btSearch.PerformClick(); | ||||||
|  |  | ||||||
|  |         } | ||||||
|  |         private void btSearch_Click(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             try | ||||||
|  |             { | ||||||
|  |                 string sd = dtSD.Text; | ||||||
|  |                 string ed = dtED.Text; | ||||||
|  |                 this.ta.FillByUID(this.dsMSSQL.Inventory, sd, ed, FCOMMON.info.Login.no); | ||||||
|  |                 this.dsMSSQL.Inventory.AcceptChanges(); | ||||||
|  |                 dv1.AutoResizeColumns(); | ||||||
|  |             } | ||||||
|  |             catch (Exception ex) | ||||||
|  |             { | ||||||
|  |                 FCOMMON.Util.MsgE(ex.Message); | ||||||
|  |             } | ||||||
|  |  | ||||||
|  |         } | ||||||
|  |         private void inventoryBindingNavigatorSaveItem_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); | ||||||
|  |             } | ||||||
|  |  | ||||||
|  |  | ||||||
|  |         } | ||||||
|  |         void Inventory_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["pdate"] = DateTime.Now.ToShortDateString(); | ||||||
|  |             e.Row["dr_qty"] = 0; | ||||||
|  |             e.Row["dr_amt"] = 0; | ||||||
|  |             e.Row["invtype"] = "I1"; | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         private void inventoryDataGridView_DataError(object sender, DataGridViewDataErrorEventArgs e) | ||||||
|  |         { | ||||||
|  |  | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         private void toolStripTextBox1_Click(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |  | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         private void toolStripTextBox1_TextChanged(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |  | ||||||
|  |  | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         private void toolStripTextBox1_KeyDown(object sender, KeyEventArgs e) | ||||||
|  |         { | ||||||
|  |             if (e.KeyCode == Keys.Enter) | ||||||
|  |             { | ||||||
|  |                 string inputstr = toolStripTextBox1.Text.Trim(); | ||||||
|  |                 if (inputstr == "") | ||||||
|  |                 { | ||||||
|  |                     bs.Filter = ""; | ||||||
|  |                     toolStripTextBox1.BackColor = Color.White; | ||||||
|  |                 } | ||||||
|  |                 else | ||||||
|  |                 { | ||||||
|  |                     string[] collist = new string[] { "projectName", "itemName", "memo", "serial" }; | ||||||
|  |                     System.Text.StringBuilder filter = new StringBuilder(); | ||||||
|  |                     foreach (var col in collist) | ||||||
|  |                     { | ||||||
|  |                         if (filter.Length > 0) filter.Append(" or "); | ||||||
|  |                         filter.Append(col + " like '%" + inputstr + "%'"); | ||||||
|  |                     } | ||||||
|  |                     try | ||||||
|  |                     { | ||||||
|  |                         bs.Filter = filter.ToString(); | ||||||
|  |                         toolStripTextBox1.BackColor = Color.Lime; | ||||||
|  |                         toolStripTextBox1.SelectAll(); | ||||||
|  |                         toolStripTextBox1.Focus(); | ||||||
|  |                     } | ||||||
|  |                     catch (Exception eX) | ||||||
|  |                     { | ||||||
|  |                         toolStripTextBox1.BackColor = Color.Red; | ||||||
|  |                     } | ||||||
|  |                 } | ||||||
|  |             } | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         private void autoColumnsSizeToolStripMenuItem_Click(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             dv1.AutoResizeColumns(); | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         private void dv1_CellEndEdit(object sender, DataGridViewCellEventArgs e) | ||||||
|  |         { | ||||||
|  |             if (e.ColumnIndex < 0 || e.RowIndex < 0) return; | ||||||
|  |             var col = dv1.Columns[e.ColumnIndex]; | ||||||
|  |             switch (col.DataPropertyName) | ||||||
|  |             { | ||||||
|  |                 case "itemName": | ||||||
|  |                     var valuen = dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Value; | ||||||
|  |                     if (valuen != null) | ||||||
|  |                     { | ||||||
|  |                         string inputtext = valuen.ToString().Trim(); | ||||||
|  |                         if (inputtext.isEmpty()) | ||||||
|  |                         { | ||||||
|  |                             dv1.Rows[e.RowIndex].Cells["dvc_itemName"].Value = inputtext; | ||||||
|  |                         } | ||||||
|  |                         else | ||||||
|  |                         { | ||||||
|  |                             //검색을 실행해서 보여준다. | ||||||
|  |                             var SearchDT = taItem.GetSearch("%" + inputtext + "%"); | ||||||
|  |                             if (SearchDT == null || SearchDT.Rows.Count < 1) | ||||||
|  |                             { | ||||||
|  |                                 FCOMMON.Util.MsgE("검색 결과가 없습니다."); | ||||||
|  |                                 return; | ||||||
|  |                             } | ||||||
|  |                             else | ||||||
|  |                             { | ||||||
|  |                                 //검색된 결과를 표시해서 보여준다. | ||||||
|  |                                 var f = new fLovItem("%" + inputtext + "%"); | ||||||
|  |                                 if(f.ShowDialog() == System.Windows.Forms.DialogResult.OK) | ||||||
|  |                                 { | ||||||
|  |                                     dv1.Rows[e.RowIndex].Cells["dvc_item"].Value = f.Item; | ||||||
|  |                                     dv1.Rows[e.RowIndex].Cells["dvc_itemName"].Value = f.itemName; | ||||||
|  |                                 } | ||||||
|  |                             } | ||||||
|  |                         } | ||||||
|  |                     } | ||||||
|  |                     break; | ||||||
|  |                 case "item": | ||||||
|  |                     var value = dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Value; | ||||||
|  |                     if (value != null) | ||||||
|  |                     { | ||||||
|  |                         int idx = (int)value; | ||||||
|  |                         if (idx != -1) | ||||||
|  |                         { | ||||||
|  |                             var item = this.taItem.GetIDX(idx); | ||||||
|  |                             if (item.Count == 1) | ||||||
|  |                             { | ||||||
|  |                                 //1개만 찾았다면 그것을 사용한다. | ||||||
|  |                                 var itemnameValue = item[0]["name"]; | ||||||
|  |                                 if (itemnameValue != null) | ||||||
|  |                                     dv1.Rows[e.RowIndex].Cells["dvc_itemName"].Value = itemnameValue.ToString(); | ||||||
|  |                             } | ||||||
|  |                             else | ||||||
|  |                             { | ||||||
|  |                                 FCOMMON.Util.MsgE("해당 아이템이 존재하지 않습니다."); | ||||||
|  |                                 dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Value = DBNull.Value; | ||||||
|  |                             } | ||||||
|  |                         } | ||||||
|  |                     } | ||||||
|  |                     break; | ||||||
|  |                 case "project": | ||||||
|  |                     var valuep = dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Value; | ||||||
|  |                     if (valuep != null) | ||||||
|  |                     { | ||||||
|  |                         int idx = (int)valuep; | ||||||
|  |                         if (idx != -1) | ||||||
|  |                         { | ||||||
|  |                             var item = this.taPrj.GetData(idx); | ||||||
|  |                             if (item.Count == 1) | ||||||
|  |                             { | ||||||
|  |                                 //1개만 찾았다면 그것을 사용한다. | ||||||
|  |                                 var itemnameValue = item[0]["name"]; | ||||||
|  |                                 if (itemnameValue != null) | ||||||
|  |                                     dv1.Rows[e.RowIndex].Cells["dvc_projectName"].Value = itemnameValue.ToString(); | ||||||
|  |                             } | ||||||
|  |                             else | ||||||
|  |                             { | ||||||
|  |                                 FCOMMON.Util.MsgE("해당 프로젝트가 존재하지 않습니다."); | ||||||
|  |                                 dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Value = DBNull.Value; | ||||||
|  |                             } | ||||||
|  |                         } | ||||||
|  |                     } | ||||||
|  |                     break; | ||||||
|  |                 case "projectName": | ||||||
|  |                      var valuepn = dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Value; | ||||||
|  |                      if (valuepn != null) | ||||||
|  |                     { | ||||||
|  |                         string inputtext = valuepn.ToString().Trim(); | ||||||
|  |                         if (inputtext.isEmpty()) | ||||||
|  |                         { | ||||||
|  |                             dv1.Rows[e.RowIndex].Cells["dvc_projectname"].Value = inputtext; | ||||||
|  |                         } | ||||||
|  |                         else | ||||||
|  |                         { | ||||||
|  |                             //검색을 실행해서 보여준다. | ||||||
|  |                             var SearchDT = this.taPrj.GetSearch("%" + inputtext + "%"); | ||||||
|  |                             if (SearchDT == null || SearchDT.Rows.Count < 1) | ||||||
|  |                             { | ||||||
|  |                                 FCOMMON.Util.MsgE("검색 결과가 없습니다."); | ||||||
|  |                                 return; | ||||||
|  |                             } | ||||||
|  |                             else | ||||||
|  |                             { | ||||||
|  |                                 //검색된 결과를 표시해서 보여준다. | ||||||
|  |                                 var f = new fLovProject("%" + inputtext + "%"); | ||||||
|  |                                 if(f.ShowDialog() == System.Windows.Forms.DialogResult.OK) | ||||||
|  |                                 { | ||||||
|  |                                     dv1.Rows[e.RowIndex].Cells["dvc_project"].Value = f.Project; | ||||||
|  |                                     dv1.Rows[e.RowIndex].Cells["dvc_projectname"].Value = f.ProjectName; | ||||||
|  |                                 } | ||||||
|  |                             } | ||||||
|  |                         } | ||||||
|  |                     } | ||||||
|  |                     break; | ||||||
|  |             } | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |  | ||||||
|  |     } | ||||||
|  | } | ||||||
							
								
								
									
										260
									
								
								SubProject/FCM0000/fInventory.resx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										260
									
								
								SubProject/FCM0000/fInventory.resx
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,260 @@ | |||||||
|  | <?xml version="1.0" encoding="utf-8"?> | ||||||
|  | <root> | ||||||
|  |   <!--  | ||||||
|  |     Microsoft ResX Schema  | ||||||
|  |      | ||||||
|  |     Version 2.0 | ||||||
|  |      | ||||||
|  |     The primary goals of this format is to allow a simple XML format  | ||||||
|  |     that is mostly human readable. The generation and parsing of the  | ||||||
|  |     various data types are done through the TypeConverter classes  | ||||||
|  |     associated with the data types. | ||||||
|  |      | ||||||
|  |     Example: | ||||||
|  |      | ||||||
|  |     ... ado.net/XML headers & schema ... | ||||||
|  |     <resheader name="resmimetype">text/microsoft-resx</resheader> | ||||||
|  |     <resheader name="version">2.0</resheader> | ||||||
|  |     <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> | ||||||
|  |     <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> | ||||||
|  |     <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> | ||||||
|  |     <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> | ||||||
|  |     <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> | ||||||
|  |         <value>[base64 mime encoded serialized .NET Framework object]</value> | ||||||
|  |     </data> | ||||||
|  |     <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|  |         <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> | ||||||
|  |         <comment>This is a comment</comment> | ||||||
|  |     </data> | ||||||
|  |                  | ||||||
|  |     There are any number of "resheader" rows that contain simple  | ||||||
|  |     name/value pairs. | ||||||
|  |      | ||||||
|  |     Each data row contains a name, and value. The row also contains a  | ||||||
|  |     type or mimetype. Type corresponds to a .NET class that support  | ||||||
|  |     text/value conversion through the TypeConverter architecture.  | ||||||
|  |     Classes that don't support this are serialized and stored with the  | ||||||
|  |     mimetype set. | ||||||
|  |      | ||||||
|  |     The mimetype is used for serialized objects, and tells the  | ||||||
|  |     ResXResourceReader how to depersist the object. This is currently not  | ||||||
|  |     extensible. For a given mimetype the value must be set accordingly: | ||||||
|  |      | ||||||
|  |     Note - application/x-microsoft.net.object.binary.base64 is the format  | ||||||
|  |     that the ResXResourceWriter will generate, however the reader can  | ||||||
|  |     read any of the formats listed below. | ||||||
|  |      | ||||||
|  |     mimetype: application/x-microsoft.net.object.binary.base64 | ||||||
|  |     value   : The object must be serialized with  | ||||||
|  |             : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter | ||||||
|  |             : and then encoded with base64 encoding. | ||||||
|  |      | ||||||
|  |     mimetype: application/x-microsoft.net.object.soap.base64 | ||||||
|  |     value   : The object must be serialized with  | ||||||
|  |             : System.Runtime.Serialization.Formatters.Soap.SoapFormatter | ||||||
|  |             : and then encoded with base64 encoding. | ||||||
|  |  | ||||||
|  |     mimetype: application/x-microsoft.net.object.bytearray.base64 | ||||||
|  |     value   : The object must be serialized into a byte array  | ||||||
|  |             : using a System.ComponentModel.TypeConverter | ||||||
|  |             : and then encoded with base64 encoding. | ||||||
|  |     --> | ||||||
|  |   <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | ||||||
|  |     <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> | ||||||
|  |     <xsd:element name="root" msdata:IsDataSet="true"> | ||||||
|  |       <xsd:complexType> | ||||||
|  |         <xsd:choice maxOccurs="unbounded"> | ||||||
|  |           <xsd:element name="metadata"> | ||||||
|  |             <xsd:complexType> | ||||||
|  |               <xsd:sequence> | ||||||
|  |                 <xsd:element name="value" type="xsd:string" minOccurs="0" /> | ||||||
|  |               </xsd:sequence> | ||||||
|  |               <xsd:attribute name="name" use="required" type="xsd:string" /> | ||||||
|  |               <xsd:attribute name="type" type="xsd:string" /> | ||||||
|  |               <xsd:attribute name="mimetype" type="xsd:string" /> | ||||||
|  |               <xsd:attribute ref="xml:space" /> | ||||||
|  |             </xsd:complexType> | ||||||
|  |           </xsd:element> | ||||||
|  |           <xsd:element name="assembly"> | ||||||
|  |             <xsd:complexType> | ||||||
|  |               <xsd:attribute name="alias" type="xsd:string" /> | ||||||
|  |               <xsd:attribute name="name" type="xsd:string" /> | ||||||
|  |             </xsd:complexType> | ||||||
|  |           </xsd:element> | ||||||
|  |           <xsd:element name="data"> | ||||||
|  |             <xsd:complexType> | ||||||
|  |               <xsd:sequence> | ||||||
|  |                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||||
|  |                 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> | ||||||
|  |               </xsd:sequence> | ||||||
|  |               <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> | ||||||
|  |               <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> | ||||||
|  |               <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> | ||||||
|  |               <xsd:attribute ref="xml:space" /> | ||||||
|  |             </xsd:complexType> | ||||||
|  |           </xsd:element> | ||||||
|  |           <xsd:element name="resheader"> | ||||||
|  |             <xsd:complexType> | ||||||
|  |               <xsd:sequence> | ||||||
|  |                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||||
|  |               </xsd:sequence> | ||||||
|  |               <xsd:attribute name="name" type="xsd:string" use="required" /> | ||||||
|  |             </xsd:complexType> | ||||||
|  |           </xsd:element> | ||||||
|  |         </xsd:choice> | ||||||
|  |       </xsd:complexType> | ||||||
|  |     </xsd:element> | ||||||
|  |   </xsd:schema> | ||||||
|  |   <resheader name="resmimetype"> | ||||||
|  |     <value>text/microsoft-resx</value> | ||||||
|  |   </resheader> | ||||||
|  |   <resheader name="version"> | ||||||
|  |     <value>2.0</value> | ||||||
|  |   </resheader> | ||||||
|  |   <resheader name="reader"> | ||||||
|  |     <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||||
|  |   </resheader> | ||||||
|  |   <resheader name="writer"> | ||||||
|  |     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||||
|  |   </resheader> | ||||||
|  |   <metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
|  |     <value>17, 17</value> | ||||||
|  |   </metadata> | ||||||
|  |   <metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
|  |     <value>122, 17</value> | ||||||
|  |   </metadata> | ||||||
|  |   <metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
|  |     <value>186, 17</value> | ||||||
|  |   </metadata> | ||||||
|  |   <metadata name="tam.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
|  |     <value>248, 17</value> | ||||||
|  |   </metadata> | ||||||
|  |   <metadata name="bn.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
|  |     <value>321, 17</value> | ||||||
|  |   </metadata> | ||||||
|  |   <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||||||
|  |   <data name="bindingNavigatorAddNewItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|  |     <value> | ||||||
|  |         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||||
|  |         wwAADsMBx2+oZAAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC | ||||||
|  |         pBtwfjov3ICDPSKkG3B8kiBQc93/Pw+q/u9oFydswKWZPP/PTuX7fxKo8Ui/0P993SJAzeX//94r+r++ | ||||||
|  |         Qeb/qhq5/0srFf/PL1X+P6tIFdPAU0B//nlYD9RUC8SV///cKwHivP9/72b+/3sn+f/f23H//92MAOKQ | ||||||
|  |         /5NyNDENONQrDHbu3/ulQI0FQI3ZQI2pQI0J///digZqDPv/70bQ/3/X/f53peliGrCzXeL/lmap/+vA | ||||||
|  |         zpX/v6RC8f/fWzFAjeH/p+Zp/J+QpfW/O0P3f3uq/v/mREPCYTIb6E+Qc//dCPjfk6FDWAM6APnz3w1/ | ||||||
|  |         IPb735qsT7oB3em6YP+CcH2cEekGtCQZ/G+IN/xfE2v8vzLahHQD6AQYGAAkI9iedfyIaQAAAABJRU5E | ||||||
|  |         rkJggg== | ||||||
|  | </value> | ||||||
|  |   </data> | ||||||
|  |   <data name="bindingNavigatorDeleteItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|  |     <value> | ||||||
|  |         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||||
|  |         wwAADsMBx2+oZAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC | ||||||
|  |         DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC | ||||||
|  |         rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV | ||||||
|  |         i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG | ||||||
|  |         86CNhdrsX9a/uQZTPhQl4rMY4OLofbl3aX7I8uwPC7y/g1YdjyVJuEvT8e1tfwUYteHUxCCfHChDeHmG | ||||||
|  |         QQvokjlOU+PbWA0x3pZnILVVI3uvQyHsbiLnqnGmRCF1NYD8pDhpRxOH7HQoAKZGkFKjceszQbpSrumX | ||||||
|  |         bO+G80MFwKUTxgfgcO/b8D9IpXoFiiMDHIQm0skAAAAASUVORK5CYII= | ||||||
|  | </value> | ||||||
|  |   </data> | ||||||
|  |   <data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|  |     <value> | ||||||
|  |         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||||
|  |         wwAADsMBx2+oZAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77 | ||||||
|  |         wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0 | ||||||
|  |         v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg | ||||||
|  |         UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA | ||||||
|  |         Iu/O/9T+11gVGSSd+C+b9vW/bvA83AYYZt3+H9byEqci/dTL/zV8p+E2QCftxn+/6od4Fal4TMBtgFPu | ||||||
|  |         lf8gBXgVDULAwAAA8HbAq6XlmnAAAAAASUVORK5CYII= | ||||||
|  | </value> | ||||||
|  |   </data> | ||||||
|  |   <data name="bindingNavigatorMovePreviousItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|  |     <value> | ||||||
|  |         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||||
|  |         wwAADsMBx2+oZAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w | ||||||
|  |         5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f | ||||||
|  |         Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+ | ||||||
|  |         08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC | ||||||
|  | </value> | ||||||
|  |   </data> | ||||||
|  |   <data name="bindingNavigatorMoveNextItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|  |     <value> | ||||||
|  |         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||||
|  |         wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78 | ||||||
|  |         n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI | ||||||
|  |         N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f | ||||||
|  |         oAc0QjgAAAAASUVORK5CYII= | ||||||
|  | </value> | ||||||
|  |   </data> | ||||||
|  |   <data name="bindingNavigatorMoveLastItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|  |     <value> | ||||||
|  |         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||||
|  |         wwAADsMBx2+oZAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+// | ||||||
|  |         h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B | ||||||
|  |         twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA | ||||||
|  |         kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG | ||||||
|  |         WOTd+W9TcAVDMwiA5FL7X8O9hBUYZt3GqhkEQHJhLS//6wbPw22ATtoNnJIgOb/qh/81fKfhNgAfcMq9 | ||||||
|  |         8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg== | ||||||
|  | </value> | ||||||
|  |   </data> | ||||||
|  |   <data name="inventoryBindingNavigatorSaveItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|  |     <value> | ||||||
|  |         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||||
|  |         wwAADsMBx2+oZAAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo | ||||||
|  |         dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII= | ||||||
|  | </value> | ||||||
|  |   </data> | ||||||
|  |   <data name="tbFind.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|  |     <value> | ||||||
|  |         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 | ||||||
|  |         YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG | ||||||
|  |         YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9 | ||||||
|  |         0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw | ||||||
|  |         bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc | ||||||
|  |         VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9 | ||||||
|  |         c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32 | ||||||
|  |         Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo | ||||||
|  |         mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+ | ||||||
|  |         kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D | ||||||
|  |         TgDQASA1MVpwzwAAAABJRU5ErkJggg== | ||||||
|  | </value> | ||||||
|  |   </data> | ||||||
|  |   <metadata name="cm1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
|  |     <value>493, 17</value> | ||||||
|  |   </metadata> | ||||||
|  |   <metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
|  |     <value>387, 17</value> | ||||||
|  |   </metadata> | ||||||
|  |   <data name="btSearch.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|  |     <value> | ||||||
|  |         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 | ||||||
|  |         YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAE4SURBVDhPtZPPasJAEMbzPn0FwWA92JtP4NGKB1/DP7ei | ||||||
|  |         QSsovkChh7ZBrCfpyR4sikopUgq9StFzM/UbZ5asSS4FfzAkO7vft5udiZMEnSBpk5dhFJmncjdHxXaG | ||||||
|  |         A+9K4SbFT1luEwQBbXavVO5d0nI3ovnW5yeiMriiu+kt5asXbABEdgRigAUQDr+aHLU3lxoLl/yPJhvF | ||||||
|  |         GsiYJ/vPdX5qPK3bVJ25VFukafztGQNsKHJ791I3w+8KcpNth8XDz5YxACI/gsR1J8sTYcO4UIzwv1gG | ||||||
|  |         cTshgJ5IT8hChTMHsHi+v+fvffmxywVwN2FDkdsGEOK2ceu4feQ0tDqKyKMGqDfqjvprLzyswuX7Tf4E | ||||||
|  |         dBo6zn/3OB7XHovRyuhQ6+hhYKA9DpL+A1keRebNAhkaJH0OHOcP031C4EjYr6wAAAAASUVORK5CYII= | ||||||
|  | </value> | ||||||
|  |   </data> | ||||||
|  |   <metadata name="taItem.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
|  |     <value>568, 17</value> | ||||||
|  |   </metadata> | ||||||
|  |   <metadata name="dvc_iffnvtype.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||||
|  |     <value>True</value> | ||||||
|  |   </metadata> | ||||||
|  |   <metadata name="dvc_projectname.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||||
|  |     <value>True</value> | ||||||
|  |   </metadata> | ||||||
|  |   <metadata name="dvc_project.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||||
|  |     <value>True</value> | ||||||
|  |   </metadata> | ||||||
|  |   <metadata name="dvc_itemName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||||
|  |     <value>True</value> | ||||||
|  |   </metadata> | ||||||
|  |   <metadata name="dvc_item.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||||
|  |     <value>True</value> | ||||||
|  |   </metadata> | ||||||
|  |   <metadata name="taPrj.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
|  |     <value>655, 17</value> | ||||||
|  |   </metadata> | ||||||
|  | </root> | ||||||
| @@ -1,4 +1,4 @@ | |||||||
| namespace Project._Common | namespace FCM0000 | ||||||
| { | { | ||||||
|     partial class fItems |     partial class fItems | ||||||
|     { |     { | ||||||
| @@ -30,25 +30,27 @@ | |||||||
|         { |         { | ||||||
|             this.components = new System.ComponentModel.Container(); |             this.components = new System.ComponentModel.Container(); | ||||||
|             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fItems)); |             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fItems)); | ||||||
|             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); |             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); | ||||||
|             this.itemsBindingNavigator = new System.Windows.Forms.BindingNavigator(this.components); |             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); | ||||||
|  |             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.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton(); | ||||||
|             this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton(); |             this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton(); | ||||||
|             this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator(); |             this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator(); | ||||||
|             this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox(); |             this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox(); | ||||||
|             this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel(); |  | ||||||
|             this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator(); |             this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator(); | ||||||
|             this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton(); |             this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton(); | ||||||
|             this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton(); |             this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton(); | ||||||
|             this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator(); |             this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator(); | ||||||
|             this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton(); |  | ||||||
|             this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton(); |  | ||||||
|             this.itemsBindingNavigatorSaveItem = new System.Windows.Forms.ToolStripButton(); |             this.itemsBindingNavigatorSaveItem = new System.Windows.Forms.ToolStripButton(); | ||||||
|             this.itemsDataGridView = new System.Windows.Forms.DataGridView(); |             this.dv1 = new System.Windows.Forms.DataGridView(); | ||||||
|             this.itemsBindingSource = new System.Windows.Forms.BindingSource(this.components); |             this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components); | ||||||
|             this.dsMSSQL = new Project.dsMSSQL(); |             this.autoColumnSizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||||
|             this.itemsTableAdapter = new Project.dsMSSQLTableAdapters.ItemsTableAdapter(); |             this.cm1ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||||
|             this.tableAdapterManager = new Project.dsMSSQLTableAdapters.TableAdapterManager(); |             this.cate = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|  |             this.price = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|             this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |             this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|             this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |             this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|             this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |             this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
| @@ -56,23 +58,27 @@ | |||||||
|             this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |             this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|             this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |             this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|             this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |             this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|             this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |             this.bs = new System.Windows.Forms.BindingSource(this.components); | ||||||
|             this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |             this.dsMSSQL = new FCM0000.dsMSSQL(); | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.itemsBindingNavigator)).BeginInit(); |             this.ta = new FCM0000.dsMSSQLTableAdapters.ItemsTableAdapter(); | ||||||
|             this.itemsBindingNavigator.SuspendLayout(); |             this.tam = new FCM0000.dsMSSQLTableAdapters.TableAdapterManager(); | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.itemsDataGridView)).BeginInit(); |             this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.itemsBindingSource)).BeginInit(); |             ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); | ||||||
|  |             this.bn.SuspendLayout(); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.dv1)).BeginInit(); | ||||||
|  |             this.cm1.SuspendLayout(); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit(); |             ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit(); | ||||||
|             this.SuspendLayout(); |             this.SuspendLayout(); | ||||||
|             //  |             //  | ||||||
|             // itemsBindingNavigator |             // bn | ||||||
|             //  |             //  | ||||||
|             this.itemsBindingNavigator.AddNewItem = this.bindingNavigatorAddNewItem; |             this.bn.AddNewItem = this.bindingNavigatorAddNewItem; | ||||||
|             this.itemsBindingNavigator.BindingSource = this.itemsBindingSource; |             this.bn.BindingSource = this.bs; | ||||||
|             this.itemsBindingNavigator.CountItem = this.bindingNavigatorCountItem; |             this.bn.CountItem = this.bindingNavigatorCountItem; | ||||||
|             this.itemsBindingNavigator.DeleteItem = this.bindingNavigatorDeleteItem; |             this.bn.DeleteItem = this.bindingNavigatorDeleteItem; | ||||||
|             this.itemsBindingNavigator.Dock = System.Windows.Forms.DockStyle.Bottom; |             this.bn.Dock = System.Windows.Forms.DockStyle.Bottom; | ||||||
|             this.itemsBindingNavigator.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { |             this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { | ||||||
|             this.bindingNavigatorMoveFirstItem, |             this.bindingNavigatorMoveFirstItem, | ||||||
|             this.bindingNavigatorMovePreviousItem, |             this.bindingNavigatorMovePreviousItem, | ||||||
|             this.bindingNavigatorSeparator, |             this.bindingNavigatorSeparator, | ||||||
| @@ -84,17 +90,41 @@ | |||||||
|             this.bindingNavigatorSeparator2, |             this.bindingNavigatorSeparator2, | ||||||
|             this.bindingNavigatorAddNewItem, |             this.bindingNavigatorAddNewItem, | ||||||
|             this.bindingNavigatorDeleteItem, |             this.bindingNavigatorDeleteItem, | ||||||
|             this.itemsBindingNavigatorSaveItem}); |             this.itemsBindingNavigatorSaveItem, | ||||||
|             this.itemsBindingNavigator.Location = new System.Drawing.Point(0, 521); |             this.toolStripButton1}); | ||||||
|             this.itemsBindingNavigator.MoveFirstItem = this.bindingNavigatorMoveFirstItem; |             this.bn.Location = new System.Drawing.Point(0, 481); | ||||||
|             this.itemsBindingNavigator.MoveLastItem = this.bindingNavigatorMoveLastItem; |             this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem; | ||||||
|             this.itemsBindingNavigator.MoveNextItem = this.bindingNavigatorMoveNextItem; |             this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem; | ||||||
|             this.itemsBindingNavigator.MovePreviousItem = this.bindingNavigatorMovePreviousItem; |             this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem; | ||||||
|             this.itemsBindingNavigator.Name = "itemsBindingNavigator"; |             this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem; | ||||||
|             this.itemsBindingNavigator.PositionItem = this.bindingNavigatorPositionItem; |             this.bn.Name = "bn"; | ||||||
|             this.itemsBindingNavigator.Size = new System.Drawing.Size(687, 25); |             this.bn.PositionItem = this.bindingNavigatorPositionItem; | ||||||
|             this.itemsBindingNavigator.TabIndex = 0; |             this.bn.Size = new System.Drawing.Size(735, 25); | ||||||
|             this.itemsBindingNavigator.Text = "bindingNavigator1"; |             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 |             // bindingNavigatorMoveFirstItem | ||||||
|             //  |             //  | ||||||
| @@ -128,16 +158,9 @@ | |||||||
|             this.bindingNavigatorPositionItem.Text = "0"; |             this.bindingNavigatorPositionItem.Text = "0"; | ||||||
|             this.bindingNavigatorPositionItem.ToolTipText = "현재 위치"; |             this.bindingNavigatorPositionItem.ToolTipText = "현재 위치"; | ||||||
|             //  |             //  | ||||||
|             // bindingNavigatorCountItem |  | ||||||
|             //  |  | ||||||
|             this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem"; |  | ||||||
|             this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22); |  | ||||||
|             this.bindingNavigatorCountItem.Text = "/{0}"; |  | ||||||
|             this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수"; |  | ||||||
|             //  |  | ||||||
|             // bindingNavigatorSeparator1 |             // bindingNavigatorSeparator1 | ||||||
|             //  |             //  | ||||||
|             this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator"; |             this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1"; | ||||||
|             this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25); |             this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25); | ||||||
|             //  |             //  | ||||||
|             // bindingNavigatorMoveNextItem |             // bindingNavigatorMoveNextItem | ||||||
| @@ -160,89 +183,83 @@ | |||||||
|             //  |             //  | ||||||
|             // bindingNavigatorSeparator2 |             // bindingNavigatorSeparator2 | ||||||
|             //  |             //  | ||||||
|             this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator"; |             this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2"; | ||||||
|             this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25); |             this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25); | ||||||
|             //  |             //  | ||||||
|             // 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 = "새로 추가"; |  | ||||||
|             //  |  | ||||||
|             // 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 = "삭제"; |  | ||||||
|             //  |  | ||||||
|             // itemsBindingNavigatorSaveItem |             // itemsBindingNavigatorSaveItem | ||||||
|             //  |             //  | ||||||
|             this.itemsBindingNavigatorSaveItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; |  | ||||||
|             this.itemsBindingNavigatorSaveItem.Image = ((System.Drawing.Image)(resources.GetObject("itemsBindingNavigatorSaveItem.Image"))); |             this.itemsBindingNavigatorSaveItem.Image = ((System.Drawing.Image)(resources.GetObject("itemsBindingNavigatorSaveItem.Image"))); | ||||||
|             this.itemsBindingNavigatorSaveItem.Name = "itemsBindingNavigatorSaveItem"; |             this.itemsBindingNavigatorSaveItem.Name = "itemsBindingNavigatorSaveItem"; | ||||||
|             this.itemsBindingNavigatorSaveItem.Size = new System.Drawing.Size(23, 22); |             this.itemsBindingNavigatorSaveItem.Size = new System.Drawing.Size(67, 22); | ||||||
|             this.itemsBindingNavigatorSaveItem.Text = "데이터 저장"; |             this.itemsBindingNavigatorSaveItem.Text = "Save(&S)"; | ||||||
|             this.itemsBindingNavigatorSaveItem.Click += new System.EventHandler(this.itemsBindingNavigatorSaveItem_Click); |             this.itemsBindingNavigatorSaveItem.Click += new System.EventHandler(this.itemsBindingNavigatorSaveItem_Click); | ||||||
|             //  |             //  | ||||||
|             // itemsDataGridView |             // dv1 | ||||||
|             //  |             //  | ||||||
|             this.itemsDataGridView.AutoGenerateColumns = false; |             this.dv1.AllowUserToAddRows = false; | ||||||
|             this.itemsDataGridView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells; |             this.dv1.AutoGenerateColumns = false; | ||||||
|             this.itemsDataGridView.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells; |             this.dv1.ColumnHeadersHeight = 30; | ||||||
|             this.itemsDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |             this.dv1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing; | ||||||
|             this.itemsDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |             this.dv1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { | ||||||
|             this.dataGridViewTextBoxColumn1, |             this.dataGridViewTextBoxColumn1, | ||||||
|  |             this.cate, | ||||||
|             this.dataGridViewTextBoxColumn2, |             this.dataGridViewTextBoxColumn2, | ||||||
|             this.dataGridViewTextBoxColumn3, |             this.dataGridViewTextBoxColumn3, | ||||||
|             this.dataGridViewTextBoxColumn4, |             this.dataGridViewTextBoxColumn4, | ||||||
|             this.dataGridViewTextBoxColumn5, |             this.dataGridViewTextBoxColumn5, | ||||||
|             this.dataGridViewTextBoxColumn6, |             this.dataGridViewTextBoxColumn6, | ||||||
|             this.dataGridViewTextBoxColumn7, |             this.price, | ||||||
|             this.dataGridViewTextBoxColumn8, |             this.dataGridViewTextBoxColumn7}); | ||||||
|             this.dataGridViewTextBoxColumn9}); |             this.dv1.ContextMenuStrip = this.cm1; | ||||||
|             this.itemsDataGridView.DataSource = this.itemsBindingSource; |             this.dv1.DataSource = this.bs; | ||||||
|             this.itemsDataGridView.Dock = System.Windows.Forms.DockStyle.Fill; |             this.dv1.Dock = System.Windows.Forms.DockStyle.Fill; | ||||||
|             this.itemsDataGridView.Location = new System.Drawing.Point(0, 0); |             this.dv1.Location = new System.Drawing.Point(0, 0); | ||||||
|             this.itemsDataGridView.Name = "itemsDataGridView"; |             this.dv1.Name = "dv1"; | ||||||
|             this.itemsDataGridView.RowTemplate.Height = 23; |             this.dv1.RowTemplate.Height = 23; | ||||||
|             this.itemsDataGridView.Size = new System.Drawing.Size(687, 521); |             this.dv1.Size = new System.Drawing.Size(735, 481); | ||||||
|             this.itemsDataGridView.TabIndex = 1; |             this.dv1.TabIndex = 1; | ||||||
|             //  |             //  | ||||||
|             // itemsBindingSource |             // cm1 | ||||||
|             //  |             //  | ||||||
|             this.itemsBindingSource.DataMember = "Items"; |             this.cm1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { | ||||||
|             this.itemsBindingSource.DataSource = this.dsMSSQL; |             this.autoColumnSizeToolStripMenuItem, | ||||||
|  |             this.cm1ToolStripMenuItem}); | ||||||
|  |             this.cm1.Name = "cm1"; | ||||||
|  |             this.cm1.Size = new System.Drawing.Size(170, 48); | ||||||
|             //  |             //  | ||||||
|             // dsMSSQL |             // autoColumnSizeToolStripMenuItem | ||||||
|             //  |             //  | ||||||
|             this.dsMSSQL.DataSetName = "dsMSSQL"; |             this.autoColumnSizeToolStripMenuItem.Name = "autoColumnSizeToolStripMenuItem"; | ||||||
|             this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; |             this.autoColumnSizeToolStripMenuItem.Size = new System.Drawing.Size(169, 22); | ||||||
|  |             this.autoColumnSizeToolStripMenuItem.Text = "AutoColumn Size"; | ||||||
|  |             this.autoColumnSizeToolStripMenuItem.Click += new System.EventHandler(this.autoColumnSizeToolStripMenuItem_Click); | ||||||
|             //  |             //  | ||||||
|             // itemsTableAdapter |             // cm1ToolStripMenuItem | ||||||
|             //  |             //  | ||||||
|             this.itemsTableAdapter.ClearBeforeFill = true; |             this.cm1ToolStripMenuItem.Name = "cm1ToolStripMenuItem"; | ||||||
|  |             this.cm1ToolStripMenuItem.Size = new System.Drawing.Size(169, 22); | ||||||
|  |             this.cm1ToolStripMenuItem.Text = "cm1"; | ||||||
|             //  |             //  | ||||||
|             // tableAdapterManager |             // cate | ||||||
|             //  |             //  | ||||||
|             this.tableAdapterManager.BackupDataSetBeforeUpdate = false; |             this.cate.DataPropertyName = "cate"; | ||||||
|             this.tableAdapterManager.InventoryTableAdapter = null; |             this.cate.HeaderText = "Category"; | ||||||
|             this.tableAdapterManager.ItemsTableAdapter = this.itemsTableAdapter; |             this.cate.Name = "cate"; | ||||||
|             this.tableAdapterManager.ProjectsTableAdapter = null; |             //  | ||||||
|             this.tableAdapterManager.UpdateOrder = Project.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; |             // price | ||||||
|             this.tableAdapterManager.UsersTableAdapter = null; |             //  | ||||||
|  |             this.price.DataPropertyName = "price"; | ||||||
|  |             dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; | ||||||
|  |             this.price.DefaultCellStyle = dataGridViewCellStyle6; | ||||||
|  |             this.price.HeaderText = "price"; | ||||||
|  |             this.price.Name = "price"; | ||||||
|             //  |             //  | ||||||
|             // dataGridViewTextBoxColumn1 |             // dataGridViewTextBoxColumn1 | ||||||
|             //  |             //  | ||||||
|             this.dataGridViewTextBoxColumn1.DataPropertyName = "idx"; |             this.dataGridViewTextBoxColumn1.DataPropertyName = "idx"; | ||||||
|             dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |             dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; | ||||||
|             dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); |             dataGridViewCellStyle5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); | ||||||
|             this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle1; |             this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle5; | ||||||
|             this.dataGridViewTextBoxColumn1.HeaderText = "idx"; |             this.dataGridViewTextBoxColumn1.HeaderText = "idx"; | ||||||
|             this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1"; |             this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1"; | ||||||
|             this.dataGridViewTextBoxColumn1.ReadOnly = true; |             this.dataGridViewTextBoxColumn1.ReadOnly = true; | ||||||
| @@ -290,35 +307,54 @@ | |||||||
|             this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7"; |             this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7"; | ||||||
|             this.dataGridViewTextBoxColumn7.Width = 66; |             this.dataGridViewTextBoxColumn7.Width = 66; | ||||||
|             //  |             //  | ||||||
|             // dataGridViewTextBoxColumn8 |             // bs | ||||||
|             //  |             //  | ||||||
|             this.dataGridViewTextBoxColumn8.DataPropertyName = "wuid"; |             this.bs.DataMember = "Items"; | ||||||
|             this.dataGridViewTextBoxColumn8.HeaderText = "wuid"; |             this.bs.DataSource = this.dsMSSQL; | ||||||
|             this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8"; |  | ||||||
|             this.dataGridViewTextBoxColumn8.Width = 57; |  | ||||||
|             //  |             //  | ||||||
|             // dataGridViewTextBoxColumn9 |             // dsMSSQL | ||||||
|             //  |             //  | ||||||
|             this.dataGridViewTextBoxColumn9.DataPropertyName = "wdate"; |             this.dsMSSQL.DataSetName = "dsMSSQL"; | ||||||
|             this.dataGridViewTextBoxColumn9.HeaderText = "wdate"; |             this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; | ||||||
|             this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9"; |             //  | ||||||
|             this.dataGridViewTextBoxColumn9.Width = 64; |             // ta | ||||||
|  |             //  | ||||||
|  |             this.ta.ClearBeforeFill = true; | ||||||
|  |             //  | ||||||
|  |             // tam | ||||||
|  |             //  | ||||||
|  |             this.tam.BackupDataSetBeforeUpdate = false; | ||||||
|  |             this.tam.InventoryTableAdapter = null; | ||||||
|  |             this.tam.ItemsTableAdapter = this.ta; | ||||||
|  |             this.tam.ProjectsTableAdapter = null; | ||||||
|  |             this.tam.UpdateOrder = FCM0000.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; | ||||||
|  |             //  | ||||||
|  |             // toolStripButton1 | ||||||
|  |             //  | ||||||
|  |             this.toolStripButton1.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; | ||||||
|  |             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(66, 22); | ||||||
|  |             this.toolStripButton1.Text = "Refresh"; | ||||||
|  |             this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click); | ||||||
|             //  |             //  | ||||||
|             // fItems |             // fItems | ||||||
|             //  |             //  | ||||||
|             this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); |             this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); | ||||||
|             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | ||||||
|             this.ClientSize = new System.Drawing.Size(687, 546); |             this.ClientSize = new System.Drawing.Size(735, 506); | ||||||
|             this.Controls.Add(this.itemsDataGridView); |             this.Controls.Add(this.dv1); | ||||||
|             this.Controls.Add(this.itemsBindingNavigator); |             this.Controls.Add(this.bn); | ||||||
|             this.Name = "fItems"; |             this.Name = "fItems"; | ||||||
|             this.Text = "fItems"; |             this.Text = "fItems"; | ||||||
|             this.Load += new System.EventHandler(this.fItems_Load); |             this.Load += new System.EventHandler(this.fItems_Load); | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.itemsBindingNavigator)).EndInit(); |             ((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit(); | ||||||
|             this.itemsBindingNavigator.ResumeLayout(false); |             this.bn.ResumeLayout(false); | ||||||
|             this.itemsBindingNavigator.PerformLayout(); |             this.bn.PerformLayout(); | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.itemsDataGridView)).EndInit(); |             ((System.ComponentModel.ISupportInitialize)(this.dv1)).EndInit(); | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.itemsBindingSource)).EndInit(); |             this.cm1.ResumeLayout(false); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit(); |             ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit(); | ||||||
|             this.ResumeLayout(false); |             this.ResumeLayout(false); | ||||||
|             this.PerformLayout(); |             this.PerformLayout(); | ||||||
| @@ -328,10 +364,10 @@ | |||||||
|         #endregion |         #endregion | ||||||
| 
 | 
 | ||||||
|         private dsMSSQL dsMSSQL; |         private dsMSSQL dsMSSQL; | ||||||
|         private System.Windows.Forms.BindingSource itemsBindingSource; |         private System.Windows.Forms.BindingSource bs; | ||||||
|         private dsMSSQLTableAdapters.ItemsTableAdapter itemsTableAdapter; |         private dsMSSQLTableAdapters.ItemsTableAdapter ta; | ||||||
|         private dsMSSQLTableAdapters.TableAdapterManager tableAdapterManager; |         private dsMSSQLTableAdapters.TableAdapterManager tam; | ||||||
|         private System.Windows.Forms.BindingNavigator itemsBindingNavigator; |         private System.Windows.Forms.BindingNavigator bn; | ||||||
|         private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem; |         private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem; | ||||||
|         private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem; |         private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem; | ||||||
|         private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem; |         private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem; | ||||||
| @@ -344,15 +380,19 @@ | |||||||
|         private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem; |         private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem; | ||||||
|         private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2; |         private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2; | ||||||
|         private System.Windows.Forms.ToolStripButton itemsBindingNavigatorSaveItem; |         private System.Windows.Forms.ToolStripButton itemsBindingNavigatorSaveItem; | ||||||
|         private System.Windows.Forms.DataGridView itemsDataGridView; |         private System.Windows.Forms.DataGridView dv1; | ||||||
|  |         private System.Windows.Forms.ContextMenuStrip cm1; | ||||||
|  |         private System.Windows.Forms.ToolStripMenuItem autoColumnSizeToolStripMenuItem; | ||||||
|  |         private System.Windows.Forms.ToolStripMenuItem cm1ToolStripMenuItem; | ||||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1; |         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1; | ||||||
|  |         private System.Windows.Forms.DataGridViewTextBoxColumn cate; | ||||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2; |         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2; | ||||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3; |         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3; | ||||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4; |         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4; | ||||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5; |         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5; | ||||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn6; |         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn6; | ||||||
|  |         private System.Windows.Forms.DataGridViewTextBoxColumn price; | ||||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn7; |         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn7; | ||||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn8; |         private System.Windows.Forms.ToolStripButton toolStripButton1; | ||||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn9; |  | ||||||
|     } |     } | ||||||
| } | } | ||||||
							
								
								
									
										79
									
								
								SubProject/FCM0000/fItems.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										79
									
								
								SubProject/FCM0000/fItems.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +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 FCM0000 | ||||||
|  | { | ||||||
|  |     public partial class fItems : Form | ||||||
|  |     { | ||||||
|  |         public fItems() | ||||||
|  |         { | ||||||
|  |             InitializeComponent(); | ||||||
|  |             this.FormClosed += fItems_FormClosed; | ||||||
|  |             this.dsMSSQL.Items.TableNewRow += Items_TableNewRow; | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         void fItems_FormClosed(object sender, FormClosedEventArgs e) | ||||||
|  |         { | ||||||
|  |             var form = this as Form; | ||||||
|  |             FCOMMON.Util.SetFormStatus(ref form, this.Name, false); | ||||||
|  |         } | ||||||
|  |         private void fItems_Load(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             var form = this as Form; | ||||||
|  |             FCOMMON.Util.SetFormStatus(ref form, this.Name, true); | ||||||
|  |             this.Show(); | ||||||
|  |             Application.DoEvents(); | ||||||
|  |  | ||||||
|  |             refreshData(); | ||||||
|  |         } | ||||||
|  |         void refreshData() | ||||||
|  |         { | ||||||
|  |             //refresh data | ||||||
|  |             this.ta.FillNoImage(this.dsMSSQL.Items); | ||||||
|  |             this.dv1.AutoResizeColumns(); | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         void Items_TableNewRow(object sender, DataTableNewRowEventArgs e) | ||||||
|  |         { | ||||||
|  |             e.Row["wuid"] = FCOMMON.info.Login.no; | ||||||
|  |             e.Row["wdate"] = DateTime.Now; | ||||||
|  |         } | ||||||
|  |         private void itemsBindingNavigatorSaveItem_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 autoColumnSizeToolStripMenuItem_Click(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             this.dv1.AutoResizeColumns(); | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         private void toolStripButton1_Click(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             refreshData(); | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |        | ||||||
|  |     } | ||||||
|  | } | ||||||
| @@ -117,8 +117,8 @@ | |||||||
|   <resheader name="writer"> |   <resheader name="writer"> | ||||||
|     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||||
|   </resheader> |   </resheader> | ||||||
|   <metadata name="itemsBindingNavigator.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |   <metadata name="bn.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
|     <value>614, 17</value> |     <value>321, 17</value> | ||||||
|   </metadata> |   </metadata> | ||||||
|   <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> |   <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||||||
|   <data name="bindingNavigatorAddNewItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |   <data name="bindingNavigatorAddNewItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
| @@ -133,7 +133,7 @@ | |||||||
|         rkJggg== |         rkJggg== | ||||||
| </value> | </value> | ||||||
|   </data> |   </data> | ||||||
|   <metadata name="itemsBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |   <metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
|     <value>122, 17</value> |     <value>122, 17</value> | ||||||
|   </metadata> |   </metadata> | ||||||
|   <metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |   <metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
| @@ -198,10 +198,22 @@ | |||||||
|         dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII= |         dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII= | ||||||
| </value> | </value> | ||||||
|   </data> |   </data> | ||||||
|   <metadata name="itemsTableAdapter.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |   <metadata name="cate.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||||
|     <value>284, 17</value> |     <value>True</value> | ||||||
|   </metadata> |   </metadata> | ||||||
|   <metadata name="tableAdapterManager.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |   <metadata name="price.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||||
|     <value>440, 17</value> |     <value>True</value> | ||||||
|  |   </metadata> | ||||||
|  |   <metadata name="cm1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
|  |     <value>387, 17</value> | ||||||
|  |   </metadata> | ||||||
|  |   <metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
|  |     <value>17, 17</value> | ||||||
|  |   </metadata> | ||||||
|  |   <metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
|  |     <value>186, 17</value> | ||||||
|  |   </metadata> | ||||||
|  |   <metadata name="tam.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
|  |     <value>248, 17</value> | ||||||
|   </metadata> |   </metadata> | ||||||
| </root> | </root> | ||||||
							
								
								
									
										452
									
								
								SubProject/FCM0000/fLovItem.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										452
									
								
								SubProject/FCM0000/fLovItem.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,452 @@ | |||||||
|  | namespace FCM0000 | ||||||
|  | { | ||||||
|  |     partial class fLovItem | ||||||
|  |     { | ||||||
|  |         /// <summary> | ||||||
|  |         /// Required designer variable. | ||||||
|  |         /// </summary> | ||||||
|  |         private System.ComponentModel.IContainer components = null; | ||||||
|  |  | ||||||
|  |         /// <summary> | ||||||
|  |         /// Clean up any resources being used. | ||||||
|  |         /// </summary> | ||||||
|  |         /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> | ||||||
|  |         protected override void Dispose(bool disposing) | ||||||
|  |         { | ||||||
|  |             if (disposing && (components != null)) | ||||||
|  |             { | ||||||
|  |                 components.Dispose(); | ||||||
|  |             } | ||||||
|  |             base.Dispose(disposing); | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         #region Windows Form Designer generated code | ||||||
|  |  | ||||||
|  |         /// <summary> | ||||||
|  |         /// Required method for Designer support - do not modify | ||||||
|  |         /// the contents of this method with the code editor. | ||||||
|  |         /// </summary> | ||||||
|  |         private void InitializeComponent() | ||||||
|  |         { | ||||||
|  |             this.components = new System.ComponentModel.Container(); | ||||||
|  |             System.Windows.Forms.Label modelLabel; | ||||||
|  |             System.Windows.Forms.Label manuLabel; | ||||||
|  |             System.Windows.Forms.Label supplyLabel; | ||||||
|  |             System.Windows.Forms.Label memoLabel; | ||||||
|  |             System.Windows.Forms.Label priceLabel; | ||||||
|  |             System.Windows.Forms.Label label1; | ||||||
|  |             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fLovItem)); | ||||||
|  |             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); | ||||||
|  |             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); | ||||||
|  |             this.dsMSSQL = new FCM0000.dsMSSQL(); | ||||||
|  |             this.bs = new System.Windows.Forms.BindingSource(this.components); | ||||||
|  |             this.ta = new FCM0000.dsMSSQLTableAdapters.ItemsTableAdapter(); | ||||||
|  |             this.tam = new FCM0000.dsMSSQLTableAdapters.TableAdapterManager(); | ||||||
|  |             this.bn = new System.Windows.Forms.BindingNavigator(this.components); | ||||||
|  |             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.btOK = new System.Windows.Forms.ToolStripButton(); | ||||||
|  |             this.dv = new System.Windows.Forms.DataGridView(); | ||||||
|  |             this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|  |             this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|  |             this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|  |             this.panel1 = new System.Windows.Forms.Panel(); | ||||||
|  |             this.textBox1 = new System.Windows.Forms.TextBox(); | ||||||
|  |             this.modelTextBox = new System.Windows.Forms.TextBox(); | ||||||
|  |             this.manuTextBox = new System.Windows.Forms.TextBox(); | ||||||
|  |             this.supplyTextBox = new System.Windows.Forms.TextBox(); | ||||||
|  |             this.memoTextBox = new System.Windows.Forms.TextBox(); | ||||||
|  |             this.priceTextBox = new System.Windows.Forms.TextBox(); | ||||||
|  |             modelLabel = new System.Windows.Forms.Label(); | ||||||
|  |             manuLabel = new System.Windows.Forms.Label(); | ||||||
|  |             supplyLabel = new System.Windows.Forms.Label(); | ||||||
|  |             memoLabel = new System.Windows.Forms.Label(); | ||||||
|  |             priceLabel = new System.Windows.Forms.Label(); | ||||||
|  |             label1 = new System.Windows.Forms.Label(); | ||||||
|  |             ((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.dv)).BeginInit(); | ||||||
|  |             this.panel1.SuspendLayout(); | ||||||
|  |             this.SuspendLayout(); | ||||||
|  |             //  | ||||||
|  |             // modelLabel | ||||||
|  |             //  | ||||||
|  |             modelLabel.AutoSize = true; | ||||||
|  |             modelLabel.Location = new System.Drawing.Point(22, 15); | ||||||
|  |             modelLabel.Name = "modelLabel"; | ||||||
|  |             modelLabel.Size = new System.Drawing.Size(64, 22); | ||||||
|  |             modelLabel.TabIndex = 6; | ||||||
|  |             modelLabel.Text = "model:"; | ||||||
|  |             //  | ||||||
|  |             // manuLabel | ||||||
|  |             //  | ||||||
|  |             manuLabel.AutoSize = true; | ||||||
|  |             manuLabel.Location = new System.Drawing.Point(22, 54); | ||||||
|  |             manuLabel.Name = "manuLabel"; | ||||||
|  |             manuLabel.Size = new System.Drawing.Size(60, 22); | ||||||
|  |             manuLabel.TabIndex = 8; | ||||||
|  |             manuLabel.Text = "manu:"; | ||||||
|  |             //  | ||||||
|  |             // supplyLabel | ||||||
|  |             //  | ||||||
|  |             supplyLabel.AutoSize = true; | ||||||
|  |             supplyLabel.Location = new System.Drawing.Point(22, 93); | ||||||
|  |             supplyLabel.Name = "supplyLabel"; | ||||||
|  |             supplyLabel.Size = new System.Drawing.Size(67, 22); | ||||||
|  |             supplyLabel.TabIndex = 10; | ||||||
|  |             supplyLabel.Text = "supply:"; | ||||||
|  |             //  | ||||||
|  |             // memoLabel | ||||||
|  |             //  | ||||||
|  |             memoLabel.AutoSize = true; | ||||||
|  |             memoLabel.Location = new System.Drawing.Point(22, 132); | ||||||
|  |             memoLabel.Name = "memoLabel"; | ||||||
|  |             memoLabel.Size = new System.Drawing.Size(65, 22); | ||||||
|  |             memoLabel.TabIndex = 12; | ||||||
|  |             memoLabel.Text = "memo:"; | ||||||
|  |             //  | ||||||
|  |             // priceLabel | ||||||
|  |             //  | ||||||
|  |             priceLabel.AutoSize = true; | ||||||
|  |             priceLabel.Location = new System.Drawing.Point(22, 249); | ||||||
|  |             priceLabel.Name = "priceLabel"; | ||||||
|  |             priceLabel.Size = new System.Drawing.Size(53, 22); | ||||||
|  |             priceLabel.TabIndex = 18; | ||||||
|  |             priceLabel.Text = "price:"; | ||||||
|  |             //  | ||||||
|  |             // label1 | ||||||
|  |             //  | ||||||
|  |             label1.AutoSize = true; | ||||||
|  |             label1.Location = new System.Drawing.Point(22, 288); | ||||||
|  |             label1.Name = "label1"; | ||||||
|  |             label1.Size = new System.Drawing.Size(42, 22); | ||||||
|  |             label1.TabIndex = 20; | ||||||
|  |             label1.Text = "cate"; | ||||||
|  |             //  | ||||||
|  |             // dsMSSQL | ||||||
|  |             //  | ||||||
|  |             this.dsMSSQL.DataSetName = "dsMSSQL"; | ||||||
|  |             this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; | ||||||
|  |             //  | ||||||
|  |             // bs | ||||||
|  |             //  | ||||||
|  |             this.bs.DataMember = "Items"; | ||||||
|  |             this.bs.DataSource = this.dsMSSQL; | ||||||
|  |             this.bs.CurrentChanged += new System.EventHandler(this.bs_CurrentChanged); | ||||||
|  |             //  | ||||||
|  |             // ta | ||||||
|  |             //  | ||||||
|  |             this.ta.ClearBeforeFill = true; | ||||||
|  |             //  | ||||||
|  |             // tam | ||||||
|  |             //  | ||||||
|  |             this.tam.BackupDataSetBeforeUpdate = false; | ||||||
|  |             this.tam.InventoryTableAdapter = null; | ||||||
|  |             this.tam.ItemsTableAdapter = this.ta; | ||||||
|  |             this.tam.ProjectsTableAdapter = null; | ||||||
|  |             this.tam.UpdateOrder = FCM0000.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; | ||||||
|  |             //  | ||||||
|  |             // bn | ||||||
|  |             //  | ||||||
|  |             this.bn.AddNewItem = null; | ||||||
|  |             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.btOK}); | ||||||
|  |             this.bn.Location = new System.Drawing.Point(0, 327); | ||||||
|  |             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(834, 25); | ||||||
|  |             this.bn.TabIndex = 0; | ||||||
|  |             this.bn.Text = "bindingNavigator1"; | ||||||
|  |             //  | ||||||
|  |             // 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); | ||||||
|  |             //  | ||||||
|  |             // btOK | ||||||
|  |             //  | ||||||
|  |             this.btOK.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; | ||||||
|  |             this.btOK.Image = ((System.Drawing.Image)(resources.GetObject("btOK.Image"))); | ||||||
|  |             this.btOK.Name = "btOK"; | ||||||
|  |             this.btOK.Size = new System.Drawing.Size(76, 22); | ||||||
|  |             this.btOK.Text = "Select(&O)"; | ||||||
|  |             this.btOK.Click += new System.EventHandler(this.itemsBindingNavigatorSaveItem_Click); | ||||||
|  |             //  | ||||||
|  |             // dv | ||||||
|  |             //  | ||||||
|  |             this.dv.AllowUserToAddRows = false; | ||||||
|  |             this.dv.AllowUserToDeleteRows = false; | ||||||
|  |             this.dv.AutoGenerateColumns = false; | ||||||
|  |             this.dv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells; | ||||||
|  |             this.dv.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells; | ||||||
|  |             this.dv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; | ||||||
|  |             this.dv.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { | ||||||
|  |             this.dataGridViewTextBoxColumn1, | ||||||
|  |             this.dataGridViewTextBoxColumn2, | ||||||
|  |             this.dataGridViewTextBoxColumn3}); | ||||||
|  |             this.dv.DataSource = this.bs; | ||||||
|  |             dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; | ||||||
|  |             dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window; | ||||||
|  |             dataGridViewCellStyle2.Font = new System.Drawing.Font("Tahoma", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | ||||||
|  |             dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText; | ||||||
|  |             dataGridViewCellStyle2.Padding = new System.Windows.Forms.Padding(1, 3, 1, 3); | ||||||
|  |             dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; | ||||||
|  |             dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; | ||||||
|  |             dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False; | ||||||
|  |             this.dv.DefaultCellStyle = dataGridViewCellStyle2; | ||||||
|  |             this.dv.Dock = System.Windows.Forms.DockStyle.Fill; | ||||||
|  |             this.dv.Location = new System.Drawing.Point(0, 0); | ||||||
|  |             this.dv.Name = "dv"; | ||||||
|  |             this.dv.ReadOnly = true; | ||||||
|  |             this.dv.RowHeadersVisible = false; | ||||||
|  |             this.dv.RowTemplate.Height = 23; | ||||||
|  |             this.dv.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; | ||||||
|  |             this.dv.Size = new System.Drawing.Size(513, 327); | ||||||
|  |             this.dv.TabIndex = 1; | ||||||
|  |             this.dv.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dv_KeyDown); | ||||||
|  |             //  | ||||||
|  |             // dataGridViewTextBoxColumn1 | ||||||
|  |             //  | ||||||
|  |             this.dataGridViewTextBoxColumn1.DataPropertyName = "idx"; | ||||||
|  |             dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; | ||||||
|  |             dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); | ||||||
|  |             this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle1; | ||||||
|  |             this.dataGridViewTextBoxColumn1.HeaderText = "IDX"; | ||||||
|  |             this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1"; | ||||||
|  |             this.dataGridViewTextBoxColumn1.ReadOnly = true; | ||||||
|  |             this.dataGridViewTextBoxColumn1.Width = 66; | ||||||
|  |             //  | ||||||
|  |             // dataGridViewTextBoxColumn2 | ||||||
|  |             //  | ||||||
|  |             this.dataGridViewTextBoxColumn2.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; | ||||||
|  |             this.dataGridViewTextBoxColumn2.DataPropertyName = "name"; | ||||||
|  |             this.dataGridViewTextBoxColumn2.HeaderText = "Name"; | ||||||
|  |             this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2"; | ||||||
|  |             this.dataGridViewTextBoxColumn2.ReadOnly = true; | ||||||
|  |             //  | ||||||
|  |             // dataGridViewTextBoxColumn3 | ||||||
|  |             //  | ||||||
|  |             this.dataGridViewTextBoxColumn3.DataPropertyName = "sid"; | ||||||
|  |             this.dataGridViewTextBoxColumn3.HeaderText = "SID"; | ||||||
|  |             this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3"; | ||||||
|  |             this.dataGridViewTextBoxColumn3.ReadOnly = true; | ||||||
|  |             this.dataGridViewTextBoxColumn3.Width = 66; | ||||||
|  |             //  | ||||||
|  |             // panel1 | ||||||
|  |             //  | ||||||
|  |             this.panel1.Controls.Add(label1); | ||||||
|  |             this.panel1.Controls.Add(this.textBox1); | ||||||
|  |             this.panel1.Controls.Add(modelLabel); | ||||||
|  |             this.panel1.Controls.Add(this.modelTextBox); | ||||||
|  |             this.panel1.Controls.Add(manuLabel); | ||||||
|  |             this.panel1.Controls.Add(this.manuTextBox); | ||||||
|  |             this.panel1.Controls.Add(supplyLabel); | ||||||
|  |             this.panel1.Controls.Add(this.supplyTextBox); | ||||||
|  |             this.panel1.Controls.Add(memoLabel); | ||||||
|  |             this.panel1.Controls.Add(this.memoTextBox); | ||||||
|  |             this.panel1.Controls.Add(priceLabel); | ||||||
|  |             this.panel1.Controls.Add(this.priceTextBox); | ||||||
|  |             this.panel1.Dock = System.Windows.Forms.DockStyle.Right; | ||||||
|  |             this.panel1.Location = new System.Drawing.Point(513, 0); | ||||||
|  |             this.panel1.Name = "panel1"; | ||||||
|  |             this.panel1.Size = new System.Drawing.Size(321, 327); | ||||||
|  |             this.panel1.TabIndex = 2; | ||||||
|  |             //  | ||||||
|  |             // textBox1 | ||||||
|  |             //  | ||||||
|  |             this.textBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "cate", true)); | ||||||
|  |             this.textBox1.Location = new System.Drawing.Point(107, 285); | ||||||
|  |             this.textBox1.Name = "textBox1"; | ||||||
|  |             this.textBox1.ReadOnly = true; | ||||||
|  |             this.textBox1.Size = new System.Drawing.Size(200, 28); | ||||||
|  |             this.textBox1.TabIndex = 21; | ||||||
|  |             //  | ||||||
|  |             // modelTextBox | ||||||
|  |             //  | ||||||
|  |             this.modelTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "model", true)); | ||||||
|  |             this.modelTextBox.Location = new System.Drawing.Point(107, 12); | ||||||
|  |             this.modelTextBox.Name = "modelTextBox"; | ||||||
|  |             this.modelTextBox.ReadOnly = true; | ||||||
|  |             this.modelTextBox.Size = new System.Drawing.Size(200, 28); | ||||||
|  |             this.modelTextBox.TabIndex = 7; | ||||||
|  |             //  | ||||||
|  |             // manuTextBox | ||||||
|  |             //  | ||||||
|  |             this.manuTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "manu", true)); | ||||||
|  |             this.manuTextBox.Location = new System.Drawing.Point(107, 51); | ||||||
|  |             this.manuTextBox.Name = "manuTextBox"; | ||||||
|  |             this.manuTextBox.ReadOnly = true; | ||||||
|  |             this.manuTextBox.Size = new System.Drawing.Size(200, 28); | ||||||
|  |             this.manuTextBox.TabIndex = 9; | ||||||
|  |             //  | ||||||
|  |             // supplyTextBox | ||||||
|  |             //  | ||||||
|  |             this.supplyTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "supply", true)); | ||||||
|  |             this.supplyTextBox.Location = new System.Drawing.Point(107, 90); | ||||||
|  |             this.supplyTextBox.Name = "supplyTextBox"; | ||||||
|  |             this.supplyTextBox.ReadOnly = true; | ||||||
|  |             this.supplyTextBox.Size = new System.Drawing.Size(200, 28); | ||||||
|  |             this.supplyTextBox.TabIndex = 11; | ||||||
|  |             //  | ||||||
|  |             // memoTextBox | ||||||
|  |             //  | ||||||
|  |             this.memoTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "memo", true)); | ||||||
|  |             this.memoTextBox.Location = new System.Drawing.Point(107, 129); | ||||||
|  |             this.memoTextBox.Multiline = true; | ||||||
|  |             this.memoTextBox.Name = "memoTextBox"; | ||||||
|  |             this.memoTextBox.ReadOnly = true; | ||||||
|  |             this.memoTextBox.Size = new System.Drawing.Size(200, 111); | ||||||
|  |             this.memoTextBox.TabIndex = 13; | ||||||
|  |             //  | ||||||
|  |             // priceTextBox | ||||||
|  |             //  | ||||||
|  |             this.priceTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "price", true)); | ||||||
|  |             this.priceTextBox.Location = new System.Drawing.Point(107, 246); | ||||||
|  |             this.priceTextBox.Name = "priceTextBox"; | ||||||
|  |             this.priceTextBox.ReadOnly = true; | ||||||
|  |             this.priceTextBox.Size = new System.Drawing.Size(200, 28); | ||||||
|  |             this.priceTextBox.TabIndex = 19; | ||||||
|  |             //  | ||||||
|  |             // fLovItem | ||||||
|  |             //  | ||||||
|  |             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; | ||||||
|  |             this.ClientSize = new System.Drawing.Size(834, 352); | ||||||
|  |             this.Controls.Add(this.dv); | ||||||
|  |             this.Controls.Add(this.panel1); | ||||||
|  |             this.Controls.Add(this.bn); | ||||||
|  |             this.Font = new System.Drawing.Font("Tahoma", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | ||||||
|  |             this.Name = "fLovItem"; | ||||||
|  |             this.Text = "Select Item"; | ||||||
|  |             this.Load += new System.EventHandler(this.fLovItem_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.dv)).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.ItemsTableAdapter ta; | ||||||
|  |         private dsMSSQLTableAdapters.TableAdapterManager tam; | ||||||
|  |         private System.Windows.Forms.BindingNavigator bn; | ||||||
|  |         private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem; | ||||||
|  |         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 btOK; | ||||||
|  |         private System.Windows.Forms.DataGridView dv; | ||||||
|  |         private System.Windows.Forms.Panel panel1; | ||||||
|  |         private System.Windows.Forms.TextBox modelTextBox; | ||||||
|  |         private System.Windows.Forms.TextBox manuTextBox; | ||||||
|  |         private System.Windows.Forms.TextBox supplyTextBox; | ||||||
|  |         private System.Windows.Forms.TextBox memoTextBox; | ||||||
|  |         private System.Windows.Forms.TextBox priceTextBox; | ||||||
|  |         private System.Windows.Forms.TextBox textBox1; | ||||||
|  |         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1; | ||||||
|  |         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2; | ||||||
|  |         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3; | ||||||
|  |  | ||||||
|  |     } | ||||||
|  | } | ||||||
							
								
								
									
										67
									
								
								SubProject/FCM0000/fLovItem.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										67
									
								
								SubProject/FCM0000/fLovItem.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,67 @@ | |||||||
|  | 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 fLovItem : Form | ||||||
|  |     { | ||||||
|  |         string keyword = string.Empty; | ||||||
|  |         public fLovItem(string search_) | ||||||
|  |         { | ||||||
|  |             InitializeComponent(); | ||||||
|  |             this.keyword = search_; | ||||||
|  |             this.KeyPreview = true; | ||||||
|  |             this.KeyDown += (s1, e1) => { | ||||||
|  |                 if (e1.KeyCode == Keys.Escape) this.Close(); | ||||||
|  |             }; | ||||||
|  |              | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         private void fLovItem_Load(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             //search data | ||||||
|  |             this.ta.FillSearch(this.dsMSSQL.Items,this.keyword); | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         private void itemsBindingNavigatorSaveItem_Click(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             if (itemName.isEmpty() || Item == -1) DialogResult = System.Windows.Forms.DialogResult.Cancel; | ||||||
|  |             else DialogResult = System.Windows.Forms.DialogResult.OK; | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         public string itemName = string.Empty; | ||||||
|  |         public int Item = -1; | ||||||
|  |         private void bs_CurrentChanged(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |              | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         private void dv_KeyDown(object sender, KeyEventArgs e) | ||||||
|  |         { | ||||||
|  |             if (e.KeyCode == Keys.Enter) | ||||||
|  |             { | ||||||
|  |                 var drv = bs.Current as DataRowView; | ||||||
|  |                 if (drv == null) | ||||||
|  |                 { | ||||||
|  |                     itemName = string.Empty; | ||||||
|  |                     Item = -1; | ||||||
|  |                     return; | ||||||
|  |                 } | ||||||
|  |                 else | ||||||
|  |                 { | ||||||
|  |                     var dr = drv.Row as dsMSSQL.ItemsRow; | ||||||
|  |                     Item = dr.idx; | ||||||
|  |                     itemName = dr.name; | ||||||
|  |                 } | ||||||
|  |                 btOK.PerformClick(); | ||||||
|  |             } | ||||||
|  |                  | ||||||
|  |         } | ||||||
|  |     } | ||||||
|  | } | ||||||
							
								
								
									
										201
									
								
								SubProject/FCM0000/fLovItem.resx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										201
									
								
								SubProject/FCM0000/fLovItem.resx
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,201 @@ | |||||||
|  | <?xml version="1.0" encoding="utf-8"?> | ||||||
|  | <root> | ||||||
|  |   <!--  | ||||||
|  |     Microsoft ResX Schema  | ||||||
|  |      | ||||||
|  |     Version 2.0 | ||||||
|  |      | ||||||
|  |     The primary goals of this format is to allow a simple XML format  | ||||||
|  |     that is mostly human readable. The generation and parsing of the  | ||||||
|  |     various data types are done through the TypeConverter classes  | ||||||
|  |     associated with the data types. | ||||||
|  |      | ||||||
|  |     Example: | ||||||
|  |      | ||||||
|  |     ... ado.net/XML headers & schema ... | ||||||
|  |     <resheader name="resmimetype">text/microsoft-resx</resheader> | ||||||
|  |     <resheader name="version">2.0</resheader> | ||||||
|  |     <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> | ||||||
|  |     <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> | ||||||
|  |     <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> | ||||||
|  |     <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> | ||||||
|  |     <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> | ||||||
|  |         <value>[base64 mime encoded serialized .NET Framework object]</value> | ||||||
|  |     </data> | ||||||
|  |     <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|  |         <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> | ||||||
|  |         <comment>This is a comment</comment> | ||||||
|  |     </data> | ||||||
|  |                  | ||||||
|  |     There are any number of "resheader" rows that contain simple  | ||||||
|  |     name/value pairs. | ||||||
|  |      | ||||||
|  |     Each data row contains a name, and value. The row also contains a  | ||||||
|  |     type or mimetype. Type corresponds to a .NET class that support  | ||||||
|  |     text/value conversion through the TypeConverter architecture.  | ||||||
|  |     Classes that don't support this are serialized and stored with the  | ||||||
|  |     mimetype set. | ||||||
|  |      | ||||||
|  |     The mimetype is used for serialized objects, and tells the  | ||||||
|  |     ResXResourceReader how to depersist the object. This is currently not  | ||||||
|  |     extensible. For a given mimetype the value must be set accordingly: | ||||||
|  |      | ||||||
|  |     Note - application/x-microsoft.net.object.binary.base64 is the format  | ||||||
|  |     that the ResXResourceWriter will generate, however the reader can  | ||||||
|  |     read any of the formats listed below. | ||||||
|  |      | ||||||
|  |     mimetype: application/x-microsoft.net.object.binary.base64 | ||||||
|  |     value   : The object must be serialized with  | ||||||
|  |             : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter | ||||||
|  |             : and then encoded with base64 encoding. | ||||||
|  |      | ||||||
|  |     mimetype: application/x-microsoft.net.object.soap.base64 | ||||||
|  |     value   : The object must be serialized with  | ||||||
|  |             : System.Runtime.Serialization.Formatters.Soap.SoapFormatter | ||||||
|  |             : and then encoded with base64 encoding. | ||||||
|  |  | ||||||
|  |     mimetype: application/x-microsoft.net.object.bytearray.base64 | ||||||
|  |     value   : The object must be serialized into a byte array  | ||||||
|  |             : using a System.ComponentModel.TypeConverter | ||||||
|  |             : and then encoded with base64 encoding. | ||||||
|  |     --> | ||||||
|  |   <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | ||||||
|  |     <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> | ||||||
|  |     <xsd:element name="root" msdata:IsDataSet="true"> | ||||||
|  |       <xsd:complexType> | ||||||
|  |         <xsd:choice maxOccurs="unbounded"> | ||||||
|  |           <xsd:element name="metadata"> | ||||||
|  |             <xsd:complexType> | ||||||
|  |               <xsd:sequence> | ||||||
|  |                 <xsd:element name="value" type="xsd:string" minOccurs="0" /> | ||||||
|  |               </xsd:sequence> | ||||||
|  |               <xsd:attribute name="name" use="required" type="xsd:string" /> | ||||||
|  |               <xsd:attribute name="type" type="xsd:string" /> | ||||||
|  |               <xsd:attribute name="mimetype" type="xsd:string" /> | ||||||
|  |               <xsd:attribute ref="xml:space" /> | ||||||
|  |             </xsd:complexType> | ||||||
|  |           </xsd:element> | ||||||
|  |           <xsd:element name="assembly"> | ||||||
|  |             <xsd:complexType> | ||||||
|  |               <xsd:attribute name="alias" type="xsd:string" /> | ||||||
|  |               <xsd:attribute name="name" type="xsd:string" /> | ||||||
|  |             </xsd:complexType> | ||||||
|  |           </xsd:element> | ||||||
|  |           <xsd:element name="data"> | ||||||
|  |             <xsd:complexType> | ||||||
|  |               <xsd:sequence> | ||||||
|  |                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||||
|  |                 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> | ||||||
|  |               </xsd:sequence> | ||||||
|  |               <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> | ||||||
|  |               <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> | ||||||
|  |               <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> | ||||||
|  |               <xsd:attribute ref="xml:space" /> | ||||||
|  |             </xsd:complexType> | ||||||
|  |           </xsd:element> | ||||||
|  |           <xsd:element name="resheader"> | ||||||
|  |             <xsd:complexType> | ||||||
|  |               <xsd:sequence> | ||||||
|  |                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||||
|  |               </xsd:sequence> | ||||||
|  |               <xsd:attribute name="name" type="xsd:string" use="required" /> | ||||||
|  |             </xsd:complexType> | ||||||
|  |           </xsd:element> | ||||||
|  |         </xsd:choice> | ||||||
|  |       </xsd:complexType> | ||||||
|  |     </xsd:element> | ||||||
|  |   </xsd:schema> | ||||||
|  |   <resheader name="resmimetype"> | ||||||
|  |     <value>text/microsoft-resx</value> | ||||||
|  |   </resheader> | ||||||
|  |   <resheader name="version"> | ||||||
|  |     <value>2.0</value> | ||||||
|  |   </resheader> | ||||||
|  |   <resheader name="reader"> | ||||||
|  |     <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||||
|  |   </resheader> | ||||||
|  |   <resheader name="writer"> | ||||||
|  |     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||||
|  |   </resheader> | ||||||
|  |   <metadata name="modelLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||||
|  |     <value>False</value> | ||||||
|  |   </metadata> | ||||||
|  |   <metadata name="manuLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||||
|  |     <value>False</value> | ||||||
|  |   </metadata> | ||||||
|  |   <metadata name="supplyLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||||
|  |     <value>False</value> | ||||||
|  |   </metadata> | ||||||
|  |   <metadata name="memoLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||||
|  |     <value>False</value> | ||||||
|  |   </metadata> | ||||||
|  |   <metadata name="priceLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||||
|  |     <value>False</value> | ||||||
|  |   </metadata> | ||||||
|  |   <metadata name="label1.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||||
|  |     <value>False</value> | ||||||
|  |   </metadata> | ||||||
|  |   <metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
|  |     <value>216, 17</value> | ||||||
|  |   </metadata> | ||||||
|  |   <metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
|  |     <value>17, 17</value> | ||||||
|  |   </metadata> | ||||||
|  |   <metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
|  |     <value>81, 17</value> | ||||||
|  |   </metadata> | ||||||
|  |   <metadata name="tam.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
|  |     <value>143, 17</value> | ||||||
|  |   </metadata> | ||||||
|  |   <metadata name="bn.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
|  |     <value>321, 17</value> | ||||||
|  |   </metadata> | ||||||
|  |   <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||||||
|  |   <data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|  |     <value> | ||||||
|  |         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||||
|  |         wwAADsMBx2+oZAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77 | ||||||
|  |         wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0 | ||||||
|  |         v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg | ||||||
|  |         UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA | ||||||
|  |         Iu/O/9T+11gVGSSd+C+b9vW/bvA83AYYZt3+H9byEqci/dTL/zV8p+E2QCftxn+/6od4Fal4TMBtgFPu | ||||||
|  |         lf8gBXgVDULAwAAA8HbAq6XlmnAAAAAASUVORK5CYII= | ||||||
|  | </value> | ||||||
|  |   </data> | ||||||
|  |   <data name="bindingNavigatorMovePreviousItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|  |     <value> | ||||||
|  |         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||||
|  |         wwAADsMBx2+oZAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w | ||||||
|  |         5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f | ||||||
|  |         Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+ | ||||||
|  |         08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC | ||||||
|  | </value> | ||||||
|  |   </data> | ||||||
|  |   <data name="bindingNavigatorMoveNextItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|  |     <value> | ||||||
|  |         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||||
|  |         wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78 | ||||||
|  |         n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI | ||||||
|  |         N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f | ||||||
|  |         oAc0QjgAAAAASUVORK5CYII= | ||||||
|  | </value> | ||||||
|  |   </data> | ||||||
|  |   <data name="bindingNavigatorMoveLastItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|  |     <value> | ||||||
|  |         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||||
|  |         wwAADsMBx2+oZAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+// | ||||||
|  |         h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B | ||||||
|  |         twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA | ||||||
|  |         kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG | ||||||
|  |         WOTd+W9TcAVDMwiA5FL7X8O9hBUYZt3GqhkEQHJhLS//6wbPw22ATtoNnJIgOb/qh/81fKfhNgAfcMq9 | ||||||
|  |         8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg== | ||||||
|  | </value> | ||||||
|  |   </data> | ||||||
|  |   <data name="btOK.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|  |     <value> | ||||||
|  |         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||||
|  |         wwAADsMBx2+oZAAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo | ||||||
|  |         dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII= | ||||||
|  | </value> | ||||||
|  |   </data> | ||||||
|  | </root> | ||||||
							
								
								
									
										465
									
								
								SubProject/FCM0000/fLovProject.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										465
									
								
								SubProject/FCM0000/fLovProject.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,465 @@ | |||||||
|  | namespace FCM0000 | ||||||
|  | { | ||||||
|  |     partial class fLovProject | ||||||
|  |     { | ||||||
|  |         /// <summary> | ||||||
|  |         /// Required designer variable. | ||||||
|  |         /// </summary> | ||||||
|  |         private System.ComponentModel.IContainer components = null; | ||||||
|  |  | ||||||
|  |         /// <summary> | ||||||
|  |         /// Clean up any resources being used. | ||||||
|  |         /// </summary> | ||||||
|  |         /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> | ||||||
|  |         protected override void Dispose(bool disposing) | ||||||
|  |         { | ||||||
|  |             if (disposing && (components != null)) | ||||||
|  |             { | ||||||
|  |                 components.Dispose(); | ||||||
|  |             } | ||||||
|  |             base.Dispose(disposing); | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         #region Windows Form Designer generated code | ||||||
|  |  | ||||||
|  |         /// <summary> | ||||||
|  |         /// Required method for Designer support - do not modify | ||||||
|  |         /// the contents of this method with the code editor. | ||||||
|  |         /// </summary> | ||||||
|  |         private void InitializeComponent() | ||||||
|  |         { | ||||||
|  |             this.components = new System.ComponentModel.Container(); | ||||||
|  |             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fLovProject)); | ||||||
|  |             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); | ||||||
|  |             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); | ||||||
|  |             System.Windows.Forms.Label pdateLabel; | ||||||
|  |             System.Windows.Forms.Label requestLabel; | ||||||
|  |             System.Windows.Forms.Label reqstaffLabel; | ||||||
|  |             System.Windows.Forms.Label sdateLabel; | ||||||
|  |             System.Windows.Forms.Label edateLabel; | ||||||
|  |             System.Windows.Forms.Label odateLabel; | ||||||
|  |             System.Windows.Forms.Label memoLabel; | ||||||
|  |             this.dsMSSQL = new FCM0000.dsMSSQL(); | ||||||
|  |             this.bs = new System.Windows.Forms.BindingSource(this.components); | ||||||
|  |             this.bn = new System.Windows.Forms.BindingNavigator(this.components); | ||||||
|  |             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.btOK = new System.Windows.Forms.ToolStripButton(); | ||||||
|  |             this.dv = new System.Windows.Forms.DataGridView(); | ||||||
|  |             this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|  |             this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|  |             this.panel1 = new System.Windows.Forms.Panel(); | ||||||
|  |             this.ta = new FCM0000.dsMSSQLTableAdapters.ProjectsTableAdapter(); | ||||||
|  |             this.tableAdapterManager = new FCM0000.dsMSSQLTableAdapters.TableAdapterManager(); | ||||||
|  |             this.pdateTextBox = new System.Windows.Forms.TextBox(); | ||||||
|  |             this.requestTextBox = new System.Windows.Forms.TextBox(); | ||||||
|  |             this.reqstaffTextBox = new System.Windows.Forms.TextBox(); | ||||||
|  |             this.sdateTextBox = new System.Windows.Forms.TextBox(); | ||||||
|  |             this.edateTextBox = new System.Windows.Forms.TextBox(); | ||||||
|  |             this.odateTextBox = new System.Windows.Forms.TextBox(); | ||||||
|  |             this.memoTextBox = new System.Windows.Forms.TextBox(); | ||||||
|  |             pdateLabel = new System.Windows.Forms.Label(); | ||||||
|  |             requestLabel = new System.Windows.Forms.Label(); | ||||||
|  |             reqstaffLabel = new System.Windows.Forms.Label(); | ||||||
|  |             sdateLabel = new System.Windows.Forms.Label(); | ||||||
|  |             edateLabel = new System.Windows.Forms.Label(); | ||||||
|  |             odateLabel = new System.Windows.Forms.Label(); | ||||||
|  |             memoLabel = new System.Windows.Forms.Label(); | ||||||
|  |             ((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.dv)).BeginInit(); | ||||||
|  |             this.panel1.SuspendLayout(); | ||||||
|  |             this.SuspendLayout(); | ||||||
|  |             //  | ||||||
|  |             // dsMSSQL | ||||||
|  |             //  | ||||||
|  |             this.dsMSSQL.DataSetName = "dsMSSQL"; | ||||||
|  |             this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; | ||||||
|  |             //  | ||||||
|  |             // bs | ||||||
|  |             //  | ||||||
|  |             this.bs.DataMember = "Projects"; | ||||||
|  |             this.bs.DataSource = this.dsMSSQL; | ||||||
|  |             this.bs.CurrentChanged += new System.EventHandler(this.bs_CurrentChanged); | ||||||
|  |             //  | ||||||
|  |             // bn | ||||||
|  |             //  | ||||||
|  |             this.bn.AddNewItem = null; | ||||||
|  |             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.btOK}); | ||||||
|  |             this.bn.Location = new System.Drawing.Point(0, 408); | ||||||
|  |             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(771, 25); | ||||||
|  |             this.bn.TabIndex = 0; | ||||||
|  |             this.bn.Text = "bindingNavigator1"; | ||||||
|  |             //  | ||||||
|  |             // 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); | ||||||
|  |             //  | ||||||
|  |             // btOK | ||||||
|  |             //  | ||||||
|  |             this.btOK.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; | ||||||
|  |             this.btOK.Image = ((System.Drawing.Image)(resources.GetObject("btOK.Image"))); | ||||||
|  |             this.btOK.Name = "btOK"; | ||||||
|  |             this.btOK.Size = new System.Drawing.Size(76, 22); | ||||||
|  |             this.btOK.Text = "Select(&O)"; | ||||||
|  |             this.btOK.Click += new System.EventHandler(this.itemsBindingNavigatorSaveItem_Click); | ||||||
|  |             //  | ||||||
|  |             // dv | ||||||
|  |             //  | ||||||
|  |             this.dv.AllowUserToAddRows = false; | ||||||
|  |             this.dv.AllowUserToDeleteRows = false; | ||||||
|  |             this.dv.AutoGenerateColumns = false; | ||||||
|  |             this.dv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells; | ||||||
|  |             this.dv.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells; | ||||||
|  |             this.dv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; | ||||||
|  |             this.dv.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { | ||||||
|  |             this.dataGridViewTextBoxColumn1, | ||||||
|  |             this.dataGridViewTextBoxColumn2}); | ||||||
|  |             this.dv.DataSource = this.bs; | ||||||
|  |             dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; | ||||||
|  |             dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window; | ||||||
|  |             dataGridViewCellStyle2.Font = new System.Drawing.Font("Tahoma", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | ||||||
|  |             dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText; | ||||||
|  |             dataGridViewCellStyle2.Padding = new System.Windows.Forms.Padding(1, 3, 1, 3); | ||||||
|  |             dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; | ||||||
|  |             dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; | ||||||
|  |             dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False; | ||||||
|  |             this.dv.DefaultCellStyle = dataGridViewCellStyle2; | ||||||
|  |             this.dv.Dock = System.Windows.Forms.DockStyle.Fill; | ||||||
|  |             this.dv.Location = new System.Drawing.Point(0, 0); | ||||||
|  |             this.dv.Name = "dv"; | ||||||
|  |             this.dv.ReadOnly = true; | ||||||
|  |             this.dv.RowHeadersVisible = false; | ||||||
|  |             this.dv.RowTemplate.Height = 23; | ||||||
|  |             this.dv.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; | ||||||
|  |             this.dv.Size = new System.Drawing.Size(450, 408); | ||||||
|  |             this.dv.TabIndex = 1; | ||||||
|  |             this.dv.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dv_KeyDown); | ||||||
|  |             //  | ||||||
|  |             // dataGridViewTextBoxColumn1 | ||||||
|  |             //  | ||||||
|  |             this.dataGridViewTextBoxColumn1.DataPropertyName = "idx"; | ||||||
|  |             dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; | ||||||
|  |             dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); | ||||||
|  |             this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle1; | ||||||
|  |             this.dataGridViewTextBoxColumn1.HeaderText = "IDX"; | ||||||
|  |             this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1"; | ||||||
|  |             this.dataGridViewTextBoxColumn1.ReadOnly = true; | ||||||
|  |             this.dataGridViewTextBoxColumn1.Width = 66; | ||||||
|  |             //  | ||||||
|  |             // dataGridViewTextBoxColumn2 | ||||||
|  |             //  | ||||||
|  |             this.dataGridViewTextBoxColumn2.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; | ||||||
|  |             this.dataGridViewTextBoxColumn2.DataPropertyName = "name"; | ||||||
|  |             this.dataGridViewTextBoxColumn2.HeaderText = "Name"; | ||||||
|  |             this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2"; | ||||||
|  |             this.dataGridViewTextBoxColumn2.ReadOnly = true; | ||||||
|  |             //  | ||||||
|  |             // panel1 | ||||||
|  |             //  | ||||||
|  |             this.panel1.Controls.Add(pdateLabel); | ||||||
|  |             this.panel1.Controls.Add(this.pdateTextBox); | ||||||
|  |             this.panel1.Controls.Add(requestLabel); | ||||||
|  |             this.panel1.Controls.Add(this.requestTextBox); | ||||||
|  |             this.panel1.Controls.Add(reqstaffLabel); | ||||||
|  |             this.panel1.Controls.Add(this.reqstaffTextBox); | ||||||
|  |             this.panel1.Controls.Add(sdateLabel); | ||||||
|  |             this.panel1.Controls.Add(this.sdateTextBox); | ||||||
|  |             this.panel1.Controls.Add(edateLabel); | ||||||
|  |             this.panel1.Controls.Add(this.edateTextBox); | ||||||
|  |             this.panel1.Controls.Add(odateLabel); | ||||||
|  |             this.panel1.Controls.Add(this.odateTextBox); | ||||||
|  |             this.panel1.Controls.Add(memoLabel); | ||||||
|  |             this.panel1.Controls.Add(this.memoTextBox); | ||||||
|  |             this.panel1.Dock = System.Windows.Forms.DockStyle.Right; | ||||||
|  |             this.panel1.Location = new System.Drawing.Point(450, 0); | ||||||
|  |             this.panel1.Name = "panel1"; | ||||||
|  |             this.panel1.Size = new System.Drawing.Size(321, 408); | ||||||
|  |             this.panel1.TabIndex = 2; | ||||||
|  |             //  | ||||||
|  |             // ta | ||||||
|  |             //  | ||||||
|  |             this.ta.ClearBeforeFill = true; | ||||||
|  |             //  | ||||||
|  |             // tableAdapterManager | ||||||
|  |             //  | ||||||
|  |             this.tableAdapterManager.BackupDataSetBeforeUpdate = false; | ||||||
|  |             this.tableAdapterManager.InventoryTableAdapter = null; | ||||||
|  |             this.tableAdapterManager.ItemsTableAdapter = null; | ||||||
|  |             this.tableAdapterManager.ProjectsTableAdapter = this.ta; | ||||||
|  |             this.tableAdapterManager.UpdateOrder = FCM0000.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; | ||||||
|  |             //  | ||||||
|  |             // pdateLabel | ||||||
|  |             //  | ||||||
|  |             pdateLabel.AutoSize = true; | ||||||
|  |             pdateLabel.Location = new System.Drawing.Point(27, 15); | ||||||
|  |             pdateLabel.Name = "pdateLabel"; | ||||||
|  |             pdateLabel.Size = new System.Drawing.Size(60, 22); | ||||||
|  |             pdateLabel.TabIndex = 4; | ||||||
|  |             pdateLabel.Text = "pdate:"; | ||||||
|  |             //  | ||||||
|  |             // pdateTextBox | ||||||
|  |             //  | ||||||
|  |             this.pdateTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "pdate", true)); | ||||||
|  |             this.pdateTextBox.Location = new System.Drawing.Point(109, 12); | ||||||
|  |             this.pdateTextBox.Name = "pdateTextBox"; | ||||||
|  |             this.pdateTextBox.ReadOnly = true; | ||||||
|  |             this.pdateTextBox.Size = new System.Drawing.Size(200, 28); | ||||||
|  |             this.pdateTextBox.TabIndex = 5; | ||||||
|  |             //  | ||||||
|  |             // requestLabel | ||||||
|  |             //  | ||||||
|  |             requestLabel.AutoSize = true; | ||||||
|  |             requestLabel.Location = new System.Drawing.Point(27, 49); | ||||||
|  |             requestLabel.Name = "requestLabel"; | ||||||
|  |             requestLabel.Size = new System.Drawing.Size(74, 22); | ||||||
|  |             requestLabel.TabIndex = 6; | ||||||
|  |             requestLabel.Text = "request:"; | ||||||
|  |             //  | ||||||
|  |             // requestTextBox | ||||||
|  |             //  | ||||||
|  |             this.requestTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "request", true)); | ||||||
|  |             this.requestTextBox.Location = new System.Drawing.Point(109, 46); | ||||||
|  |             this.requestTextBox.Name = "requestTextBox"; | ||||||
|  |             this.requestTextBox.ReadOnly = true; | ||||||
|  |             this.requestTextBox.Size = new System.Drawing.Size(200, 28); | ||||||
|  |             this.requestTextBox.TabIndex = 7; | ||||||
|  |             //  | ||||||
|  |             // reqstaffLabel | ||||||
|  |             //  | ||||||
|  |             reqstaffLabel.AutoSize = true; | ||||||
|  |             reqstaffLabel.Location = new System.Drawing.Point(27, 83); | ||||||
|  |             reqstaffLabel.Name = "reqstaffLabel"; | ||||||
|  |             reqstaffLabel.Size = new System.Drawing.Size(76, 22); | ||||||
|  |             reqstaffLabel.TabIndex = 8; | ||||||
|  |             reqstaffLabel.Text = "reqstaff:"; | ||||||
|  |             //  | ||||||
|  |             // reqstaffTextBox | ||||||
|  |             //  | ||||||
|  |             this.reqstaffTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "reqstaff", true)); | ||||||
|  |             this.reqstaffTextBox.Location = new System.Drawing.Point(109, 80); | ||||||
|  |             this.reqstaffTextBox.Name = "reqstaffTextBox"; | ||||||
|  |             this.reqstaffTextBox.ReadOnly = true; | ||||||
|  |             this.reqstaffTextBox.Size = new System.Drawing.Size(200, 28); | ||||||
|  |             this.reqstaffTextBox.TabIndex = 9; | ||||||
|  |             //  | ||||||
|  |             // sdateLabel | ||||||
|  |             //  | ||||||
|  |             sdateLabel.AutoSize = true; | ||||||
|  |             sdateLabel.Location = new System.Drawing.Point(27, 117); | ||||||
|  |             sdateLabel.Name = "sdateLabel"; | ||||||
|  |             sdateLabel.Size = new System.Drawing.Size(58, 22); | ||||||
|  |             sdateLabel.TabIndex = 10; | ||||||
|  |             sdateLabel.Text = "sdate:"; | ||||||
|  |             //  | ||||||
|  |             // sdateTextBox | ||||||
|  |             //  | ||||||
|  |             this.sdateTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "sdate", true)); | ||||||
|  |             this.sdateTextBox.Location = new System.Drawing.Point(109, 114); | ||||||
|  |             this.sdateTextBox.Name = "sdateTextBox"; | ||||||
|  |             this.sdateTextBox.ReadOnly = true; | ||||||
|  |             this.sdateTextBox.Size = new System.Drawing.Size(200, 28); | ||||||
|  |             this.sdateTextBox.TabIndex = 11; | ||||||
|  |             //  | ||||||
|  |             // edateLabel | ||||||
|  |             //  | ||||||
|  |             edateLabel.AutoSize = true; | ||||||
|  |             edateLabel.Location = new System.Drawing.Point(27, 151); | ||||||
|  |             edateLabel.Name = "edateLabel"; | ||||||
|  |             edateLabel.Size = new System.Drawing.Size(59, 22); | ||||||
|  |             edateLabel.TabIndex = 12; | ||||||
|  |             edateLabel.Text = "edate:"; | ||||||
|  |             //  | ||||||
|  |             // edateTextBox | ||||||
|  |             //  | ||||||
|  |             this.edateTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "edate", true)); | ||||||
|  |             this.edateTextBox.Location = new System.Drawing.Point(109, 148); | ||||||
|  |             this.edateTextBox.Name = "edateTextBox"; | ||||||
|  |             this.edateTextBox.ReadOnly = true; | ||||||
|  |             this.edateTextBox.Size = new System.Drawing.Size(200, 28); | ||||||
|  |             this.edateTextBox.TabIndex = 13; | ||||||
|  |             //  | ||||||
|  |             // odateLabel | ||||||
|  |             //  | ||||||
|  |             odateLabel.AutoSize = true; | ||||||
|  |             odateLabel.Location = new System.Drawing.Point(27, 185); | ||||||
|  |             odateLabel.Name = "odateLabel"; | ||||||
|  |             odateLabel.Size = new System.Drawing.Size(60, 22); | ||||||
|  |             odateLabel.TabIndex = 14; | ||||||
|  |             odateLabel.Text = "odate:"; | ||||||
|  |             //  | ||||||
|  |             // odateTextBox | ||||||
|  |             //  | ||||||
|  |             this.odateTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "odate", true)); | ||||||
|  |             this.odateTextBox.Location = new System.Drawing.Point(109, 182); | ||||||
|  |             this.odateTextBox.Name = "odateTextBox"; | ||||||
|  |             this.odateTextBox.ReadOnly = true; | ||||||
|  |             this.odateTextBox.Size = new System.Drawing.Size(200, 28); | ||||||
|  |             this.odateTextBox.TabIndex = 15; | ||||||
|  |             //  | ||||||
|  |             // memoLabel | ||||||
|  |             //  | ||||||
|  |             memoLabel.AutoSize = true; | ||||||
|  |             memoLabel.Location = new System.Drawing.Point(27, 219); | ||||||
|  |             memoLabel.Name = "memoLabel"; | ||||||
|  |             memoLabel.Size = new System.Drawing.Size(65, 22); | ||||||
|  |             memoLabel.TabIndex = 16; | ||||||
|  |             memoLabel.Text = "memo:"; | ||||||
|  |             //  | ||||||
|  |             // memoTextBox | ||||||
|  |             //  | ||||||
|  |             this.memoTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "memo", true)); | ||||||
|  |             this.memoTextBox.Location = new System.Drawing.Point(109, 216); | ||||||
|  |             this.memoTextBox.Multiline = true; | ||||||
|  |             this.memoTextBox.Name = "memoTextBox"; | ||||||
|  |             this.memoTextBox.ReadOnly = true; | ||||||
|  |             this.memoTextBox.Size = new System.Drawing.Size(200, 176); | ||||||
|  |             this.memoTextBox.TabIndex = 17; | ||||||
|  |             //  | ||||||
|  |             // fLovProject | ||||||
|  |             //  | ||||||
|  |             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; | ||||||
|  |             this.ClientSize = new System.Drawing.Size(771, 433); | ||||||
|  |             this.Controls.Add(this.dv); | ||||||
|  |             this.Controls.Add(this.panel1); | ||||||
|  |             this.Controls.Add(this.bn); | ||||||
|  |             this.Font = new System.Drawing.Font("Tahoma", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | ||||||
|  |             this.Name = "fLovProject"; | ||||||
|  |             this.Text = "Select Project"; | ||||||
|  |             this.Load += new System.EventHandler(this.fLovItem_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.dv)).EndInit(); | ||||||
|  |             this.panel1.ResumeLayout(false); | ||||||
|  |             this.panel1.PerformLayout(); | ||||||
|  |             this.ResumeLayout(false); | ||||||
|  |             this.PerformLayout(); | ||||||
|  |  | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         #endregion | ||||||
|  |  | ||||||
|  |         private dsMSSQL dsMSSQL; | ||||||
|  |         private System.Windows.Forms.BindingSource bs; | ||||||
|  |         private System.Windows.Forms.BindingNavigator bn; | ||||||
|  |         private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem; | ||||||
|  |         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 btOK; | ||||||
|  |         private System.Windows.Forms.DataGridView dv; | ||||||
|  |         private System.Windows.Forms.Panel panel1; | ||||||
|  |         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1; | ||||||
|  |         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2; | ||||||
|  |         private dsMSSQLTableAdapters.ProjectsTableAdapter ta; | ||||||
|  |         private System.Windows.Forms.TextBox pdateTextBox; | ||||||
|  |         private System.Windows.Forms.TextBox requestTextBox; | ||||||
|  |         private System.Windows.Forms.TextBox reqstaffTextBox; | ||||||
|  |         private System.Windows.Forms.TextBox sdateTextBox; | ||||||
|  |         private System.Windows.Forms.TextBox edateTextBox; | ||||||
|  |         private System.Windows.Forms.TextBox odateTextBox; | ||||||
|  |         private System.Windows.Forms.TextBox memoTextBox; | ||||||
|  |         private dsMSSQLTableAdapters.TableAdapterManager tableAdapterManager; | ||||||
|  |  | ||||||
|  |     } | ||||||
|  | } | ||||||
							
								
								
									
										67
									
								
								SubProject/FCM0000/fLovProject.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										67
									
								
								SubProject/FCM0000/fLovProject.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,67 @@ | |||||||
|  | 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 fLovProject : Form | ||||||
|  |     { | ||||||
|  |         string keyword = string.Empty; | ||||||
|  |         public fLovProject(string search_) | ||||||
|  |         { | ||||||
|  |             InitializeComponent(); | ||||||
|  |             this.keyword = search_; | ||||||
|  |             this.KeyPreview = true; | ||||||
|  |             this.KeyDown += (s1, e1) => { | ||||||
|  |                 if (e1.KeyCode == Keys.Escape) this.Close(); | ||||||
|  |             }; | ||||||
|  |              | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         private void fLovItem_Load(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             //search data | ||||||
|  |             this.ta.FillSearch(this.dsMSSQL.Projects,this.keyword); | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         private void itemsBindingNavigatorSaveItem_Click(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             if (ProjectName.isEmpty() || Project == -1) DialogResult = System.Windows.Forms.DialogResult.Cancel; | ||||||
|  |             else DialogResult = System.Windows.Forms.DialogResult.OK; | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         public string ProjectName = string.Empty; | ||||||
|  |         public int Project = -1; | ||||||
|  |         private void bs_CurrentChanged(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |              | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         private void dv_KeyDown(object sender, KeyEventArgs e) | ||||||
|  |         { | ||||||
|  |             if (e.KeyCode == Keys.Enter) | ||||||
|  |             { | ||||||
|  |                 var drv = bs.Current as DataRowView; | ||||||
|  |                 if (drv == null) | ||||||
|  |                 { | ||||||
|  |                     ProjectName = string.Empty; | ||||||
|  |                     Project = -1; | ||||||
|  |                     return; | ||||||
|  |                 } | ||||||
|  |                 else | ||||||
|  |                 { | ||||||
|  |                     var dr = drv.Row as dsMSSQL.ProjectsRow; | ||||||
|  |                     Project = dr.idx; | ||||||
|  |                     ProjectName = dr.name; | ||||||
|  |                 } | ||||||
|  |                 btOK.PerformClick(); | ||||||
|  |             } | ||||||
|  |                  | ||||||
|  |         } | ||||||
|  |     } | ||||||
|  | } | ||||||
| @@ -118,45 +118,15 @@ | |||||||
|     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||||
|   </resheader> |   </resheader> | ||||||
|   <metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |   <metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
|  |     <value>81, 17</value> | ||||||
|  |   </metadata> | ||||||
|  |   <metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
|     <value>17, 17</value> |     <value>17, 17</value> | ||||||
|   </metadata> |   </metadata> | ||||||
|   <metadata name="inventoryBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |   <metadata name="bn.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
|     <value>122, 17</value> |     <value>186, 17</value> | ||||||
|   </metadata> |  | ||||||
|   <metadata name="inventoryTableAdapter.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |  | ||||||
|     <value>306, 17</value> |  | ||||||
|   </metadata> |  | ||||||
|   <metadata name="tableAdapterManager.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |  | ||||||
|     <value>484, 17</value> |  | ||||||
|   </metadata> |  | ||||||
|   <metadata name="inventoryBindingNavigator.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |  | ||||||
|     <value>658, 17</value> |  | ||||||
|   </metadata> |   </metadata> | ||||||
|   <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> |   <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||||||
|   <data name="bindingNavigatorAddNewItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |  | ||||||
|     <value> |  | ||||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO |  | ||||||
|         wwAADsMBx2+oZAAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC |  | ||||||
|         pBtwfjov3ICDPSKkG3B8kiBQc93/Pw+q/u9oFydswKWZPP/PTuX7fxKo8Ui/0P993SJAzeX//94r+r++ |  | ||||||
|         Qeb/qhq5/0srFf/PL1X+P6tIFdPAU0B//nlYD9RUC8SV///cKwHivP9/72b+/3sn+f/f23H//92MAOKQ |  | ||||||
|         /5NyNDENONQrDHbu3/ulQI0FQI3ZQI2pQI0J///digZqDPv/70bQ/3/X/f53peliGrCzXeL/lmap/+vA |  | ||||||
|         zpX/v6RC8f/fWzFAjeH/p+Zp/J+QpfW/O0P3f3uq/v/mREPCYTIb6E+Qc//dCPjfk6FDWAM6APnz3w1/ |  | ||||||
|         IPb735qsT7oB3em6YP+CcH2cEekGtCQZ/G+IN/xfE2v8vzLahHQD6AQYGAAkI9iedfyIaQAAAABJRU5E |  | ||||||
|         rkJggg== |  | ||||||
| </value> |  | ||||||
|   </data> |  | ||||||
|   <data name="bindingNavigatorDeleteItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |  | ||||||
|     <value> |  | ||||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO |  | ||||||
|         wwAADsMBx2+oZAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC |  | ||||||
|         DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC |  | ||||||
|         rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV |  | ||||||
|         i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG |  | ||||||
|         86CNhdrsX9a/uQZTPhQl4rMY4OLofbl3aX7I8uwPC7y/g1YdjyVJuEvT8e1tfwUYteHUxCCfHChDeHmG |  | ||||||
|         QQvokjlOU+PbWA0x3pZnILVVI3uvQyHsbiLnqnGmRCF1NYD8pDhpRxOH7HQoAKZGkFKjceszQbpSrumX |  | ||||||
|         bO+G80MFwKUTxgfgcO/b8D9IpXoFiiMDHIQm0skAAAAASUVORK5CYII= |  | ||||||
| </value> |  | ||||||
|   </data> |  | ||||||
|   <data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |   <data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|     <value> |     <value> | ||||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO |         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||||
| @@ -197,20 +167,41 @@ | |||||||
|         8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg== |         8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg== | ||||||
| </value> | </value> | ||||||
|   </data> |   </data> | ||||||
|   <data name="inventoryBindingNavigatorSaveItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |   <data name="btOK.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|     <value> |     <value> | ||||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO |         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||||
|         wwAADsMBx2+oZAAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo |         wwAADsMBx2+oZAAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo | ||||||
|         dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII= |         dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII= | ||||||
| </value> | </value> | ||||||
|   </data> |   </data> | ||||||
|   <metadata name="project.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |   <metadata name="pdateLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||||
|     <value>True</value> |     <value>False</value> | ||||||
|   </metadata> |   </metadata> | ||||||
|   <metadata name="_projectname.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |   <metadata name="requestLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||||
|     <value>True</value> |     <value>False</value> | ||||||
|   </metadata> |   </metadata> | ||||||
|   <metadata name="dvc_itemName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |   <metadata name="reqstaffLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||||
|     <value>True</value> |     <value>False</value> | ||||||
|  |   </metadata> | ||||||
|  |   <metadata name="sdateLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||||
|  |     <value>False</value> | ||||||
|  |   </metadata> | ||||||
|  |   <metadata name="edateLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||||
|  |     <value>False</value> | ||||||
|  |   </metadata> | ||||||
|  |   <metadata name="odateLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||||
|  |     <value>False</value> | ||||||
|  |   </metadata> | ||||||
|  |   <metadata name="memoLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||||
|  |     <value>False</value> | ||||||
|  |   </metadata> | ||||||
|  |   <metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
|  |     <value>252, 17</value> | ||||||
|  |   </metadata> | ||||||
|  |   <metadata name="tableAdapterManager.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
|  |     <value>314, 17</value> | ||||||
|  |   </metadata> | ||||||
|  |   <metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||||
|  |     <value>82</value> | ||||||
|   </metadata> |   </metadata> | ||||||
| </root> | </root> | ||||||
							
								
								
									
										50
									
								
								SubProject/FCOMMON/DataBaseManager.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										50
									
								
								SubProject/FCOMMON/DataBaseManager.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,50 @@ | |||||||
|  | using System; | ||||||
|  | using System.Collections.Generic; | ||||||
|  | using System.Linq; | ||||||
|  | using System.Text; | ||||||
|  |  | ||||||
|  | namespace FCOMMON | ||||||
|  | { | ||||||
|  |     public static class DBM | ||||||
|  |     { | ||||||
|  |         private static System.Data.SqlClient.SqlConnection getCn() | ||||||
|  |         { | ||||||
|  |             string cs = FCOMMON.info.CS; | ||||||
|  |             System.Data.SqlClient.SqlConnection cn = new System.Data.SqlClient.SqlConnection(); | ||||||
|  |             cn.ConnectionString = cs; | ||||||
|  |             return cn; | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |  | ||||||
|  |         public static List<String> getGroupList(string GroupColumn, string table, string where = "") | ||||||
|  |         { | ||||||
|  |             List<string> retval = new List<string>(); | ||||||
|  |             var cn = getCn(); | ||||||
|  |             cn.Open(); | ||||||
|  |             var sql = "select {0} " + | ||||||
|  |                 " from {1} " + | ||||||
|  |                 " where isnull({0},'') != '' "; | ||||||
|  |  | ||||||
|  |             if (where != "") sql += " and " + where; | ||||||
|  |  | ||||||
|  |             sql += " group by {0} " + | ||||||
|  |                    " order by {0}"; | ||||||
|  |  | ||||||
|  |             sql = string.Format(sql, "[" + GroupColumn + "]", table); | ||||||
|  |             var cmd = new System.Data.SqlClient.SqlCommand(sql, cn); | ||||||
|  |             var rdr = cmd.ExecuteReader(); | ||||||
|  |             while (rdr.Read()) | ||||||
|  |             { | ||||||
|  |                 retval.Add(rdr[0].ToString()); | ||||||
|  |             } | ||||||
|  |             cmd.Dispose(); | ||||||
|  |             cn.Close(); | ||||||
|  |             cn.Dispose(); | ||||||
|  |             return retval; | ||||||
|  |         } | ||||||
|  |         public static List<String> getDateList(string table, string where = "") | ||||||
|  |         { | ||||||
|  |             return getGroupList("pdate", table, where); | ||||||
|  |         } | ||||||
|  |     } | ||||||
|  | } | ||||||
| @@ -45,6 +45,8 @@ | |||||||
|     <Reference Include="System.Xml" /> |     <Reference Include="System.Xml" /> | ||||||
|   </ItemGroup> |   </ItemGroup> | ||||||
|   <ItemGroup> |   <ItemGroup> | ||||||
|  |     <Compile Include="DataBaseManager.cs" /> | ||||||
|  |     <Compile Include="keyValuedataTable.cs" /> | ||||||
|     <Compile Include="Properties\AssemblyInfo.cs" /> |     <Compile Include="Properties\AssemblyInfo.cs" /> | ||||||
|     <Compile Include="Info.cs" /> |     <Compile Include="Info.cs" /> | ||||||
|     <Compile Include="FormUtil.cs" /> |     <Compile Include="FormUtil.cs" /> | ||||||
|   | |||||||
| @@ -19,6 +19,50 @@ namespace FCOMMON | |||||||
| { | { | ||||||
|     public static partial class Util |     public static partial class Util | ||||||
|     { |     { | ||||||
|  |         public static Boolean MakeDateString(string src, out string data) | ||||||
|  |         { | ||||||
|  |             data = src; | ||||||
|  |             string dtStr = string.Empty; | ||||||
|  |             DateTime dt; | ||||||
|  |             int iv; | ||||||
|  |             if (int.TryParse(src, out iv)) | ||||||
|  |             { | ||||||
|  |                 if (iv <= 31) | ||||||
|  |                 { | ||||||
|  |                     src = DateTime.Now.ToString("yyyy-MM-") + iv.ToString("00"); | ||||||
|  |                 } | ||||||
|  |                 else | ||||||
|  |                 { | ||||||
|  |                     //숫자이긴하나 32보다크면 오류로 한다. | ||||||
|  |                     return false; | ||||||
|  |                 } | ||||||
|  |             } | ||||||
|  |             src = src.Replace("/", "-"); | ||||||
|  |             if (src.Length < 4) | ||||||
|  |             { | ||||||
|  |                 src = src.PadLeft(4, '0'); | ||||||
|  |             } | ||||||
|  |             if(src.Length==4) | ||||||
|  |             { | ||||||
|  |                 src = DateTime.Now.ToString("yyyy") + "-" + src.Substring(0, 2) + "-" + src.Substring(2); | ||||||
|  |             } | ||||||
|  |             if(src.Length == 6) | ||||||
|  |             { | ||||||
|  |                 src = "20" + src.Substring(0, 2) + "-" + src.Substring(2, 2) + "-" + src.Substring(4, 2); | ||||||
|  |             } | ||||||
|  |             if(src.Length == 5 && src.Substring(2,1) == "-") | ||||||
|  |             { | ||||||
|  |                 src = DateTime.Now.ToString("yyyy-") + src; | ||||||
|  |             } | ||||||
|  |  | ||||||
|  |             if (DateTime.TryParse(src, out dt)) | ||||||
|  |             { | ||||||
|  |                 data = dt.ToShortDateString(); | ||||||
|  |                 return true; | ||||||
|  |             } | ||||||
|  |             else data = src; | ||||||
|  |             return false; | ||||||
|  |         } | ||||||
|         public static void SetFormStatus(ref System.Windows.Forms.Form f, string formid, Boolean read) |         public static void SetFormStatus(ref System.Windows.Forms.Form f, string formid, Boolean read) | ||||||
|         { |         { | ||||||
|             var fi = new System.IO.FileInfo(info.Path + "formSetting\\" + formid + ".xml"); |             var fi = new System.IO.FileInfo(info.Path + "formSetting\\" + formid + ".xml"); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 chikyun.kim
					chikyun.kim