..
This commit is contained in:
		| @@ -393,7 +393,7 @@ namespace FCOMMON | |||||||
|         public static Dictionary<string, string> getUserList(int baseLevel = 1) |         public static Dictionary<string, string> getUserList(int baseLevel = 1) | ||||||
|         { |         { | ||||||
|             string where = "isnull(level,0) >= " + baseLevel.ToString(); |             string where = "isnull(level,0) >= " + baseLevel.ToString(); | ||||||
|             return getTwoColumnList("Users", "id", "name", where, "name"); |             return getTwoColumnList("vGroupUser", "id", "name", where, "name"); | ||||||
|  |  | ||||||
|         } |         } | ||||||
|         public static System.Data.DataTable getUserTable(int baseLevel = 1) |         public static System.Data.DataTable getUserTable(int baseLevel = 1) | ||||||
| @@ -697,9 +697,9 @@ namespace FCOMMON | |||||||
|             cn.Open(); |             cn.Open(); | ||||||
|             var sql = "select idx,isnull(name,''),pdate  from Projects" + |             var sql = "select idx,isnull(name,''),pdate  from Projects" + | ||||||
|                 " where gcode='{0}'" + |                 " where gcode='{0}'" + | ||||||
|                 " and  isnull(userManager,'') like '%{1}%'" + |                 " and  (isnull(userManager,'') like '%{1}%'" + | ||||||
|                 " or  isnull(userMain,'') like '%{1}%'" + |                 " or  isnull(userMain,'') like '%{1}%'" + | ||||||
|                 " or  isnull(usersub,'') like '%{1}%'" + |                 " or  isnull(usersub,'') like '%{1}%')" + | ||||||
|                 " order by pdate desc,name"; |                 " order by pdate desc,name"; | ||||||
|             sql = string.Format(sql, FCOMMON.info.Login.gcode, userName); |             sql = string.Format(sql, FCOMMON.info.Login.gcode, userName); | ||||||
|             var cmd = new SqlCommand(sql, cn); |             var cmd = new SqlCommand(sql, cn); | ||||||
|   | |||||||
| @@ -120,6 +120,7 @@ | |||||||
|     <Compile Include="keyValuedataTable.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="Setting.cs" /> | ||||||
|     <Compile Include="Util_Form.cs" /> |     <Compile Include="Util_Form.cs" /> | ||||||
|     <Compile Include="Util.cs" /> |     <Compile Include="Util.cs" /> | ||||||
|     <Compile Include="Util_Farpoint.cs" /> |     <Compile Include="Util_Farpoint.cs" /> | ||||||
|   | |||||||
							
								
								
									
										49
									
								
								SubProject/FCOMMON/Setting.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										49
									
								
								SubProject/FCOMMON/Setting.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,49 @@ | |||||||
|  | //190806    chi getWorkWeek 추가 | ||||||
|  | //190805    chi MakeCSVString 추가 | ||||||
|  | //180903    chi makefilepath/ ftppath 추가 | ||||||
|  | //180807    chi rad2deg, deg2rad 추가 | ||||||
|  | //180625    chi  ToCharHexString,ToStringFromHexString 추가 | ||||||
|  | //180624    chi isLocalApplication 추가 | ||||||
|  | //180618    chi GetCSVBuffer 추가 | ||||||
|  | //180614    chi map 명령어 추가 | ||||||
|  | using System; | ||||||
|  | using System.Collections.Generic; | ||||||
|  | using System.Diagnostics; | ||||||
|  | using System.IO; | ||||||
|  | using System.Linq; | ||||||
|  | using System.Net; | ||||||
|  | using System.Text; | ||||||
|  | using System.Windows.Forms; | ||||||
|  |  | ||||||
|  | namespace FCOMMON | ||||||
|  | { | ||||||
|  |     public static partial class Setting | ||||||
|  |     { | ||||||
|  |         private static SystemSetting _system = null; | ||||||
|  |         public static SystemSetting system | ||||||
|  |         { | ||||||
|  |             get | ||||||
|  |             { | ||||||
|  |                 if(_system== null) | ||||||
|  |                 { | ||||||
|  |                     _system = new SystemSetting(); | ||||||
|  |                     _system.filename = AppDomain.CurrentDomain.BaseDirectory + "Commonsetting.xml"; | ||||||
|  |                     _system.Load(); | ||||||
|  |                 } | ||||||
|  |                 return _system; | ||||||
|  |             } | ||||||
|  |         } | ||||||
|  |     } | ||||||
|  |     public class SystemSetting : arUtil.Setting | ||||||
|  |     { | ||||||
|  |         public Boolean fullScreen { get; set; } | ||||||
|  |         public override void AfterLoad() | ||||||
|  |         { | ||||||
|  |             //throw new NotImplementedException(); | ||||||
|  |         } | ||||||
|  |         public override void AfterSave() | ||||||
|  |         { | ||||||
|  |             //throw new NotImplementedException(); | ||||||
|  |         } | ||||||
|  |     } | ||||||
|  | } | ||||||
							
								
								
									
										69
									
								
								SubProject/FEQ0000/DataClasses1.dbml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										69
									
								
								SubProject/FEQ0000/DataClasses1.dbml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,69 @@ | |||||||
|  | <?xml version="1.0" encoding="utf-8"?><Database Name="EE" Class="DataClasses1DataContext" xmlns="http://schemas.microsoft.com/linqtosql/dbml/2007"> | ||||||
|  |   <Connection Mode="AppSettings" ConnectionString="Data Source=10.131.15.18;Initial Catalog=EE;Persist Security Info=True;User ID=eeuser" SettingsObjectName="FEQ0000.Properties.Settings" SettingsPropertyName="gwcs" Provider="System.Data.SqlClient" /> | ||||||
|  |   <Table Name="dbo.MailForm" Member="MailForm"> | ||||||
|  |     <Type Name="MailForm"> | ||||||
|  |       <Column Name="idx" Type="System.Int32" DbType="Int NOT NULL IDENTITY" IsPrimaryKey="true" IsDbGenerated="true" CanBeNull="false" /> | ||||||
|  |       <Column Name="gcode" Type="System.String" DbType="VarChar(10) NOT NULL" CanBeNull="false" /> | ||||||
|  |       <Column Name="cate" Type="System.String" DbType="VarChar(2)" CanBeNull="true" /> | ||||||
|  |       <Column Name="title" Type="System.String" DbType="VarChar(100)" CanBeNull="true" /> | ||||||
|  |       <Column Name="tolist" Type="System.String" DbType="VarChar(MAX)" CanBeNull="true" /> | ||||||
|  |       <Column Name="bcc" Type="System.String" DbType="VarChar(MAX)" CanBeNull="true" /> | ||||||
|  |       <Column Name="cc" Type="System.String" DbType="VarChar(MAX)" CanBeNull="true" /> | ||||||
|  |       <Column Name="subject" Type="System.String" DbType="VarChar(MAX)" CanBeNull="true" /> | ||||||
|  |       <Column Name="tail" Type="System.String" DbType="VarChar(MAX)" CanBeNull="true" /> | ||||||
|  |       <Column Name="body" Type="System.String" DbType="VarChar(MAX)" CanBeNull="true" /> | ||||||
|  |       <Column Name="selfTo" Type="System.Boolean" DbType="Bit" CanBeNull="true" /> | ||||||
|  |       <Column Name="selfCC" Type="System.Boolean" DbType="Bit" CanBeNull="true" /> | ||||||
|  |       <Column Name="selfBCC" Type="System.Boolean" DbType="Bit" CanBeNull="true" /> | ||||||
|  |       <Column Name="wuid" Type="System.String" DbType="VarChar(20) NOT NULL" CanBeNull="false" /> | ||||||
|  |       <Column Name="wdate" Type="System.DateTime" DbType="SmallDateTime NOT NULL" CanBeNull="false" /> | ||||||
|  |     </Type> | ||||||
|  |   </Table> | ||||||
|  |   <Table Name="dbo.Users" Member="Users"> | ||||||
|  |     <Type Name="Users"> | ||||||
|  |       <Column Name="id" Type="System.String" DbType="VarChar(20) NOT NULL" IsPrimaryKey="true" CanBeNull="false" /> | ||||||
|  |       <Column Name="gcode" Type="System.String" DbType="VarChar(10)" CanBeNull="true" /> | ||||||
|  |       <Column Name="password" Type="System.String" DbType="VarChar(50)" CanBeNull="true" /> | ||||||
|  |       <Column Name="nameE" Type="System.String" DbType="NVarChar(100)" CanBeNull="true" /> | ||||||
|  |       <Column Name="name" Type="System.String" DbType="NVarChar(100)" CanBeNull="true" /> | ||||||
|  |       <Column Name="dept" Type="System.String" DbType="VarChar(100)" CanBeNull="true" /> | ||||||
|  |       <Column Name="grade" Type="System.String" DbType="VarChar(10)" CanBeNull="true" /> | ||||||
|  |       <Column Name="email" Type="System.String" DbType="VarChar(100)" CanBeNull="true" /> | ||||||
|  |       <Column Name="[level]" Member="level" Type="System.Int16" DbType="SmallInt" CanBeNull="true" /> | ||||||
|  |       <Column Name="indate" Type="System.String" DbType="VarChar(20)" CanBeNull="true" /> | ||||||
|  |       <Column Name="outdate" Type="System.String" DbType="VarChar(20)" CanBeNull="true" /> | ||||||
|  |       <Column Name="tel" Type="System.String" DbType="VarChar(20)" CanBeNull="true" /> | ||||||
|  |       <Column Name="hp" Type="System.String" DbType="VarChar(20)" CanBeNull="true" /> | ||||||
|  |       <Column Name="place" Type="System.String" DbType="VarChar(100)" CanBeNull="true" /> | ||||||
|  |       <Column Name="ads_employNo" Type="System.String" DbType="VarChar(50)" CanBeNull="true" /> | ||||||
|  |       <Column Name="ads_title" Type="System.String" DbType="NVarChar(100)" CanBeNull="true" /> | ||||||
|  |       <Column Name="ads_created" Type="System.String" DbType="VarChar(50)" CanBeNull="true" /> | ||||||
|  |       <Column Name="memo" Type="System.String" DbType="NVarChar(255)" CanBeNull="true" /> | ||||||
|  |       <Column Name="wuid" Type="System.String" DbType="VarChar(20) NOT NULL" CanBeNull="false" /> | ||||||
|  |       <Column Name="wdate" Type="System.DateTime" DbType="SmallDateTime NOT NULL" CanBeNull="false" /> | ||||||
|  |       <Column Name="processs" Type="System.String" DbType="NVarChar(100)" CanBeNull="true" /> | ||||||
|  |     </Type> | ||||||
|  |   </Table> | ||||||
|  |   <Table Name="dbo.vGroupUser" Member="vGroupUser"> | ||||||
|  |     <Type Name="vGroupUser"> | ||||||
|  |       <Column Name="gcode" Type="System.String" DbType="VarChar(10) NOT NULL" CanBeNull="false" /> | ||||||
|  |       <Column Name="dept" Type="System.String" DbType="VarChar(100)" CanBeNull="true" /> | ||||||
|  |       <Column Name="[level]" Member="level" Type="System.Int16" DbType="SmallInt" CanBeNull="true" /> | ||||||
|  |       <Column Name="name" Type="System.String" DbType="NVarChar(100)" CanBeNull="true" /> | ||||||
|  |       <Column Name="nameE" Type="System.String" DbType="NVarChar(100)" CanBeNull="true" /> | ||||||
|  |       <Column Name="grade" Type="System.String" DbType="VarChar(10)" CanBeNull="true" /> | ||||||
|  |       <Column Name="email" Type="System.String" DbType="VarChar(100)" CanBeNull="true" /> | ||||||
|  |       <Column Name="tel" Type="System.String" DbType="VarChar(20)" CanBeNull="true" /> | ||||||
|  |       <Column Name="indate" Type="System.String" DbType="VarChar(20)" CanBeNull="true" /> | ||||||
|  |       <Column Name="outdate" Type="System.String" DbType="VarChar(20)" CanBeNull="true" /> | ||||||
|  |       <Column Name="hp" Type="System.String" DbType="VarChar(20)" CanBeNull="true" /> | ||||||
|  |       <Column Name="place" Type="System.String" DbType="VarChar(100)" CanBeNull="true" /> | ||||||
|  |       <Column Name="ads_employNo" Type="System.String" DbType="VarChar(50)" CanBeNull="true" /> | ||||||
|  |       <Column Name="ads_title" Type="System.String" DbType="NVarChar(100)" CanBeNull="true" /> | ||||||
|  |       <Column Name="ads_created" Type="System.String" DbType="VarChar(50)" CanBeNull="true" /> | ||||||
|  |       <Column Name="memo" Type="System.String" DbType="NVarChar(255)" CanBeNull="true" /> | ||||||
|  |       <Column Name="processs" Type="System.String" DbType="NVarChar(100)" CanBeNull="true" /> | ||||||
|  |       <Column Name="id" Type="System.String" DbType="VarChar(20)" CanBeNull="true" /> | ||||||
|  |     </Type> | ||||||
|  |   </Table> | ||||||
|  | </Database> | ||||||
							
								
								
									
										24
									
								
								SubProject/FEQ0000/DataClasses1.dbml.layout
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								SubProject/FEQ0000/DataClasses1.dbml.layout
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,24 @@ | |||||||
|  | <?xml version="1.0" encoding="utf-8"?> | ||||||
|  | <ordesignerObjectsDiagram dslVersion="1.0.0.0" absoluteBounds="0, 0, 11, 8.5" name="DataClasses1"> | ||||||
|  |   <DataContextMoniker Name="/DataClasses1DataContext" /> | ||||||
|  |   <nestedChildShapes> | ||||||
|  |     <classShape Id="737621bf-a4b8-4049-b062-3ab39d4cd367" absoluteBounds="1.625, 1.875, 2, 3.6939111328124996"> | ||||||
|  |       <DataClassMoniker Name="/DataClasses1DataContext/MailForm" /> | ||||||
|  |       <nestedChildShapes> | ||||||
|  |         <elementListCompartment Id="7909aece-5b3b-485d-b7d7-316895238b18" absoluteBounds="1.6400000000000001, 2.335, 1.9700000000000002, 3.1339111328125" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" /> | ||||||
|  |       </nestedChildShapes> | ||||||
|  |     </classShape> | ||||||
|  |     <classShape Id="c21d5a1a-e49e-487c-a1af-5668b107c6ce" absoluteBounds="3.875, 2, 2, 4.8477197265625"> | ||||||
|  |       <DataClassMoniker Name="/DataClasses1DataContext/Users" /> | ||||||
|  |       <nestedChildShapes> | ||||||
|  |         <elementListCompartment Id="0b0a394f-3d56-497b-a1fa-851789457dc1" absoluteBounds="3.89, 2.46, 1.9700000000000002, 4.2877197265625" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" /> | ||||||
|  |       </nestedChildShapes> | ||||||
|  |     </classShape> | ||||||
|  |     <classShape Id="12064e3f-0ff5-4333-b7ce-b5fdb053b71e" absoluteBounds="0.625, 0.875, 2, 4.2708154296875"> | ||||||
|  |       <DataClassMoniker Name="/DataClasses1DataContext/vGroupUser" /> | ||||||
|  |       <nestedChildShapes> | ||||||
|  |         <elementListCompartment Id="d978c8bb-8818-414c-a3f5-cecd29bacac7" absoluteBounds="0.64000000000000012, 1.335, 1.9700000000000002, 3.7108154296875" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" /> | ||||||
|  |       </nestedChildShapes> | ||||||
|  |     </classShape> | ||||||
|  |   </nestedChildShapes> | ||||||
|  | </ordesignerObjectsDiagram> | ||||||
							
								
								
									
										1369
									
								
								SubProject/FEQ0000/DataClasses1.designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										1369
									
								
								SubProject/FEQ0000/DataClasses1.designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										4079
									
								
								SubProject/FEQ0000/EEDataSet.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										4079
									
								
								SubProject/FEQ0000/EEDataSet.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										1
									
								
								SubProject/FEQ0000/EEDataSet.xsc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								SubProject/FEQ0000/EEDataSet.xsc
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | |||||||
|  |  | ||||||
							
								
								
									
										439
									
								
								SubProject/FEQ0000/EEDataSet.xsd
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										439
									
								
								SubProject/FEQ0000/EEDataSet.xsd
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,439 @@ | |||||||
|  | <?xml version="1.0" encoding="utf-8"?> | ||||||
|  | <xs:schema id="EEDataSet" targetNamespace="http://tempuri.org/EEDataSet.xsd" xmlns:mstns="http://tempuri.org/EEDataSet.xsd" xmlns="http://tempuri.org/EEDataSet.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.FEQ0000.Properties.Settings.GlobalReference.Default.gwcs" Provider="System.Data.SqlClient" /> | ||||||
|  |         </Connections> | ||||||
|  |         <Tables> | ||||||
|  |           <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="MailDataTableAdapter" GeneratorDataComponentClassName="MailDataTableAdapter" Name="MailData" UserDataComponentName="MailDataTableAdapter"> | ||||||
|  |             <MainSource> | ||||||
|  |               <DbSource ConnectionRef="gwcs (Settings)" DbObjectName="EE.dbo.MailData" 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 [dbo].[MailData] WHERE (([idx] = @Original_idx) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ([gcode] = @Original_gcode) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_SendOK = 1 AND [SendOK] IS NULL) OR ([SendOK] = @Original_SendOK)) AND ((@IsNull_SendMsg = 1 AND [SendMsg] IS NULL) OR ([SendMsg] = @Original_SendMsg)) AND ((@IsNull_aidx = 1 AND [aidx] IS NULL) OR ([aidx] = @Original_aidx)) AND ((@IsNull_atime = 1 AND [atime] IS NULL) OR ([atime] = @Original_atime)) 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_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_gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" 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="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_SendOK" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SendOK" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_SendOK" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="SendOK" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SendMsg" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SendMsg" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_SendMsg" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SendMsg" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_aidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="aidx" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_aidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="aidx" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_atime" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="atime" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_atime" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="atime" 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="SmallDateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                     </Parameters> | ||||||
|  |                   </DbCommand> | ||||||
|  |                 </DeleteCommand> | ||||||
|  |                 <InsertCommand> | ||||||
|  |                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||||
|  |                     <CommandText>INSERT INTO [dbo].[MailData] ([project], [gcode], [cate], [pdate], [subject], [fromlist], [tolist], [bcc], [cc], [body], [SendOK], [SendMsg], [aidx], [atime], [wuid], [wdate]) VALUES (@project, @gcode, @cate, @pdate, @subject, @fromlist, @tolist, @bcc, @cc, @body, @SendOK, @SendMsg, @aidx, @atime, @wuid, @wdate); | ||||||
|  | SELECT idx, project, gcode, cate, pdate, subject, fromlist, tolist, bcc, cc, body, SendOK, SendMsg, aidx, atime, wuid, wdate FROM MailData WHERE (idx = SCOPE_IDENTITY())</CommandText> | ||||||
|  |                     <Parameters> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@project" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="project" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" 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="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="@subject" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="subject" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@fromlist" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="fromlist" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@tolist" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="tolist" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@bcc" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="bcc" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@cc" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cc" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@body" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="body" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@SendOK" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="SendOK" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SendMsg" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SendMsg" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@aidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="aidx" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@atime" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="atime" 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="SmallDateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                     </Parameters> | ||||||
|  |                   </DbCommand> | ||||||
|  |                 </InsertCommand> | ||||||
|  |                 <SelectCommand> | ||||||
|  |                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||||
|  |                     <CommandText>SELECT idx, project, gcode, cate, pdate, subject, fromlist, tolist, bcc, cc, body, SendOK, SendMsg, aidx, atime, wuid, wdate FROM dbo.MailData</CommandText> | ||||||
|  |                     <Parameters /> | ||||||
|  |                   </DbCommand> | ||||||
|  |                 </SelectCommand> | ||||||
|  |                 <UpdateCommand> | ||||||
|  |                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||||
|  |                     <CommandText>UPDATE [dbo].[MailData] SET [project] = @project, [gcode] = @gcode, [cate] = @cate, [pdate] = @pdate, [subject] = @subject, [fromlist] = @fromlist, [tolist] = @tolist, [bcc] = @bcc, [cc] = @cc, [body] = @body, [SendOK] = @SendOK, [SendMsg] = @SendMsg, [aidx] = @aidx, [atime] = @atime, [wuid] = @wuid, [wdate] = @wdate WHERE (([idx] = @Original_idx) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ([gcode] = @Original_gcode) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_SendOK = 1 AND [SendOK] IS NULL) OR ([SendOK] = @Original_SendOK)) AND ((@IsNull_SendMsg = 1 AND [SendMsg] IS NULL) OR ([SendMsg] = @Original_SendMsg)) AND ((@IsNull_aidx = 1 AND [aidx] IS NULL) OR ([aidx] = @Original_aidx)) AND ((@IsNull_atime = 1 AND [atime] IS NULL) OR ([atime] = @Original_atime)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate)); | ||||||
|  | SELECT idx, project, gcode, cate, pdate, subject, fromlist, tolist, bcc, cc, body, SendOK, SendMsg, aidx, atime, wuid, wdate FROM MailData WHERE (idx = @idx)</CommandText> | ||||||
|  |                     <Parameters> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@project" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="project" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" 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="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="@subject" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="subject" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@fromlist" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="fromlist" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@tolist" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="tolist" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@bcc" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="bcc" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@cc" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cc" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@body" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="body" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@SendOK" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="SendOK" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SendMsg" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SendMsg" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@aidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="aidx" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@atime" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="atime" 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="SmallDateTime" 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_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_gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" 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="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_SendOK" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SendOK" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_SendOK" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="SendOK" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SendMsg" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SendMsg" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_SendMsg" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SendMsg" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_aidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="aidx" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_aidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="aidx" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_atime" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="atime" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_atime" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="atime" 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="SmallDateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="EE.dbo.MailData" 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="project" DataSetColumn="project" /> | ||||||
|  |               <Mapping SourceColumn="gcode" DataSetColumn="gcode" /> | ||||||
|  |               <Mapping SourceColumn="cate" DataSetColumn="cate" /> | ||||||
|  |               <Mapping SourceColumn="pdate" DataSetColumn="pdate" /> | ||||||
|  |               <Mapping SourceColumn="subject" DataSetColumn="subject" /> | ||||||
|  |               <Mapping SourceColumn="fromlist" DataSetColumn="fromlist" /> | ||||||
|  |               <Mapping SourceColumn="tolist" DataSetColumn="tolist" /> | ||||||
|  |               <Mapping SourceColumn="bcc" DataSetColumn="bcc" /> | ||||||
|  |               <Mapping SourceColumn="cc" DataSetColumn="cc" /> | ||||||
|  |               <Mapping SourceColumn="body" DataSetColumn="body" /> | ||||||
|  |               <Mapping SourceColumn="SendOK" DataSetColumn="SendOK" /> | ||||||
|  |               <Mapping SourceColumn="SendMsg" DataSetColumn="SendMsg" /> | ||||||
|  |               <Mapping SourceColumn="aidx" DataSetColumn="aidx" /> | ||||||
|  |               <Mapping SourceColumn="atime" DataSetColumn="atime" /> | ||||||
|  |               <Mapping SourceColumn="wuid" DataSetColumn="wuid" /> | ||||||
|  |               <Mapping SourceColumn="wdate" DataSetColumn="wdate" /> | ||||||
|  |             </Mappings> | ||||||
|  |             <Sources /> | ||||||
|  |           </TableAdapter> | ||||||
|  |           <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="MailFormTableAdapter" GeneratorDataComponentClassName="MailFormTableAdapter" Name="MailForm" UserDataComponentName="MailFormTableAdapter"> | ||||||
|  |             <MainSource> | ||||||
|  |               <DbSource ConnectionRef="gwcs (Settings)" DbObjectName="EE.dbo.MailForm" 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 [dbo].[MailForm] WHERE (([idx] = @Original_idx) AND ([gcode] = @Original_gcode) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_selfTo = 1 AND [selfTo] IS NULL) OR ([selfTo] = @Original_selfTo)) AND ((@IsNull_selfCC = 1 AND [selfCC] IS NULL) OR ([selfCC] = @Original_selfCC)) AND ((@IsNull_selfBCC = 1 AND [selfBCC] IS NULL) OR ([selfBCC] = @Original_selfBCC)) 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="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" 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="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_title" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="title" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_title" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="title" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_selfTo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="selfTo" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_selfTo" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="selfTo" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_selfCC" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="selfCC" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_selfCC" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="selfCC" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_selfBCC" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="selfBCC" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_selfBCC" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="selfBCC" 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="SmallDateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                     </Parameters> | ||||||
|  |                   </DbCommand> | ||||||
|  |                 </DeleteCommand> | ||||||
|  |                 <InsertCommand> | ||||||
|  |                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||||
|  |                     <CommandText>INSERT INTO [dbo].[MailForm] ([gcode], [cate], [title], [tolist], [bcc], [cc], [subject], [tail], [body], [selfTo], [selfCC], [selfBCC], [wuid], [wdate]) VALUES (@gcode, @cate, @title, @tolist, @bcc, @cc, @subject, @tail, @body, @selfTo, @selfCC, @selfBCC, @wuid, @wdate); | ||||||
|  | SELECT idx, gcode, cate, title, tolist, bcc, cc, subject, tail, body, selfTo, selfCC, selfBCC, wuid, wdate FROM MailForm WHERE (idx = SCOPE_IDENTITY())</CommandText> | ||||||
|  |                     <Parameters> | ||||||
|  |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" 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="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@title" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="title" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@tolist" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="tolist" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@bcc" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="bcc" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@cc" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cc" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@subject" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="subject" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@tail" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="tail" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@body" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="body" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@selfTo" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="selfTo" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@selfCC" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="selfCC" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@selfBCC" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="selfBCC" 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="SmallDateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                     </Parameters> | ||||||
|  |                   </DbCommand> | ||||||
|  |                 </InsertCommand> | ||||||
|  |                 <SelectCommand> | ||||||
|  |                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||||
|  |                     <CommandText>SELECT idx, gcode, cate, title, tolist, bcc, cc, subject, tail, body, selfTo, selfCC, selfBCC, wuid, wdate FROM dbo.MailForm</CommandText> | ||||||
|  |                     <Parameters /> | ||||||
|  |                   </DbCommand> | ||||||
|  |                 </SelectCommand> | ||||||
|  |                 <UpdateCommand> | ||||||
|  |                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||||
|  |                     <CommandText>UPDATE [dbo].[MailForm] SET [gcode] = @gcode, [cate] = @cate, [title] = @title, [tolist] = @tolist, [bcc] = @bcc, [cc] = @cc, [subject] = @subject, [tail] = @tail, [body] = @body, [selfTo] = @selfTo, [selfCC] = @selfCC, [selfBCC] = @selfBCC, [wuid] = @wuid, [wdate] = @wdate WHERE (([idx] = @Original_idx) AND ([gcode] = @Original_gcode) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_selfTo = 1 AND [selfTo] IS NULL) OR ([selfTo] = @Original_selfTo)) AND ((@IsNull_selfCC = 1 AND [selfCC] IS NULL) OR ([selfCC] = @Original_selfCC)) AND ((@IsNull_selfBCC = 1 AND [selfBCC] IS NULL) OR ([selfBCC] = @Original_selfBCC)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate)); | ||||||
|  | SELECT idx, gcode, cate, title, tolist, bcc, cc, subject, tail, body, selfTo, selfCC, selfBCC, wuid, wdate FROM MailForm WHERE (idx = @idx)</CommandText> | ||||||
|  |                     <Parameters> | ||||||
|  |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" 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="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@title" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="title" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@tolist" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="tolist" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@bcc" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="bcc" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@cc" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cc" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@subject" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="subject" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@tail" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="tail" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@body" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="body" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@selfTo" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="selfTo" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@selfCC" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="selfCC" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@selfBCC" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="selfBCC" 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="SmallDateTime" 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="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" 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="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_title" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="title" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_title" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="title" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_selfTo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="selfTo" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_selfTo" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="selfTo" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_selfCC" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="selfCC" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_selfCC" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="selfCC" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_selfBCC" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="selfBCC" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_selfBCC" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="selfBCC" 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="SmallDateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="EE.dbo.MailForm" 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="gcode" DataSetColumn="gcode" /> | ||||||
|  |               <Mapping SourceColumn="cate" DataSetColumn="cate" /> | ||||||
|  |               <Mapping SourceColumn="title" DataSetColumn="title" /> | ||||||
|  |               <Mapping SourceColumn="tolist" DataSetColumn="tolist" /> | ||||||
|  |               <Mapping SourceColumn="bcc" DataSetColumn="bcc" /> | ||||||
|  |               <Mapping SourceColumn="cc" DataSetColumn="cc" /> | ||||||
|  |               <Mapping SourceColumn="subject" DataSetColumn="subject" /> | ||||||
|  |               <Mapping SourceColumn="tail" DataSetColumn="tail" /> | ||||||
|  |               <Mapping SourceColumn="body" DataSetColumn="body" /> | ||||||
|  |               <Mapping SourceColumn="selfTo" DataSetColumn="selfTo" /> | ||||||
|  |               <Mapping SourceColumn="selfCC" DataSetColumn="selfCC" /> | ||||||
|  |               <Mapping SourceColumn="selfBCC" DataSetColumn="selfBCC" /> | ||||||
|  |               <Mapping SourceColumn="wuid" DataSetColumn="wuid" /> | ||||||
|  |               <Mapping SourceColumn="wdate" DataSetColumn="wdate" /> | ||||||
|  |             </Mappings> | ||||||
|  |             <Sources /> | ||||||
|  |           </TableAdapter> | ||||||
|  |         </Tables> | ||||||
|  |         <Sources /> | ||||||
|  |       </DataSource> | ||||||
|  |     </xs:appinfo> | ||||||
|  |   </xs:annotation> | ||||||
|  |   <xs:element name="EEDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="EEDataSet" msprop:Generator_UserDSName="EEDataSet"> | ||||||
|  |     <xs:complexType> | ||||||
|  |       <xs:choice minOccurs="0" maxOccurs="unbounded"> | ||||||
|  |         <xs:element name="MailData" msprop:Generator_TableClassName="MailDataDataTable" msprop:Generator_TableVarName="tableMailData" msprop:Generator_TablePropName="MailData" msprop:Generator_RowDeletingName="MailDataRowDeleting" msprop:Generator_RowChangingName="MailDataRowChanging" msprop:Generator_RowEvHandlerName="MailDataRowChangeEventHandler" msprop:Generator_RowDeletedName="MailDataRowDeleted" msprop:Generator_UserTableName="MailData" msprop:Generator_RowChangedName="MailDataRowChanged" msprop:Generator_RowEvArgName="MailDataRowChangeEvent" msprop:Generator_RowClassName="MailDataRow"> | ||||||
|  |           <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="project" msprop:Generator_ColumnVarNameInTable="columnproject" msprop:Generator_ColumnPropNameInRow="project" msprop:Generator_ColumnPropNameInTable="projectColumn" msprop:Generator_UserColumnName="project" type="xs:int" minOccurs="0" /> | ||||||
|  |               <xs:element name="gcode" msprop:Generator_ColumnVarNameInTable="columngcode" msprop:Generator_ColumnPropNameInRow="gcode" msprop:Generator_ColumnPropNameInTable="gcodeColumn" msprop:Generator_UserColumnName="gcode"> | ||||||
|  |                 <xs:simpleType> | ||||||
|  |                   <xs:restriction base="xs:string"> | ||||||
|  |                     <xs:maxLength value="10" /> | ||||||
|  |                   </xs:restriction> | ||||||
|  |                 </xs:simpleType> | ||||||
|  |               </xs:element> | ||||||
|  |               <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: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="subject" msprop:Generator_ColumnVarNameInTable="columnsubject" msprop:Generator_ColumnPropNameInRow="subject" msprop:Generator_ColumnPropNameInTable="subjectColumn" msprop:Generator_UserColumnName="subject" minOccurs="0"> | ||||||
|  |                 <xs:simpleType> | ||||||
|  |                   <xs:restriction base="xs:string"> | ||||||
|  |                     <xs:maxLength value="2147483647" /> | ||||||
|  |                   </xs:restriction> | ||||||
|  |                 </xs:simpleType> | ||||||
|  |               </xs:element> | ||||||
|  |               <xs:element name="fromlist" msprop:Generator_ColumnVarNameInTable="columnfromlist" msprop:Generator_ColumnPropNameInRow="fromlist" msprop:Generator_ColumnPropNameInTable="fromlistColumn" msprop:Generator_UserColumnName="fromlist" minOccurs="0"> | ||||||
|  |                 <xs:simpleType> | ||||||
|  |                   <xs:restriction base="xs:string"> | ||||||
|  |                     <xs:maxLength value="2147483647" /> | ||||||
|  |                   </xs:restriction> | ||||||
|  |                 </xs:simpleType> | ||||||
|  |               </xs:element> | ||||||
|  |               <xs:element name="tolist" msprop:Generator_ColumnVarNameInTable="columntolist" msprop:Generator_ColumnPropNameInRow="tolist" msprop:Generator_ColumnPropNameInTable="tolistColumn" msprop:Generator_UserColumnName="tolist" minOccurs="0"> | ||||||
|  |                 <xs:simpleType> | ||||||
|  |                   <xs:restriction base="xs:string"> | ||||||
|  |                     <xs:maxLength value="2147483647" /> | ||||||
|  |                   </xs:restriction> | ||||||
|  |                 </xs:simpleType> | ||||||
|  |               </xs:element> | ||||||
|  |               <xs:element name="bcc" msprop:Generator_ColumnVarNameInTable="columnbcc" msprop:Generator_ColumnPropNameInRow="bcc" msprop:Generator_ColumnPropNameInTable="bccColumn" msprop:Generator_UserColumnName="bcc" minOccurs="0"> | ||||||
|  |                 <xs:simpleType> | ||||||
|  |                   <xs:restriction base="xs:string"> | ||||||
|  |                     <xs:maxLength value="2147483647" /> | ||||||
|  |                   </xs:restriction> | ||||||
|  |                 </xs:simpleType> | ||||||
|  |               </xs:element> | ||||||
|  |               <xs:element name="cc" msprop:Generator_ColumnVarNameInTable="columncc" msprop:Generator_ColumnPropNameInRow="cc" msprop:Generator_ColumnPropNameInTable="ccColumn" msprop:Generator_UserColumnName="cc" minOccurs="0"> | ||||||
|  |                 <xs:simpleType> | ||||||
|  |                   <xs:restriction base="xs:string"> | ||||||
|  |                     <xs:maxLength value="2147483647" /> | ||||||
|  |                   </xs:restriction> | ||||||
|  |                 </xs:simpleType> | ||||||
|  |               </xs:element> | ||||||
|  |               <xs:element name="body" msprop:Generator_ColumnVarNameInTable="columnbody" msprop:Generator_ColumnPropNameInRow="body" msprop:Generator_ColumnPropNameInTable="bodyColumn" msprop:Generator_UserColumnName="body" minOccurs="0"> | ||||||
|  |                 <xs:simpleType> | ||||||
|  |                   <xs:restriction base="xs:string"> | ||||||
|  |                     <xs:maxLength value="2147483647" /> | ||||||
|  |                   </xs:restriction> | ||||||
|  |                 </xs:simpleType> | ||||||
|  |               </xs:element> | ||||||
|  |               <xs:element name="SendOK" msprop:Generator_ColumnVarNameInTable="columnSendOK" msprop:Generator_ColumnPropNameInRow="SendOK" msprop:Generator_ColumnPropNameInTable="SendOKColumn" msprop:Generator_UserColumnName="SendOK" type="xs:boolean" minOccurs="0" /> | ||||||
|  |               <xs:element name="SendMsg" msprop:Generator_ColumnVarNameInTable="columnSendMsg" msprop:Generator_ColumnPropNameInRow="SendMsg" msprop:Generator_ColumnPropNameInTable="SendMsgColumn" msprop:Generator_UserColumnName="SendMsg" minOccurs="0"> | ||||||
|  |                 <xs:simpleType> | ||||||
|  |                   <xs:restriction base="xs:string"> | ||||||
|  |                     <xs:maxLength value="255" /> | ||||||
|  |                   </xs:restriction> | ||||||
|  |                 </xs:simpleType> | ||||||
|  |               </xs:element> | ||||||
|  |               <xs:element name="aidx" msprop:Generator_ColumnVarNameInTable="columnaidx" msprop:Generator_ColumnPropNameInRow="aidx" msprop:Generator_ColumnPropNameInTable="aidxColumn" msprop:Generator_UserColumnName="aidx" type="xs:int" minOccurs="0" /> | ||||||
|  |               <xs:element name="atime" msprop:Generator_ColumnVarNameInTable="columnatime" msprop:Generator_ColumnPropNameInRow="atime" msprop:Generator_ColumnPropNameInTable="atimeColumn" msprop:Generator_UserColumnName="atime" minOccurs="0"> | ||||||
|  |                 <xs:simpleType> | ||||||
|  |                   <xs:restriction base="xs:string"> | ||||||
|  |                     <xs:maxLength value="20" /> | ||||||
|  |                   </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:element name="MailForm" msprop:Generator_TableClassName="MailFormDataTable" msprop:Generator_TableVarName="tableMailForm" msprop:Generator_TablePropName="MailForm" msprop:Generator_RowDeletingName="MailFormRowDeleting" msprop:Generator_RowChangingName="MailFormRowChanging" msprop:Generator_RowEvHandlerName="MailFormRowChangeEventHandler" msprop:Generator_RowDeletedName="MailFormRowDeleted" msprop:Generator_UserTableName="MailForm" msprop:Generator_RowChangedName="MailFormRowChanged" msprop:Generator_RowEvArgName="MailFormRowChangeEvent" msprop:Generator_RowClassName="MailFormRow"> | ||||||
|  |           <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="gcode" msprop:Generator_ColumnVarNameInTable="columngcode" msprop:Generator_ColumnPropNameInRow="gcode" msprop:Generator_ColumnPropNameInTable="gcodeColumn" msprop:Generator_UserColumnName="gcode"> | ||||||
|  |                 <xs:simpleType> | ||||||
|  |                   <xs:restriction base="xs:string"> | ||||||
|  |                     <xs:maxLength value="10" /> | ||||||
|  |                   </xs:restriction> | ||||||
|  |                 </xs:simpleType> | ||||||
|  |               </xs:element> | ||||||
|  |               <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="2" /> | ||||||
|  |                   </xs:restriction> | ||||||
|  |                 </xs:simpleType> | ||||||
|  |               </xs:element> | ||||||
|  |               <xs:element name="title" msprop:Generator_ColumnVarNameInTable="columntitle" msprop:Generator_ColumnPropNameInRow="title" msprop:Generator_ColumnPropNameInTable="titleColumn" msprop:Generator_UserColumnName="title" minOccurs="0"> | ||||||
|  |                 <xs:simpleType> | ||||||
|  |                   <xs:restriction base="xs:string"> | ||||||
|  |                     <xs:maxLength value="100" /> | ||||||
|  |                   </xs:restriction> | ||||||
|  |                 </xs:simpleType> | ||||||
|  |               </xs:element> | ||||||
|  |               <xs:element name="tolist" msprop:Generator_ColumnVarNameInTable="columntolist" msprop:Generator_ColumnPropNameInRow="tolist" msprop:Generator_ColumnPropNameInTable="tolistColumn" msprop:Generator_UserColumnName="tolist" minOccurs="0"> | ||||||
|  |                 <xs:simpleType> | ||||||
|  |                   <xs:restriction base="xs:string"> | ||||||
|  |                     <xs:maxLength value="2147483647" /> | ||||||
|  |                   </xs:restriction> | ||||||
|  |                 </xs:simpleType> | ||||||
|  |               </xs:element> | ||||||
|  |               <xs:element name="bcc" msprop:Generator_ColumnVarNameInTable="columnbcc" msprop:Generator_ColumnPropNameInRow="bcc" msprop:Generator_ColumnPropNameInTable="bccColumn" msprop:Generator_UserColumnName="bcc" minOccurs="0"> | ||||||
|  |                 <xs:simpleType> | ||||||
|  |                   <xs:restriction base="xs:string"> | ||||||
|  |                     <xs:maxLength value="2147483647" /> | ||||||
|  |                   </xs:restriction> | ||||||
|  |                 </xs:simpleType> | ||||||
|  |               </xs:element> | ||||||
|  |               <xs:element name="cc" msprop:Generator_ColumnVarNameInTable="columncc" msprop:Generator_ColumnPropNameInRow="cc" msprop:Generator_ColumnPropNameInTable="ccColumn" msprop:Generator_UserColumnName="cc" minOccurs="0"> | ||||||
|  |                 <xs:simpleType> | ||||||
|  |                   <xs:restriction base="xs:string"> | ||||||
|  |                     <xs:maxLength value="2147483647" /> | ||||||
|  |                   </xs:restriction> | ||||||
|  |                 </xs:simpleType> | ||||||
|  |               </xs:element> | ||||||
|  |               <xs:element name="subject" msprop:Generator_ColumnVarNameInTable="columnsubject" msprop:Generator_ColumnPropNameInRow="subject" msprop:Generator_ColumnPropNameInTable="subjectColumn" msprop:Generator_UserColumnName="subject" minOccurs="0"> | ||||||
|  |                 <xs:simpleType> | ||||||
|  |                   <xs:restriction base="xs:string"> | ||||||
|  |                     <xs:maxLength value="2147483647" /> | ||||||
|  |                   </xs:restriction> | ||||||
|  |                 </xs:simpleType> | ||||||
|  |               </xs:element> | ||||||
|  |               <xs:element name="tail" msprop:Generator_ColumnVarNameInTable="columntail" msprop:Generator_ColumnPropNameInRow="tail" msprop:Generator_ColumnPropNameInTable="tailColumn" msprop:Generator_UserColumnName="tail" minOccurs="0"> | ||||||
|  |                 <xs:simpleType> | ||||||
|  |                   <xs:restriction base="xs:string"> | ||||||
|  |                     <xs:maxLength value="2147483647" /> | ||||||
|  |                   </xs:restriction> | ||||||
|  |                 </xs:simpleType> | ||||||
|  |               </xs:element> | ||||||
|  |               <xs:element name="body" msprop:Generator_ColumnVarNameInTable="columnbody" msprop:Generator_ColumnPropNameInRow="body" msprop:Generator_ColumnPropNameInTable="bodyColumn" msprop:Generator_UserColumnName="body" minOccurs="0"> | ||||||
|  |                 <xs:simpleType> | ||||||
|  |                   <xs:restriction base="xs:string"> | ||||||
|  |                     <xs:maxLength value="2147483647" /> | ||||||
|  |                   </xs:restriction> | ||||||
|  |                 </xs:simpleType> | ||||||
|  |               </xs:element> | ||||||
|  |               <xs:element name="selfTo" msprop:Generator_ColumnVarNameInTable="columnselfTo" msprop:Generator_ColumnPropNameInRow="selfTo" msprop:Generator_ColumnPropNameInTable="selfToColumn" msprop:Generator_UserColumnName="selfTo" type="xs:boolean" minOccurs="0" /> | ||||||
|  |               <xs:element name="selfCC" msprop:Generator_ColumnVarNameInTable="columnselfCC" msprop:Generator_ColumnPropNameInRow="selfCC" msprop:Generator_ColumnPropNameInTable="selfCCColumn" msprop:Generator_UserColumnName="selfCC" type="xs:boolean" minOccurs="0" /> | ||||||
|  |               <xs:element name="selfBCC" msprop:Generator_ColumnVarNameInTable="columnselfBCC" msprop:Generator_ColumnPropNameInRow="selfBCC" msprop:Generator_ColumnPropNameInTable="selfBCCColumn" msprop:Generator_UserColumnName="selfBCC" type="xs:boolean" minOccurs="0" /> | ||||||
|  |               <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:MailData" /> | ||||||
|  |       <xs:field xpath="mstns:idx" /> | ||||||
|  |     </xs:unique> | ||||||
|  |     <xs:unique name="MailForm_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true"> | ||||||
|  |       <xs:selector xpath=".//mstns:MailForm" /> | ||||||
|  |       <xs:field xpath="mstns:idx" /> | ||||||
|  |     </xs:unique> | ||||||
|  |   </xs:element> | ||||||
|  | </xs:schema> | ||||||
							
								
								
									
										1
									
								
								SubProject/FEQ0000/EEDataSet.xss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								SubProject/FEQ0000/EEDataSet.xss
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | |||||||
|  |  | ||||||
| @@ -53,11 +53,31 @@ | |||||||
|     <Reference Include="libxl.net"> |     <Reference Include="libxl.net"> | ||||||
|       <HintPath>..\..\DLL\libxl.net.dll</HintPath> |       <HintPath>..\..\DLL\libxl.net.dll</HintPath> | ||||||
|     </Reference> |     </Reference> | ||||||
|  |     <Reference Include="Microsoft.mshtml, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
|  |       <EmbedInteropTypes>True</EmbedInteropTypes> | ||||||
|  |     </Reference> | ||||||
|     <Reference Include="Microsoft.ReportViewer.Common, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" /> |     <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="Microsoft.ReportViewer.WinForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" /> | ||||||
|  |     <Reference Include="Microsoft.VisualBasic" /> | ||||||
|  |     <Reference Include="NetOffice, Version=1.7.4.5, Culture=neutral, PublicKeyToken=297f57b43ae7c1de, processorArchitecture=MSIL"> | ||||||
|  |       <HintPath>..\..\packages\NetOfficeFw.Core.1.7.4.5\lib\net40\NetOffice.dll</HintPath> | ||||||
|  |       <EmbedInteropTypes>False</EmbedInteropTypes> | ||||||
|  |     </Reference> | ||||||
|  |     <Reference Include="OfficeApi, Version=1.7.4.5, Culture=neutral, PublicKeyToken=a39beb0835c43c8e, processorArchitecture=MSIL"> | ||||||
|  |       <HintPath>..\..\packages\NetOfficeFw.Core.1.7.4.5\lib\net40\OfficeApi.dll</HintPath> | ||||||
|  |       <EmbedInteropTypes>False</EmbedInteropTypes> | ||||||
|  |     </Reference> | ||||||
|  |     <Reference Include="OutlookApi, Version=1.7.4.5, Culture=neutral, PublicKeyToken=b118031aaa1097f3, processorArchitecture=MSIL"> | ||||||
|  |       <HintPath>..\..\packages\NetOfficeFw.Outlook.1.7.4.5\lib\net40\OutlookApi.dll</HintPath> | ||||||
|  |       <EmbedInteropTypes>False</EmbedInteropTypes> | ||||||
|  |     </Reference> | ||||||
|     <Reference Include="System" /> |     <Reference Include="System" /> | ||||||
|  |     <Reference Include="System.ComponentModel.DataAnnotations" /> | ||||||
|     <Reference Include="System.Configuration" /> |     <Reference Include="System.Configuration" /> | ||||||
|     <Reference Include="System.Core" /> |     <Reference Include="System.Core" /> | ||||||
|  |     <Reference Include="System.Data.Linq" /> | ||||||
|  |     <Reference Include="System.Runtime.Serialization" /> | ||||||
|  |     <Reference Include="System.Security" /> | ||||||
|     <Reference Include="System.Web.Services" /> |     <Reference Include="System.Web.Services" /> | ||||||
|     <Reference Include="System.Xml.Linq" /> |     <Reference Include="System.Xml.Linq" /> | ||||||
|     <Reference Include="System.Data.DataSetExtensions" /> |     <Reference Include="System.Data.DataSetExtensions" /> | ||||||
| @@ -67,13 +87,25 @@ | |||||||
|     <Reference Include="System.Drawing" /> |     <Reference Include="System.Drawing" /> | ||||||
|     <Reference Include="System.Windows.Forms" /> |     <Reference Include="System.Windows.Forms" /> | ||||||
|     <Reference Include="System.Xml" /> |     <Reference Include="System.Xml" /> | ||||||
|  |     <Reference Include="VBIDEApi, Version=1.7.4.5, Culture=neutral, PublicKeyToken=931cec8882205047, processorArchitecture=MSIL"> | ||||||
|  |       <HintPath>..\..\packages\NetOfficeFw.Core.1.7.4.5\lib\net40\VBIDEApi.dll</HintPath> | ||||||
|  |       <EmbedInteropTypes>False</EmbedInteropTypes> | ||||||
|  |     </Reference> | ||||||
|     <Reference Include="WindowsBase" /> |     <Reference Include="WindowsBase" /> | ||||||
|  |     <Reference Include="YARTE, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL"> | ||||||
|  |       <SpecificVersion>False</SpecificVersion> | ||||||
|  |       <HintPath>bin\Debug\YARTE.dll</HintPath> | ||||||
|  |     </Reference> | ||||||
|   </ItemGroup> |   </ItemGroup> | ||||||
|   <ItemGroup> |   <ItemGroup> | ||||||
|     <Compile Include="DataBaseManager.cs" /> |     <Compile Include="DataBaseManager.cs" /> | ||||||
|  |     <Compile Include="DataClasses1.designer.cs"> | ||||||
|  |       <AutoGen>True</AutoGen> | ||||||
|  |       <DesignTime>True</DesignTime> | ||||||
|  |       <DependentUpon>DataClasses1.dbml</DependentUpon> | ||||||
|  |     </Compile> | ||||||
|     <Compile Include="dsEQ.cs"> |     <Compile Include="dsEQ.cs"> | ||||||
|       <DependentUpon>dsEQ.xsd</DependentUpon> |       <DependentUpon>dsEQ.xsd</DependentUpon> | ||||||
|       <SubType>Component</SubType> |  | ||||||
|     </Compile> |     </Compile> | ||||||
|     <Compile Include="dsEQ.Designer.cs"> |     <Compile Include="dsEQ.Designer.cs"> | ||||||
|       <DependentUpon>dsEQ.xsd</DependentUpon> |       <DependentUpon>dsEQ.xsd</DependentUpon> | ||||||
| @@ -85,6 +117,11 @@ | |||||||
|       <DesignTime>True</DesignTime> |       <DesignTime>True</DesignTime> | ||||||
|       <DependentUpon>dsPurchase.xsd</DependentUpon> |       <DependentUpon>dsPurchase.xsd</DependentUpon> | ||||||
|     </Compile> |     </Compile> | ||||||
|  |     <Compile Include="EEDataSet.Designer.cs"> | ||||||
|  |       <AutoGen>True</AutoGen> | ||||||
|  |       <DesignTime>True</DesignTime> | ||||||
|  |       <DependentUpon>EEDataSet.xsd</DependentUpon> | ||||||
|  |     </Compile> | ||||||
|     <Compile Include="Equipment\EQFilterApply.cs"> |     <Compile Include="Equipment\EQFilterApply.cs"> | ||||||
|       <SubType>Form</SubType> |       <SubType>Form</SubType> | ||||||
|     </Compile> |     </Compile> | ||||||
| @@ -124,6 +161,12 @@ | |||||||
|     <Compile Include="Purchase\fInputSC.Designer.cs"> |     <Compile Include="Purchase\fInputSC.Designer.cs"> | ||||||
|       <DependentUpon>fInputSC.cs</DependentUpon> |       <DependentUpon>fInputSC.cs</DependentUpon> | ||||||
|     </Compile> |     </Compile> | ||||||
|  |     <Compile Include="Purchase\fMailForm.cs"> | ||||||
|  |       <SubType>Form</SubType> | ||||||
|  |     </Compile> | ||||||
|  |     <Compile Include="Purchase\fMailForm.Designer.cs"> | ||||||
|  |       <DependentUpon>fMailForm.cs</DependentUpon> | ||||||
|  |     </Compile> | ||||||
|     <Compile Include="Purchase\fPurchase_excelimport.cs"> |     <Compile Include="Purchase\fPurchase_excelimport.cs"> | ||||||
|       <SubType>Form</SubType> |       <SubType>Form</SubType> | ||||||
|     </Compile> |     </Compile> | ||||||
| @@ -204,6 +247,9 @@ | |||||||
|     <EmbeddedResource Include="Purchase\fInputSC.resx"> |     <EmbeddedResource Include="Purchase\fInputSC.resx"> | ||||||
|       <DependentUpon>fInputSC.cs</DependentUpon> |       <DependentUpon>fInputSC.cs</DependentUpon> | ||||||
|     </EmbeddedResource> |     </EmbeddedResource> | ||||||
|  |     <EmbeddedResource Include="Purchase\fMailForm.resx"> | ||||||
|  |       <DependentUpon>fMailForm.cs</DependentUpon> | ||||||
|  |     </EmbeddedResource> | ||||||
|     <EmbeddedResource Include="Purchase\fPurchase_excelimport.resx"> |     <EmbeddedResource Include="Purchase\fPurchase_excelimport.resx"> | ||||||
|       <DependentUpon>fPurchase_excelimport.cs</DependentUpon> |       <DependentUpon>fPurchase_excelimport.cs</DependentUpon> | ||||||
|     </EmbeddedResource> |     </EmbeddedResource> | ||||||
| @@ -232,6 +278,14 @@ | |||||||
|       <DependentUpon>rPurchase.cs</DependentUpon> |       <DependentUpon>rPurchase.cs</DependentUpon> | ||||||
|     </EmbeddedResource> |     </EmbeddedResource> | ||||||
|     <None Include="app.config" /> |     <None Include="app.config" /> | ||||||
|  |     <None Include="DataClasses1.dbml"> | ||||||
|  |       <Generator>MSLinqToSQLGenerator</Generator> | ||||||
|  |       <LastGenOutput>DataClasses1.designer.cs</LastGenOutput> | ||||||
|  |       <SubType>Designer</SubType> | ||||||
|  |     </None> | ||||||
|  |     <None Include="DataClasses1.dbml.layout"> | ||||||
|  |       <DependentUpon>DataClasses1.dbml</DependentUpon> | ||||||
|  |     </None> | ||||||
|     <None Include="dsEQ.xsc"> |     <None Include="dsEQ.xsc"> | ||||||
|       <DependentUpon>dsEQ.xsd</DependentUpon> |       <DependentUpon>dsEQ.xsd</DependentUpon> | ||||||
|     </None> |     </None> | ||||||
| @@ -254,6 +308,18 @@ | |||||||
|     <None Include="dsPurchase.xss"> |     <None Include="dsPurchase.xss"> | ||||||
|       <DependentUpon>dsPurchase.xsd</DependentUpon> |       <DependentUpon>dsPurchase.xsd</DependentUpon> | ||||||
|     </None> |     </None> | ||||||
|  |     <None Include="EEDataSet.xsc"> | ||||||
|  |       <DependentUpon>EEDataSet.xsd</DependentUpon> | ||||||
|  |     </None> | ||||||
|  |     <None Include="EEDataSet.xsd"> | ||||||
|  |       <Generator>MSDataSetGenerator</Generator> | ||||||
|  |       <LastGenOutput>EEDataSet.Designer.cs</LastGenOutput> | ||||||
|  |       <SubType>Designer</SubType> | ||||||
|  |     </None> | ||||||
|  |     <None Include="EEDataSet.xss"> | ||||||
|  |       <DependentUpon>EEDataSet.xsd</DependentUpon> | ||||||
|  |     </None> | ||||||
|  |     <None Include="packages.config" /> | ||||||
|     <None Include="Properties\Settings.settings"> |     <None Include="Properties\Settings.settings"> | ||||||
|       <Generator>SettingsSingleFileGenerator</Generator> |       <Generator>SettingsSingleFileGenerator</Generator> | ||||||
|       <LastGenOutput>Settings.Designer.cs</LastGenOutput> |       <LastGenOutput>Settings.Designer.cs</LastGenOutput> | ||||||
| @@ -277,6 +343,10 @@ | |||||||
|   <ItemGroup> |   <ItemGroup> | ||||||
|     <None Include="Resources\action_save.gif" /> |     <None Include="Resources\action_save.gif" /> | ||||||
|   </ItemGroup> |   </ItemGroup> | ||||||
|  |   <ItemGroup> | ||||||
|  |     <Service Include="{3259AA49-8AA1-44D3-9025-A0B520596A8C}" /> | ||||||
|  |     <Service Include="{508349B6-6B84-4DF5-91F0-309BEEBAD82D}" /> | ||||||
|  |   </ItemGroup> | ||||||
|   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> |   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | ||||||
|   <!-- To modify your build process, add your task inside one of the targets below and uncomment it.  |   <!-- 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. |        Other similar extension points exist, see Microsoft.Common.targets. | ||||||
|   | |||||||
							
								
								
									
										13
									
								
								SubProject/FEQ0000/Properties/Settings.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										13
									
								
								SubProject/FEQ0000/Properties/Settings.Designer.cs
									
									
									
										generated
									
									
									
								
							| @@ -12,7 +12,7 @@ namespace FEQ0000.Properties { | |||||||
|      |      | ||||||
|      |      | ||||||
|     [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] |     [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] | ||||||
|     [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.0.0")] |     [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.9.0.0")] | ||||||
|     internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { |     internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { | ||||||
|          |          | ||||||
|         private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); |         private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); | ||||||
| @@ -33,5 +33,16 @@ namespace FEQ0000.Properties { | |||||||
|                 return ((string)(this["gwcs"])); |                 return ((string)(this["gwcs"])); | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|  |          | ||||||
|  |         [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.15.18;Initial Catalog=EE;Persist Security Info=True;User ID=ee" + | ||||||
|  |             "user;Password=Amkor123!")] | ||||||
|  |         public string EEEntities { | ||||||
|  |             get { | ||||||
|  |                 return ((string)(this["EEEntities"])); | ||||||
|  |             } | ||||||
|  |         } | ||||||
|     } |     } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -7,6 +7,13 @@ | |||||||
| <SerializableConnectionString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | <SerializableConnectionString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | ||||||
|   <ConnectionString>Data Source=10.131.15.18;Initial Catalog=EE;Persist Security Info=True;User ID=eeuser;Password=Amkor123!</ConnectionString> |   <ConnectionString>Data Source=10.131.15.18;Initial Catalog=EE;Persist Security Info=True;User ID=eeuser;Password=Amkor123!</ConnectionString> | ||||||
|   <ProviderName>System.Data.SqlClient</ProviderName> |   <ProviderName>System.Data.SqlClient</ProviderName> | ||||||
|  | </SerializableConnectionString></DesignTimeValue> | ||||||
|  |       <Value Profile="(Default)">Data Source=10.131.15.18;Initial Catalog=EE;Persist Security Info=True;User ID=eeuser;Password=Amkor123!</Value> | ||||||
|  |     </Setting> | ||||||
|  |     <Setting Name="EEEntities" 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.15.18;Initial Catalog=EE;Persist Security Info=True;User ID=eeuser;Password=Amkor123!</ConnectionString> | ||||||
| </SerializableConnectionString></DesignTimeValue> | </SerializableConnectionString></DesignTimeValue> | ||||||
|       <Value Profile="(Default)">Data Source=10.131.15.18;Initial Catalog=EE;Persist Security Info=True;User ID=eeuser;Password=Amkor123!</Value> |       <Value Profile="(Default)">Data Source=10.131.15.18;Initial Catalog=EE;Persist Security Info=True;User ID=eeuser;Password=Amkor123!</Value> | ||||||
|     </Setting> |     </Setting> | ||||||
|   | |||||||
							
								
								
									
										235
									
								
								SubProject/FEQ0000/Purchase/fMailForm.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										235
									
								
								SubProject/FEQ0000/Purchase/fMailForm.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,235 @@ | |||||||
|  | namespace FEQ0000.Purchase | ||||||
|  | { | ||||||
|  |     partial class fMailForm | ||||||
|  |     { | ||||||
|  |         /// <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() | ||||||
|  |         { | ||||||
|  |             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fMailForm)); | ||||||
|  |             this.cmbForm = new System.Windows.Forms.ComboBox(); | ||||||
|  |             this.tbBcc = new System.Windows.Forms.TextBox(); | ||||||
|  |             this.tbTo = new System.Windows.Forms.TextBox(); | ||||||
|  |             this.tbCC = new System.Windows.Forms.TextBox(); | ||||||
|  |             this.chkAttach = new System.Windows.Forms.CheckBox(); | ||||||
|  |             this.chkList = new System.Windows.Forms.CheckBox(); | ||||||
|  |             this.label1 = new System.Windows.Forms.Label(); | ||||||
|  |             this.label2 = new System.Windows.Forms.Label(); | ||||||
|  |             this.label3 = new System.Windows.Forms.Label(); | ||||||
|  |             this.label4 = new System.Windows.Forms.Label(); | ||||||
|  |             this.label5 = new System.Windows.Forms.Label(); | ||||||
|  |             this.tbSubject = new System.Windows.Forms.TextBox(); | ||||||
|  |             this.label6 = new System.Windows.Forms.Label(); | ||||||
|  |             this.button1 = new System.Windows.Forms.Button(); | ||||||
|  |             this.htmlEditor1 = new YARTE.UI.HtmlEditor(); | ||||||
|  |             this.SuspendLayout(); | ||||||
|  |             //  | ||||||
|  |             // cmbForm | ||||||
|  |             //  | ||||||
|  |             this.cmbForm.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; | ||||||
|  |             this.cmbForm.FormattingEnabled = true; | ||||||
|  |             this.cmbForm.Location = new System.Drawing.Point(74, 11); | ||||||
|  |             this.cmbForm.Name = "cmbForm"; | ||||||
|  |             this.cmbForm.Size = new System.Drawing.Size(763, 20); | ||||||
|  |             this.cmbForm.TabIndex = 0; | ||||||
|  |             this.cmbForm.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged); | ||||||
|  |             //  | ||||||
|  |             // tbBcc | ||||||
|  |             //  | ||||||
|  |             this.tbBcc.Location = new System.Drawing.Point(461, 128); | ||||||
|  |             this.tbBcc.Multiline = true; | ||||||
|  |             this.tbBcc.Name = "tbBcc"; | ||||||
|  |             this.tbBcc.Size = new System.Drawing.Size(381, 63); | ||||||
|  |             this.tbBcc.TabIndex = 2; | ||||||
|  |             //  | ||||||
|  |             // tbTo | ||||||
|  |             //  | ||||||
|  |             this.tbTo.Location = new System.Drawing.Point(74, 38); | ||||||
|  |             this.tbTo.Multiline = true; | ||||||
|  |             this.tbTo.Name = "tbTo"; | ||||||
|  |             this.tbTo.Size = new System.Drawing.Size(763, 68); | ||||||
|  |             this.tbTo.TabIndex = 3; | ||||||
|  |             //  | ||||||
|  |             // tbCC | ||||||
|  |             //  | ||||||
|  |             this.tbCC.Location = new System.Drawing.Point(74, 127); | ||||||
|  |             this.tbCC.Multiline = true; | ||||||
|  |             this.tbCC.Name = "tbCC"; | ||||||
|  |             this.tbCC.Size = new System.Drawing.Size(381, 63); | ||||||
|  |             this.tbCC.TabIndex = 4; | ||||||
|  |             //  | ||||||
|  |             // chkAttach | ||||||
|  |             //  | ||||||
|  |             this.chkAttach.AutoSize = true; | ||||||
|  |             this.chkAttach.Checked = true; | ||||||
|  |             this.chkAttach.CheckState = System.Windows.Forms.CheckState.Checked; | ||||||
|  |             this.chkAttach.Location = new System.Drawing.Point(74, 572); | ||||||
|  |             this.chkAttach.Name = "chkAttach"; | ||||||
|  |             this.chkAttach.Size = new System.Drawing.Size(104, 16); | ||||||
|  |             this.chkAttach.TabIndex = 5; | ||||||
|  |             this.chkAttach.Text = "목록 파일 첨부"; | ||||||
|  |             this.chkAttach.UseVisualStyleBackColor = true; | ||||||
|  |             //  | ||||||
|  |             // chkList | ||||||
|  |             //  | ||||||
|  |             this.chkList.AutoSize = true; | ||||||
|  |             this.chkList.Checked = true; | ||||||
|  |             this.chkList.CheckState = System.Windows.Forms.CheckState.Checked; | ||||||
|  |             this.chkList.Location = new System.Drawing.Point(74, 599); | ||||||
|  |             this.chkList.Name = "chkList"; | ||||||
|  |             this.chkList.Size = new System.Drawing.Size(104, 16); | ||||||
|  |             this.chkList.TabIndex = 6; | ||||||
|  |             this.chkList.Text = "목록 본문 첨부"; | ||||||
|  |             this.chkList.UseVisualStyleBackColor = true; | ||||||
|  |             //  | ||||||
|  |             // label1 | ||||||
|  |             //  | ||||||
|  |             this.label1.AutoSize = true; | ||||||
|  |             this.label1.Location = new System.Drawing.Point(12, 10); | ||||||
|  |             this.label1.Name = "label1"; | ||||||
|  |             this.label1.Size = new System.Drawing.Size(53, 12); | ||||||
|  |             this.label1.TabIndex = 7; | ||||||
|  |             this.label1.Text = "메일양식"; | ||||||
|  |             //  | ||||||
|  |             // label2 | ||||||
|  |             //  | ||||||
|  |             this.label2.AutoSize = true; | ||||||
|  |             this.label2.Location = new System.Drawing.Point(43, 40); | ||||||
|  |             this.label2.Name = "label2"; | ||||||
|  |             this.label2.Size = new System.Drawing.Size(22, 12); | ||||||
|  |             this.label2.TabIndex = 7; | ||||||
|  |             this.label2.Text = "TO"; | ||||||
|  |             //  | ||||||
|  |             // label3 | ||||||
|  |             //  | ||||||
|  |             this.label3.AutoSize = true; | ||||||
|  |             this.label3.Location = new System.Drawing.Point(72, 113); | ||||||
|  |             this.label3.Name = "label3"; | ||||||
|  |             this.label3.Size = new System.Drawing.Size(23, 12); | ||||||
|  |             this.label3.TabIndex = 7; | ||||||
|  |             this.label3.Text = "CC"; | ||||||
|  |             //  | ||||||
|  |             // label4 | ||||||
|  |             //  | ||||||
|  |             this.label4.AutoSize = true; | ||||||
|  |             this.label4.Location = new System.Drawing.Point(461, 113); | ||||||
|  |             this.label4.Name = "label4"; | ||||||
|  |             this.label4.Size = new System.Drawing.Size(31, 12); | ||||||
|  |             this.label4.TabIndex = 7; | ||||||
|  |             this.label4.Text = "BCC"; | ||||||
|  |             //  | ||||||
|  |             // label5 | ||||||
|  |             //  | ||||||
|  |             this.label5.AutoSize = true; | ||||||
|  |             this.label5.Location = new System.Drawing.Point(12, 233); | ||||||
|  |             this.label5.Name = "label5"; | ||||||
|  |             this.label5.Size = new System.Drawing.Size(53, 12); | ||||||
|  |             this.label5.TabIndex = 7; | ||||||
|  |             this.label5.Text = "본문양식"; | ||||||
|  |             //  | ||||||
|  |             // tbSubject | ||||||
|  |             //  | ||||||
|  |             this.tbSubject.Location = new System.Drawing.Point(74, 200); | ||||||
|  |             this.tbSubject.Name = "tbSubject"; | ||||||
|  |             this.tbSubject.Size = new System.Drawing.Size(768, 21); | ||||||
|  |             this.tbSubject.TabIndex = 8; | ||||||
|  |             //  | ||||||
|  |             // label6 | ||||||
|  |             //  | ||||||
|  |             this.label6.AutoSize = true; | ||||||
|  |             this.label6.Location = new System.Drawing.Point(12, 203); | ||||||
|  |             this.label6.Name = "label6"; | ||||||
|  |             this.label6.Size = new System.Drawing.Size(53, 12); | ||||||
|  |             this.label6.TabIndex = 7; | ||||||
|  |             this.label6.Text = "제목양식"; | ||||||
|  |             //  | ||||||
|  |             // button1 | ||||||
|  |             //  | ||||||
|  |             this.button1.Location = new System.Drawing.Point(74, 524); | ||||||
|  |             this.button1.Name = "button1"; | ||||||
|  |             this.button1.Size = new System.Drawing.Size(768, 42); | ||||||
|  |             this.button1.TabIndex = 9; | ||||||
|  |             this.button1.Text = "확인"; | ||||||
|  |             this.button1.UseVisualStyleBackColor = true; | ||||||
|  |             this.button1.Click += new System.EventHandler(this.button1_Click); | ||||||
|  |             //  | ||||||
|  |             // htmlEditor1 | ||||||
|  |             //  | ||||||
|  |             this.htmlEditor1.Html = resources.GetString("htmlEditor1.Html"); | ||||||
|  |             this.htmlEditor1.Location = new System.Drawing.Point(74, 227); | ||||||
|  |             this.htmlEditor1.Name = "htmlEditor1"; | ||||||
|  |             this.htmlEditor1.ReadOnly = false; | ||||||
|  |             this.htmlEditor1.ShowToolbar = true; | ||||||
|  |             this.htmlEditor1.Size = new System.Drawing.Size(768, 291); | ||||||
|  |             this.htmlEditor1.TabIndex = 10; | ||||||
|  |             //  | ||||||
|  |             // fMailForm | ||||||
|  |             //  | ||||||
|  |             this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); | ||||||
|  |             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | ||||||
|  |             this.ClientSize = new System.Drawing.Size(856, 633); | ||||||
|  |             this.Controls.Add(this.htmlEditor1); | ||||||
|  |             this.Controls.Add(this.button1); | ||||||
|  |             this.Controls.Add(this.tbSubject); | ||||||
|  |             this.Controls.Add(this.label5); | ||||||
|  |             this.Controls.Add(this.label6); | ||||||
|  |             this.Controls.Add(this.label4); | ||||||
|  |             this.Controls.Add(this.label3); | ||||||
|  |             this.Controls.Add(this.label2); | ||||||
|  |             this.Controls.Add(this.label1); | ||||||
|  |             this.Controls.Add(this.chkList); | ||||||
|  |             this.Controls.Add(this.chkAttach); | ||||||
|  |             this.Controls.Add(this.tbCC); | ||||||
|  |             this.Controls.Add(this.tbTo); | ||||||
|  |             this.Controls.Add(this.tbBcc); | ||||||
|  |             this.Controls.Add(this.cmbForm); | ||||||
|  |             this.Name = "fMailForm"; | ||||||
|  |             this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; | ||||||
|  |             this.Text = "fMailForm"; | ||||||
|  |             this.Load += new System.EventHandler(this.fMailForm_Load); | ||||||
|  |             this.ResumeLayout(false); | ||||||
|  |             this.PerformLayout(); | ||||||
|  |  | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         #endregion | ||||||
|  |  | ||||||
|  |         private System.Windows.Forms.ComboBox cmbForm; | ||||||
|  |         private System.Windows.Forms.Label label1; | ||||||
|  |         private System.Windows.Forms.Label label2; | ||||||
|  |         private System.Windows.Forms.Label label3; | ||||||
|  |         private System.Windows.Forms.Label label4; | ||||||
|  |         private System.Windows.Forms.Label label5; | ||||||
|  |         private System.Windows.Forms.Label label6; | ||||||
|  |         private System.Windows.Forms.Button button1; | ||||||
|  |         public System.Windows.Forms.TextBox tbSubject; | ||||||
|  |         public System.Windows.Forms.TextBox tbBcc; | ||||||
|  |         public System.Windows.Forms.TextBox tbTo; | ||||||
|  |         public System.Windows.Forms.TextBox tbCC; | ||||||
|  |         public System.Windows.Forms.CheckBox chkAttach; | ||||||
|  |         public System.Windows.Forms.CheckBox chkList; | ||||||
|  |         public YARTE.UI.HtmlEditor htmlEditor1; | ||||||
|  |     } | ||||||
|  | } | ||||||
							
								
								
									
										45
									
								
								SubProject/FEQ0000/Purchase/fMailForm.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										45
									
								
								SubProject/FEQ0000/Purchase/fMailForm.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,45 @@ | |||||||
|  | using System; | ||||||
|  | using System.Collections.Generic; | ||||||
|  | using System.ComponentModel; | ||||||
|  | using System.Data; | ||||||
|  | using System.Drawing; | ||||||
|  | using System.Linq; | ||||||
|  | using System.Text; | ||||||
|  | using System.Threading.Tasks; | ||||||
|  | using System.Windows.Forms; | ||||||
|  |  | ||||||
|  | namespace FEQ0000.Purchase | ||||||
|  | { | ||||||
|  |     public partial class fMailForm : Form | ||||||
|  |     { | ||||||
|  |         public fMailForm() | ||||||
|  |         { | ||||||
|  |             InitializeComponent(); | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         private void fMailForm_Load(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             var db = new DataClasses1DataContext(); | ||||||
|  |  | ||||||
|  |             var mailform = db.MailForm.Where(t => t.cate == "PC").ToList(); | ||||||
|  |             this.cmbForm.DataSource = mailform; | ||||||
|  |             this.cmbForm.DisplayMember = "title"; | ||||||
|  |             this.cmbForm.ValueMember = "idx"; | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         private void comboBox1_SelectedIndexChanged(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             var item = this.cmbForm.SelectedItem as MailForm; | ||||||
|  |             this.tbSubject.Text = item.subject; | ||||||
|  |             this.tbTo.Text = item.tolist; | ||||||
|  |             this.tbCC.Text = item.cc; | ||||||
|  |             this.tbBcc.Text = item.bcc; | ||||||
|  |             this.htmlEditor1.Html = item.body; | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         private void button1_Click(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             DialogResult = DialogResult.OK; | ||||||
|  |         } | ||||||
|  |     } | ||||||
|  | } | ||||||
							
								
								
									
										128
									
								
								SubProject/FEQ0000/Purchase/fMailForm.resx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										128
									
								
								SubProject/FEQ0000/Purchase/fMailForm.resx
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,128 @@ | |||||||
|  | <?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> | ||||||
|  |   <data name="htmlEditor1.Html" xml:space="preserve"> | ||||||
|  |     <value><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> | ||||||
|  | <HTML><HEAD> | ||||||
|  | <META content="text/html; charset=unicode" http-equiv=Content-Type> | ||||||
|  | <META name=GENERATOR content="MSHTML 11.00.10570.1001"></HEAD> | ||||||
|  | <BODY></BODY></HTML> | ||||||
|  | </value> | ||||||
|  |   </data> | ||||||
|  | </root> | ||||||
							
								
								
									
										77
									
								
								SubProject/FEQ0000/Purchase/fPurchase.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										77
									
								
								SubProject/FEQ0000/Purchase/fPurchase.Designer.cs
									
									
									
										generated
									
									
									
								
							| @@ -53,6 +53,7 @@ | |||||||
|             FarPoint.Win.Spread.CellType.NumberCellType numberCellType6 = new FarPoint.Win.Spread.CellType.NumberCellType(); |             FarPoint.Win.Spread.CellType.NumberCellType numberCellType6 = new FarPoint.Win.Spread.CellType.NumberCellType(); | ||||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType16 = new FarPoint.Win.Spread.CellType.TextCellType(); |             FarPoint.Win.Spread.CellType.TextCellType textCellType16 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType17 = new FarPoint.Win.Spread.CellType.TextCellType(); |             FarPoint.Win.Spread.CellType.TextCellType textCellType17 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||||
|  |             FarPoint.Win.Spread.CellType.NumberCellType numberCellType7 = new FarPoint.Win.Spread.CellType.NumberCellType(); | ||||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType18 = new FarPoint.Win.Spread.CellType.TextCellType(); |             FarPoint.Win.Spread.CellType.TextCellType textCellType18 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType19 = new FarPoint.Win.Spread.CellType.TextCellType(); |             FarPoint.Win.Spread.CellType.TextCellType textCellType19 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||||
|             FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType1 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); |             FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType1 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); | ||||||
| @@ -86,6 +87,7 @@ | |||||||
|             this.집계표ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |             this.집계표ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||||
|             this.toolStripButton3 = new System.Windows.Forms.ToolStripButton(); |             this.toolStripButton3 = new System.Windows.Forms.ToolStripButton(); | ||||||
|             this.toolStripButton4 = new System.Windows.Forms.ToolStripButton(); |             this.toolStripButton4 = new System.Windows.Forms.ToolStripButton(); | ||||||
|  |             this.toolStripButton5 = new System.Windows.Forms.ToolStripButton(); | ||||||
|             this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components); |             this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components); | ||||||
|             this.columnSizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |             this.columnSizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||||
|             this.autoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |             this.autoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||||
| @@ -191,7 +193,8 @@ | |||||||
|             this.toolStripSeparator6, |             this.toolStripSeparator6, | ||||||
|             this.toolStripButton1, |             this.toolStripButton1, | ||||||
|             this.toolStripButton3, |             this.toolStripButton3, | ||||||
|             this.toolStripButton4}); |             this.toolStripButton4, | ||||||
|  |             this.toolStripButton5}); | ||||||
|             this.bn.Location = new System.Drawing.Point(0, 639); |             this.bn.Location = new System.Drawing.Point(0, 639); | ||||||
|             this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem; |             this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem; | ||||||
|             this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem; |             this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem; | ||||||
| @@ -399,6 +402,15 @@ | |||||||
|             this.toolStripButton4.Text = "가져오기"; |             this.toolStripButton4.Text = "가져오기"; | ||||||
|             this.toolStripButton4.Click += new System.EventHandler(this.toolStripButton4_Click); |             this.toolStripButton4.Click += new System.EventHandler(this.toolStripButton4_Click); | ||||||
|             //  |             //  | ||||||
|  |             // toolStripButton5 | ||||||
|  |             //  | ||||||
|  |             this.toolStripButton5.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton5.Image"))); | ||||||
|  |             this.toolStripButton5.ImageTransparentColor = System.Drawing.Color.Magenta; | ||||||
|  |             this.toolStripButton5.Name = "toolStripButton5"; | ||||||
|  |             this.toolStripButton5.Size = new System.Drawing.Size(75, 23); | ||||||
|  |             this.toolStripButton5.Text = "메일전송"; | ||||||
|  |             this.toolStripButton5.Click += new System.EventHandler(this.toolStripButton5_Click); | ||||||
|  |             //  | ||||||
|             // cm1 |             // cm1 | ||||||
|             //  |             //  | ||||||
|             this.cm1.Font = new System.Drawing.Font("맑은 고딕", 20F); |             this.cm1.Font = new System.Drawing.Font("맑은 고딕", 20F); | ||||||
| @@ -760,7 +772,7 @@ | |||||||
|             this.fpSpread1_Sheet1.SheetName = "Sheet1"; |             this.fpSpread1_Sheet1.SheetName = "Sheet1"; | ||||||
|             // Formulas and custom names must be loaded with R1C1 reference style |             // Formulas and custom names must be loaded with R1C1 reference style | ||||||
|             this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1; |             this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1; | ||||||
|             this.fpSpread1_Sheet1.ColumnCount = 28; |             this.fpSpread1_Sheet1.ColumnCount = 29; | ||||||
|             this.fpSpread1_Sheet1.ActiveColumnIndex = -1; |             this.fpSpread1_Sheet1.ActiveColumnIndex = -1; | ||||||
|             this.fpSpread1_Sheet1.ActiveRowIndex = -1; |             this.fpSpread1_Sheet1.ActiveRowIndex = -1; | ||||||
|             this.fpSpread1_Sheet1.AutoGenerateColumns = false; |             this.fpSpread1_Sheet1.AutoGenerateColumns = false; | ||||||
| @@ -789,9 +801,10 @@ | |||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 22).Value = "*"; |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 22).Value = "*"; | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 23).Value = "입고예정"; |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 23).Value = "입고예정"; | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 24).Value = "입고일"; |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 24).Value = "입고일"; | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 25).Value = "PO#"; |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 25).Value = "입고수량"; | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 26).Value = "비고"; |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 26).Value = "PO#"; | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 27).Value = "삭제됨"; |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 27).Value = "비고"; | ||||||
|  |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 28).Value = "삭제됨"; | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 37F; |             this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 37F; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(0).AllowAutoFilter = true; |             this.fpSpread1_Sheet1.Columns.Get(0).AllowAutoFilter = true; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(0).AllowAutoSort = true; |             this.fpSpread1_Sheet1.Columns.Get(0).AllowAutoSort = true; | ||||||
| @@ -799,6 +812,7 @@ | |||||||
|             this.fpSpread1_Sheet1.Columns.Get(0).DataField = "pdate"; |             this.fpSpread1_Sheet1.Columns.Get(0).DataField = "pdate"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; |             this.fpSpread1_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(0).Label = "등록일"; |             this.fpSpread1_Sheet1.Columns.Get(0).Label = "등록일"; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(0).Tag = "pdate"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; |             this.fpSpread1_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(0).Width = 77F; |             this.fpSpread1_Sheet1.Columns.Get(0).Width = 77F; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(1).AllowAutoFilter = true; |             this.fpSpread1_Sheet1.Columns.Get(1).AllowAutoFilter = true; | ||||||
| @@ -828,11 +842,13 @@ | |||||||
|             this.fpSpread1_Sheet1.Columns.Get(4).DataField = "requestName"; |             this.fpSpread1_Sheet1.Columns.Get(4).DataField = "requestName"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; |             this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(4).Label = "요청"; |             this.fpSpread1_Sheet1.Columns.Get(4).Label = "요청"; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(4).Tag = "requestName"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(4).Width = 37F; |             this.fpSpread1_Sheet1.Columns.Get(4).Width = 37F; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType6; |             this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType6; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(5).DataField = "sc"; |             this.fpSpread1_Sheet1.Columns.Get(5).DataField = "sc"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; |             this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(5).Label = "SC#"; |             this.fpSpread1_Sheet1.Columns.Get(5).Label = "SC#"; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(5).Tag = "sc"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; |             this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(5).Width = 24F; |             this.fpSpread1_Sheet1.Columns.Get(5).Width = 24F; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType7; |             this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType7; | ||||||
| @@ -846,18 +862,21 @@ | |||||||
|             this.fpSpread1_Sheet1.Columns.Get(7).DataField = "receiveName"; |             this.fpSpread1_Sheet1.Columns.Get(7).DataField = "receiveName"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; |             this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(7).Label = "수령"; |             this.fpSpread1_Sheet1.Columns.Get(7).Label = "수령"; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(7).Tag = "receiveName"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(7).Width = 33F; |             this.fpSpread1_Sheet1.Columns.Get(7).Width = 33F; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(8).AllowAutoSort = true; |             this.fpSpread1_Sheet1.Columns.Get(8).AllowAutoSort = true; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType9; |             this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType9; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(8).DataField = "sid"; |             this.fpSpread1_Sheet1.Columns.Get(8).DataField = "sid"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; |             this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(8).Label = "SID#"; |             this.fpSpread1_Sheet1.Columns.Get(8).Label = "SID#"; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(8).Tag = "sid"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; |             this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(8).Width = 51F; |             this.fpSpread1_Sheet1.Columns.Get(8).Width = 51F; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType10; |             this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType10; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(9).DataField = "pumname"; |             this.fpSpread1_Sheet1.Columns.Get(9).DataField = "pumname"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; |             this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(9).Label = "품명"; |             this.fpSpread1_Sheet1.Columns.Get(9).Label = "품명"; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(9).Tag = "pumname"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(9).Width = 33F; |             this.fpSpread1_Sheet1.Columns.Get(9).Width = 33F; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(10).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); |             this.fpSpread1_Sheet1.Columns.Get(10).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); | ||||||
|             numberCellType1.DecimalPlaces = 0; |             numberCellType1.DecimalPlaces = 0; | ||||||
| @@ -873,6 +892,7 @@ | |||||||
|             this.fpSpread1_Sheet1.Columns.Get(11).DataField = "pumscale"; |             this.fpSpread1_Sheet1.Columns.Get(11).DataField = "pumscale"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; |             this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(11).Label = "규격"; |             this.fpSpread1_Sheet1.Columns.Get(11).Label = "규격"; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(11).Tag = "pumscale"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(11).Width = 33F; |             this.fpSpread1_Sheet1.Columns.Get(11).Width = 33F; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType12; |             this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType12; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(12).DataField = "dept"; |             this.fpSpread1_Sheet1.Columns.Get(12).DataField = "dept"; | ||||||
| @@ -896,6 +916,7 @@ | |||||||
|             this.fpSpread1_Sheet1.Columns.Get(15).DataField = "pumqty"; |             this.fpSpread1_Sheet1.Columns.Get(15).DataField = "pumqty"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; |             this.fpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(15).Label = "수량"; |             this.fpSpread1_Sheet1.Columns.Get(15).Label = "수량"; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(15).Tag = "pumqty"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(15).Width = 33F; |             this.fpSpread1_Sheet1.Columns.Get(15).Width = 33F; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(16).CellType = textCellType13; |             this.fpSpread1_Sheet1.Columns.Get(16).CellType = textCellType13; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(16).DataField = "pumunit"; |             this.fpSpread1_Sheet1.Columns.Get(16).DataField = "pumunit"; | ||||||
| @@ -914,6 +935,7 @@ | |||||||
|             this.fpSpread1_Sheet1.Columns.Get(17).DataField = "pumprice"; |             this.fpSpread1_Sheet1.Columns.Get(17).DataField = "pumprice"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(17).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; |             this.fpSpread1_Sheet1.Columns.Get(17).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(17).Label = "단가"; |             this.fpSpread1_Sheet1.Columns.Get(17).Label = "단가"; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(17).Tag = "pumprice"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(17).Width = 33F; |             this.fpSpread1_Sheet1.Columns.Get(17).Width = 33F; | ||||||
|             numberCellType4.DecimalPlaces = 0; |             numberCellType4.DecimalPlaces = 0; | ||||||
|             numberCellType4.MaximumValue = 9999999999999.99D; |             numberCellType4.MaximumValue = 9999999999999.99D; | ||||||
| @@ -927,12 +949,14 @@ | |||||||
|             this.fpSpread1_Sheet1.Columns.Get(18).DataField = "pumamt"; |             this.fpSpread1_Sheet1.Columns.Get(18).DataField = "pumamt"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(18).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; |             this.fpSpread1_Sheet1.Columns.Get(18).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(18).Label = "합계금액"; |             this.fpSpread1_Sheet1.Columns.Get(18).Label = "합계금액"; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(18).Tag = "pumamt"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(18).Width = 33F; |             this.fpSpread1_Sheet1.Columns.Get(18).Width = 33F; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(19).AllowAutoFilter = true; |             this.fpSpread1_Sheet1.Columns.Get(19).AllowAutoFilter = true; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(19).CellType = textCellType14; |             this.fpSpread1_Sheet1.Columns.Get(19).CellType = textCellType14; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(19).DataField = "supply"; |             this.fpSpread1_Sheet1.Columns.Get(19).DataField = "supply"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(19).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; |             this.fpSpread1_Sheet1.Columns.Get(19).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(19).Label = "공급업체"; |             this.fpSpread1_Sheet1.Columns.Get(19).Label = "공급업체"; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(19).Tag = "supply"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(19).Width = 49F; |             this.fpSpread1_Sheet1.Columns.Get(19).Width = 49F; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(20).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); |             this.fpSpread1_Sheet1.Columns.Get(20).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); | ||||||
|             numberCellType5.DecimalPlaces = 0; |             numberCellType5.DecimalPlaces = 0; | ||||||
| @@ -949,7 +973,7 @@ | |||||||
|             this.fpSpread1_Sheet1.Columns.Get(21).DataField = "project"; |             this.fpSpread1_Sheet1.Columns.Get(21).DataField = "project"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(21).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; |             this.fpSpread1_Sheet1.Columns.Get(21).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(21).Label = "관련프로젝트"; |             this.fpSpread1_Sheet1.Columns.Get(21).Label = "관련프로젝트"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(21).Width = 45F; |             this.fpSpread1_Sheet1.Columns.Get(21).Width = 63F; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(22).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); |             this.fpSpread1_Sheet1.Columns.Get(22).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); | ||||||
|             numberCellType6.DecimalPlaces = 0; |             numberCellType6.DecimalPlaces = 0; | ||||||
|             numberCellType6.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; |             numberCellType6.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; | ||||||
| @@ -969,22 +993,34 @@ | |||||||
|             this.fpSpread1_Sheet1.Columns.Get(24).DataField = "indate"; |             this.fpSpread1_Sheet1.Columns.Get(24).DataField = "indate"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(24).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; |             this.fpSpread1_Sheet1.Columns.Get(24).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(24).Label = "입고일"; |             this.fpSpread1_Sheet1.Columns.Get(24).Label = "입고일"; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(24).Tag = "indate"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(24).Width = 33F; |             this.fpSpread1_Sheet1.Columns.Get(24).Width = 33F; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(25).CellType = textCellType18; |             numberCellType7.NegativeRed = true; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(25).DataField = "po"; |             numberCellType7.ShowSeparator = true; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(25).CellType = numberCellType7; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(25).DataField = "inqty"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(25).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; |             this.fpSpread1_Sheet1.Columns.Get(25).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(25).Label = "PO#"; |             this.fpSpread1_Sheet1.Columns.Get(25).Label = "입고수량"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(25).Width = 32F; |             this.fpSpread1_Sheet1.Columns.Get(25).Tag = "inqty"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(26).CellType = textCellType19; |             this.fpSpread1_Sheet1.Columns.Get(25).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(26).DataField = "bigo"; |             this.fpSpread1_Sheet1.Columns.Get(25).Width = 41F; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(26).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; |             this.fpSpread1_Sheet1.Columns.Get(26).CellType = textCellType18; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(26).Label = "비고"; |             this.fpSpread1_Sheet1.Columns.Get(26).DataField = "po"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(26).Width = 33F; |             this.fpSpread1_Sheet1.Columns.Get(26).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(27).CellType = checkBoxCellType1; |             this.fpSpread1_Sheet1.Columns.Get(26).Label = "PO#"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(27).DataField = "isdel"; |             this.fpSpread1_Sheet1.Columns.Get(26).Tag = "po"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(27).Label = "삭제됨"; |             this.fpSpread1_Sheet1.Columns.Get(26).Width = 32F; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(27).Tag = "isdel"; |             this.fpSpread1_Sheet1.Columns.Get(27).CellType = textCellType19; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(27).Width = 45F; |             this.fpSpread1_Sheet1.Columns.Get(27).DataField = "bigo"; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(27).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(27).Label = "비고"; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(27).Tag = "bigo"; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(27).Width = 33F; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(28).CellType = checkBoxCellType1; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(28).DataField = "isdel"; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(28).Label = "삭제됨"; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(28).Tag = "isdel"; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(28).Width = 45F; | ||||||
|             this.fpSpread1_Sheet1.DataAutoCellTypes = false; |             this.fpSpread1_Sheet1.DataAutoCellTypes = false; | ||||||
|             this.fpSpread1_Sheet1.DataAutoSizeColumns = false; |             this.fpSpread1_Sheet1.DataAutoSizeColumns = false; | ||||||
|             this.fpSpread1_Sheet1.DataSource = this.bs; |             this.fpSpread1_Sheet1.DataSource = this.bs; | ||||||
| @@ -1093,6 +1129,7 @@ | |||||||
|         private System.Windows.Forms.ToolStripButton toolStripButton3; |         private System.Windows.Forms.ToolStripButton toolStripButton3; | ||||||
|         private System.Windows.Forms.Label label1; |         private System.Windows.Forms.Label label1; | ||||||
|         private System.Windows.Forms.ToolStripButton toolStripButton4; |         private System.Windows.Forms.ToolStripButton toolStripButton4; | ||||||
|  |         private System.Windows.Forms.ToolStripButton toolStripButton5; | ||||||
|         private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1; |         private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1; | ||||||
|     } |     } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -8,6 +8,10 @@ using System.Text; | |||||||
| using System.Windows.Forms; | using System.Windows.Forms; | ||||||
| using util = FCOMMON.Util; | using util = FCOMMON.Util; | ||||||
|  |  | ||||||
|  | using NetOffice; | ||||||
|  | using Outlook = NetOffice.OutlookApi; | ||||||
|  | using NetOffice.OutlookApi.Enums; | ||||||
|  |  | ||||||
| namespace FEQ0000 | namespace FEQ0000 | ||||||
| { | { | ||||||
|     public partial class fPurchase : FCOMMON.fBase |     public partial class fPurchase : FCOMMON.fBase | ||||||
| @@ -151,7 +155,7 @@ namespace FEQ0000 | |||||||
|                 string dateField = "pdate"; |                 string dateField = "pdate"; | ||||||
|                 if (cmDate.SelectedIndex == 1) dateField = "indate"; |                 if (cmDate.SelectedIndex == 1) dateField = "indate"; | ||||||
|                 else if (cmDate.SelectedIndex == 2) dateField = "expdate"; |                 else if (cmDate.SelectedIndex == 2) dateField = "expdate"; | ||||||
|                  |  | ||||||
|  |  | ||||||
|                 System.Data.SqlClient.SqlDataAdapter da = new System.Data.SqlClient.SqlDataAdapter(); |                 System.Data.SqlClient.SqlDataAdapter da = new System.Data.SqlClient.SqlDataAdapter(); | ||||||
|                 System.Data.SqlClient.SqlCommand cmd = new System.Data.SqlClient.SqlCommand(); |                 System.Data.SqlClient.SqlCommand cmd = new System.Data.SqlClient.SqlCommand(); | ||||||
| @@ -372,7 +376,7 @@ namespace FEQ0000 | |||||||
|             else |             else | ||||||
|                 newdr.request = FCOMMON.info.Login.no; |                 newdr.request = FCOMMON.info.Login.no; | ||||||
|  |  | ||||||
|         repeat: |             repeat: | ||||||
|  |  | ||||||
|             bool repeat = false; |             bool repeat = false; | ||||||
|             DialogResult dlg; |             DialogResult dlg; | ||||||
| @@ -431,7 +435,7 @@ namespace FEQ0000 | |||||||
|             } |             } | ||||||
|             else newdr.Delete(); |             else newdr.Delete(); | ||||||
|  |  | ||||||
|              |  | ||||||
|  |  | ||||||
|         } |         } | ||||||
|         void func_delete() |         void func_delete() | ||||||
| @@ -758,7 +762,7 @@ namespace FEQ0000 | |||||||
|             newdr.idx = -1; |             newdr.idx = -1; | ||||||
|             newdr.EndEdit(); |             newdr.EndEdit(); | ||||||
|  |  | ||||||
|         repeat: |             repeat: | ||||||
|  |  | ||||||
|             bool repeat = false; |             bool repeat = false; | ||||||
|             DialogResult dlg; |             DialogResult dlg; | ||||||
| @@ -797,12 +801,10 @@ namespace FEQ0000 | |||||||
|                     newdr = newdro; //change |                     newdr = newdro; //change | ||||||
|                     goto repeat; |                     goto repeat; | ||||||
|                 } |                 } | ||||||
|  |  | ||||||
|             } |             } | ||||||
|             else newdr.Delete(); |             else newdr.Delete(); | ||||||
|         } |         } | ||||||
|  |  | ||||||
|  |  | ||||||
|         private void toolStripButton1_Click_2(object sender, EventArgs e) |         private void toolStripButton1_Click_2(object sender, EventArgs e) | ||||||
|         { |         { | ||||||
|             func_copy(); |             func_copy(); | ||||||
| @@ -846,7 +848,7 @@ namespace FEQ0000 | |||||||
|             var drv = this.bs.Current as DataRowView; |             var drv = this.bs.Current as DataRowView; | ||||||
|             if (drv == null) return; |             if (drv == null) return; | ||||||
|             var newdr = drv.Row as dsPurchase.PurchaseRow; |             var newdr = drv.Row as dsPurchase.PurchaseRow; | ||||||
|             if(newdr.sc.Trim() == "") |             if (newdr.sc.Trim() == "") | ||||||
|             { |             { | ||||||
|                 FCOMMON.Util.MsgE("SC값이 없습니다"); |                 FCOMMON.Util.MsgE("SC값이 없습니다"); | ||||||
|                 return; |                 return; | ||||||
| @@ -877,7 +879,7 @@ namespace FEQ0000 | |||||||
|                 tbFind.Text = ""; |                 tbFind.Text = ""; | ||||||
|                 btFind.PerformClick(); |                 btFind.PerformClick(); | ||||||
|             } |             } | ||||||
|                  |  | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         private void toolStripButton3_Click(object sender, EventArgs e) |         private void toolStripButton3_Click(object sender, EventArgs e) | ||||||
| @@ -895,7 +897,7 @@ namespace FEQ0000 | |||||||
|                 return; |                 return; | ||||||
|             } |             } | ||||||
|             var dr = drv.Row as dsPurchase.PurchaseRow; |             var dr = drv.Row as dsPurchase.PurchaseRow; | ||||||
|             this.label1.Text = string.Format("{0}",dr.bigo.Replace("\r","").Replace("\n","")); |             this.label1.Text = string.Format("{0}", dr.bigo.Replace("\r", "").Replace("\n", "")); | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         private void toolStripButton4_Click(object sender, EventArgs e) |         private void toolStripButton4_Click(object sender, EventArgs e) | ||||||
| @@ -903,5 +905,225 @@ namespace FEQ0000 | |||||||
|             var f = new fPurchase_excelimport(); |             var f = new fPurchase_excelimport(); | ||||||
|             f.Show(); |             f.Show(); | ||||||
|         } |         } | ||||||
|  |  | ||||||
|  |         string getmaxstr(string src, int len = 30) | ||||||
|  |         { | ||||||
|  |             if (src.Length > len) return src.Substring(0, len) + "..."; | ||||||
|  |             else return src; | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         List<string> ChangeMailAddress(List<string> userid) | ||||||
|  |         { | ||||||
|  |             var db = new DataClasses1DataContext(); | ||||||
|  |  | ||||||
|  |             List<string> retval = new List<string>(); | ||||||
|  |             foreach (var id in userid) | ||||||
|  |             { | ||||||
|  |                 UInt32 userno; | ||||||
|  |                 if (UInt32.TryParse(id, out userno) == true) | ||||||
|  |                 { | ||||||
|  |                     var user = db.Users.Where(t => t.id == id).FirstOrDefault(); | ||||||
|  |                     if (user != null) | ||||||
|  |                     { | ||||||
|  |                         var data = string.Format("{0}<{1}>", user.name, user.email); | ||||||
|  |                         if (retval.Contains(data) == false) | ||||||
|  |                             retval.Add(data); | ||||||
|  |                     } | ||||||
|  |                 } | ||||||
|  |                 else | ||||||
|  |                 { | ||||||
|  |                     if (retval.Contains(id) == false) | ||||||
|  |                         retval.Add(id); | ||||||
|  |                 } | ||||||
|  |             } | ||||||
|  |             return retval; | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         private void toolStripButton5_Click(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |  | ||||||
|  |             var db = new DataClasses1DataContext(); | ||||||
|  |             var dr = db.MailForm.Where(t => t.cate == "PC").FirstOrDefault(); | ||||||
|  |  | ||||||
|  |             //현재표시데이터중에 수신자목록을 가져온다 | ||||||
|  |             var drows = (dsPurchase.PurchaseRow[])(this.dsPurchase.Purchase.Select(this.bs.Filter, this.bs.Sort)); | ||||||
|  |             var grp_req = drows.Where(t => t.request.isEmpty() == false).GroupBy(t => t.request).Select(t => t.FirstOrDefault().request).ToList(); | ||||||
|  |             var grp_rec = drows.Where(t => t.receive.isEmpty() == false).GroupBy(t => t.receive).Select(t => t.FirstOrDefault().receive).ToList(); | ||||||
|  |  | ||||||
|  |             var f = new Purchase.fMailForm(); | ||||||
|  |             if (f.ShowDialog() != DialogResult.OK) return; | ||||||
|  |  | ||||||
|  |             var form_subject = f.tbSubject.Text.Trim(); | ||||||
|  |             var form_body = f.htmlEditor1.Html; | ||||||
|  |             var form_to = f.tbTo.Text.Trim(); | ||||||
|  |             var form_cc = f.tbCC.Text.Trim(); | ||||||
|  |             var form_bcc = f.tbBcc.Text.Trim(); | ||||||
|  |  | ||||||
|  |             List<string> tolist = new List<string>();   //최종받는사람 | ||||||
|  |             List<string> cclist = new List<string>(); | ||||||
|  |             List<string> bcclist = new List<string>(); | ||||||
|  |  | ||||||
|  |             //받는사람 | ||||||
|  |             if (form_to.Contains("{요청}") == true) tolist.AddRange(grp_req); | ||||||
|  |             if (form_to.Contains("{수령}") == true) tolist.AddRange(grp_rec); | ||||||
|  |             form_to = form_to.Replace("{요청}", ""); | ||||||
|  |             form_to = form_to.Replace("{수령}", ""); | ||||||
|  |             tolist.AddRange(form_to.Split(new char[] { ';' }, StringSplitOptions.RemoveEmptyEntries)); | ||||||
|  |             tolist = ChangeMailAddress(tolist); | ||||||
|  |  | ||||||
|  |             //참조 | ||||||
|  |             if (form_cc.Contains("{요청}") == true) cclist.AddRange(grp_req); | ||||||
|  |             if (form_cc.Contains("{수령}") == true) cclist.AddRange(grp_rec); | ||||||
|  |             form_cc = form_cc.Replace("{요청}", ""); | ||||||
|  |             form_cc = form_cc.Replace("{수령}", ""); | ||||||
|  |             cclist.AddRange(form_cc.Split(new char[] { ';' }, StringSplitOptions.RemoveEmptyEntries)); | ||||||
|  |             cclist = ChangeMailAddress(cclist); | ||||||
|  |  | ||||||
|  |             //숨은참조 | ||||||
|  |             if (form_bcc.Contains("{요청}") == true) bcclist.AddRange(grp_req); | ||||||
|  |             if (form_bcc.Contains("{수령}") == true) bcclist.AddRange(grp_rec); | ||||||
|  |             form_bcc = form_bcc.Replace("{요청}", ""); | ||||||
|  |             form_bcc = form_bcc.Replace("{수령}", ""); | ||||||
|  |             bcclist.AddRange(form_bcc.Split(new char[] { ';' }, StringSplitOptions.RemoveEmptyEntries)); | ||||||
|  |             bcclist = ChangeMailAddress(bcclist); | ||||||
|  |  | ||||||
|  |             var datestr = DateTime.Now.ToShortDateString(); | ||||||
|  |             if (dtSD.Text == dtED.Text) datestr = dtSD.Text; | ||||||
|  |             else datestr = dtSD.Text + "~" + dtED.Text; | ||||||
|  |             form_subject = form_subject.Replace("{DATE}", datestr); | ||||||
|  |  | ||||||
|  |  | ||||||
|  |             try | ||||||
|  |             { | ||||||
|  |                 Outlook.Application outlookApplication = new Outlook.Application(); | ||||||
|  |                 var newMail = outlookApplication.CreateItem(OlItemType.olMailItem) as Outlook.MailItem; | ||||||
|  |                 newMail.Display(); | ||||||
|  |                 newMail.Subject = form_subject; // this.tbSubject.Text.Trim(); // dr.title; | ||||||
|  |                 newMail.To = string.Join(";", tolist.ToArray()); | ||||||
|  |                 newMail.CC = string.Join(";", cclist.ToArray()); | ||||||
|  |                 newMail.BCC = string.Join(";", bcclist.ToArray()); | ||||||
|  |                 if (f.chkAttach.Checked) | ||||||
|  |                 { | ||||||
|  |  | ||||||
|  |                     var fi = new System.IO.FileInfo(FCOMMON.Util.CurrentPath + "\\Export\\Purchase_" + DateTime.Now.ToString("yyyyMMddHHmmssfff") + ".xls"); | ||||||
|  |                     if (fi.Directory.Exists == false) fi.Directory.Create(); | ||||||
|  |  | ||||||
|  |                     ///save file | ||||||
|  |                     fpSpread1.SaveExcel(fi.FullName, | ||||||
|  |                            FarPoint.Excel.ExcelSaveFlags.SaveAsViewed | ||||||
|  |                            | FarPoint.Excel.ExcelSaveFlags.SaveAsFiltered | ||||||
|  |                            | FarPoint.Excel.ExcelSaveFlags.NoFormulas | ||||||
|  |                            | FarPoint.Excel.ExcelSaveFlags.SaveCustomColumnHeaders); | ||||||
|  |  | ||||||
|  |  | ||||||
|  |                     newMail.Attachments.Add(fi.FullName); | ||||||
|  |                 } | ||||||
|  |                 if (f.chkList.Checked) | ||||||
|  |                 { | ||||||
|  |                     //목록을 본문에 추가한다 | ||||||
|  |                     System.Text.StringBuilder sb = new StringBuilder(); | ||||||
|  |                     sb.AppendLine("<table border='1' cellspacing='0' cellpadding='1'>"); | ||||||
|  |                     sb.AppendLine("<thead>"); | ||||||
|  |                     sb.AppendLine("<td style='text-align:center;background-color: aqua;'>신청</td>"); | ||||||
|  |                     sb.AppendLine("<td style='text-align:center;background-color: aqua;'>요청</td>"); | ||||||
|  |                     sb.AppendLine("<td style='text-align:center;background-color: aqua;'>수령</td>"); | ||||||
|  |                     sb.AppendLine("<td style='text-align:center;background-color: aqua;'>SID</td>"); | ||||||
|  |                     sb.AppendLine("<td style='text-align:center;background-color: aqua;'>품명</td>"); | ||||||
|  |                     sb.AppendLine("<td style='text-align:center;background-color: aqua;'>규격</td>"); | ||||||
|  |                     sb.AppendLine("<td style='text-align:center;background-color: aqua;'>수량</td>"); | ||||||
|  |                     sb.AppendLine("<td style='text-align:center;background-color: aqua;'>단가</td>"); | ||||||
|  |                     sb.AppendLine("<td style='text-align:center;background-color: aqua;'>금액</td>"); | ||||||
|  |                     sb.AppendLine("<td style='text-align:center;background-color: aqua;'>입고</td>"); | ||||||
|  |                     sb.AppendLine("<td style='text-align:center;background-color: aqua;'>공급</td>"); | ||||||
|  |                     sb.AppendLine("<td style='text-align:center;background-color: aqua;'>비고</td>"); | ||||||
|  |                     sb.AppendLine("</thead>"); | ||||||
|  |                     sb.AppendLine("<tbody>"); | ||||||
|  |  | ||||||
|  |                     var col_신청 = fpSpread1_Sheet1.Columns["pdate"].Index; | ||||||
|  |                     var col_요청 = fpSpread1_Sheet1.Columns["requestName"].Index; | ||||||
|  |                     var col_수령 = fpSpread1_Sheet1.Columns["receiveName"].Index; | ||||||
|  |                     var col_SID = fpSpread1_Sheet1.Columns["sid"].Index; | ||||||
|  |                     var col_품명 = fpSpread1_Sheet1.Columns["pumname"].Index; | ||||||
|  |                     var col_규격 = fpSpread1_Sheet1.Columns["pumscale"].Index; | ||||||
|  |                     var col_수량 = fpSpread1_Sheet1.Columns["pumqty"].Index; | ||||||
|  |                     var col_단가 = fpSpread1_Sheet1.Columns["pumprice"].Index; | ||||||
|  |                     var col_금액 = fpSpread1_Sheet1.Columns["pumamt"].Index; | ||||||
|  |                     var col_입고 = fpSpread1_Sheet1.Columns["inqty"].Index; | ||||||
|  |                     var col_공급 = fpSpread1_Sheet1.Columns["supply"].Index; | ||||||
|  |                     var col_비고 = fpSpread1_Sheet1.Columns["bigo"].Index; | ||||||
|  |  | ||||||
|  |  | ||||||
|  |                     for (int i = 0; i < this.fpSpread1_Sheet1.RowCount; i++) | ||||||
|  |                     { | ||||||
|  |                         var v신청 = fpSpread1_Sheet1.Cells[i, col_신청].Value; | ||||||
|  |                         var v요청 = fpSpread1_Sheet1.Cells[i, col_요청].Value; | ||||||
|  |                         var v수령 = fpSpread1_Sheet1.Cells[i, col_수령].Value; | ||||||
|  |                         var vSID = fpSpread1_Sheet1.Cells[i, col_SID].Value; | ||||||
|  |                         var v품명 = fpSpread1_Sheet1.Cells[i, col_품명].Value; | ||||||
|  |                         var v규격 = fpSpread1_Sheet1.Cells[i, col_규격].Value; | ||||||
|  |                         var v수량 = fpSpread1_Sheet1.Cells[i, col_수량].Value; | ||||||
|  |                         var v단가 = fpSpread1_Sheet1.Cells[i, col_단가].Value; | ||||||
|  |                         var v금액 = fpSpread1_Sheet1.Cells[i, col_금액].Value; | ||||||
|  |                         var v입고 = fpSpread1_Sheet1.Cells[i, col_입고].Value; | ||||||
|  |                         var v공급 = fpSpread1_Sheet1.Cells[i, col_공급].Value; | ||||||
|  |                         var v비고 = fpSpread1_Sheet1.Cells[i, col_비고].Value; | ||||||
|  |  | ||||||
|  |                         var s신청 = String.Empty; | ||||||
|  |                         var s요청 = String.Empty; | ||||||
|  |                         var s수령 = String.Empty; | ||||||
|  |                         var sSID = String.Empty; | ||||||
|  |                         var s품명 = String.Empty; | ||||||
|  |                         var s규격 = String.Empty; | ||||||
|  |                         var s수량 = "0"; | ||||||
|  |                         var s단가 = "0"; | ||||||
|  |                         var s금액 = "0"; | ||||||
|  |                         var s입고 = String.Empty; | ||||||
|  |                         var s공급 = String.Empty; | ||||||
|  |                         var s비고 = String.Empty; | ||||||
|  |  | ||||||
|  |                         if (v신청 != null) s신청 = v신청.ToString(); | ||||||
|  |                         if (v요청 != null) s요청 = v요청.ToString(); | ||||||
|  |                         if (v수령 != null) s수령 = v수령.ToString(); | ||||||
|  |                         if (vSID != null) sSID = vSID.ToString(); | ||||||
|  |                         if (v품명 != null) s품명 = v품명.ToString(); | ||||||
|  |                         if (v규격 != null) s규격 = v규격.ToString(); | ||||||
|  |                         if (v수량 != null) s수량 = v수량.ToString(); | ||||||
|  |                         if (v단가 != null) s단가 = v단가.ToString(); | ||||||
|  |                         if (v금액 != null) s금액 = v금액.ToString(); | ||||||
|  |                         if (v입고 != null) s입고 = v입고.ToString(); | ||||||
|  |                         if (v공급 != null) s공급 = v공급.ToString(); | ||||||
|  |                         if (v비고 != null) s비고 = v비고.ToString(); | ||||||
|  |  | ||||||
|  |                         sb.AppendLine("<tr>"); | ||||||
|  |                         sb.AppendLine("<td>" + getmaxstr(s신청) + "</td>"); | ||||||
|  |                         sb.AppendLine("<td>" + getmaxstr(s요청) + "</td>"); | ||||||
|  |                         sb.AppendLine("<td>" + getmaxstr(s수령) + "</td>"); | ||||||
|  |                         sb.AppendLine("<td>" + getmaxstr(sSID) + "</td>"); | ||||||
|  |                         sb.AppendLine("<td>" + getmaxstr(s품명) + "</td>"); | ||||||
|  |                         sb.AppendLine("<td>" + getmaxstr(s규격) + "</td>"); | ||||||
|  |                         sb.AppendLine("<td style='text-align:center'>" + int.Parse(s수량).ToString("N0") + "</td>"); | ||||||
|  |                         sb.AppendLine("<td style='text-align:right'>" + int.Parse(s단가).ToString("N0") + "</td>"); | ||||||
|  |                         sb.AppendLine("<td style='text-align:right'>" + int.Parse(s금액).ToString("N0") + "</td>"); | ||||||
|  |                         sb.AppendLine("<td>" + getmaxstr(s입고) + "</td>"); | ||||||
|  |                         sb.AppendLine("<td>" + getmaxstr(s공급) + "</td>"); | ||||||
|  |                         sb.AppendLine("<td>" + getmaxstr(s비고,20) + "</td>"); | ||||||
|  |                         sb.AppendLine("</tr>"); | ||||||
|  |                     } | ||||||
|  |                     sb.AppendLine("</tbody>"); | ||||||
|  |                     sb.AppendLine("</table>"); | ||||||
|  |                     form_body += sb.ToString(); | ||||||
|  |                 } | ||||||
|  |  | ||||||
|  |                 //newMail.BodyFormat = OlBodyFormat.olFormatHTML; | ||||||
|  |                 form_body = form_body.Replace("{DATE}", datestr); | ||||||
|  |                 newMail.HTMLBody = form_body + newMail.HTMLBody; // | ||||||
|  |             } | ||||||
|  |             catch (Exception ex) | ||||||
|  |             { | ||||||
|  |                 util.MsgE("전송실패\n\n" + ex.Message + "\n\n" + | ||||||
|  |                     "아웃룩의 설정이 정상인지 확인하세요"); | ||||||
|  |             } | ||||||
|  |  | ||||||
|  |         } | ||||||
|     } |     } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -234,57 +234,68 @@ | |||||||
|   <data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |   <data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|     <value> |     <value> | ||||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 |         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 | ||||||
|         YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAANISURBVDhPtZBdTFN3GIdJvDNcOGMNKmSZy0ainouhC0Qq |         YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAANJSURBVDhPtZBdTFN3GIdJdrdw4Yw1OCFmuoSE5FzIXCBS | ||||||
|         HeMjG2C0sxQMlbKqRQkVaDGICIdqka+0QulKq4yBlVpxBK12VjAYNWEUu3aeIUIntaD2w1qpHkVJiD9J |         6ZCPTEAZWSkYisVOCxIq0GIQEQ7VogXSDkpXWscQqNSKIwjaWcFg1IRRrK0eGYGqXUHth12leuoHCfEn | ||||||
|         7bIt83bP7fs+zz//N+KfqMbIyHpbZQ35q3i44mbRQsm13QuFprzhXX3Z1dm9vUuExsdLw6v/RU5Vs+qs |         qV102W733L7v8/zzfyM+RjVNRp601jaQv4smam6ULVdc/WG5xFg4UTSYV583MPCJYOTJp+HVfyOn6llN | ||||||
|         Fc4r9y9jwHUNpumruP3EBr3tDHboMtQlPdP793VOOb/XOlhh5W+a7IfZhrtdGHQNoMtxFqW2akh+I9E3 |         lhrH5QeXMOq8CuP8Fdx6aoXeegbf6zLVFf3zB0q7Hzj2au2ssPKBFtuRXMMfPRhzjqLHfhaV1nqIb5MY | ||||||
|         eQHbuzMCOV2aTxflQOdNPySnp8BpsrPD6uLLY+Tyo5Zyemh6CI1jKghGD6DAcgDt451Q32hDujp5/54O |         nLuAnb2Z/vwezabS7vv+7hs+iPsegt1iyw2rKy9Pk6uPmavp8flxNE+rwJ86iGLzQXTOdEN9vQMZ6pQD | ||||||
|         p1px2QPTHzQ0gz5k1Fro9LLh5aEAOSKRmRyXcHLiNPijIuQOC3HQWgudTYd05RZ7gWY8Lr/13oLxzgvI |         +7ocasUlN4z3aGjGvMhsNNMZVROrQwFyUiw12i/i1GwfeFNCFEwIcMjSCJ1VhwzlNluxZiZ+j2J6eeTu | ||||||
|         r/rRawmitGMCW4oHZaHAwRuFdvODAYish7FzURaOiKFzGCAy7ENiQzwzTzl+S2Fy42drEGX6x5Bd9KGh |         C8iv+DBgDqCyaxbbysekocCh6yU205+jEFqOYPeKLJgUQWc3QGgoRZIsgVmonLmpMLrwqyWAKv0TSIe9 | ||||||
|         /yE2Coz2UKDIXDB/0fULSqxVaKSUODfZh2ZzIzYf+/LHvNYJ7nf1d+bOjcxConej8NQMhJoZnLjkwQbe |         kA09Qjx/2BYKlJmKl4adv6HCUodmSolzc4NoNTVj6/Gvfylsn+XkSO++Oje5CLHehZKfFyDQLODHi27E | ||||||
|         +WAokN/PDY54R3F+sh+q60qwmjcHEqSbaoxicoWq/KeoTNJCtV3xoELvwa4WF3gKJxr63Pic3U2HAtye |         cc8HQoGiIU5g0jOF83NDUF1TgiXb6k+UbGkYEZFrVNWno7JIM9Vx2Y0avRtFbU5wFQ7IBl3YtOs0HQpw | ||||||
|         rfa26y1IbWM9SWqKF5vFOTFv+Pyq1zu4AfrbbcTX5beo5guPIOp4CE7dFArVMxC1O7A2S/P+C5maVElK |         +nfaOq61YXsH62lyS4LIJMqPecPj1b3+juOnd+QQKdU3qdYLjyHsegR200OUqBcg7LRjY3bn+y9kadLE | ||||||
|         K1NoL8tfM793r3yOx6PpmiN4mbsTdFIKkVhspqSGaexRupBVOQmZwYOM0iGsSWt5f0QcOvTRm+Ii7WuB |         qe1Mga1qz/ql/fvlQS6XphuOIliwG3RyKpFUbqIkhnnsUzqRXTsHqcGNzMpxrE9ve39EHD782ZvyMm2Q | ||||||
|         YP5lnQyzBh0CPV14nrUNdFwCsUlgpCq7nchrdIJcvAOv/ndEpynoKGYdIxR4KxIx5vh8+oX2Bzzr7YFb |         z18KNkmxaNDB39+D59k5oOMTiS38Eaq214HCZgfIlTtwT95BdHorHcVsYoQCb4VCRpDHo19of8KzgX64 | ||||||
|         WgX/yXbMfpWKQCxBrM89S5Vq/wR5xo2c2tv4IluPKGYDJyT/xSs2h0MLBHhGVsOvVcHXKsfT+ER4o2OJ |         JHXwnerE4jdp8McSRFz+WapSex/kGRfyG29hc54eUUwZOyT/zctcNpvm8/GMrIdPq4K3XY6/EpLgiY4l | ||||||
|         z9jdlEAxjhShGauT5U4G8/g3Ye3fBBOT0p7HJTj93Fx4RMXwERvhXRlNfJyppmJSWyyrkpukDBYZGV7/ |         vsztpfiKGaQKTPg8Re5gME98G9b+SSApOf15fKLDxymAW1gOL/EVPGujiQ1Zaiomrc28LqVFwmCRkeH1 | ||||||
|         ML516yL9n8RKfavWWryMGHiXrSTCo/+LiIh3thHhkShbSWAAAAAASUVORK5CYII= |         /8YbFxfp+yJW4l230exhxMCzai0RHv1fRES8Az9w4VvBSIESAAAAAElFTkSuQmCC | ||||||
| </value> | </value> | ||||||
|   </data> |   </data> | ||||||
|   <data name="toolStripButton3.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |   <data name="toolStripButton3.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|     <value> |     <value> | ||||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 |         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 | ||||||
|         YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKOSURBVDhPzZHfS1NhGMcPdNc/0V1BZhaiFUEQRNFVBFYW |         YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKPSURBVDhPzZHbS5NhHMdf6K5/opvoIlsHRCuCIIiiqwg8 | ||||||
|         RRcSVAiGQREI6oU/Qp2Yc7nslyBWm7qcEgVaSFP306Ye3fG46dxUdKjbzm/Pzs63d3OQV1738H553ovn |         dFF0IUGFYBgUgTAM1IU6EefS7CSI1mYup0RGB6SpO6qvvuqcm+6Qokvd9p599+799mwOtBuv+/F8eZ4H | ||||||
|         8/0+Ly/1f5fFcuNQc7fN8XrgF1qtLnTYfOi0/oS5uvBwbuTgav5oc1h/h8CuC1jeUuAKcbC7omh6Z3fk |         fp/v9/fwUP93WSylh5q6bY4XAz/RYnWh3eZDh/UHOvWFh/MtB1fTO5vD+iuEwBqPlU0ZrhALuyuGxtd2 | ||||||
|         Rg6ujgE35qIc3GEJE0sixolm1mQYLePIjVDU/HChf2WkVI2M3tmn2+rit7Ohli9OBGMKJkICHEEBowwP |         R77l4GofcGMuxsIdFjG+LGCMaGZVgskyhnwLRc0PF05HRkqV6NfyfSpTlj6fCzV/cCIYlzEe4uEI8vju | ||||||
|         X0RBe7/3nwHdX6zoehqATk5Ge/eUHIOxzwU6ymOM3YMz8kYVNPU49hnYihK6JkNZNUBcaoMY/gBppQ96 |         5+CLymj76N0zoC3FsqZlAGhkZbV7TktxmPpdYGIcRgO7cFbemIzGHseeAWMrSmqqBPm3EcJyK4TwW4iR | ||||||
|         Kg7L9wmM+CLwhkVMhmV4SPrQNI9W8ycYyoruZw3Y3tNcWk0S2Agh2A5urhbb7seIecoRcjZg2N5JNpmE |         fmjpBCxfxvHNF4U3LGAiLMFD0odoDi2dfTBWFN3JGQR6z7AZJUVgE/hgG9i5Wmy5HyDuqUTI2YBheweZ | ||||||
|         ifxAy2cnDGYrPIMmDNeUcFXXj5RSrLVITUkbiNNG7Ew1YnPsKaRNF3SNI+JzPZHdSE/tYHrsKwbrbur0 |         ZAJm8gPN750wdlrhGTRjWF/C1tw4cpMKWIuUtLiOBGPC9qQBG6OPIG64oKksEZffk7mJtPQ26NFPGHhW | ||||||
|         YDO6Ki6IZIMzavb9aYVIAjQxC2oSA2XdCDlaB2n5GcTFhxCYu9CEAOw1x9Su55clU8VFUGxX8a6uSdA4 |         pjGDTeiquiiQCc4qufdnZCIRUIUcqIp+yGsmSLE6iCuPISzdA++/BZVfgF1/VOl6ckU0V10CFego3tFU | ||||||
|         J1LxH1C3+rC78ZaATZDCVZCC5RAX7kGYvwZ+9hI03g/aXCBn358p+k2xklY5qNtD2N3sIakdkCMkdSmT |         ESrrRDoxAmWzHzvrrwjYCDFcAzFYCWHxNvj56+BmL0PlpkGbT0m592eLflksZxQWytYQdjZ6SGo7pChJ | ||||||
|         +gBC4BZ4+iq46fNITp1CivOCfrXfoLVA1tU4gbuhrLVBXqklcCVEtozAJST1Cjj/OSR9J5HwHCUGbmSY |         Xc6m3gW/UA6OuQaWvoDU5GmkWS/olv0G5KIpCQJ3Q15thRSpJXA1hEAFgUtI6lWw0+eR8p1E0nOMGLj/ | ||||||
|         HE5RCy/z16XEfGIn8CktLL4Hz5rAMwbwgXpwdDW42RdIzlQi6S9H8s8jcKsjOm0oTORwimLq854wjSd6 |         NVh8rlsTk0zyD9OX4ZfegAuYwfmN4BbqwTJ6sLNPkZqpRmq6Eqmp+0hERjTGWJjM4xTlry946Dec6GUa | ||||||
|         6YbjsZnGfPlANWR7kqnLa9+jKeovOLlDMB5ltqwAAAAASUVORK5CYII= |         jsenDDrpQDXoJNqgS/nrCtp2aYr6C6aBQrzs5yeYAAAAAElFTkSuQmCC | ||||||
| </value> | </value> | ||||||
|   </data> |   </data> | ||||||
|   <data name="toolStripButton4.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |   <data name="toolStripButton4.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|     <value> |     <value> | ||||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 |         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 | ||||||
|         YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAL2SURBVDhPhZLtS1NhGMb3Kf+FrA99jTCllF6JamlNLcrK |         YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAL6SURBVDhPhZLbT9NgGMZ3pX+CQS+8NBqF4IwavVAmh4HG | ||||||
|         VMrSOaf0Yg1dmGTGXKgzQwsnVERS9KFCetFNm1ZzTjeakVmWpkunSU6XupdztnPOunrO2XAFQjf8eD48 |         MwpBZMAYBARdYB4SFTOmqIiCBJaoMRKNF2qMhzHUATLGZIvDeJyKiMjJgM6NdW23tvPxa7cwTEh8k1++ | ||||||
|         5/px7uscET9Jl405+2sthoPXLb8OaCwUOWmBOv600gdr++iUGvOn7UpTw7r0xyuE0N+TfK3H5HTTc3Nu |         i6/PL32fViZOynGrakudw7LtguN3Rq2DIScrUS+eTnZbXR+bcc7+fr3O1rgs8848KTR70k/32qb87K9J | ||||||
|         inN5/XB5Isy5eWh8mXaj/IUDeTeHfZJzuqhwNDSp1WbngtfP9Y0zsE6wsDpYWMZZmL8HYPzmR/uQF34W |         LyV4AkF4qBi//CIsPk74ceLRCFSXPtHKcvP8aDQym8/apzzTtNA3zMH5nYdzhIdjmIf9WwjWL0E8cQcQ | ||||||
|         aP1KofzZBC+h/pGkVPVQi74A+ic5vJ9kycninSAJoHvUj1dDPiIIon+ag/UHA7XOAfGl14+EcGbdbvsx |         5AHTJwYnHnxH4WU3848kzWBlpukQ+kcFvBrlycnjpSQJoWcwiGdumgjC6J8Q4BznYDCPQHGs67YUzqpP | ||||||
|         TfpvufYI8hqPorGjGZUtdRBXxGI3QaLehiTVJtS31gureGgWM/M+JF3uZgVBRq346evBNrSN3EWjpUSQ |         GtpTm/lH07ILhc270fy0FTX366GojkcSQWlYhxT9ajSYGqRVKJbHpJdGyrEeXhLsrVPc63rXhraBa2h2 | ||||||
|         nLqVgpKH2ShqzoKs6RCkTVK0Dsyg7ZMHLz8ugqyLvaoeWhBIGiRRaTXnOcvwWzwYVEFjPCdIcrSpJJyG |         VEmSvKYMVN3KRUVrNtTG7SgwFsD0ZhJt7yk8fjsNH+kpVd/LSgJlo3L+1jMHBcfnbtx8p8d5a7kkUbVs | ||||||
|         wtsFMI16hVW6RigYSA/zXgZ7K3tDAn6Sq7tpxb1c2EbNaLJeRFVnMTLr9iDnVjps4z7YSLF8waaxUCcu |         JuEdKLlSDNtgQFqlc4CBhfTgDXBIrXkREYiTfraH1V7Ph2vQDqPzMGo7KpFVvwmqpky4hmm4SLFiwbav | ||||||
|         IkhS/SXYeaWC2Vy6BtkNEvSP9UH99jRUOgWybiSi2fgcH6ZY2Eixfd8Z9BKcbgbiq2HBRmW0PF65GkX3 |         kU48RJCinyXYcLKaW3N0MXIblej/2gdDdyn0Zi2yLyaj1foQr8d4uEixfd84vCBM+TkoTkUFK3VxGrlu | ||||||
|         j+OENhnH6/cJEoUuG8qWAvImieDv+x0c3vGfmOAmRe4oM4cE8cqVU/HKVeShaMSXROOwJhFn7uTCNGSA |         ESpu5GBfSzpyGtIkidacC939YvImyRDv+0cEvBQ/McFPilx3xB4RyHULxuS6heShOMir4rDzfDLKrubD | ||||||
|         2lCK009yIdNmwEYEVvJvWIiAZoLYWmKMrLCrrIeeXqAxMMUJdA//wIV7hcgnQXlTForvn1264/EFOCSc |         5rbAYDmK0rv5ULfshYsInOTfcBABy4WxWmuNrbDxSC874WPxZkyQ6Pk8jkPXS1BEghpjNipvHJi5E6FD | ||||||
|         74oItl000pOuiOB/eMkKcQUdEcEWxRvf2Izn93IPLwcVYIPrpXpPOE6KLOy0/1yk3GNOX9A+S8HupDAa |         AhIPPosJ1lRa2VFPTPA/AmSFhGJzTLBW+5wemPD9mevhuaCYYHhFnomKxkmRJR1D49O0f+CHPzz0k8HQ | ||||||
|         ZtbDCPDNe2gObooJshy3sPak/nM4LhIlFHaciZO1d26QG1xx8nZ6ifwQsfn6EDI9HSPTz8dI9V2xubo8 |         FIPBKD8pTkJsnmIFeCk2HAyFfEv2t3+IxmWyVSVPyxLUTzoSNRZPgqaNnaEoQnyRKYLaxC5Vt3uXF7R3 | ||||||
|         kUgk+gNtjaLf4YsIzAAAAABJRU5ErkJggg== |         xuebC2UymewvcCKiNqMNhYIAAAAASUVORK5CYII= | ||||||
|  | </value> | ||||||
|  |   </data> | ||||||
|  |   <data name="toolStripButton5.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|  |     <value> | ||||||
|  |         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 | ||||||
|  |         YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAEOSURBVDhPYxh48J9CADbg8vMP/2ceuAbGXWtOoODa+Tv/ | ||||||
|  |         V87YBMYVE1b/T62fA8ZBCZUIA0Aaf/35SzQ+ffkWqgEgm0AShx/8/X/g/p//u+/8BeNtN/+A8frrf/6v | ||||||
|  |         ugLBiy/8+X/78Zv/nqHZmAaANMMMQNYMkrsSFAPGIANeffmHakDN4gNwA0D+BOHS/jXwcADZDNIEwjAD | ||||||
|  |         nL1jEAaAAgpkACGng/CcsxAvoBgACuHHb76ANcNsR3YBsmaYAXauoQgD8vvWgw1AthlmO7pmEAapRTEA | ||||||
|  |         FK+gqAFJgDDIBlwYJA9Sq2nojDAA5OzQ7C44BsUxCINCGoRB/gVhkK0gDNKMkg4oAdAcMWCAgQEAUU2N | ||||||
|  |         V3HhzrYAAAAASUVORK5CYII= | ||||||
| </value> | </value> | ||||||
|   </data> |   </data> | ||||||
|   <metadata name="cm1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |   <metadata name="cm1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
|   | |||||||
| @@ -29,13 +29,11 @@ | |||||||
|         private void InitializeComponent() |         private void InitializeComponent() | ||||||
|         { |         { | ||||||
|             this.components = new System.ComponentModel.Container(); |             this.components = new System.ComponentModel.Container(); | ||||||
|             System.Windows.Forms.Label label18; |  | ||||||
|             System.Windows.Forms.Label stateLabel; |             System.Windows.Forms.Label stateLabel; | ||||||
|             System.Windows.Forms.Label processLabel; |             System.Windows.Forms.Label processLabel; | ||||||
|             System.Windows.Forms.Label label22; |             System.Windows.Forms.Label label22; | ||||||
|             System.Windows.Forms.Label label23; |             System.Windows.Forms.Label label23; | ||||||
|             System.Windows.Forms.Label assetLabel; |             System.Windows.Forms.Label assetLabel; | ||||||
|             System.Windows.Forms.Label label24; |  | ||||||
|             System.Windows.Forms.Label label15; |             System.Windows.Forms.Label label15; | ||||||
|             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fPurchase_excelimport)); |             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fPurchase_excelimport)); | ||||||
|             this.textBox1 = new System.Windows.Forms.TextBox(); |             this.textBox1 = new System.Windows.Forms.TextBox(); | ||||||
| @@ -43,6 +41,7 @@ | |||||||
|             this.bs = new System.Windows.Forms.BindingSource(this.components); |             this.bs = new System.Windows.Forms.BindingSource(this.components); | ||||||
|             this.dsPRJ = new FEQ0000.dsPurchase(); |             this.dsPRJ = new FEQ0000.dsPurchase(); | ||||||
|             this.panel1 = new System.Windows.Forms.Panel(); |             this.panel1 = new System.Windows.Forms.Panel(); | ||||||
|  |             this.linkLabel2 = new System.Windows.Forms.LinkLabel(); | ||||||
|             this.label16 = new System.Windows.Forms.Label(); |             this.label16 = new System.Windows.Forms.Label(); | ||||||
|             this.label3 = new System.Windows.Forms.Label(); |             this.label3 = new System.Windows.Forms.Label(); | ||||||
|             this.nudE = new System.Windows.Forms.NumericUpDown(); |             this.nudE = new System.Windows.Forms.NumericUpDown(); | ||||||
| @@ -66,6 +65,14 @@ | |||||||
|             this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); |             this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); | ||||||
|             this.sbSum = new System.Windows.Forms.ToolStripLabel(); |             this.sbSum = new System.Windows.Forms.ToolStripLabel(); | ||||||
|             this.panel2 = new System.Windows.Forms.Panel(); |             this.panel2 = new System.Windows.Forms.Panel(); | ||||||
|  |             this.nudPdate = new System.Windows.Forms.NumericUpDown(); | ||||||
|  |             this.label25 = new System.Windows.Forms.Label(); | ||||||
|  |             this.nudInDate = new System.Windows.Forms.NumericUpDown(); | ||||||
|  |             this.label26 = new System.Windows.Forms.Label(); | ||||||
|  |             this.nudReq = new System.Windows.Forms.NumericUpDown(); | ||||||
|  |             this.label17 = new System.Windows.Forms.Label(); | ||||||
|  |             this.nudRecv = new System.Windows.Forms.NumericUpDown(); | ||||||
|  |             this.label20 = new System.Windows.Forms.Label(); | ||||||
|             this.nudPo = new System.Windows.Forms.NumericUpDown(); |             this.nudPo = new System.Windows.Forms.NumericUpDown(); | ||||||
|             this.label9 = new System.Windows.Forms.Label(); |             this.label9 = new System.Windows.Forms.Label(); | ||||||
|             this.nudSid = new System.Windows.Forms.NumericUpDown(); |             this.nudSid = new System.Windows.Forms.NumericUpDown(); | ||||||
| @@ -95,12 +102,12 @@ | |||||||
|             this.cbManuProc = new System.Windows.Forms.ComboBox(); |             this.cbManuProc = new System.Windows.Forms.ComboBox(); | ||||||
|             this.cbEQModel = new System.Windows.Forms.ComboBox(); |             this.cbEQModel = new System.Windows.Forms.ComboBox(); | ||||||
|             this.cbEQManu = new System.Windows.Forms.ComboBox(); |             this.cbEQManu = new System.Windows.Forms.ComboBox(); | ||||||
|             this.cmbRequest = new System.Windows.Forms.ComboBox(); |  | ||||||
|             this.dtPdate = new System.Windows.Forms.DateTimePicker(); |  | ||||||
|             this.cmbState = new System.Windows.Forms.ComboBox(); |             this.cmbState = new System.Windows.Forms.ComboBox(); | ||||||
|             this.cbProcess = new System.Windows.Forms.ComboBox(); |             this.cbProcess = new System.Windows.Forms.ComboBox(); | ||||||
|             this.label34 = new System.Windows.Forms.Label(); |             this.label34 = new System.Windows.Forms.Label(); | ||||||
|             this.listView1 = new System.Windows.Forms.ListView(); |             this.listView1 = new System.Windows.Forms.ListView(); | ||||||
|  |             this.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); | ||||||
|  |             this.columnHeader14 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); | ||||||
|             this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); |             this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); | ||||||
|             this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); |             this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); | ||||||
|             this.columnHeader4 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); |             this.columnHeader4 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); | ||||||
| @@ -113,18 +120,17 @@ | |||||||
|             this.columnHeader11 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); |             this.columnHeader11 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); | ||||||
|             this.columnHeader12 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); |             this.columnHeader12 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); | ||||||
|             this.columnHeader13 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); |             this.columnHeader13 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); | ||||||
|  |             this.columnHeader16 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); | ||||||
|  |             this.columnHeader15 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); | ||||||
|             this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); |             this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); | ||||||
|             this.전체선택ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |             this.전체선택ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||||
|             this.모두해제ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |             this.모두해제ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||||
|             this.선택반전ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |             this.선택반전ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||||
|             this.linkLabel2 = new System.Windows.Forms.LinkLabel(); |  | ||||||
|             label18 = new System.Windows.Forms.Label(); |  | ||||||
|             stateLabel = new System.Windows.Forms.Label(); |             stateLabel = new System.Windows.Forms.Label(); | ||||||
|             processLabel = new System.Windows.Forms.Label(); |             processLabel = new System.Windows.Forms.Label(); | ||||||
|             label22 = new System.Windows.Forms.Label(); |             label22 = new System.Windows.Forms.Label(); | ||||||
|             label23 = new System.Windows.Forms.Label(); |             label23 = new System.Windows.Forms.Label(); | ||||||
|             assetLabel = new System.Windows.Forms.Label(); |             assetLabel = new System.Windows.Forms.Label(); | ||||||
|             label24 = new System.Windows.Forms.Label(); |  | ||||||
|             label15 = new System.Windows.Forms.Label(); |             label15 = new System.Windows.Forms.Label(); | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); |             ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.dsPRJ)).BeginInit(); |             ((System.ComponentModel.ISupportInitialize)(this.dsPRJ)).BeginInit(); | ||||||
| @@ -135,6 +141,10 @@ | |||||||
|             ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); |             ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); | ||||||
|             this.bn.SuspendLayout(); |             this.bn.SuspendLayout(); | ||||||
|             this.panel2.SuspendLayout(); |             this.panel2.SuspendLayout(); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.nudPdate)).BeginInit(); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.nudInDate)).BeginInit(); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.nudReq)).BeginInit(); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.nudRecv)).BeginInit(); | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.nudPo)).BeginInit(); |             ((System.ComponentModel.ISupportInitialize)(this.nudPo)).BeginInit(); | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.nudSid)).BeginInit(); |             ((System.ComponentModel.ISupportInitialize)(this.nudSid)).BeginInit(); | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.nudSupplty)).BeginInit(); |             ((System.ComponentModel.ISupportInitialize)(this.nudSupplty)).BeginInit(); | ||||||
| @@ -150,15 +160,6 @@ | |||||||
|             this.contextMenuStrip1.SuspendLayout(); |             this.contextMenuStrip1.SuspendLayout(); | ||||||
|             this.SuspendLayout(); |             this.SuspendLayout(); | ||||||
|             //  |             //  | ||||||
|             // label18 |  | ||||||
|             //  |  | ||||||
|             label18.AutoSize = true; |  | ||||||
|             label18.Location = new System.Drawing.Point(28, 33); |  | ||||||
|             label18.Name = "label18"; |  | ||||||
|             label18.Size = new System.Drawing.Size(41, 12); |  | ||||||
|             label18.TabIndex = 52; |  | ||||||
|             label18.Text = "입력일"; |  | ||||||
|             //  |  | ||||||
|             // stateLabel |             // stateLabel | ||||||
|             //  |             //  | ||||||
|             stateLabel.AutoSize = true; |             stateLabel.AutoSize = true; | ||||||
| @@ -171,7 +172,7 @@ | |||||||
|             // processLabel |             // processLabel | ||||||
|             //  |             //  | ||||||
|             processLabel.AutoSize = true; |             processLabel.AutoSize = true; | ||||||
|             processLabel.Location = new System.Drawing.Point(301, 56); |             processLabel.Location = new System.Drawing.Point(40, 33); | ||||||
|             processLabel.Name = "processLabel"; |             processLabel.Name = "processLabel"; | ||||||
|             processLabel.Size = new System.Drawing.Size(29, 12); |             processLabel.Size = new System.Drawing.Size(29, 12); | ||||||
|             processLabel.TabIndex = 57; |             processLabel.TabIndex = 57; | ||||||
| @@ -204,20 +205,10 @@ | |||||||
|             assetLabel.TabIndex = 61; |             assetLabel.TabIndex = 61; | ||||||
|             assetLabel.Text = "장비모델"; |             assetLabel.Text = "장비모델"; | ||||||
|             //  |             //  | ||||||
|             // label24 |  | ||||||
|             //  |  | ||||||
|             label24.AutoSize = true; |  | ||||||
|             label24.Location = new System.Drawing.Point(507, 55); |  | ||||||
|             label24.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |  | ||||||
|             label24.Name = "label24"; |  | ||||||
|             label24.Size = new System.Drawing.Size(41, 12); |  | ||||||
|             label24.TabIndex = 67; |  | ||||||
|             label24.Text = "요청자"; |  | ||||||
|             //  |  | ||||||
|             // label15 |             // label15 | ||||||
|             //  |             //  | ||||||
|             label15.AutoSize = true; |             label15.AutoSize = true; | ||||||
|             label15.Location = new System.Drawing.Point(677, 57); |             label15.Location = new System.Drawing.Point(276, 56); | ||||||
|             label15.Name = "label15"; |             label15.Name = "label15"; | ||||||
|             label15.Size = new System.Drawing.Size(53, 12); |             label15.Size = new System.Drawing.Size(53, 12); | ||||||
|             label15.TabIndex = 69; |             label15.TabIndex = 69; | ||||||
| @@ -274,6 +265,18 @@ | |||||||
|             this.panel1.Size = new System.Drawing.Size(994, 57); |             this.panel1.Size = new System.Drawing.Size(994, 57); | ||||||
|             this.panel1.TabIndex = 0; |             this.panel1.TabIndex = 0; | ||||||
|             //  |             //  | ||||||
|  |             // linkLabel2 | ||||||
|  |             //  | ||||||
|  |             this.linkLabel2.AutoSize = true; | ||||||
|  |             this.linkLabel2.LinkColor = System.Drawing.Color.DeepSkyBlue; | ||||||
|  |             this.linkLabel2.Location = new System.Drawing.Point(601, 35); | ||||||
|  |             this.linkLabel2.Name = "linkLabel2"; | ||||||
|  |             this.linkLabel2.Size = new System.Drawing.Size(77, 12); | ||||||
|  |             this.linkLabel2.TabIndex = 53; | ||||||
|  |             this.linkLabel2.TabStop = true; | ||||||
|  |             this.linkLabel2.Text = "샘플파일열기"; | ||||||
|  |             this.linkLabel2.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel2_LinkClicked); | ||||||
|  |             //  | ||||||
|             // label16 |             // label16 | ||||||
|             //  |             //  | ||||||
|             this.label16.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(18)))), ((int)(((byte)(18))))); |             this.label16.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(18)))), ((int)(((byte)(18))))); | ||||||
| @@ -303,6 +306,11 @@ | |||||||
|             0, |             0, | ||||||
|             0, |             0, | ||||||
|             0}); |             0}); | ||||||
|  |             this.nudE.Minimum = new decimal(new int[] { | ||||||
|  |             1, | ||||||
|  |             0, | ||||||
|  |             0, | ||||||
|  |             0}); | ||||||
|             this.nudE.Name = "nudE"; |             this.nudE.Name = "nudE"; | ||||||
|             this.nudE.Size = new System.Drawing.Size(45, 21); |             this.nudE.Size = new System.Drawing.Size(45, 21); | ||||||
|             this.nudE.TabIndex = 9; |             this.nudE.TabIndex = 9; | ||||||
| @@ -321,6 +329,11 @@ | |||||||
|             0, |             0, | ||||||
|             0, |             0, | ||||||
|             0}); |             0}); | ||||||
|  |             this.nudS.Minimum = new decimal(new int[] { | ||||||
|  |             1, | ||||||
|  |             0, | ||||||
|  |             0, | ||||||
|  |             0}); | ||||||
|             this.nudS.Name = "nudS"; |             this.nudS.Name = "nudS"; | ||||||
|             this.nudS.Size = new System.Drawing.Size(45, 21); |             this.nudS.Size = new System.Drawing.Size(45, 21); | ||||||
|             this.nudS.TabIndex = 8; |             this.nudS.TabIndex = 8; | ||||||
| @@ -512,6 +525,14 @@ | |||||||
|             //  |             //  | ||||||
|             this.panel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(120)))), ((int)(((byte)(120))))); |             this.panel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(120)))), ((int)(((byte)(120))))); | ||||||
|             this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; |             this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; | ||||||
|  |             this.panel2.Controls.Add(this.nudPdate); | ||||||
|  |             this.panel2.Controls.Add(this.label25); | ||||||
|  |             this.panel2.Controls.Add(this.nudInDate); | ||||||
|  |             this.panel2.Controls.Add(this.label26); | ||||||
|  |             this.panel2.Controls.Add(this.nudReq); | ||||||
|  |             this.panel2.Controls.Add(this.label17); | ||||||
|  |             this.panel2.Controls.Add(this.nudRecv); | ||||||
|  |             this.panel2.Controls.Add(this.label20); | ||||||
|             this.panel2.Controls.Add(this.nudPo); |             this.panel2.Controls.Add(this.nudPo); | ||||||
|             this.panel2.Controls.Add(this.label9); |             this.panel2.Controls.Add(this.label9); | ||||||
|             this.panel2.Controls.Add(this.nudSid); |             this.panel2.Controls.Add(this.nudSid); | ||||||
| @@ -541,6 +562,75 @@ | |||||||
|             this.panel2.Name = "panel2"; |             this.panel2.Name = "panel2"; | ||||||
|             this.panel2.Size = new System.Drawing.Size(994, 86); |             this.panel2.Size = new System.Drawing.Size(994, 86); | ||||||
|             this.panel2.TabIndex = 3; |             this.panel2.TabIndex = 3; | ||||||
|  |             this.panel2.Paint += new System.Windows.Forms.PaintEventHandler(this.panel2_Paint); | ||||||
|  |             //  | ||||||
|  |             // nudPdate | ||||||
|  |             //  | ||||||
|  |             this.nudPdate.Location = new System.Drawing.Point(776, 29); | ||||||
|  |             this.nudPdate.Name = "nudPdate"; | ||||||
|  |             this.nudPdate.Size = new System.Drawing.Size(45, 21); | ||||||
|  |             this.nudPdate.TabIndex = 63; | ||||||
|  |             this.nudPdate.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||||
|  |             //  | ||||||
|  |             // label25 | ||||||
|  |             //  | ||||||
|  |             this.label25.AutoSize = true; | ||||||
|  |             this.label25.Location = new System.Drawing.Point(727, 33); | ||||||
|  |             this.label25.Name = "label25"; | ||||||
|  |             this.label25.Size = new System.Drawing.Size(41, 12); | ||||||
|  |             this.label25.TabIndex = 62; | ||||||
|  |             this.label25.Text = "요청일"; | ||||||
|  |             //  | ||||||
|  |             // nudInDate | ||||||
|  |             //  | ||||||
|  |             this.nudInDate.Location = new System.Drawing.Point(776, 58); | ||||||
|  |             this.nudInDate.Name = "nudInDate"; | ||||||
|  |             this.nudInDate.Size = new System.Drawing.Size(45, 21); | ||||||
|  |             this.nudInDate.TabIndex = 61; | ||||||
|  |             this.nudInDate.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||||
|  |             //  | ||||||
|  |             // label26 | ||||||
|  |             //  | ||||||
|  |             this.label26.AutoSize = true; | ||||||
|  |             this.label26.Location = new System.Drawing.Point(727, 62); | ||||||
|  |             this.label26.Name = "label26"; | ||||||
|  |             this.label26.Size = new System.Drawing.Size(41, 12); | ||||||
|  |             this.label26.TabIndex = 60; | ||||||
|  |             this.label26.Text = "입고일"; | ||||||
|  |             //  | ||||||
|  |             // nudReq | ||||||
|  |             //  | ||||||
|  |             this.nudReq.Location = new System.Drawing.Point(670, 29); | ||||||
|  |             this.nudReq.Name = "nudReq"; | ||||||
|  |             this.nudReq.Size = new System.Drawing.Size(45, 21); | ||||||
|  |             this.nudReq.TabIndex = 59; | ||||||
|  |             this.nudReq.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||||
|  |             //  | ||||||
|  |             // label17 | ||||||
|  |             //  | ||||||
|  |             this.label17.AutoSize = true; | ||||||
|  |             this.label17.Location = new System.Drawing.Point(621, 33); | ||||||
|  |             this.label17.Name = "label17"; | ||||||
|  |             this.label17.Size = new System.Drawing.Size(41, 12); | ||||||
|  |             this.label17.TabIndex = 58; | ||||||
|  |             this.label17.Text = "청구인"; | ||||||
|  |             //  | ||||||
|  |             // nudRecv | ||||||
|  |             //  | ||||||
|  |             this.nudRecv.Location = new System.Drawing.Point(670, 58); | ||||||
|  |             this.nudRecv.Name = "nudRecv"; | ||||||
|  |             this.nudRecv.Size = new System.Drawing.Size(45, 21); | ||||||
|  |             this.nudRecv.TabIndex = 57; | ||||||
|  |             this.nudRecv.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||||
|  |             //  | ||||||
|  |             // label20 | ||||||
|  |             //  | ||||||
|  |             this.label20.AutoSize = true; | ||||||
|  |             this.label20.Location = new System.Drawing.Point(621, 62); | ||||||
|  |             this.label20.Name = "label20"; | ||||||
|  |             this.label20.Size = new System.Drawing.Size(41, 12); | ||||||
|  |             this.label20.TabIndex = 56; | ||||||
|  |             this.label20.Text = "수령인"; | ||||||
|             //  |             //  | ||||||
|             // nudPo |             // nudPo | ||||||
|             //  |             //  | ||||||
| @@ -549,11 +639,6 @@ | |||||||
|             this.nudPo.Size = new System.Drawing.Size(45, 21); |             this.nudPo.Size = new System.Drawing.Size(45, 21); | ||||||
|             this.nudPo.TabIndex = 53; |             this.nudPo.TabIndex = 53; | ||||||
|             this.nudPo.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; |             this.nudPo.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||||
|             this.nudPo.Value = new decimal(new int[] { |  | ||||||
|             10, |  | ||||||
|             0, |  | ||||||
|             0, |  | ||||||
|             0}); |  | ||||||
|             //  |             //  | ||||||
|             // label9 |             // label9 | ||||||
|             //  |             //  | ||||||
| @@ -571,11 +656,6 @@ | |||||||
|             this.nudSid.Size = new System.Drawing.Size(45, 21); |             this.nudSid.Size = new System.Drawing.Size(45, 21); | ||||||
|             this.nudSid.TabIndex = 1; |             this.nudSid.TabIndex = 1; | ||||||
|             this.nudSid.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; |             this.nudSid.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||||
|             this.nudSid.Value = new decimal(new int[] { |  | ||||||
|             1, |  | ||||||
|             0, |  | ||||||
|             0, |  | ||||||
|             0}); |  | ||||||
|             this.nudSid.ValueChanged += new System.EventHandler(this.numericUpDown6_ValueChanged); |             this.nudSid.ValueChanged += new System.EventHandler(this.numericUpDown6_ValueChanged); | ||||||
|             //  |             //  | ||||||
|             // label6 |             // label6 | ||||||
| @@ -594,11 +674,6 @@ | |||||||
|             this.nudSupplty.Size = new System.Drawing.Size(45, 21); |             this.nudSupplty.Size = new System.Drawing.Size(45, 21); | ||||||
|             this.nudSupplty.TabIndex = 23; |             this.nudSupplty.TabIndex = 23; | ||||||
|             this.nudSupplty.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; |             this.nudSupplty.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||||
|             this.nudSupplty.Value = new decimal(new int[] { |  | ||||||
|             7, |  | ||||||
|             0, |  | ||||||
|             0, |  | ||||||
|             0}); |  | ||||||
|             this.nudSupplty.ValueChanged += new System.EventHandler(this.numericUpDown6_ValueChanged); |             this.nudSupplty.ValueChanged += new System.EventHandler(this.numericUpDown6_ValueChanged); | ||||||
|             //  |             //  | ||||||
|             // label5 |             // label5 | ||||||
| @@ -617,11 +692,6 @@ | |||||||
|             this.nudMemo.Size = new System.Drawing.Size(45, 21); |             this.nudMemo.Size = new System.Drawing.Size(45, 21); | ||||||
|             this.nudMemo.TabIndex = 25; |             this.nudMemo.TabIndex = 25; | ||||||
|             this.nudMemo.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; |             this.nudMemo.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||||
|             this.nudMemo.Value = new decimal(new int[] { |  | ||||||
|             8, |  | ||||||
|             0, |  | ||||||
|             0, |  | ||||||
|             0}); |  | ||||||
|             this.nudMemo.ValueChanged += new System.EventHandler(this.numericUpDown6_ValueChanged); |             this.nudMemo.ValueChanged += new System.EventHandler(this.numericUpDown6_ValueChanged); | ||||||
|             //  |             //  | ||||||
|             // label21 |             // label21 | ||||||
| @@ -641,11 +711,6 @@ | |||||||
|             this.nudPrice.Size = new System.Drawing.Size(45, 21); |             this.nudPrice.Size = new System.Drawing.Size(45, 21); | ||||||
|             this.nudPrice.TabIndex = 21; |             this.nudPrice.TabIndex = 21; | ||||||
|             this.nudPrice.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; |             this.nudPrice.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||||
|             this.nudPrice.Value = new decimal(new int[] { |  | ||||||
|             5, |  | ||||||
|             0, |  | ||||||
|             0, |  | ||||||
|             0}); |  | ||||||
|             this.nudPrice.ValueChanged += new System.EventHandler(this.numericUpDown6_ValueChanged); |             this.nudPrice.ValueChanged += new System.EventHandler(this.numericUpDown6_ValueChanged); | ||||||
|             //  |             //  | ||||||
|             // label19 |             // label19 | ||||||
| @@ -664,11 +729,6 @@ | |||||||
|             this.nudCr.Size = new System.Drawing.Size(45, 21); |             this.nudCr.Size = new System.Drawing.Size(45, 21); | ||||||
|             this.nudCr.TabIndex = 11; |             this.nudCr.TabIndex = 11; | ||||||
|             this.nudCr.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; |             this.nudCr.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||||
|             this.nudCr.Value = new decimal(new int[] { |  | ||||||
|             12, |  | ||||||
|             0, |  | ||||||
|             0, |  | ||||||
|             0}); |  | ||||||
|             this.nudCr.ValueChanged += new System.EventHandler(this.numericUpDown6_ValueChanged); |             this.nudCr.ValueChanged += new System.EventHandler(this.numericUpDown6_ValueChanged); | ||||||
|             //  |             //  | ||||||
|             // label7 |             // label7 | ||||||
| @@ -687,11 +747,6 @@ | |||||||
|             this.nudUnit.Size = new System.Drawing.Size(45, 21); |             this.nudUnit.Size = new System.Drawing.Size(45, 21); | ||||||
|             this.nudUnit.TabIndex = 19; |             this.nudUnit.TabIndex = 19; | ||||||
|             this.nudUnit.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; |             this.nudUnit.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||||
|             this.nudUnit.Value = new decimal(new int[] { |  | ||||||
|             9, |  | ||||||
|             0, |  | ||||||
|             0, |  | ||||||
|             0}); |  | ||||||
|             this.nudUnit.ValueChanged += new System.EventHandler(this.numericUpDown6_ValueChanged); |             this.nudUnit.ValueChanged += new System.EventHandler(this.numericUpDown6_ValueChanged); | ||||||
|             //  |             //  | ||||||
|             // label14 |             // label14 | ||||||
| @@ -711,11 +766,6 @@ | |||||||
|             this.nudPumName.Size = new System.Drawing.Size(45, 21); |             this.nudPumName.Size = new System.Drawing.Size(45, 21); | ||||||
|             this.nudPumName.TabIndex = 13; |             this.nudPumName.TabIndex = 13; | ||||||
|             this.nudPumName.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; |             this.nudPumName.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||||
|             this.nudPumName.Value = new decimal(new int[] { |  | ||||||
|             2, |  | ||||||
|             0, |  | ||||||
|             0, |  | ||||||
|             0}); |  | ||||||
|             this.nudPumName.ValueChanged += new System.EventHandler(this.numericUpDown6_ValueChanged); |             this.nudPumName.ValueChanged += new System.EventHandler(this.numericUpDown6_ValueChanged); | ||||||
|             //  |             //  | ||||||
|             // label13 |             // label13 | ||||||
| @@ -734,11 +784,6 @@ | |||||||
|             this.nudScale.Size = new System.Drawing.Size(45, 21); |             this.nudScale.Size = new System.Drawing.Size(45, 21); | ||||||
|             this.nudScale.TabIndex = 15; |             this.nudScale.TabIndex = 15; | ||||||
|             this.nudScale.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; |             this.nudScale.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||||
|             this.nudScale.Value = new decimal(new int[] { |  | ||||||
|             3, |  | ||||||
|             0, |  | ||||||
|             0, |  | ||||||
|             0}); |  | ||||||
|             this.nudScale.ValueChanged += new System.EventHandler(this.numericUpDown6_ValueChanged); |             this.nudScale.ValueChanged += new System.EventHandler(this.numericUpDown6_ValueChanged); | ||||||
|             //  |             //  | ||||||
|             // label4 |             // label4 | ||||||
| @@ -758,11 +803,6 @@ | |||||||
|             this.nudQty.Size = new System.Drawing.Size(45, 21); |             this.nudQty.Size = new System.Drawing.Size(45, 21); | ||||||
|             this.nudQty.TabIndex = 15; |             this.nudQty.TabIndex = 15; | ||||||
|             this.nudQty.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; |             this.nudQty.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||||
|             this.nudQty.Value = new decimal(new int[] { |  | ||||||
|             4, |  | ||||||
|             0, |  | ||||||
|             0, |  | ||||||
|             0}); |  | ||||||
|             this.nudQty.ValueChanged += new System.EventHandler(this.numericUpDown6_ValueChanged); |             this.nudQty.ValueChanged += new System.EventHandler(this.numericUpDown6_ValueChanged); | ||||||
|             //  |             //  | ||||||
|             // label11 |             // label11 | ||||||
| @@ -782,11 +822,6 @@ | |||||||
|             this.nudSc.Size = new System.Drawing.Size(45, 21); |             this.nudSc.Size = new System.Drawing.Size(45, 21); | ||||||
|             this.nudSc.TabIndex = 9; |             this.nudSc.TabIndex = 9; | ||||||
|             this.nudSc.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; |             this.nudSc.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||||
|             this.nudSc.Value = new decimal(new int[] { |  | ||||||
|             11, |  | ||||||
|             0, |  | ||||||
|             0, |  | ||||||
|             0}); |  | ||||||
|             this.nudSc.ValueChanged += new System.EventHandler(this.numericUpDown6_ValueChanged); |             this.nudSc.ValueChanged += new System.EventHandler(this.numericUpDown6_ValueChanged); | ||||||
|             //  |             //  | ||||||
|             // label10 |             // label10 | ||||||
| @@ -820,16 +855,12 @@ | |||||||
|             this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; |             this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; | ||||||
|             this.panel3.Controls.Add(this.tbProject); |             this.panel3.Controls.Add(this.tbProject); | ||||||
|             this.panel3.Controls.Add(label15); |             this.panel3.Controls.Add(label15); | ||||||
|             this.panel3.Controls.Add(label24); |  | ||||||
|             this.panel3.Controls.Add(this.cbManuProc); |             this.panel3.Controls.Add(this.cbManuProc); | ||||||
|             this.panel3.Controls.Add(this.cbEQModel); |             this.panel3.Controls.Add(this.cbEQModel); | ||||||
|             this.panel3.Controls.Add(this.cbEQManu); |             this.panel3.Controls.Add(this.cbEQManu); | ||||||
|             this.panel3.Controls.Add(label22); |             this.panel3.Controls.Add(label22); | ||||||
|             this.panel3.Controls.Add(label23); |             this.panel3.Controls.Add(label23); | ||||||
|             this.panel3.Controls.Add(assetLabel); |             this.panel3.Controls.Add(assetLabel); | ||||||
|             this.panel3.Controls.Add(this.cmbRequest); |  | ||||||
|             this.panel3.Controls.Add(label18); |  | ||||||
|             this.panel3.Controls.Add(this.dtPdate); |  | ||||||
|             this.panel3.Controls.Add(this.cmbState); |             this.panel3.Controls.Add(this.cmbState); | ||||||
|             this.panel3.Controls.Add(stateLabel); |             this.panel3.Controls.Add(stateLabel); | ||||||
|             this.panel3.Controls.Add(this.cbProcess); |             this.panel3.Controls.Add(this.cbProcess); | ||||||
| @@ -846,9 +877,9 @@ | |||||||
|             //  |             //  | ||||||
|             this.tbProject.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); |             this.tbProject.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); | ||||||
|             this.tbProject.FormattingEnabled = true; |             this.tbProject.FormattingEnabled = true; | ||||||
|             this.tbProject.Location = new System.Drawing.Point(736, 53); |             this.tbProject.Location = new System.Drawing.Point(336, 53); | ||||||
|             this.tbProject.Name = "tbProject"; |             this.tbProject.Name = "tbProject"; | ||||||
|             this.tbProject.Size = new System.Drawing.Size(202, 20); |             this.tbProject.Size = new System.Drawing.Size(602, 20); | ||||||
|             this.tbProject.TabIndex = 70; |             this.tbProject.TabIndex = 70; | ||||||
|             //  |             //  | ||||||
|             // cbManuProc |             // cbManuProc | ||||||
| @@ -888,25 +919,6 @@ | |||||||
|             this.cbEQManu.TabIndex = 64; |             this.cbEQManu.TabIndex = 64; | ||||||
|             this.cbEQManu.SelectedIndexChanged += new System.EventHandler(this.cbEQManu_SelectedIndexChanged); |             this.cbEQManu.SelectedIndexChanged += new System.EventHandler(this.cbEQManu_SelectedIndexChanged); | ||||||
|             //  |             //  | ||||||
|             // cmbRequest |  | ||||||
|             //  |  | ||||||
|             this.cmbRequest.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; |  | ||||||
|             this.cmbRequest.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; |  | ||||||
|             this.cmbRequest.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; |  | ||||||
|             this.cmbRequest.FormattingEnabled = true; |  | ||||||
|             this.cmbRequest.ImeMode = System.Windows.Forms.ImeMode.Hangul; |  | ||||||
|             this.cmbRequest.Location = new System.Drawing.Point(554, 52); |  | ||||||
|             this.cmbRequest.Name = "cmbRequest"; |  | ||||||
|             this.cmbRequest.Size = new System.Drawing.Size(117, 20); |  | ||||||
|             this.cmbRequest.TabIndex = 56; |  | ||||||
|             //  |  | ||||||
|             // dtPdate |  | ||||||
|             //  |  | ||||||
|             this.dtPdate.Location = new System.Drawing.Point(75, 29); |  | ||||||
|             this.dtPdate.Name = "dtPdate"; |  | ||||||
|             this.dtPdate.Size = new System.Drawing.Size(186, 21); |  | ||||||
|             this.dtPdate.TabIndex = 54; |  | ||||||
|             //  |  | ||||||
|             // cmbState |             // cmbState | ||||||
|             //  |             //  | ||||||
|             this.cmbState.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); |             this.cmbState.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); | ||||||
| @@ -923,9 +935,9 @@ | |||||||
|             this.cbProcess.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); |             this.cbProcess.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); | ||||||
|             this.cbProcess.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; |             this.cbProcess.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; | ||||||
|             this.cbProcess.FormattingEnabled = true; |             this.cbProcess.FormattingEnabled = true; | ||||||
|             this.cbProcess.Location = new System.Drawing.Point(336, 52); |             this.cbProcess.Location = new System.Drawing.Point(75, 29); | ||||||
|             this.cbProcess.Name = "cbProcess"; |             this.cbProcess.Name = "cbProcess"; | ||||||
|             this.cbProcess.Size = new System.Drawing.Size(132, 20); |             this.cbProcess.Size = new System.Drawing.Size(186, 20); | ||||||
|             this.cbProcess.TabIndex = 58; |             this.cbProcess.TabIndex = 58; | ||||||
|             //  |             //  | ||||||
|             // label34 |             // label34 | ||||||
| @@ -944,6 +956,8 @@ | |||||||
|             //  |             //  | ||||||
|             this.listView1.CheckBoxes = true; |             this.listView1.CheckBoxes = true; | ||||||
|             this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { |             this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { | ||||||
|  |             this.columnHeader3, | ||||||
|  |             this.columnHeader14, | ||||||
|             this.columnHeader1, |             this.columnHeader1, | ||||||
|             this.columnHeader2, |             this.columnHeader2, | ||||||
|             this.columnHeader4, |             this.columnHeader4, | ||||||
| @@ -955,7 +969,9 @@ | |||||||
|             this.columnHeader10, |             this.columnHeader10, | ||||||
|             this.columnHeader11, |             this.columnHeader11, | ||||||
|             this.columnHeader12, |             this.columnHeader12, | ||||||
|             this.columnHeader13}); |             this.columnHeader13, | ||||||
|  |             this.columnHeader16, | ||||||
|  |             this.columnHeader15}); | ||||||
|             this.listView1.ContextMenuStrip = this.contextMenuStrip1; |             this.listView1.ContextMenuStrip = this.contextMenuStrip1; | ||||||
|             this.listView1.Dock = System.Windows.Forms.DockStyle.Fill; |             this.listView1.Dock = System.Windows.Forms.DockStyle.Fill; | ||||||
|             this.listView1.FullRowSelect = true; |             this.listView1.FullRowSelect = true; | ||||||
| @@ -968,6 +984,14 @@ | |||||||
|             this.listView1.UseCompatibleStateImageBehavior = false; |             this.listView1.UseCompatibleStateImageBehavior = false; | ||||||
|             this.listView1.View = System.Windows.Forms.View.Details; |             this.listView1.View = System.Windows.Forms.View.Details; | ||||||
|             //  |             //  | ||||||
|  |             // columnHeader3 | ||||||
|  |             //  | ||||||
|  |             this.columnHeader3.Text = "요청일"; | ||||||
|  |             //  | ||||||
|  |             // columnHeader14 | ||||||
|  |             //  | ||||||
|  |             this.columnHeader14.Text = "청구인"; | ||||||
|  |             //  | ||||||
|             // columnHeader1 |             // columnHeader1 | ||||||
|             //  |             //  | ||||||
|             this.columnHeader1.Text = "SC"; |             this.columnHeader1.Text = "SC"; | ||||||
| @@ -981,12 +1005,12 @@ | |||||||
|             // columnHeader4 |             // columnHeader4 | ||||||
|             //  |             //  | ||||||
|             this.columnHeader4.Text = "SID"; |             this.columnHeader4.Text = "SID"; | ||||||
|             this.columnHeader4.Width = 85; |             this.columnHeader4.Width = 68; | ||||||
|             //  |             //  | ||||||
|             // columnHeader5 |             // columnHeader5 | ||||||
|             //  |             //  | ||||||
|             this.columnHeader5.Text = "품명"; |             this.columnHeader5.Text = "품명"; | ||||||
|             this.columnHeader5.Width = 125; |             this.columnHeader5.Width = 81; | ||||||
|             //  |             //  | ||||||
|             // columnHeader6 |             // columnHeader6 | ||||||
|             //  |             //  | ||||||
| @@ -1007,22 +1031,30 @@ | |||||||
|             // columnHeader10 |             // columnHeader10 | ||||||
|             //  |             //  | ||||||
|             this.columnHeader10.Text = "금액"; |             this.columnHeader10.Text = "금액"; | ||||||
|             this.columnHeader10.Width = 89; |             this.columnHeader10.Width = 63; | ||||||
|             //  |             //  | ||||||
|             // columnHeader11 |             // columnHeader11 | ||||||
|             //  |             //  | ||||||
|             this.columnHeader11.Text = "공급처"; |             this.columnHeader11.Text = "공급처"; | ||||||
|             this.columnHeader11.Width = 93; |             this.columnHeader11.Width = 64; | ||||||
|             //  |             //  | ||||||
|             // columnHeader12 |             // columnHeader12 | ||||||
|             //  |             //  | ||||||
|             this.columnHeader12.Text = "PO"; |             this.columnHeader12.Text = "PO"; | ||||||
|             this.columnHeader12.Width = 80; |             this.columnHeader12.Width = 58; | ||||||
|             //  |             //  | ||||||
|             // columnHeader13 |             // columnHeader13 | ||||||
|             //  |             //  | ||||||
|             this.columnHeader13.Text = "비고"; |             this.columnHeader13.Text = "비고"; | ||||||
|             this.columnHeader13.Width = 101; |             this.columnHeader13.Width = 68; | ||||||
|  |             //  | ||||||
|  |             // columnHeader16 | ||||||
|  |             //  | ||||||
|  |             this.columnHeader16.Text = "입고일"; | ||||||
|  |             //  | ||||||
|  |             // columnHeader15 | ||||||
|  |             //  | ||||||
|  |             this.columnHeader15.Text = "수령인"; | ||||||
|             //  |             //  | ||||||
|             // contextMenuStrip1 |             // contextMenuStrip1 | ||||||
|             //  |             //  | ||||||
| @@ -1054,18 +1086,6 @@ | |||||||
|             this.선택반전ToolStripMenuItem.Text = "선택 반전"; |             this.선택반전ToolStripMenuItem.Text = "선택 반전"; | ||||||
|             this.선택반전ToolStripMenuItem.Click += new System.EventHandler(this.선택반전ToolStripMenuItem_Click); |             this.선택반전ToolStripMenuItem.Click += new System.EventHandler(this.선택반전ToolStripMenuItem_Click); | ||||||
|             //  |             //  | ||||||
|             // linkLabel2 |  | ||||||
|             //  |  | ||||||
|             this.linkLabel2.AutoSize = true; |  | ||||||
|             this.linkLabel2.LinkColor = System.Drawing.Color.DeepSkyBlue; |  | ||||||
|             this.linkLabel2.Location = new System.Drawing.Point(601, 35); |  | ||||||
|             this.linkLabel2.Name = "linkLabel2"; |  | ||||||
|             this.linkLabel2.Size = new System.Drawing.Size(77, 12); |  | ||||||
|             this.linkLabel2.TabIndex = 53; |  | ||||||
|             this.linkLabel2.TabStop = true; |  | ||||||
|             this.linkLabel2.Text = "샘플파일열기"; |  | ||||||
|             this.linkLabel2.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel2_LinkClicked); |  | ||||||
|             //  |  | ||||||
|             // fPurchase_excelimport |             // fPurchase_excelimport | ||||||
|             //  |             //  | ||||||
|             this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); |             this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); | ||||||
| @@ -1092,6 +1112,10 @@ | |||||||
|             this.bn.PerformLayout(); |             this.bn.PerformLayout(); | ||||||
|             this.panel2.ResumeLayout(false); |             this.panel2.ResumeLayout(false); | ||||||
|             this.panel2.PerformLayout(); |             this.panel2.PerformLayout(); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.nudPdate)).EndInit(); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.nudInDate)).EndInit(); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.nudReq)).EndInit(); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.nudRecv)).EndInit(); | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.nudPo)).EndInit(); |             ((System.ComponentModel.ISupportInitialize)(this.nudPo)).EndInit(); | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.nudSid)).EndInit(); |             ((System.ComponentModel.ISupportInitialize)(this.nudSid)).EndInit(); | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.nudSupplty)).EndInit(); |             ((System.ComponentModel.ISupportInitialize)(this.nudSupplty)).EndInit(); | ||||||
| @@ -1174,8 +1198,6 @@ | |||||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn memoDataGridViewTextBoxColumn; |         private System.Windows.Forms.DataGridViewTextBoxColumn memoDataGridViewTextBoxColumn; | ||||||
|         private System.Windows.Forms.Panel panel3; |         private System.Windows.Forms.Panel panel3; | ||||||
|         private System.Windows.Forms.Label label34; |         private System.Windows.Forms.Label label34; | ||||||
|         private System.Windows.Forms.ComboBox cmbRequest; |  | ||||||
|         private System.Windows.Forms.DateTimePicker dtPdate; |  | ||||||
|         private System.Windows.Forms.ComboBox cmbState; |         private System.Windows.Forms.ComboBox cmbState; | ||||||
|         private System.Windows.Forms.ComboBox cbProcess; |         private System.Windows.Forms.ComboBox cbProcess; | ||||||
|         private System.Windows.Forms.ComboBox cbManuProc; |         private System.Windows.Forms.ComboBox cbManuProc; | ||||||
| @@ -1205,5 +1227,17 @@ | |||||||
|         private System.Windows.Forms.ToolStripMenuItem 모두해제ToolStripMenuItem; |         private System.Windows.Forms.ToolStripMenuItem 모두해제ToolStripMenuItem; | ||||||
|         private System.Windows.Forms.ToolStripMenuItem 선택반전ToolStripMenuItem; |         private System.Windows.Forms.ToolStripMenuItem 선택반전ToolStripMenuItem; | ||||||
|         private System.Windows.Forms.LinkLabel linkLabel2; |         private System.Windows.Forms.LinkLabel linkLabel2; | ||||||
|  |         private System.Windows.Forms.NumericUpDown nudReq; | ||||||
|  |         private System.Windows.Forms.Label label17; | ||||||
|  |         private System.Windows.Forms.NumericUpDown nudRecv; | ||||||
|  |         private System.Windows.Forms.Label label20; | ||||||
|  |         private System.Windows.Forms.NumericUpDown nudPdate; | ||||||
|  |         private System.Windows.Forms.Label label25; | ||||||
|  |         private System.Windows.Forms.NumericUpDown nudInDate; | ||||||
|  |         private System.Windows.Forms.Label label26; | ||||||
|  |         private System.Windows.Forms.ColumnHeader columnHeader3; | ||||||
|  |         private System.Windows.Forms.ColumnHeader columnHeader14; | ||||||
|  |         private System.Windows.Forms.ColumnHeader columnHeader16; | ||||||
|  |         private System.Windows.Forms.ColumnHeader columnHeader15; | ||||||
|     } |     } | ||||||
| } | } | ||||||
| @@ -54,45 +54,95 @@ namespace FEQ0000 | |||||||
|             this.cbProcess.ValueMember = "Value"; |             this.cbProcess.ValueMember = "Value"; | ||||||
|             this.cbProcess.DataSource = dt_eetproc; |             this.cbProcess.DataSource = dt_eetproc; | ||||||
|  |  | ||||||
|             string namestr = string.Format("{0}({1})", FCOMMON.info.Login.nameK, FCOMMON.info.Login.no); |             //string namestr = string.Format("{0}({1})", FCOMMON.info.Login.nameK, FCOMMON.info.Login.no); | ||||||
|             if (FCOMMON.info.Login.no == "dev") namestr = "김치균(395552)"; |             //if (FCOMMON.info.Login.no == "dev") namestr = "김치균(395552)"; | ||||||
|             this.cmbRequest.Items.Clear(); |             //this.cmbRequest.Items.Clear(); | ||||||
|             this.cmbRequest.Items.Add(namestr); |             //this.cmbRequest.Items.Add(namestr); | ||||||
|             try |             //try | ||||||
|             { |             //{ | ||||||
|                 var cn = FCOMMON.DBM.getCn(); |             //    var cn = FCOMMON.DBM.getCn(); | ||||||
|                 cn.Open(); |             //    cn.Open(); | ||||||
|                 string sql = "select [id],[name] " + |             //    string sql = "select [id],[name] " + | ||||||
|                             " from users" + |             //                " from users" + | ||||||
|                             " where gcode='{1}' and id <> '{0}'" + |             //                " where gcode='{1}' and id <> '{0}'" + | ||||||
|                             " order by [name]"; |             //                " order by [name]"; | ||||||
|                 sql = string.Format(sql, FCOMMON.info.Login.no, FCOMMON.info.Login.gcode); |             //    sql = string.Format(sql, FCOMMON.info.Login.no, FCOMMON.info.Login.gcode); | ||||||
|                 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(); | ||||||
|                 while (rdr.Read()) |             //    while (rdr.Read()) | ||||||
|                 { |             //    { | ||||||
|                     string cmbdata = string.Format("{1}({0})", rdr[0].ToString(), rdr[1].ToString()); |             //        string cmbdata = string.Format("{1}({0})", rdr[0].ToString(), rdr[1].ToString()); | ||||||
|                     this.cmbRequest.Items.Add(cmbdata); |             //        this.cmbRequest.Items.Add(cmbdata); | ||||||
|                 } |             //    } | ||||||
|                 cmd.Dispose(); |             //    cmd.Dispose(); | ||||||
|                 cn.Close(); |             //    cn.Close(); | ||||||
|                 cn.Dispose(); |             //    cn.Dispose(); | ||||||
|             } |             //} | ||||||
|             catch (Exception ex) |             //catch (Exception ex) | ||||||
|             { |             //{ | ||||||
|                 FCOMMON.Util.MsgE("User List Error\n\n" + ex.Message); |             //    FCOMMON.Util.MsgE("User List Error\n\n" + ex.Message); | ||||||
|             } |             //} | ||||||
|             cmbRequest.Text = namestr;// FCOMMON.info.Login.nameK; |             //cmbRequest.Text = namestr;// FCOMMON.info.Login.nameK; | ||||||
|  |  | ||||||
|  |  | ||||||
|             dtPdate.Value = DateTime.Now; |             //dtPdate.Value = DateTime.Now; | ||||||
|  |  | ||||||
|  |             loadsetting(this); | ||||||
|  |             textBox1.Text = FCOMMON.Setting.system.Xml.get_Data(this.Name, "FILE"); | ||||||
|  |  | ||||||
|  |  | ||||||
|             cmbState.Text = "PO";   //po에서 변경 200423 - JBS요청 |             cmbState.Text = "PO";   //po에서 변경 200423 - JBS요청 | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         void __Closed(object sender, FormClosedEventArgs e) |         void __Closed(object sender, FormClosedEventArgs e) | ||||||
|         { |         { | ||||||
|  |             savesetting(this); | ||||||
|  |             FCOMMON.Setting.system.Xml.set_Data(this.Name, "FILE", textBox1.Text.Trim()); | ||||||
|  |             FCOMMON.Setting.system.Save(); | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         void loadsetting(Control ctrls) | ||||||
|  |         { | ||||||
|  |             if (ctrls.HasChildren) | ||||||
|  |             { | ||||||
|  |                 foreach (Control item in ctrls.Controls) | ||||||
|  |                 { | ||||||
|  |                     loadsetting(item); | ||||||
|  |                 } | ||||||
|  |             } | ||||||
|  |             else | ||||||
|  |             { | ||||||
|  |                 var typestr = ctrls.GetType().ToString(); | ||||||
|  |                 if (typestr.Contains("UpDownEdit")) | ||||||
|  |                 { | ||||||
|  |                     var nud = ctrls.Parent as NumericUpDown; | ||||||
|  |                     var section = "input_" + this.Name; | ||||||
|  |                     var value = FCOMMON.Setting.system.Xml.get_Data(section, "nud_" + nud.Name, "0"); | ||||||
|  |                     var n = decimal.Parse(value); | ||||||
|  |                     if (n >= nud.Minimum) nud.Value = decimal.Parse(value); | ||||||
|  |                 } | ||||||
|  |             } | ||||||
|  |         } | ||||||
|  |         void savesetting(Control ctrls) | ||||||
|  |         { | ||||||
|  |             if (ctrls.HasChildren) | ||||||
|  |             { | ||||||
|  |                 foreach (Control item in ctrls.Controls) | ||||||
|  |                 { | ||||||
|  |                     savesetting(item); | ||||||
|  |                 } | ||||||
|  |             } | ||||||
|  |             else | ||||||
|  |             { | ||||||
|  |                 var typestr = ctrls.GetType().ToString(); | ||||||
|  |                 if (typestr.Contains("UpDownEdit")) | ||||||
|  |                 { | ||||||
|  |                     var nud = ctrls.Parent as NumericUpDown; | ||||||
|  |                     var section = "input_" + this.Name; | ||||||
|  |                     FCOMMON.Setting.system.Xml.set_Data(section, "nud_" + nud.Name, nud.Value.ToString()); | ||||||
|  |                 } | ||||||
|  |             } | ||||||
|  |             FCOMMON.Setting.system.Save(); | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) |         private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) | ||||||
| @@ -148,21 +198,21 @@ namespace FEQ0000 | |||||||
|             var valid = checkCombo(); |             var valid = checkCombo(); | ||||||
|             if (valid == false) return; |             if (valid == false) return; | ||||||
|  |  | ||||||
|             //기존자료확인 |             ////기존자료확인 | ||||||
|             var cnt = ta.CoutImport(dtPdate.Value.ToShortDateString(), dtPdate.Value.ToShortDateString(), |             //var cnt = ta.CoutImport(dtPdate.Value.ToShortDateString(), dtPdate.Value.ToShortDateString(), | ||||||
|                 FCOMMON.info.Login.no, FCOMMON.info.Login.gcode); |             //    FCOMMON.info.Login.no, FCOMMON.info.Login.gcode); | ||||||
|             if(cnt > 0) |             //if (cnt > 0) | ||||||
|             { |             //{ | ||||||
|                 var dlg = FCOMMON.Util.MsgQ("기존에 등록된 자료가 "  +cnt.ToString() + "건 있습니다. 이 자료를 삭제할까요?"); |             //    var dlg = FCOMMON.Util.MsgQ("기존에 등록된 자료가 " + cnt.ToString() + "건 있습니다. 이 자료를 삭제할까요?"); | ||||||
|                 if (dlg == DialogResult.Yes) |             //    if (dlg == DialogResult.Yes) | ||||||
|                     ta.DeleteImport(dtPdate.Value.ToShortDateString(), dtPdate.Value.ToShortDateString(), |             //        ta.DeleteImport(dtPdate.Value.ToShortDateString(), dtPdate.Value.ToShortDateString(), | ||||||
|                 FCOMMON.info.Login.no, FCOMMON.info.Login.gcode); |             //    FCOMMON.info.Login.no, FCOMMON.info.Login.gcode); | ||||||
|             } |             //} | ||||||
|  |  | ||||||
|  |  | ||||||
|             //요청자 번호확인 |             //요청자 번호확인 | ||||||
|             string userNo = this.cmbRequest.Text.Substring(cmbRequest.Text.LastIndexOf('(') + 1); |             //string userNo = this.cmbRequest.Text.Substring(cmbRequest.Text.LastIndexOf('(') + 1); | ||||||
|             userNo = userNo.Substring(0, userNo.Length - 1); |             //userNo = userNo.Substring(0, userNo.Length - 1); | ||||||
|  |  | ||||||
|             //체크안된 데이터를 dr에서 삭제한다. |             //체크안된 데이터를 dr에서 삭제한다. | ||||||
|             decimal itemAmt = 0; |             decimal itemAmt = 0; | ||||||
| @@ -174,16 +224,16 @@ namespace FEQ0000 | |||||||
|                 else |                 else | ||||||
|                 { |                 { | ||||||
|                     itemCount += 1; |                     itemCount += 1; | ||||||
|                     dr.request = userNo; |                     // dr.request = userNo; | ||||||
|                     dr.asset = cbEQModel.Text; |                     dr.asset = cbEQModel.Text; | ||||||
|                     dr.dept = cbEQManu.Text; |                     dr.dept = cbEQManu.Text; | ||||||
|                     dr.manuproc = cbManuProc.Text; |                     dr.manuproc = cbManuProc.Text; | ||||||
|                     dr.process = cbProcess.Text.Trim(); |                     dr.process = cbProcess.Text.Trim(); | ||||||
|                     dr.state = cmbState.Text.Trim(); |                     dr.state = cmbState.Text.Trim(); | ||||||
|                     dr.pdate = dtPdate.Value.ToShortDateString(); |                     // dr.pdate = dtPdate.Value.ToShortDateString(); | ||||||
|                     dr.project = tbProject.Text.Trim(); |                     dr.project = tbProject.Text.Trim(); | ||||||
|                     dr.AcceptChanges(); |                     dr.AcceptChanges(); | ||||||
|                      dr.SetAdded(); |                     dr.SetAdded(); | ||||||
|                     itemAmt += dr.pumamt; |                     itemAmt += dr.pumamt; | ||||||
|                 } |                 } | ||||||
|             } |             } | ||||||
| @@ -202,7 +252,7 @@ namespace FEQ0000 | |||||||
|             if (dlg2 != System.Windows.Forms.DialogResult.Yes) return; |             if (dlg2 != System.Windows.Forms.DialogResult.Yes) return; | ||||||
|  |  | ||||||
|  |  | ||||||
|             ta.Update(this.dsPRJ.Purchase);             |             ta.Update(this.dsPRJ.Purchase); | ||||||
|             dsPRJ.Purchase.AcceptChanges(); |             dsPRJ.Purchase.AcceptChanges(); | ||||||
|             FCOMMON.Util.MsgI("Save OK"); |             FCOMMON.Util.MsgI("Save OK"); | ||||||
|         } |         } | ||||||
| @@ -220,7 +270,7 @@ namespace FEQ0000 | |||||||
|             if (tbProject.Text == "") |             if (tbProject.Text == "") | ||||||
|             { |             { | ||||||
|                 var dlg = FCOMMON.Util.MsgQ("프로젝트가 입력되지 않았습니다. 진행할까요?"); |                 var dlg = FCOMMON.Util.MsgQ("프로젝트가 입력되지 않았습니다. 진행할까요?"); | ||||||
|                 if(dlg != DialogResult.Yes) |                 if (dlg != DialogResult.Yes) | ||||||
|                 { |                 { | ||||||
|                     tbProject.Focus(); |                     tbProject.Focus(); | ||||||
|                     return false; |                     return false; | ||||||
| @@ -228,7 +278,7 @@ namespace FEQ0000 | |||||||
|             } |             } | ||||||
|             if (this.cbProcess.Text.isEmpty() == true) |             if (this.cbProcess.Text.isEmpty() == true) | ||||||
|             { |             { | ||||||
|                 |  | ||||||
|                 { |                 { | ||||||
|                     FCOMMON.Util.MsgE("[공정]을 선택하세요\n\n" + |                     FCOMMON.Util.MsgE("[공정]을 선택하세요\n\n" + | ||||||
|                     "선택 대상이 없는 경우 문의 바랍니다.\n\n" + |                     "선택 대상이 없는 경우 문의 바랍니다.\n\n" + | ||||||
| @@ -239,9 +289,9 @@ namespace FEQ0000 | |||||||
|                     return false; |                     return false; | ||||||
|                 } |                 } | ||||||
|             } |             } | ||||||
|             if (cbManuProc.Text.isEmpty()==true) |             if (cbManuProc.Text.isEmpty() == true) | ||||||
|             { |             { | ||||||
|                  |  | ||||||
|                 { |                 { | ||||||
|                     FCOMMON.Util.MsgE("제조공정을 선택하세요\n\n" + |                     FCOMMON.Util.MsgE("제조공정을 선택하세요\n\n" + | ||||||
|                     "선택 대상이 없는 경우 문의 바랍니다.\n\n" + |                     "선택 대상이 없는 경우 문의 바랍니다.\n\n" + | ||||||
| @@ -254,7 +304,7 @@ namespace FEQ0000 | |||||||
|             } |             } | ||||||
|             if (this.cbEQManu.Text.isEmpty() == true) |             if (this.cbEQManu.Text.isEmpty() == true) | ||||||
|             { |             { | ||||||
|                 |  | ||||||
|                 { |                 { | ||||||
|                     FCOMMON.Util.MsgE("장비 제조사를 선택하세요.\n\n" + |                     FCOMMON.Util.MsgE("장비 제조사를 선택하세요.\n\n" + | ||||||
|                     "선택 대상이 없는 경우 문의 바랍니다.\n\n" + |                     "선택 대상이 없는 경우 문의 바랍니다.\n\n" + | ||||||
| @@ -288,7 +338,10 @@ namespace FEQ0000 | |||||||
|  |  | ||||||
|  |  | ||||||
|             libxl.Book book;// = new libxl.BinBook(); |             libxl.Book book;// = new libxl.BinBook(); | ||||||
|             book = new libxl.BinBook(); |  | ||||||
|  |             if (textBox1.Text.ToLower().EndsWith(".xlsx")) book = new libxl.XmlBook(); | ||||||
|  |             else book = new libxl.BinBook(); | ||||||
|  |  | ||||||
|             book.setKey(FCOMMON.info.libxlCompany, FCOMMON.info.libxlKey); |             book.setKey(FCOMMON.info.libxlCompany, FCOMMON.info.libxlKey); | ||||||
|             try |             try | ||||||
|             { |             { | ||||||
| @@ -327,16 +380,24 @@ namespace FEQ0000 | |||||||
|             string PO = string.Empty; |             string PO = string.Empty; | ||||||
|             string 비고 = string.Empty; |             string 비고 = string.Empty; | ||||||
|  |  | ||||||
|  |             string 요청일 = string.Empty; | ||||||
|  |             string 입고일 = string.Empty; | ||||||
|  |  | ||||||
|  |             string 요청인 = string.Empty; | ||||||
|  |             string 수령인 = string.Empty; | ||||||
|  |  | ||||||
|             this.progressBar1.Value = 0; |             this.progressBar1.Value = 0; | ||||||
|             this.progressBar1.Maximum = MaxRow - MinRow + 1; |             this.progressBar1.Maximum = MaxRow - MinRow + 1; | ||||||
|             this.listView1.Items.Clear(); |             this.listView1.Items.Clear(); | ||||||
|             this.listView1.Visible = false; |             this.listView1.Visible = false; | ||||||
|             this.dsPRJ.Purchase.Clear(); |             this.dsPRJ.Purchase.Clear(); | ||||||
|             this.dsPRJ.Purchase.AcceptChanges(); |             this.dsPRJ.Purchase.AcceptChanges(); | ||||||
|  |  | ||||||
|  |             var db = new DataClasses1DataContext(); | ||||||
|             decimal sumamt = 0; |             decimal sumamt = 0; | ||||||
|             try |             try | ||||||
|             { |             { | ||||||
|                  |  | ||||||
|  |  | ||||||
|  |  | ||||||
|                 for (int r = MinRow; r <= MaxRow; r++) |                 for (int r = MinRow; r <= MaxRow; r++) | ||||||
| @@ -361,9 +422,80 @@ namespace FEQ0000 | |||||||
|                     if (nudPumName.Value > 0) 품명 = sheet.readStr(r, (int)this.nudPumName.Value - 1).Replace(",", "").Trim(); |                     if (nudPumName.Value > 0) 품명 = sheet.readStr(r, (int)this.nudPumName.Value - 1).Replace(",", "").Trim(); | ||||||
|                     if (nudScale.Value > 0) 규격 = sheet.readStr(r, (int)nudScale.Value - 1).Trim(); |                     if (nudScale.Value > 0) 규격 = sheet.readStr(r, (int)nudScale.Value - 1).Trim(); | ||||||
|  |  | ||||||
|  |                     var cf_요청일 = sheet.cellType(r, (int)nudPdate.Value - 1); | ||||||
|  |                     var cf_입고일 = sheet.cellType(r, (int)nudInDate.Value - 1); | ||||||
|  |  | ||||||
|                |  | ||||||
|  |  | ||||||
|  |                     if (nudPdate.Value > 0) | ||||||
|  |                     { | ||||||
|  |                         if (cf_요청일 == libxl.CellType.CELLTYPE_STRING) | ||||||
|  |                         { | ||||||
|  |                             int yy, mm, dd; | ||||||
|  |                             yy = DateTime.Now.Year; | ||||||
|  |                             mm = dd = 0; | ||||||
|  |  | ||||||
|  |                             요청일 = sheet.readStr(r, (int)nudPdate.Value - 1).Trim().Replace(" ", ""); | ||||||
|  |                             var orgstr = 요청일; | ||||||
|  |                             if (요청일.Contains("월")) | ||||||
|  |                             { | ||||||
|  |                                 var daybuf = 요청일.Split('월'); | ||||||
|  |                                 if (daybuf[0].Contains("년")) | ||||||
|  |                                 { | ||||||
|  |                                     var daybuf2 = daybuf[0].Split('년'); | ||||||
|  |                                     if (int.TryParse(daybuf2[0], out yy) == false) yy = 0; | ||||||
|  |                                     else | ||||||
|  |                                     { | ||||||
|  |                                         if (yy < 2000) yy += 2000; | ||||||
|  |                                     } | ||||||
|  |                                     if (int.TryParse(daybuf2[1], out mm) == false) mm = 0; | ||||||
|  |                                 } | ||||||
|  |                                 else | ||||||
|  |                                 { | ||||||
|  |                                     if (int.TryParse(daybuf[0], out mm) == false) mm = 0; | ||||||
|  |                                     if (int.TryParse(daybuf[1].Replace("일",""), out dd) == false) dd = 0; | ||||||
|  |                                 } | ||||||
|  |                                 if (mm == 0 || dd == 0 || yy == 0) | ||||||
|  |                                     요청일 = orgstr; | ||||||
|  |                                 else 요청일 = string.Format("{0:0000}-{1:00}-{2:00}", yy, mm, dd); | ||||||
|  |  | ||||||
|  |                             } | ||||||
|  |                         } | ||||||
|  |                         else if (cf_요청일 == libxl.CellType.CELLTYPE_NUMBER) | ||||||
|  |                         { | ||||||
|  |                             요청일 = sheet.readNum(r, (int)nudPdate.Value - 1).ToString(); | ||||||
|  |                             int y, m, d; | ||||||
|  |                             y = m = d = 0; | ||||||
|  |                             book.dateUnpack(double.Parse(요청일), ref y, ref m, ref d); | ||||||
|  |                             요청일 = string.Format("{0:0000}-{1:00}-{2:00}", y, m, d); | ||||||
|  |                         } | ||||||
|  |                     } | ||||||
|  |  | ||||||
|  |                     if (nudInDate.Value > 0) | ||||||
|  |                     { | ||||||
|  |                         if (cf_입고일 == libxl.CellType.CELLTYPE_STRING) 입고일 = sheet.readStr(r, (int)nudInDate.Value - 1).Trim(); | ||||||
|  |                         else if (cf_입고일 == libxl.CellType.CELLTYPE_NUMBER) | ||||||
|  |                         { | ||||||
|  |                             입고일 = sheet.readNum(r, (int)nudInDate.Value - 1).ToString(); | ||||||
|  |                             int y, m, d; | ||||||
|  |                             y = m = d = 0; | ||||||
|  |                             book.dateUnpack(double.Parse(입고일), ref y, ref m, ref d); | ||||||
|  |                             입고일 = string.Format("{0:0000}-{1:00}-{2:00}", y, m, d); | ||||||
|  |                         } | ||||||
|  |                     } | ||||||
|  |  | ||||||
|  |                     요청인 = sheet.readStr(r, (int)nudReq.Value - 1).Trim(); | ||||||
|  |                     수령인 = sheet.readStr(r, (int)nudRecv.Value - 1).Trim(); | ||||||
|  |  | ||||||
|  |                     if(요청인.isEmpty()==false) | ||||||
|  |                     { | ||||||
|  |                         var requser=db.vGroupUser.Where(t => t.gcode == FCOMMON.info.Login.gcode && t.name == 요청인).FirstOrDefault(); | ||||||
|  |                         if (requser != null) 요청인 = requser.id; | ||||||
|  |                     } | ||||||
|  |                     if (수령인.isEmpty() == false) | ||||||
|  |                     { | ||||||
|  |                         var requser = db.vGroupUser.Where(t => t.gcode == FCOMMON.info.Login.gcode && t.name == 수령인).FirstOrDefault(); | ||||||
|  |                         if (requser != null) 수령인 = requser.id; | ||||||
|  |                     } | ||||||
|                     //먼저 숫자로 읽어보낟                     |                     //먼저 숫자로 읽어보낟                     | ||||||
|                     if (nudQty.Value > 0) |                     if (nudQty.Value > 0) | ||||||
|                     { |                     { | ||||||
| @@ -415,8 +547,13 @@ namespace FEQ0000 | |||||||
|  |  | ||||||
|  |  | ||||||
|                     //리스트뷰에 추가 |                     //리스트뷰에 추가 | ||||||
|                     var newitem = this.listView1.Items.Add(SC); |                     var newitem = this.listView1.Items.Add(요청일); | ||||||
|                     newitem.Checked = false; |                     newitem.Checked = false; | ||||||
|  |  | ||||||
|  |                     newitem.SubItems.Add(요청인); | ||||||
|  |  | ||||||
|  |  | ||||||
|  |                     newitem.SubItems.Add(SC); | ||||||
|                     newitem.SubItems.Add(CRCF); |                     newitem.SubItems.Add(CRCF); | ||||||
|                     newitem.SubItems.Add(SID); |                     newitem.SubItems.Add(SID); | ||||||
|                     newitem.SubItems.Add(품명); |                     newitem.SubItems.Add(품명); | ||||||
| @@ -429,6 +566,8 @@ namespace FEQ0000 | |||||||
|                     newitem.SubItems.Add(PO); |                     newitem.SubItems.Add(PO); | ||||||
|                     newitem.SubItems.Add(비고); |                     newitem.SubItems.Add(비고); | ||||||
|  |  | ||||||
|  |                     newitem.SubItems.Add(입고일); | ||||||
|  |                     newitem.SubItems.Add(수령인); | ||||||
|                     //데이터도 추가를 해준다 |                     //데이터도 추가를 해준다 | ||||||
|                     var newdr = this.dsPRJ.Purchase.NewPurchaseRow(); |                     var newdr = this.dsPRJ.Purchase.NewPurchaseRow(); | ||||||
|                     newdr.wuid = FCOMMON.info.Login.no; |                     newdr.wuid = FCOMMON.info.Login.no; | ||||||
| @@ -446,6 +585,10 @@ namespace FEQ0000 | |||||||
|                     newdr.supplyidx = v_공급처코드; |                     newdr.supplyidx = v_공급처코드; | ||||||
|                     newdr.po = PO; |                     newdr.po = PO; | ||||||
|                     newdr.bigo = 비고; |                     newdr.bigo = 비고; | ||||||
|  |                     newdr.indate = 입고일; | ||||||
|  |                     newdr.pdate = 요청일; | ||||||
|  |                     newdr.request = 요청인; | ||||||
|  |                     newdr.receive = 수령인; | ||||||
|                     newdr.import = true; |                     newdr.import = true; | ||||||
|                     newitem.Tag = newdr; |                     newitem.Tag = newdr; | ||||||
|                     this.dsPRJ.Purchase.AddPurchaseRow(newdr); |                     this.dsPRJ.Purchase.AddPurchaseRow(newdr); | ||||||
| @@ -517,13 +660,18 @@ namespace FEQ0000 | |||||||
|         private void linkLabel2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) |         private void linkLabel2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) | ||||||
|         { |         { | ||||||
|             var file = System.IO.Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "sample_purchase.xls"); |             var file = System.IO.Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "sample_purchase.xls"); | ||||||
|             if(System.IO.File.Exists(file)==false) |             if (System.IO.File.Exists(file) == false) | ||||||
|             { |             { | ||||||
|                 FCOMMON.Util.MsgE("샘플파일이 없습니다. 개발자 문의 바람"); |                 FCOMMON.Util.MsgE("샘플파일이 없습니다. 개발자 문의 바람"); | ||||||
|                 return; |                 return; | ||||||
|             } |             } | ||||||
|             this.textBox1.Text = file;   |             this.textBox1.Text = file; | ||||||
|             FCOMMON.Util.RunExplorer(file); |             FCOMMON.Util.RunExplorer(file); | ||||||
|         } |         } | ||||||
|  |  | ||||||
|  |         private void panel2_Paint(object sender, PaintEventArgs e) | ||||||
|  |         { | ||||||
|  |  | ||||||
|  |         } | ||||||
|     } |     } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -117,9 +117,6 @@ | |||||||
|   <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="label18.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |  | ||||||
|     <value>False</value> |  | ||||||
|   </metadata> |  | ||||||
|   <metadata name="stateLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |   <metadata name="stateLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||||
|     <value>False</value> |     <value>False</value> | ||||||
|   </metadata> |   </metadata> | ||||||
| @@ -135,9 +132,6 @@ | |||||||
|   <metadata name="assetLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |   <metadata name="assetLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||||
|     <value>False</value> |     <value>False</value> | ||||||
|   </metadata> |   </metadata> | ||||||
|   <metadata name="label24.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |  | ||||||
|     <value>False</value> |  | ||||||
|   </metadata> |  | ||||||
|   <metadata name="label15.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |   <metadata name="label15.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||||
|     <value>False</value> |     <value>False</value> | ||||||
|   </metadata> |   </metadata> | ||||||
| @@ -197,35 +191,35 @@ | |||||||
|   <data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |   <data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|     <value> |     <value> | ||||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 |         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 | ||||||
|         YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKPSURBVDhPzZHdT1JxGMdPW1t32Xq5aK4/oP/BrZtuuuyi |         YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKPSURBVDhPzZFfT1JxGMdPW1t32fpz0VwvoPfg1k03XbYu | ||||||
|         dVGbXTRnm26la26pkZZetKWy1AxEPSZkEpu8iAjykiGIlAqIChIv53DO4QAesJHGaHyDE631H/jdnj0X |         WlubXTRnm26pF26poZVuXaSx1AwkPSpknmyCiAgiVAgiLgVEFIk/53DO4QCeg400RuMbnGitd+B3e/Zc | ||||||
|         z+fz/H7bQ5ysJBKJhmR0d4HZXjlitpbBbpjAeg1gPVpwa/M/uaDbyTBMQw3/PxRFkWzYU0wFzBCCNvCb |         PJ/P8/ttD3Gykkgk6pLR0AK77Thit5bBfTWD8xrBefTg1z7+5INuJ8uydVX8/9A0TXJhdyEVsEAMrkDY | ||||||
|         RoRsSgRNk4hYJnG4Ngfh8zuw1okyH/Hratqf0DS9xAYcyAYs2FoioZ8ahJqUQzWrB6k0QE7qoFLI4VD0 |         NGFvRYugeQwR6xgO12YgfplE0jpaEiJ+Q1X7E4ZhlriAA9mAFVtLJObHB0CRauim50FqjVCTBug0ajg0 | ||||||
|         IGsehmCSIuO3+kU5Ho8PsDuryPoWYVe/wer6Dj44c5hx5KCwCBgxHmBAm0GfmofWnUPIPIPkx+fIa/tB |         PchaBiGalcj4bX5Zjsfj/dzOKrK+Rdip11hd38F7p4QphwSNVcSQ6QD9+gx6KQF6t4Q9yxSSH54ip+8D | ||||||
|         +d1TBL0XSDFeDXbWrSiVStB5DjFtz0FuFnDu0hXUXazHi7k0upSpSudFhvM7wag64ZO1l4h9l6acoiI4 |         7XePE8xuIMV6Z7GzbkOxWITBc4gJuwS1RcS5S1dQc7EWz2bS6NSmyl2QGd7vBKvrgE/VUiT2nFQpRUdw | ||||||
|         Pj4Wh2pnHmOmLKSGLOou1OPs+ct4MsOhXcGgu9KrTJXNRvz4MtgMIh4J/RIEAYVCAcViETZfvvJlHv1q |         fHwsDylnDiPmLJTGLGou1OLs+ct4NMWjTcOiq9wrTIXNRvzYGGgEEQ2HfomiiHw+j0KhgBVfrvxlAX0U | ||||||
|         Dk9VDDqmkngop9E8msCEJSMyVbbqhDRDZYLesAl8fBf5fF4cRJLfIVvk0ElSlVcTaBmL4f7rKLqmKWzu |         j8c6Fu3jSTxUM2gcTuCtNSMzFbbihKj+EsFsLItCPIRcLicPIsnvUC3y6CDp8qsJNI3EcP9VFJ0TNDb3 | ||||||
|         50SmynJBL2KKx0UiFg6+Ta1pkK5c4YCNI5fLwRfmQS4l0DEexqOxEEbmY/Bsp0RR4FnwngVQo01wySQu |         JZmpsHzQi5i6rUDEwsE3qbVZpMtXOODikCQJvrAAcimB9tEwWkb2MDQXg2c7JYuiwEHwLIAeboBLpXDJ | ||||||
|         8RJ7m24XvTyOrEOB1FeLkNn3sWmOimcymejfSqfTUcbnYjm9FImKbH7ZxoIgTokLqvF+MmlXlcOlb3N9 |         l9jddLuY5VFkHRqkvFYxs+/j0jwdz2Qy0b+VTqejrM/F8fNKJMqy5XkrB4I4JS+oxPvJrF+dHCx+m+mF | ||||||
|         4A2vwFvk4BxKsHYlOCsJWjsEWtYCe++9smG0d90uuXa6pv6LUdp6RtffdFstaZydf9bIG3vu/DBJ7h7p |         YHwBwaoG79CCs2vB20gw+pdgVE2wdd8rGYefrNsV105X1X8xKZvPGPoablOK+um57nrB1HPnh1lx90jf | ||||||
|         u28VNG03V5StN9reP7h+tYafiBDEbzX4GEGAI6bHAAAAAElFTkSuQmCC |         dSs/23rzs7b5Ruu7B9evVvETEYL4DcxgGApeCNxgAAAAAElFTkSuQmCC | ||||||
| </value> | </value> | ||||||
|   </data> |   </data> | ||||||
|   <data name="btSave.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |   <data name="btSave.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|     <value> |     <value> | ||||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 |         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 | ||||||
|         YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKSSURBVDhPvZJfSFNhGMa/6I8EXXgR0YUURpRGFwmxohIC |         YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKRSURBVDhPvZJfSFNhGMa/6I8EXXgR0YUUhaBFUEGsqIRg | ||||||
|         QeoquoigpMjIRCsVLAync8Zscy43mW45Nzsej9ZmbjjLbU5wc39yUogOJhNcol11Je5mTHo639fBCiK6 |         MOoquoigpMjIRCuVJIymc8Zscy43mW45Nzsej9ZmbjjLOSe46bacFDIHGwou0a66EnczJj2d7+tgBRFd | ||||||
|         6oGPAw/f733e9/0O+e/ieR42mw29vb3o7u4uI+FwGPTMzMxgenoaU1NT8Pl8mJiYgNvthtPphMPhwPDw |         9cDHgYfv977v836H/HfxPA+Hw4Hu7m50dnaWknA4DHqmp6cxNTWFyclJ+P1+jI2Nwev1wu12w+VyYXBw | ||||||
|         MAYGBtjdbDaL9fV16PX6OAmFQtja2kImk/nr2dzchNVq/bKxsYGlpSVotdqURqOpIsFgkBlra2uIRqNY |         EH19fexuLpfD2toajEZjgszMzGBzcxPZbPavZ2NjA3a7/cv6+jpSqRT0en1ap9NVklAoxIzV1VVEo1Gs | ||||||
|         XV0F9VKpFCYnJ7G8vIzx8XF2Z2RkBPF4nHUkwiXSVIT4/X5EIhHasiwQCGB0dFRGYUEQZHQMi8Uio3BX |         rKyAeul0GhMTE1haWsLo6Ci7MzQ0hEQiwSYSYbmUipBAIIBIJEJHlgWDQQwPD8soLAiCjMaw2WwyCnd0 | ||||||
|         V5dM9Nj8KpWqQMIJ8Xg8WFhYYDtYWVlhO6DJFE4kEtvJg4ODmJ+fp+lQKBT7JPyHXC4X0uk0vF4vSx4b |         dMhEj+XXaDTFEk6Iz+dDPB5nO1heXmY7oJ0pnEwmtzr39/djfn6edodKpdoj4T/k8XiQyWQwPj7OOo+M | ||||||
|         G2PJtF2dTier4S/iXn8R+vr60NzcDAn7KbvdLo/FYkgmk6AwTRY9LC4ugj7dA74YSvcNXDcXoKGh4ZuE |         jLDOdFyDwSCr5i/gbu9J9PT0oLGxERL2U06nUxmLxbC4uAgK086ih4WFBdCnu8+XQO29jmvWYtTX13+T | ||||||
|         /S6O4+imYTabUSMU4xF/FpXcaZRbT0HuvAb7nAH1jiso7TwIArJDwv6sav4MXJ968PajkYGv5/TQ++vB |         sN/FcRzdNKxWK6qFEjzkz6CCO4Uy+wko3VfhnDOhznUZivb9ICDbJOzPquJPw/OpC28/mhn4es4IY6AO | ||||||
|         RdtRKZSi6HlOdruIONfxl6JMJhPdNJ0Zd8V5KfzCVwONpxqq9xVocd9B67v7MAefoezVBeQ3kgwrID6L |         XLQVFYICx5/n5baKiLmKXoqyWCx00zQz7oh5KfzCXw2drwqa9+Vo8t5G87t7sIaeofTVeRx8QrKsgPgs | ||||||
|         nH4NBkNtR0fHZ7VaXXvTUog3MT2EDzpwkXbYwmqxSBVMwVZUCJeQLyeJvDqylxUwGo1y8bdkzzU7O4uh |         Svo1mUw1bW1tn7Vabc0N2xG8iRkhfDCAi7TCEdaKRSphCTWjXLiIQ0qSLKglu1kBs9msFH9L9lyzs7MY | ||||||
|         oSFcNR3BZUMeSjoP4Lw2F7f6z6En0IJyvhTHHudmjj4kOQz+VW1tbVAqlWhqaqqVrG0VKnanb3MlOPlk |         GBjAFcthXDIVQN6+D+f0+bjZexZdwSaU8QoUPsrPFj4geQz+VS0tLVCr1WhoaKiRrC0VqXZmbnFyHHu8 | ||||||
|         P04oyB7J/ncdfkq+HmrcCaIguyRLFCHfASqH573FdPdJAAAAAElFTkSuQmCC |         F0dVZJdk/7vEvF8PPN0OoiI7JEsUId8BIOfnsen318AAAAAASUVORK5CYII= | ||||||
| </value> | </value> | ||||||
|   </data> |   </data> | ||||||
|   <metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |   <metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
|   | |||||||
| @@ -1,9 +1,25 @@ | |||||||
| <?xml version="1.0" encoding="utf-8"?> | <?xml version="1.0" encoding="utf-8"?> | ||||||
| <configuration> | <configuration> | ||||||
|     <configSections> |   <configSections> | ||||||
|     </configSections> |      | ||||||
|     <connectionStrings> |     <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> | ||||||
|         <add name="FEQ0000.Properties.Settings.gwcs" connectionString="Data Source=10.131.15.18;Initial Catalog=EE;Persist Security Info=True;User ID=eeuser;Password=Amkor123!" |   </configSections> | ||||||
|             providerName="System.Data.SqlClient" /> |   <connectionStrings> | ||||||
|     </connectionStrings> |     <add name="FEQ0000.Properties.Settings.gwcs" connectionString="Data Source=10.131.15.18;Initial Catalog=EE;Persist Security Info=True;User ID=eeuser;Password=Amkor123!" providerName="System.Data.SqlClient" /> | ||||||
| <startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/></startup></configuration> |     <add name="EEEntities" connectionString="metadata=res://*/Model1.csdl|res://*/Model1.ssdl|res://*/Model1.msl;provider=System.Data.SqlClient;provider connection string="data source=10.131.15.18;initial catalog=EE;persist security info=True;user id=eeuser;password=Amkor123!;MultipleActiveResultSets=True;App=EntityFramework"" providerName="System.Data.EntityClient" /> | ||||||
|  |     <add name="FEQ0000.Properties.Settings.EEEntities" connectionString="Data Source=10.131.15.18;Initial Catalog=EE;Persist Security Info=True;User ID=eeuser;Password=Amkor123!" /> | ||||||
|  |   </connectionStrings> | ||||||
|  |   <startup> | ||||||
|  |     <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" /> | ||||||
|  |   </startup> | ||||||
|  |   <entityFramework> | ||||||
|  |     <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework"> | ||||||
|  |       <parameters> | ||||||
|  |         <parameter value="mssqllocaldb" /> | ||||||
|  |       </parameters> | ||||||
|  |     </defaultConnectionFactory> | ||||||
|  |     <providers> | ||||||
|  |       <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" /> | ||||||
|  |     </providers> | ||||||
|  |   </entityFramework> | ||||||
|  | </configuration> | ||||||
							
								
								
									
										24984
									
								
								SubProject/FEQ0000/dsEQ.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										24984
									
								
								SubProject/FEQ0000/dsEQ.Designer.cs
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @@ -1,6 +1,8 @@ | |||||||
| namespace FEQ0000 { | namespace FEQ0000 | ||||||
|      | { | ||||||
|      |  | ||||||
|     public partial class dsEQ { |  | ||||||
|     } |     public partial class dsEQ | ||||||
| } |     { | ||||||
|  |     } | ||||||
|  | } | ||||||
|   | |||||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										82
									
								
								SubProject/FEQ0000/dsPurchase.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										82
									
								
								SubProject/FEQ0000/dsPurchase.Designer.cs
									
									
									
										generated
									
									
									
								
							| @@ -349,6 +349,8 @@ namespace FEQ0000 { | |||||||
|              |              | ||||||
|             private global::System.Data.DataColumn columnplace; |             private global::System.Data.DataColumn columnplace; | ||||||
|              |              | ||||||
|  |             private global::System.Data.DataColumn columninqty; | ||||||
|  |              | ||||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] |             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] | ||||||
|             public PurchaseDataTable() { |             public PurchaseDataTable() { | ||||||
| @@ -662,6 +664,14 @@ namespace FEQ0000 { | |||||||
|                 } |                 } | ||||||
|             } |             } | ||||||
|              |              | ||||||
|  |             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||||
|  |             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] | ||||||
|  |             public global::System.Data.DataColumn inqtyColumn { | ||||||
|  |                 get { | ||||||
|  |                     return this.columninqty; | ||||||
|  |                 } | ||||||
|  |             } | ||||||
|  |              | ||||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] |             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] | ||||||
|             [global::System.ComponentModel.Browsable(false)] |             [global::System.ComponentModel.Browsable(false)] | ||||||
| @@ -733,7 +743,8 @@ namespace FEQ0000 { | |||||||
|                         string gcode,  |                         string gcode,  | ||||||
|                         string receiveName,  |                         string receiveName,  | ||||||
|                         string requestName,  |                         string requestName,  | ||||||
|                         string place) { |                         string place,  | ||||||
|  |                         int inqty) { | ||||||
|                 PurchaseRow rowPurchaseRow = ((PurchaseRow)(this.NewRow())); |                 PurchaseRow rowPurchaseRow = ((PurchaseRow)(this.NewRow())); | ||||||
|                 object[] columnValuesArray = new object[] { |                 object[] columnValuesArray = new object[] { | ||||||
|                         null, |                         null, | ||||||
| @@ -770,7 +781,8 @@ namespace FEQ0000 { | |||||||
|                         gcode, |                         gcode, | ||||||
|                         receiveName, |                         receiveName, | ||||||
|                         requestName, |                         requestName, | ||||||
|                         place}; |                         place, | ||||||
|  |                         inqty}; | ||||||
|                 rowPurchaseRow.ItemArray = columnValuesArray; |                 rowPurchaseRow.ItemArray = columnValuesArray; | ||||||
|                 this.Rows.Add(rowPurchaseRow); |                 this.Rows.Add(rowPurchaseRow); | ||||||
|                 return rowPurchaseRow; |                 return rowPurchaseRow; | ||||||
| @@ -835,6 +847,7 @@ namespace FEQ0000 { | |||||||
|                 this.columnreceiveName = base.Columns["receiveName"]; |                 this.columnreceiveName = base.Columns["receiveName"]; | ||||||
|                 this.columnrequestName = base.Columns["requestName"]; |                 this.columnrequestName = base.Columns["requestName"]; | ||||||
|                 this.columnplace = base.Columns["place"]; |                 this.columnplace = base.Columns["place"]; | ||||||
|  |                 this.columninqty = base.Columns["inqty"]; | ||||||
|             } |             } | ||||||
|              |              | ||||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||||
| @@ -910,6 +923,8 @@ namespace FEQ0000 { | |||||||
|                 base.Columns.Add(this.columnrequestName); |                 base.Columns.Add(this.columnrequestName); | ||||||
|                 this.columnplace = new global::System.Data.DataColumn("place", typeof(string), null, global::System.Data.MappingType.Element); |                 this.columnplace = new global::System.Data.DataColumn("place", typeof(string), null, global::System.Data.MappingType.Element); | ||||||
|                 base.Columns.Add(this.columnplace); |                 base.Columns.Add(this.columnplace); | ||||||
|  |                 this.columninqty = new global::System.Data.DataColumn("inqty", typeof(int), null, global::System.Data.MappingType.Element); | ||||||
|  |                 base.Columns.Add(this.columninqty); | ||||||
|                 this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { |                 this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { | ||||||
|                                 this.columnidx}, true)); |                                 this.columnidx}, true)); | ||||||
|                 this.columnidx.AutoIncrement = true; |                 this.columnidx.AutoIncrement = true; | ||||||
| @@ -1628,6 +1643,22 @@ namespace FEQ0000 { | |||||||
|                 } |                 } | ||||||
|             } |             } | ||||||
|              |              | ||||||
|  |             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||||
|  |             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] | ||||||
|  |             public int inqty { | ||||||
|  |                 get { | ||||||
|  |                     try { | ||||||
|  |                         return ((int)(this[this.tablePurchase.inqtyColumn])); | ||||||
|  |                     } | ||||||
|  |                     catch (global::System.InvalidCastException e) { | ||||||
|  |                         throw new global::System.Data.StrongTypingException("\'Purchase\' 테이블의 \'inqty\' 열의 값이 DBNull입니다.", e); | ||||||
|  |                     } | ||||||
|  |                 } | ||||||
|  |                 set { | ||||||
|  |                     this[this.tablePurchase.inqtyColumn] = value; | ||||||
|  |                 } | ||||||
|  |             } | ||||||
|  |              | ||||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] |             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] | ||||||
|             public bool IspdateNull() { |             public bool IspdateNull() { | ||||||
| @@ -1999,6 +2030,18 @@ namespace FEQ0000 { | |||||||
|             public void SetplaceNull() { |             public void SetplaceNull() { | ||||||
|                 this[this.tablePurchase.placeColumn] = global::System.Convert.DBNull; |                 this[this.tablePurchase.placeColumn] = global::System.Convert.DBNull; | ||||||
|             } |             } | ||||||
|  |              | ||||||
|  |             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||||
|  |             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] | ||||||
|  |             public bool IsinqtyNull() { | ||||||
|  |                 return this.IsNull(this.tablePurchase.inqtyColumn); | ||||||
|  |             } | ||||||
|  |              | ||||||
|  |             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||||
|  |             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] | ||||||
|  |             public void SetinqtyNull() { | ||||||
|  |                 this[this.tablePurchase.inqtyColumn] = global::System.Convert.DBNull; | ||||||
|  |             } | ||||||
|         } |         } | ||||||
|          |          | ||||||
|         /// <summary> |         /// <summary> | ||||||
| @@ -2195,6 +2238,7 @@ namespace FEQ0000.dsPurchaseTableAdapters { | |||||||
|             tableMapping.ColumnMappings.Add("receiveName", "receiveName"); |             tableMapping.ColumnMappings.Add("receiveName", "receiveName"); | ||||||
|             tableMapping.ColumnMappings.Add("requestName", "requestName"); |             tableMapping.ColumnMappings.Add("requestName", "requestName"); | ||||||
|             tableMapping.ColumnMappings.Add("place", "place"); |             tableMapping.ColumnMappings.Add("place", "place"); | ||||||
|  |             tableMapping.ColumnMappings.Add("inqty", "inqty"); | ||||||
|             this._adapter.TableMappings.Add(tableMapping); |             this._adapter.TableMappings.Add(tableMapping); | ||||||
|             this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); |             this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); | ||||||
|             this._adapter.DeleteCommand.Connection = this.Connection; |             this._adapter.DeleteCommand.Connection = this.Connection; | ||||||
| @@ -2205,8 +2249,8 @@ namespace FEQ0000.dsPurchaseTableAdapters { | |||||||
|             this._adapter.InsertCommand.Connection = this.Connection; |             this._adapter.InsertCommand.Connection = this.Connection; | ||||||
|             this._adapter.InsertCommand.CommandText = @"INSERT INTO Purchase |             this._adapter.InsertCommand.CommandText = @"INSERT INTO Purchase | ||||||
|                (pdate, state, process, receive, sc, request, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate,  |                (pdate, state, process, receive, sc, request, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate,  | ||||||
|                import, pumidx, isdel, bigo, manuproc, orderno, gcode, place) |                import, pumidx, isdel, bigo, manuproc, orderno, gcode, place, inqty) | ||||||
| VALUES  (@pdate,@state,@process,@receive,@sc,@request,@sid,@pumname,@pumscale,@pumunit,@pumqty,@pumprice,@pumamt,@supply,@supplyidx,@project,@projectidx,@asset,@edate,@indate,@po,@dept,@wuid,@wdate,@import,@pumidx,@isdel,@bigo,@manuproc,@orderno,@gcode,@place);     | VALUES  (@pdate,@state,@process,@receive,@sc,@request,@sid,@pumname,@pumscale,@pumunit,@pumqty,@pumprice,@pumamt,@supply,@supplyidx,@project,@projectidx,@asset,@edate,@indate,@po,@dept,@wuid,@wdate,@import,@pumidx,@isdel,@bigo,@manuproc,@orderno,@gcode,@place,@inqty);      | ||||||
| SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo FROM Purchase WHERE (idx = SCOPE_IDENTITY()) ORDER BY pdate DESC, idx DESC"; | SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo FROM Purchase WHERE (idx = SCOPE_IDENTITY()) ORDER BY pdate DESC, idx DESC"; | ||||||
|             this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; |             this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; | ||||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
| @@ -2241,14 +2285,15 @@ SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumscale, | |||||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@orderno", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "orderno", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@orderno", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "orderno", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@place", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "place", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@place", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "place", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|  |             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@inqty", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "inqty", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); |             this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); | ||||||
|             this._adapter.UpdateCommand.Connection = this.Connection; |             this._adapter.UpdateCommand.Connection = this.Connection; | ||||||
|             this._adapter.UpdateCommand.CommandText = @"UPDATE Purchase |             this._adapter.UpdateCommand.CommandText = @"UPDATE Purchase | ||||||
| SET        pdate = @pdate, state = @state, process = @process, receive = @receive, sc = @sc, request = @request, sid = @sid, pumname = @pumname, pumscale = @pumscale, pumunit = @pumunit,  | SET        pdate = @pdate, state = @state, process = @process, receive = @receive, sc = @sc, request = @request, sid = @sid, pumname = @pumname, pumscale = @pumscale, pumunit = @pumunit,  | ||||||
|                pumqty = @pumqty, pumprice = @pumprice, pumamt = @pumamt, supply = @supply, supplyidx = @supplyidx, project = @project, projectidx = @projectidx, asset = @asset, edate = @edate,  |                pumqty = @pumqty, pumprice = @pumprice, pumamt = @pumamt, supply = @supply, supplyidx = @supplyidx, project = @project, projectidx = @projectidx, asset = @asset, edate = @edate,  | ||||||
|                indate = @indate, po = @po, dept = @dept, wuid = @wuid, wdate = @wdate, import = @import, pumidx = @pumidx, isdel = @isdel, bigo = @bigo, manuproc = @manuproc,  |                indate = @indate, po = @po, dept = @dept, wuid = @wuid, wdate = @wdate, import = @import, pumidx = @pumidx, isdel = @isdel, bigo = @bigo, manuproc = @manuproc,  | ||||||
|                orderno = @orderno, place = @place |                orderno = @orderno, place = @place, inqty = @inqty | ||||||
| WHERE  (idx = @Original_idx);     | WHERE  (idx = @Original_idx);      | ||||||
| SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo FROM Purchase WHERE (idx = @idx) ORDER BY pdate DESC, idx DESC"; | SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo FROM Purchase WHERE (idx = @idx) ORDER BY pdate DESC, idx DESC"; | ||||||
|             this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; |             this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
| @@ -2282,6 +2327,7 @@ SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumscale, | |||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@manuproc", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "manuproc", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@manuproc", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "manuproc", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@orderno", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "orderno", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@orderno", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "orderno", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@place", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "place", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@place", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "place", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|  |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@inqty", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "inqty", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||||
|         } |         } | ||||||
| @@ -2300,7 +2346,7 @@ SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumscale, | |||||||
|             this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); |             this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); | ||||||
|             this._commandCollection[0].Connection = this.Connection; |             this._commandCollection[0].Connection = this.Connection; | ||||||
|             this._commandCollection[0].CommandText = @"SELECT  idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveName, sc, request, dbo.getUserName(request) AS requestName, sid, pumname, pumscale, pumunit, pumqty,  |             this._commandCollection[0].CommandText = @"SELECT  idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveName, sc, request, dbo.getUserName(request) AS requestName, sid, pumname, pumscale, pumunit, pumqty,  | ||||||
|                pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo, manuproc, orderno, gcode, place |                pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo, manuproc, orderno, gcode, place, inqty | ||||||
| FROM     Purchase | FROM     Purchase | ||||||
| WHERE  (ISNULL(isdel, 0) = 0) AND (gcode = @gcode) | WHERE  (ISNULL(isdel, 0) = 0) AND (gcode = @gcode) | ||||||
| ORDER BY pdate DESC, idx DESC"; | ORDER BY pdate DESC, idx DESC"; | ||||||
| @@ -2327,7 +2373,7 @@ ORDER BY pdate DESC, idx DESC"; | |||||||
|             this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand(); |             this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand(); | ||||||
|             this._commandCollection[3].Connection = this.Connection; |             this._commandCollection[3].Connection = this.Connection; | ||||||
|             this._commandCollection[3].CommandText = @"SELECT  idx, asset, bigo, dept, edate, import, indate, isdel, manuproc, orderno, pdate, po, process, project, projectidx, pumamt, pumidx, pumname, pumprice, pumqty, pumscale, pumunit, receive,  |             this._commandCollection[3].CommandText = @"SELECT  idx, asset, bigo, dept, edate, import, indate, isdel, manuproc, orderno, pdate, po, process, project, projectidx, pumamt, pumidx, pumname, pumprice, pumqty, pumscale, pumunit, receive,  | ||||||
|                request, sc, sid, state, supply, supplyidx, wdate, wuid, dbo.getUserName(receive) AS receiveName, dbo.getUserName(request) AS requestName, gcode, place |                request, sc, sid, state, supply, supplyidx, wdate, wuid, dbo.getUserName(receive) AS receiveName, dbo.getUserName(request) AS requestName, gcode, place, inqty | ||||||
| FROM     Purchase | FROM     Purchase | ||||||
| WHERE  (pdate BETWEEN @sd AND @ed) AND (ISNULL(isdel, 0) = 0) AND (gcode = @gcode) | WHERE  (pdate BETWEEN @sd AND @ed) AND (ISNULL(isdel, 0) = 0) AND (gcode = @gcode) | ||||||
| ORDER BY pdate DESC, idx DESC"; | ORDER BY pdate DESC, idx DESC"; | ||||||
| @@ -2520,7 +2566,8 @@ ORDER BY pdate DESC, idx DESC"; | |||||||
|                     string manuproc,  |                     string manuproc,  | ||||||
|                     string orderno,  |                     string orderno,  | ||||||
|                     string gcode,  |                     string gcode,  | ||||||
|                     string place) { |                     string place,  | ||||||
|  |                     global::System.Nullable<int> inqty) { | ||||||
|             if ((pdate == null)) { |             if ((pdate == null)) { | ||||||
|                 this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value; |                 this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value; | ||||||
|             } |             } | ||||||
| @@ -2708,6 +2755,12 @@ ORDER BY pdate DESC, idx DESC"; | |||||||
|             else { |             else { | ||||||
|                 this.Adapter.InsertCommand.Parameters[31].Value = ((string)(place)); |                 this.Adapter.InsertCommand.Parameters[31].Value = ((string)(place)); | ||||||
|             } |             } | ||||||
|  |             if ((inqty.HasValue == true)) { | ||||||
|  |                 this.Adapter.InsertCommand.Parameters[32].Value = ((int)(inqty.Value)); | ||||||
|  |             } | ||||||
|  |             else { | ||||||
|  |                 this.Adapter.InsertCommand.Parameters[32].Value = global::System.DBNull.Value; | ||||||
|  |             } | ||||||
|             global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; |             global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; | ||||||
|             if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)  |             if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)  | ||||||
|                         != global::System.Data.ConnectionState.Open)) { |                         != global::System.Data.ConnectionState.Open)) { | ||||||
| @@ -2760,6 +2813,7 @@ ORDER BY pdate DESC, idx DESC"; | |||||||
|                     string manuproc,  |                     string manuproc,  | ||||||
|                     string orderno,  |                     string orderno,  | ||||||
|                     string place,  |                     string place,  | ||||||
|  |                     global::System.Nullable<int> inqty,  | ||||||
|                     int Original_idx,  |                     int Original_idx,  | ||||||
|                     int idx) { |                     int idx) { | ||||||
|             if ((pdate == null)) { |             if ((pdate == null)) { | ||||||
| @@ -2943,8 +2997,14 @@ ORDER BY pdate DESC, idx DESC"; | |||||||
|             else { |             else { | ||||||
|                 this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(place)); |                 this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(place)); | ||||||
|             } |             } | ||||||
|             this.Adapter.UpdateCommand.Parameters[31].Value = ((int)(Original_idx)); |             if ((inqty.HasValue == true)) { | ||||||
|             this.Adapter.UpdateCommand.Parameters[32].Value = ((int)(idx)); |                 this.Adapter.UpdateCommand.Parameters[31].Value = ((int)(inqty.Value)); | ||||||
|  |             } | ||||||
|  |             else { | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[31].Value = global::System.DBNull.Value; | ||||||
|  |             } | ||||||
|  |             this.Adapter.UpdateCommand.Parameters[32].Value = ((int)(Original_idx)); | ||||||
|  |             this.Adapter.UpdateCommand.Parameters[33].Value = ((int)(idx)); | ||||||
|             global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; |             global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; | ||||||
|             if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)  |             if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)  | ||||||
|                         != global::System.Data.ConnectionState.Open)) { |                         != global::System.Data.ConnectionState.Open)) { | ||||||
|   | |||||||
| @@ -24,8 +24,8 @@ WHERE  (idx = @Original_idx)</CommandText> | |||||||
|                   <DbCommand CommandType="Text" ModifiedByUser="true"> |                   <DbCommand CommandType="Text" ModifiedByUser="true"> | ||||||
|                     <CommandText>INSERT INTO Purchase |                     <CommandText>INSERT INTO Purchase | ||||||
|                (pdate, state, process, receive, sc, request, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate,  |                (pdate, state, process, receive, sc, request, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate,  | ||||||
|                import, pumidx, isdel, bigo, manuproc, orderno, gcode, place) |                import, pumidx, isdel, bigo, manuproc, orderno, gcode, place, inqty) | ||||||
| VALUES  (@pdate,@state,@process,@receive,@sc,@request,@sid,@pumname,@pumscale,@pumunit,@pumqty,@pumprice,@pumamt,@supply,@supplyidx,@project,@projectidx,@asset,@edate,@indate,@po,@dept,@wuid,@wdate,@import,@pumidx,@isdel,@bigo,@manuproc,@orderno,@gcode,@place);     | VALUES  (@pdate,@state,@process,@receive,@sc,@request,@sid,@pumname,@pumscale,@pumunit,@pumqty,@pumprice,@pumamt,@supply,@supplyidx,@project,@projectidx,@asset,@edate,@indate,@po,@dept,@wuid,@wdate,@import,@pumidx,@isdel,@bigo,@manuproc,@orderno,@gcode,@place,@inqty);      | ||||||
| SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo FROM Purchase WHERE (idx = SCOPE_IDENTITY()) ORDER BY pdate DESC, idx DESC</CommandText> | SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo FROM Purchase WHERE (idx = SCOPE_IDENTITY()) ORDER BY pdate DESC, idx DESC</CommandText> | ||||||
|                     <Parameters> |                     <Parameters> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="pdate" ColumnName="pdate" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="pdate" ColumnName="pdate" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
| @@ -60,13 +60,14 @@ SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumscale, | |||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="orderno" ColumnName="orderno" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@orderno" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="orderno" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="orderno" ColumnName="orderno" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@orderno" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="orderno" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="gcode" ColumnName="gcode" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="false" AutogeneratedName="gcode" ColumnName="gcode" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="place" ColumnName="place" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@place" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="place" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="place" ColumnName="place" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@place" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="place" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="inqty" ColumnName="inqty" DataSourceName="EE.dbo.Purchase" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@inqty" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="inqty" 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, state, process, receive, dbo.getUserName(receive) AS receiveName, sc, request, dbo.getUserName(request) AS requestName, sid, pumname, pumscale, pumunit, pumqty,  |                     <CommandText>SELECT  idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveName, sc, request, dbo.getUserName(request) AS requestName, sid, pumname, pumscale, pumunit, pumqty,  | ||||||
|                pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo, manuproc, orderno, gcode, place |                pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo, manuproc, orderno, gcode, place, inqty | ||||||
| FROM     Purchase | FROM     Purchase | ||||||
| WHERE  (ISNULL(isdel, 0) = 0) AND (gcode = @gcode) | WHERE  (ISNULL(isdel, 0) = 0) AND (gcode = @gcode) | ||||||
| ORDER BY pdate DESC, idx DESC</CommandText> | ORDER BY pdate DESC, idx DESC</CommandText> | ||||||
| @@ -81,8 +82,8 @@ ORDER BY pdate DESC, idx DESC</CommandText> | |||||||
| SET        pdate = @pdate, state = @state, process = @process, receive = @receive, sc = @sc, request = @request, sid = @sid, pumname = @pumname, pumscale = @pumscale, pumunit = @pumunit,  | SET        pdate = @pdate, state = @state, process = @process, receive = @receive, sc = @sc, request = @request, sid = @sid, pumname = @pumname, pumscale = @pumscale, pumunit = @pumunit,  | ||||||
|                pumqty = @pumqty, pumprice = @pumprice, pumamt = @pumamt, supply = @supply, supplyidx = @supplyidx, project = @project, projectidx = @projectidx, asset = @asset, edate = @edate,  |                pumqty = @pumqty, pumprice = @pumprice, pumamt = @pumamt, supply = @supply, supplyidx = @supplyidx, project = @project, projectidx = @projectidx, asset = @asset, edate = @edate,  | ||||||
|                indate = @indate, po = @po, dept = @dept, wuid = @wuid, wdate = @wdate, import = @import, pumidx = @pumidx, isdel = @isdel, bigo = @bigo, manuproc = @manuproc,  |                indate = @indate, po = @po, dept = @dept, wuid = @wuid, wdate = @wdate, import = @import, pumidx = @pumidx, isdel = @isdel, bigo = @bigo, manuproc = @manuproc,  | ||||||
|                orderno = @orderno, place = @place |                orderno = @orderno, place = @place, inqty = @inqty | ||||||
| WHERE  (idx = @Original_idx);     | WHERE  (idx = @Original_idx);      | ||||||
| SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo FROM Purchase WHERE (idx = @idx) ORDER BY pdate DESC, idx DESC</CommandText> | SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo FROM Purchase WHERE (idx = @idx) ORDER BY pdate DESC, idx DESC</CommandText> | ||||||
|                     <Parameters> |                     <Parameters> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="pdate" ColumnName="pdate" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="pdate" ColumnName="pdate" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
| @@ -116,6 +117,7 @@ SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumscale, | |||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="manuproc" ColumnName="manuproc" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@manuproc" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="manuproc" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="manuproc" ColumnName="manuproc" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@manuproc" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="manuproc" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="orderno" ColumnName="orderno" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@orderno" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="orderno" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="orderno" ColumnName="orderno" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@orderno" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="orderno" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="place" ColumnName="place" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@place" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="place" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="place" ColumnName="place" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@place" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="place" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="inqty" ColumnName="inqty" DataSourceName="EE.dbo.Purchase" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@inqty" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="inqty" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="Original_idx" ColumnName="idx" DataSourceName="EE.dbo.Purchase" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" /> |                       <Parameter AllowDbNull="false" AutogeneratedName="Original_idx" ColumnName="idx" DataSourceName="EE.dbo.Purchase" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="EE.dbo.Purchase" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" /> |                       <Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="EE.dbo.Purchase" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|                     </Parameters> |                     </Parameters> | ||||||
| @@ -159,9 +161,10 @@ SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumscale, | |||||||
|               <Mapping SourceColumn="receiveName" DataSetColumn="receiveName" /> |               <Mapping SourceColumn="receiveName" DataSetColumn="receiveName" /> | ||||||
|               <Mapping SourceColumn="requestName" DataSetColumn="requestName" /> |               <Mapping SourceColumn="requestName" DataSetColumn="requestName" /> | ||||||
|               <Mapping SourceColumn="place" DataSetColumn="place" /> |               <Mapping SourceColumn="place" DataSetColumn="place" /> | ||||||
|  |               <Mapping SourceColumn="inqty" DataSetColumn="inqty" /> | ||||||
|             </Mappings> |             </Mappings> | ||||||
|             <Sources> |             <Sources> | ||||||
|               <DbSource ConnectionRef="gwcs (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="CoutImport" Modifier="Public" Name="CoutImport" QueryType="Scalar" ScalarCallRetval="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="CoutImport"> |               <DbSource ConnectionRef="gwcs (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="CoutImport" Modifier="Public" Name="CoutImport" QueryType="Scalar" ScalarCallRetval="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="CoutImport"> | ||||||
|                 <SelectCommand> |                 <SelectCommand> | ||||||
|                   <DbCommand CommandType="Text" ModifiedByUser="true"> |                   <DbCommand CommandType="Text" ModifiedByUser="true"> | ||||||
|                     <CommandText>SELECT COUNT(*) FROM Purchase |                     <CommandText>SELECT COUNT(*) FROM Purchase | ||||||
| @@ -175,7 +178,7 @@ WHERE  (import = 1) AND (pdate BETWEEN @sd AND @ed) AND (wuid = @userid) AND (gc | |||||||
|                   </DbCommand> |                   </DbCommand> | ||||||
|                 </SelectCommand> |                 </SelectCommand> | ||||||
|               </DbSource> |               </DbSource> | ||||||
|               <DbSource ConnectionRef="gwcs (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="DeleteImport" Modifier="Public" Name="DeleteImport" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="DeleteImport"> |               <DbSource ConnectionRef="gwcs (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="DeleteImport" Modifier="Public" Name="DeleteImport" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="DeleteImport"> | ||||||
|                 <DeleteCommand> |                 <DeleteCommand> | ||||||
|                   <DbCommand CommandType="Text" ModifiedByUser="true"> |                   <DbCommand CommandType="Text" ModifiedByUser="true"> | ||||||
|                     <CommandText>DELETE FROM [Purchase] WHERE import = 1</CommandText> |                     <CommandText>DELETE FROM [Purchase] WHERE import = 1</CommandText> | ||||||
| @@ -199,7 +202,7 @@ WHERE  (import = 1) AND (pdate BETWEEN @sd AND @ed) AND (wuid = @userid) AND (gc | |||||||
|                 <SelectCommand> |                 <SelectCommand> | ||||||
|                   <DbCommand CommandType="Text" ModifiedByUser="true"> |                   <DbCommand CommandType="Text" ModifiedByUser="true"> | ||||||
|                     <CommandText>SELECT  idx, asset, bigo, dept, edate, import, indate, isdel, manuproc, orderno, pdate, po, process, project, projectidx, pumamt, pumidx, pumname, pumprice, pumqty, pumscale, pumunit, receive,  |                     <CommandText>SELECT  idx, asset, bigo, dept, edate, import, indate, isdel, manuproc, orderno, pdate, po, process, project, projectidx, pumamt, pumidx, pumname, pumprice, pumqty, pumscale, pumunit, receive,  | ||||||
|                request, sc, sid, state, supply, supplyidx, wdate, wuid, dbo.getUserName(receive) AS receiveName, dbo.getUserName(request) AS requestName, gcode, place |                request, sc, sid, state, supply, supplyidx, wdate, wuid, dbo.getUserName(receive) AS receiveName, dbo.getUserName(request) AS requestName, gcode, place, inqty | ||||||
| FROM     Purchase | FROM     Purchase | ||||||
| WHERE  (pdate BETWEEN @sd AND @ed) AND (ISNULL(isdel, 0) = 0) AND (gcode = @gcode) | WHERE  (pdate BETWEEN @sd AND @ed) AND (ISNULL(isdel, 0) = 0) AND (gcode = @gcode) | ||||||
| ORDER BY pdate DESC, idx DESC</CommandText> | ORDER BY pdate DESC, idx DESC</CommandText> | ||||||
| @@ -221,7 +224,7 @@ ORDER BY pdate DESC, idx DESC</CommandText> | |||||||
|   <xs:element name="dsPurchase" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="dsPurchase" msprop:Generator_UserDSName="dsPurchase"> |   <xs:element name="dsPurchase" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="dsPurchase" msprop:Generator_UserDSName="dsPurchase"> | ||||||
|     <xs:complexType> |     <xs:complexType> | ||||||
|       <xs:choice minOccurs="0" maxOccurs="unbounded"> |       <xs:choice minOccurs="0" maxOccurs="unbounded"> | ||||||
|         <xs:element name="Purchase" msprop:Generator_TableClassName="PurchaseDataTable" msprop:Generator_TableVarName="tablePurchase" msprop:Generator_TablePropName="Purchase" msprop:Generator_RowDeletingName="PurchaseRowDeleting" msprop:Generator_RowChangingName="PurchaseRowChanging" msprop:Generator_RowEvHandlerName="PurchaseRowChangeEventHandler" msprop:Generator_RowDeletedName="PurchaseRowDeleted" msprop:Generator_UserTableName="Purchase" msprop:Generator_RowChangedName="PurchaseRowChanged" msprop:Generator_RowEvArgName="PurchaseRowChangeEvent" msprop:Generator_RowClassName="PurchaseRow"> |         <xs:element name="Purchase" msprop:Generator_TableClassName="PurchaseDataTable" msprop:Generator_TableVarName="tablePurchase" msprop:Generator_RowChangedName="PurchaseRowChanged" msprop:Generator_TablePropName="Purchase" msprop:Generator_RowDeletingName="PurchaseRowDeleting" msprop:Generator_RowChangingName="PurchaseRowChanging" msprop:Generator_RowEvHandlerName="PurchaseRowChangeEventHandler" msprop:Generator_RowDeletedName="PurchaseRowDeleted" msprop:Generator_RowClassName="PurchaseRow" msprop:Generator_UserTableName="Purchase" msprop:Generator_RowEvArgName="PurchaseRowChangeEvent"> | ||||||
|           <xs:complexType> |           <xs:complexType> | ||||||
|             <xs:sequence> |             <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="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" /> | ||||||
| @@ -409,6 +412,7 @@ ORDER BY pdate DESC, idx DESC</CommandText> | |||||||
|                   </xs:restriction> |                   </xs:restriction> | ||||||
|                 </xs:simpleType> |                 </xs:simpleType> | ||||||
|               </xs:element> |               </xs:element> | ||||||
|  |               <xs:element name="inqty" msprop:Generator_ColumnVarNameInTable="columninqty" msprop:Generator_ColumnPropNameInRow="inqty" msprop:Generator_ColumnPropNameInTable="inqtyColumn" msprop:Generator_UserColumnName="inqty" type="xs:int" minOccurs="0" /> | ||||||
|             </xs:sequence> |             </xs:sequence> | ||||||
|           </xs:complexType> |           </xs:complexType> | ||||||
|         </xs:element> |         </xs:element> | ||||||
|   | |||||||
							
								
								
									
										5
									
								
								SubProject/FEQ0000/packages.config
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								SubProject/FEQ0000/packages.config
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | |||||||
|  | <?xml version="1.0" encoding="utf-8"?> | ||||||
|  | <packages> | ||||||
|  |   <package id="NetOfficeFw.Core" version="1.7.4.5" targetFramework="net45" /> | ||||||
|  |   <package id="NetOfficeFw.Outlook" version="1.7.4.5" targetFramework="net45" /> | ||||||
|  | </packages> | ||||||
| @@ -9,7 +9,7 @@ | |||||||
|     <AppDesignerFolder>Properties</AppDesignerFolder> |     <AppDesignerFolder>Properties</AppDesignerFolder> | ||||||
|     <RootNamespace>FPJ0000</RootNamespace> |     <RootNamespace>FPJ0000</RootNamespace> | ||||||
|     <AssemblyName>FPJ0000</AssemblyName> |     <AssemblyName>FPJ0000</AssemblyName> | ||||||
|     <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> |     <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> | ||||||
|     <FileAlignment>512</FileAlignment> |     <FileAlignment>512</FileAlignment> | ||||||
|     <TargetFrameworkProfile /> |     <TargetFrameworkProfile /> | ||||||
|   </PropertyGroup> |   </PropertyGroup> | ||||||
|   | |||||||
| @@ -118,7 +118,7 @@ namespace FPJ0000.JobReport | |||||||
|             cmbType.SelectedValue = dr.type; |             cmbType.SelectedValue = dr.type; | ||||||
|             cmbProcess.SelectedValue = dr.process; |             cmbProcess.SelectedValue = dr.process; | ||||||
|  |  | ||||||
|             if (cmbRequest.Text == "") cmbRequest.Text = "EE1"; |             //if (cmbRequest.Text == "") cmbRequest.Text = "EE1"; | ||||||
|             if (cmbPackage.Text == "") cmbPackage.Text = "Common"; |             if (cmbPackage.Text == "") cmbPackage.Text = "Common"; | ||||||
|  |  | ||||||
|             //프로젝트 번호 확인(프로젝트번호가 바뀌면 데이터를 업데이트 해준다) |             //프로젝트 번호 확인(프로젝트번호가 바뀌면 데이터를 업데이트 해준다) | ||||||
|   | |||||||
							
								
								
									
										51
									
								
								SubProject/FPJ0000/Project/fPartList.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										51
									
								
								SubProject/FPJ0000/Project/fPartList.Designer.cs
									
									
									
										generated
									
									
									
								
							| @@ -38,7 +38,6 @@ | |||||||
|             System.Windows.Forms.Label statusLabel; |             System.Windows.Forms.Label statusLabel; | ||||||
|             System.Windows.Forms.Label label1; |             System.Windows.Forms.Label label1; | ||||||
|             System.Windows.Forms.Label label2; |             System.Windows.Forms.Label label2; | ||||||
|             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fPartList)); |  | ||||||
|             FarPoint.Win.Spread.FlatFocusIndicatorRenderer flatFocusIndicatorRenderer1 = new FarPoint.Win.Spread.FlatFocusIndicatorRenderer(); |             FarPoint.Win.Spread.FlatFocusIndicatorRenderer flatFocusIndicatorRenderer1 = new FarPoint.Win.Spread.FlatFocusIndicatorRenderer(); | ||||||
|             FarPoint.Win.Spread.FlatScrollBarRenderer flatScrollBarRenderer1 = new FarPoint.Win.Spread.FlatScrollBarRenderer(); |             FarPoint.Win.Spread.FlatScrollBarRenderer flatScrollBarRenderer1 = new FarPoint.Win.Spread.FlatScrollBarRenderer(); | ||||||
|             FarPoint.Win.Spread.FlatScrollBarRenderer flatScrollBarRenderer2 = new FarPoint.Win.Spread.FlatScrollBarRenderer(); |             FarPoint.Win.Spread.FlatScrollBarRenderer flatScrollBarRenderer2 = new FarPoint.Win.Spread.FlatScrollBarRenderer(); | ||||||
| @@ -64,6 +63,7 @@ | |||||||
|             FarPoint.Win.Spread.CellType.NumberCellType numberCellType8 = new FarPoint.Win.Spread.CellType.NumberCellType(); |             FarPoint.Win.Spread.CellType.NumberCellType numberCellType8 = new FarPoint.Win.Spread.CellType.NumberCellType(); | ||||||
|             FarPoint.Win.Spread.CellType.NumberCellType numberCellType9 = new FarPoint.Win.Spread.CellType.NumberCellType(); |             FarPoint.Win.Spread.CellType.NumberCellType numberCellType9 = new FarPoint.Win.Spread.CellType.NumberCellType(); | ||||||
|             FarPoint.Win.Spread.NoPrinterPrintInfo noPrinterPrintInfo1 = new FarPoint.Win.Spread.NoPrinterPrintInfo(); |             FarPoint.Win.Spread.NoPrinterPrintInfo noPrinterPrintInfo1 = new FarPoint.Win.Spread.NoPrinterPrintInfo(); | ||||||
|  |             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fPartList)); | ||||||
|             this.panel1 = new System.Windows.Forms.Panel(); |             this.panel1 = new System.Windows.Forms.Panel(); | ||||||
|             this.button3 = new System.Windows.Forms.Button(); |             this.button3 = new System.Windows.Forms.Button(); | ||||||
|             this.panel6 = new System.Windows.Forms.Panel(); |             this.panel6 = new System.Windows.Forms.Panel(); | ||||||
| @@ -86,7 +86,7 @@ | |||||||
|             this.sdateTextBox = new System.Windows.Forms.TextBox(); |             this.sdateTextBox = new System.Windows.Forms.TextBox(); | ||||||
|             this.textBox1 = new System.Windows.Forms.TextBox(); |             this.textBox1 = new System.Windows.Forms.TextBox(); | ||||||
|             this.reqstaffTextBox = new System.Windows.Forms.TextBox(); |             this.reqstaffTextBox = new System.Windows.Forms.TextBox(); | ||||||
|             this.idxTextBox = new System.Windows.Forms.TextBox(); |             this.tbIdx = new System.Windows.Forms.TextBox(); | ||||||
|             this.nameTextBox = new System.Windows.Forms.TextBox(); |             this.nameTextBox = new System.Windows.Forms.TextBox(); | ||||||
|             this.pdateTextBox = new System.Windows.Forms.TextBox(); |             this.pdateTextBox = new System.Windows.Forms.TextBox(); | ||||||
|             this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); |             this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); | ||||||
| @@ -137,6 +137,8 @@ | |||||||
|             this.fpSpread1 = new FarPoint.Win.Spread.FpSpread(); |             this.fpSpread1 = new FarPoint.Win.Spread.FpSpread(); | ||||||
|             this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); |             this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); | ||||||
|             this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); |             this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); | ||||||
|  |             this.panel7 = new System.Windows.Forms.Panel(); | ||||||
|  |             this.button4 = new System.Windows.Forms.Button(); | ||||||
|             pdateLabel = new System.Windows.Forms.Label(); |             pdateLabel = new System.Windows.Forms.Label(); | ||||||
|             requestLabel = new System.Windows.Forms.Label(); |             requestLabel = new System.Windows.Forms.Label(); | ||||||
|             reqstaffLabel = new System.Windows.Forms.Label(); |             reqstaffLabel = new System.Windows.Forms.Label(); | ||||||
| @@ -243,6 +245,8 @@ | |||||||
|             //  |             //  | ||||||
|             // panel1 |             // panel1 | ||||||
|             //  |             //  | ||||||
|  |             this.panel1.Controls.Add(this.button4); | ||||||
|  |             this.panel1.Controls.Add(this.panel7); | ||||||
|             this.panel1.Controls.Add(this.button3); |             this.panel1.Controls.Add(this.button3); | ||||||
|             this.panel1.Controls.Add(this.panel6); |             this.panel1.Controls.Add(this.panel6); | ||||||
|             this.panel1.Controls.Add(this.button2); |             this.panel1.Controls.Add(this.button2); | ||||||
| @@ -368,7 +372,7 @@ | |||||||
|             this.panel2.Controls.Add(sdateLabel); |             this.panel2.Controls.Add(sdateLabel); | ||||||
|             this.panel2.Controls.Add(this.textBox1); |             this.panel2.Controls.Add(this.textBox1); | ||||||
|             this.panel2.Controls.Add(this.reqstaffTextBox); |             this.panel2.Controls.Add(this.reqstaffTextBox); | ||||||
|             this.panel2.Controls.Add(this.idxTextBox); |             this.panel2.Controls.Add(this.tbIdx); | ||||||
|             this.panel2.Controls.Add(reqstaffLabel); |             this.panel2.Controls.Add(reqstaffLabel); | ||||||
|             this.panel2.Controls.Add(this.nameTextBox); |             this.panel2.Controls.Add(this.nameTextBox); | ||||||
|             this.panel2.Controls.Add(requestLabel); |             this.panel2.Controls.Add(requestLabel); | ||||||
| @@ -490,14 +494,14 @@ | |||||||
|             this.reqstaffTextBox.Size = new System.Drawing.Size(186, 21); |             this.reqstaffTextBox.Size = new System.Drawing.Size(186, 21); | ||||||
|             this.reqstaffTextBox.TabIndex = 9; |             this.reqstaffTextBox.TabIndex = 9; | ||||||
|             //  |             //  | ||||||
|             // idxTextBox |             // tbIdx | ||||||
|             //  |             //  | ||||||
|             this.idxTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "idx", true)); |             this.tbIdx.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "idx", true)); | ||||||
|             this.idxTextBox.Location = new System.Drawing.Point(11, 9); |             this.tbIdx.Location = new System.Drawing.Point(11, 9); | ||||||
|             this.idxTextBox.Name = "idxTextBox"; |             this.tbIdx.Name = "tbIdx"; | ||||||
|             this.idxTextBox.ReadOnly = true; |             this.tbIdx.ReadOnly = true; | ||||||
|             this.idxTextBox.Size = new System.Drawing.Size(40, 21); |             this.tbIdx.Size = new System.Drawing.Size(40, 21); | ||||||
|             this.idxTextBox.TabIndex = 1; |             this.tbIdx.TabIndex = 1; | ||||||
|             //  |             //  | ||||||
|             // nameTextBox |             // nameTextBox | ||||||
|             //  |             //  | ||||||
| @@ -1374,6 +1378,29 @@ | |||||||
|             this.fpSpread1_Sheet1.TitleInfo.Value = "Partlist"; |             this.fpSpread1_Sheet1.TitleInfo.Value = "Partlist"; | ||||||
|             this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1; |             this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1; | ||||||
|             //  |             //  | ||||||
|  |             // panel7 | ||||||
|  |             //  | ||||||
|  |             this.panel7.Dock = System.Windows.Forms.DockStyle.Left; | ||||||
|  |             this.panel7.Location = new System.Drawing.Point(955, 0); | ||||||
|  |             this.panel7.Name = "panel7"; | ||||||
|  |             this.panel7.Size = new System.Drawing.Size(7, 119); | ||||||
|  |             this.panel7.TabIndex = 41; | ||||||
|  |             //  | ||||||
|  |             // button4 | ||||||
|  |             //  | ||||||
|  |             this.button4.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; | ||||||
|  |             this.button4.Dock = System.Windows.Forms.DockStyle.Left; | ||||||
|  |             this.button4.Image = ((System.Drawing.Image)(resources.GetObject("button4.Image"))); | ||||||
|  |             this.button4.Location = new System.Drawing.Point(962, 0); | ||||||
|  |             this.button4.Name = "button4"; | ||||||
|  |             this.button4.Padding = new System.Windows.Forms.Padding(0, 0, 0, 10); | ||||||
|  |             this.button4.Size = new System.Drawing.Size(87, 119); | ||||||
|  |             this.button4.TabIndex = 42; | ||||||
|  |             this.button4.Text = "공용폴더"; | ||||||
|  |             this.button4.TextAlign = System.Drawing.ContentAlignment.BottomCenter; | ||||||
|  |             this.button4.UseVisualStyleBackColor = true; | ||||||
|  |             this.button4.Click += new System.EventHandler(this.button4_Click); | ||||||
|  |             //  | ||||||
|             // fPartList |             // fPartList | ||||||
|             //  |             //  | ||||||
|             this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); |             this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); | ||||||
| @@ -1410,7 +1437,7 @@ | |||||||
|         private System.Windows.Forms.BindingSource bs; |         private System.Windows.Forms.BindingSource bs; | ||||||
|         private dsPRJTableAdapters.ProjectsTableAdapter ta; |         private dsPRJTableAdapters.ProjectsTableAdapter ta; | ||||||
|         private dsPRJTableAdapters.TableAdapterManager tam; |         private dsPRJTableAdapters.TableAdapterManager tam; | ||||||
|         private System.Windows.Forms.TextBox idxTextBox; |         private System.Windows.Forms.TextBox tbIdx; | ||||||
|         private System.Windows.Forms.TextBox nameTextBox; |         private System.Windows.Forms.TextBox nameTextBox; | ||||||
|         private System.Windows.Forms.TextBox pdateTextBox; |         private System.Windows.Forms.TextBox pdateTextBox; | ||||||
|         private System.Windows.Forms.TextBox requestTextBox; |         private System.Windows.Forms.TextBox requestTextBox; | ||||||
| @@ -1478,5 +1505,7 @@ | |||||||
|         private System.Windows.Forms.Panel panel6; |         private System.Windows.Forms.Panel panel6; | ||||||
|         private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1; |         private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1; | ||||||
|         private System.Windows.Forms.RadioButton radSortIpNum; |         private System.Windows.Forms.RadioButton radSortIpNum; | ||||||
|  |         private System.Windows.Forms.Button button4; | ||||||
|  |         private System.Windows.Forms.Panel panel7; | ||||||
|     } |     } | ||||||
| } | } | ||||||
| @@ -38,10 +38,25 @@ namespace FPJ0000 | |||||||
|  |  | ||||||
|             this.ProjectIndex = idx_; |             this.ProjectIndex = idx_; | ||||||
|             this.FormClosed += fPartList_FormClosed; |             this.FormClosed += fPartList_FormClosed; | ||||||
|  |             this.FormClosing += FPartList_FormClosing; | ||||||
|             this.KeyDown += fPartList_KeyDown; |             this.KeyDown += fPartList_KeyDown; | ||||||
|             this.dsPRJ.ProjectsPart.TableNewRow += ProjectsPart_TableNewRow; |             this.dsPRJ.ProjectsPart.TableNewRow += ProjectsPart_TableNewRow; | ||||||
|         } |         } | ||||||
|  |  | ||||||
|  |         private void FPartList_FormClosing(object sender, FormClosingEventArgs e) | ||||||
|  |         { | ||||||
|  |             var dt = this.dsPRJ.ProjectsPart.GetChanges(); | ||||||
|  |             if (dt != null && dt.Rows.Count > 0) | ||||||
|  |             { | ||||||
|  |                 var dlg = FCOMMON.Util.MsgQ("변경된 자료가 있습니다.\n화면을 닫으면 손실됩니다.\n화면을 닫을까요?"); | ||||||
|  |                 if (dlg != DialogResult.Yes) | ||||||
|  |                 { | ||||||
|  |                     e.Cancel = true; | ||||||
|  |                     return; | ||||||
|  |                 } | ||||||
|  |             } | ||||||
|  |         } | ||||||
|  |  | ||||||
|         void ProjectsPart_TableNewRow(object sender, DataTableNewRowEventArgs e) |         void ProjectsPart_TableNewRow(object sender, DataTableNewRowEventArgs e) | ||||||
|         { |         { | ||||||
|             e.Row["wuid"] = FCOMMON.info.Login.no; |             e.Row["wuid"] = FCOMMON.info.Login.no; | ||||||
| @@ -202,7 +217,7 @@ namespace FPJ0000 | |||||||
|                 // if (value_bconf != null) bconf = (Boolean)value_bconf; |                 // if (value_bconf != null) bconf = (Boolean)value_bconf; | ||||||
|  |  | ||||||
|                 if (bbuy) PO발행전체 += 1; |                 if (bbuy) PO발행전체 += 1; | ||||||
|             //    if (bbuy && string.IsNullOrEmpty(value_supply))  |                 //    if (bbuy && string.IsNullOrEmpty(value_supply))  | ||||||
|  |  | ||||||
|  |  | ||||||
|                 전체건수 += 1; |                 전체건수 += 1; | ||||||
| @@ -325,11 +340,11 @@ namespace FPJ0000 | |||||||
|             this.bsPart.EndEdit(); |             this.bsPart.EndEdit(); | ||||||
|  |  | ||||||
|             //모든데이터의 공백을 제거(sid) |             //모든데이터의 공백을 제거(sid) | ||||||
|             foreach(var item in this.dsPRJ.ProjectsPart) |             foreach (var item in this.dsPRJ.ProjectsPart) | ||||||
|             { |             { | ||||||
|                 //sid에 공백제거 |                 //sid에 공백제거 | ||||||
|                 if (item.RowState == DataRowState.Deleted || item.RowState == DataRowState.Detached) continue; |                 if (item.RowState == DataRowState.Deleted || item.RowState == DataRowState.Detached) continue; | ||||||
|                 if(item.ItemSid != item.ItemSid.Replace(" ","").Trim()) |                 if (item.ItemSid != item.ItemSid.Replace(" ", "").Trim()) | ||||||
|                 { |                 { | ||||||
|                     item.ItemSid = item.ItemSid.Replace(" ", "").Trim(); |                     item.ItemSid = item.ItemSid.Replace(" ", "").Trim(); | ||||||
|                     item.EndEdit(); |                     item.EndEdit(); | ||||||
| @@ -462,7 +477,7 @@ namespace FPJ0000 | |||||||
|                                     fpSpread1.ActiveSheet.Cells[Rowidx, colidx_item].Value = f.item; |                                     fpSpread1.ActiveSheet.Cells[Rowidx, colidx_item].Value = f.item; | ||||||
|                                     fpSpread1.ActiveSheet.Cells[Rowidx, colidx_itemname].Value = f.itemName; |                                     fpSpread1.ActiveSheet.Cells[Rowidx, colidx_itemname].Value = f.itemName; | ||||||
|  |  | ||||||
|                                     fpSpread1.ActiveSheet.Cells[Rowidx, colidx_sid].Value = f.SID.Replace(" ","").Trim(); |                                     fpSpread1.ActiveSheet.Cells[Rowidx, colidx_sid].Value = f.SID.Replace(" ", "").Trim(); | ||||||
|  |  | ||||||
|                                     //공급사는 기록하지 않는다  200623 |                                     //공급사는 기록하지 않는다  200623 | ||||||
|                                     //fpSpread1.ActiveSheet.Cells[Rowidx, colidx_supplyidx].Value = f.itemSupplyidx; |                                     //fpSpread1.ActiveSheet.Cells[Rowidx, colidx_supplyidx].Value = f.itemSupplyidx; | ||||||
| @@ -569,7 +584,7 @@ namespace FPJ0000 | |||||||
|                 FormattingData(); |                 FormattingData(); | ||||||
|                 this.tbFind.SelectAll(); |                 this.tbFind.SelectAll(); | ||||||
|                 this.tbFind.Focus(); |                 this.tbFind.Focus(); | ||||||
|                  |  | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|  |  | ||||||
| @@ -773,5 +788,37 @@ namespace FPJ0000 | |||||||
|             var f = new rPartList(this.ProjectIndex); |             var f = new rPartList(this.ProjectIndex); | ||||||
|             f.Show(); |             f.Show(); | ||||||
|         } |         } | ||||||
|  |  | ||||||
|  |         private void button4_Click(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             var drv = this.bs.Current as DataRowView; | ||||||
|  |             if (drv == null) return; | ||||||
|  |             var dr  = drv.Row as dsPRJ.ProjectsRow; | ||||||
|  |  | ||||||
|  |             var tbPath = dr.path; | ||||||
|  |             if (tbPath == "") tbPath = "/" + tbIdx.Text; | ||||||
|  |  | ||||||
|  |             if (tbPath.StartsWith("\\") == false) | ||||||
|  |             { | ||||||
|  |                 if (tbPath.StartsWith("/")) tbPath = tbPath.Replace("/", "\\"); | ||||||
|  |                 else tbPath = "\\" + tbPath; | ||||||
|  |             } | ||||||
|  |  | ||||||
|  |             var serverpath = @"\\10.131.32.29\Data\Project"; | ||||||
|  |             if (System.IO.Directory.Exists(serverpath) == false) | ||||||
|  |             { | ||||||
|  |                 FCOMMON.Util.MsgE("프로젝트 기본경로가 존재하지 않아 진행할 수 없습니다\n\n" + | ||||||
|  |                     serverpath); | ||||||
|  |                 return; | ||||||
|  |             } | ||||||
|  |  | ||||||
|  |             var path = serverpath + tbPath; | ||||||
|  |             if (System.IO.Directory.Exists(path) == false) | ||||||
|  |             { | ||||||
|  |                 FCOMMON.Util.MsgE("프로젝트 저장소 없음"); | ||||||
|  |             } | ||||||
|  |  | ||||||
|  |             FCOMMON.Util.RunExplorer(path); | ||||||
|  |         } | ||||||
|     } |     } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -145,6 +145,19 @@ | |||||||
|     <value>False</value> |     <value>False</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="button4.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|  |     <value> | ||||||
|  |         iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 | ||||||
|  |         YQUAAAAJcEhZcwAAIpoAACKaAb7d+yoAAAAZdEVYdFNvZnR3YXJlAHd3dy5pbmtzY2FwZS5vcmeb7jwa | ||||||
|  |         AAABh0lEQVRYR+2VMUoDYRSE92i2igewslcsBCu7eAErIY0gNtY2FjZiYSt4BG+grdXqZ97wfsIgwYWX | ||||||
|  |         XdiBaSYz//sKTbpZQ3V7vLcYswHsx+zpAL4tz/r+5XoUhmUGHOIZcKgt4Fg9CcDVt/bR7rPCx8XhVqz7 | ||||||
|  |         wbL6JZEi+C24v4sK6z4sgZUiVMGNK6z7sARWilAFN66w7sMSWClCFdy4wroPS2ClCFVw43W/3130r1en | ||||||
|  |         G5mue2Pdug9LYKUIVXDj1h8Pl+1jG/nzZ+Peat30hwF+PS37+/OD9sE/TZeNe6t1s5n/Sf5l3YclsFKE | ||||||
|  |         KrhxhXUflsBKEargxhXWfVgCK0WoghtXWPdhCawUoQpuXGHdhyWwUoQquHGFdR+WwEoRquDGFdZ9WAIr | ||||||
|  |         RaiCG1dY92EJrBShCm5cYd2HJbBShCq4cYV1H5bAShGq4MYV1n1YAitFqIIbV1j3YQmsFKEKblxh3Ycl | ||||||
|  |         sFKEKrhxhXUflsBKETaFbXuCgDcn+zt8MAbDElizBqrrvgEhPDwfDcBtdQAAAABJRU5ErkJggg== | ||||||
|  | </value> | ||||||
|  |   </data> | ||||||
|   <data name="button3.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |   <data name="button3.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|     <value> |     <value> | ||||||
|         iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO |         iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||||
| @@ -229,7 +242,7 @@ | |||||||
|     <value>17, 17</value> |     <value>17, 17</value> | ||||||
|   </metadata> |   </metadata> | ||||||
|   <metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |   <metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
|     <value>766, 18</value> |     <value>614, 18</value> | ||||||
|   </metadata> |   </metadata> | ||||||
|   <metadata name="cm1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |   <metadata name="cm1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
|     <value>539, 18</value> |     <value>539, 18</value> | ||||||
| @@ -383,20 +396,20 @@ | |||||||
|   <data name="toolStripButton3.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |   <data name="toolStripButton3.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|     <value> |     <value> | ||||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 |         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 | ||||||
|         YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALxSURBVDhPhZJZTxNRGIZ7JT/BoBdekhiFKEaNXigIWMAE |         YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALuSURBVDhPhZLrS1NhHMf3Kv+EsF70UghTyqioF6WpTQ3s | ||||||
|         NwSCyFYKAQEJ1GAi1hSMyGJAAiRqCETjhRpwgbKUrS2lbSjKUlbZt4SlAl1moDPl9cy0AiYkfsmTc3Hm |         Zipm3uYUTW3owiBbzEXmJTRRoUKUohcV2kWnNm9zzm24ieY0Ne838LLUXc7Rnc1vzzlbzkDoBx+eF8/5 | ||||||
|         fTLfOyPgxv+xMuZaoU4RUqT7HSDVUeSkeYq5U0+HFGrpoBca40WJuvR46MdDfGj/BD7rUq+Y6TWj0cia |         fji/7zk8dkIeKROvlmgVkaXa36ESLUVOmqOMPXV0ZImGDn+uNl4QqyqOR304xIX2T9jTXtWqmV43Go0O | ||||||
|         rFswWfZYM3PQGFkyI+fbHCKKRm3CVLmbK+qc4HzNitE4xGpn7NDPMtDPMdDNMNBMb0P5awtNw1ZsMUD9 |         k3UbJouHdTMLjZ/LZhR8nUds6ZiNnyX3ckddE1GkXmXDmlk7dHMMdPMMtLMM1DM7UP7aRuuoFdsM0DRG | ||||||
|         KIWcL7OIf2Wk/pEESJuoTds2eudZ/JhnyMmgh5dsQzWxhZZhGxE40LvEQr9oR558Dr6P2j/w4fBin6k7 |         oeDzHFJeGql/JKGSVmrLtgPDggMDCww5GfRzkh30TG7j+6iNCJwwLDugW7JDJp9H0MPO91w4pixw+rYk | ||||||
|         0tAdccUtxJffRnlzDXJri+Er9YQPQZh3Af6ysyipL+FXsdAMltdt8I9WMbwgrND3c/tgAxrG36Jcl8VL |         aldYfRMpVbdQ1VaPwoYyBEn8EEjgy84jRHoG5U3l3CoWmsHKhg0hCT0MJ4guCfrUOdyM5ok3qNLmcZKE | ||||||
|         osuCkPU+Cmk1ERBVXkdcZRzq+5fRYLTg+8AmNkhPAbIumhcIS4VuntJ0VjfWiXeDMhQoU3lJTEUwCd9A |         ynDkvYtHdn0sBDXXkFyTjKahFTQbLfj2YwubpKdQaS/NCfgVfC9fSY5DO96Nt8NSFCuzOElidQQJX0f6 | ||||||
|         0utEqCes/Cpt4xQUpId1qx0Bud1OATeB+So6oyoWhgkNKvUP8bw1E+HFVxBTFgrDjA0GUixXsHrS2YmJ |         qzSoJq3cKh0TFBSkhw2rHaGFfS4BO2FFPbSoNgn6STVqdA/wrD0XMWWXkVgZBf2sDXpSLFuwasrViYkI | ||||||
|         CPxl+wSXnkjt57KPIapUiN5JLfI6kyGTZyDipR9qlF/Rt8DAQIrVTtvRTVgx2+H71CU4LXEXe0uOIq06 |         QqT7BBcfS+xn848hvoIPw5QGsu4MSOUixL4IRr3yCwYXGehJsZoZO/oIq2Y7gp64BafE3sIA8VFk18Xh | ||||||
|         EncrAhFZcpWXZMijIKlNJG/iB+6+d45FD/eJCWZSpFe6xinwlhxe8JYcIQ+5wzvLHTcL/JDyJhbqYQXy |         TnUY4sqvcBKRPB7ihjTyJsFg7w3zDvSzn5hgJkX656hdggDx4cUA8RHykDcC8rxxozgYma+ToBpVQKbI | ||||||
|         FNlI/hQLUUUYDESgJ/+Gjghou4MIlHsrXE7vopc2aPQvsDyqsUU8qEpCAgmKKyOQWX1/947Dts0SQd2e |         R8bHJAiqo6EnAh35N7REQNudRKD0rHApp5de3qQxtOjg6Blfwv3adKSSoLAmFrl19/buWGw7DiJo9AhY | ||||||
|         gLPNm/YE/8PKrZC4T3A+o8PW0t23c9DDBzE4POo4GV1vccVJkUmtU7ObNnOHdsAxtUphaoXChItVi52H |         24LJI/gfVnaFtH2Cc6IuW2vvwO5BDx+IcdR5IqHJ4o6TItPbp+e2bOYu9aBzeo3C9CqFSTdrFjsH27yF | ||||||
|         a95Cs/g5OOKgKGrD417jkCsuEJxJak7xEjW1nhIrTF7iOnqXBCeefxHV0R6ixvUTcY1tnrHyeIFAIPgD |         dsAwNOKkKGrT527LiDvO451Ob8v0F7S2nxQqTP7CRnqPVBd+fxE00j6Clg3f5JYOvyR5Co/H4/0Bl8Sf | ||||||
|         q6OfJyXVylwAAAAASUVORK5CYII= |         DuVD3wEAAAAASUVORK5CYII= | ||||||
| </value> | </value> | ||||||
|   </data> |   </data> | ||||||
|   <data name="toolStripButton4.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |   <data name="toolStripButton4.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
| @@ -442,6 +455,6 @@ | |||||||
|     <value>385, 17</value> |     <value>385, 17</value> | ||||||
|   </metadata> |   </metadata> | ||||||
|   <metadata name="fpSpread1_Sheet1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |   <metadata name="fpSpread1_Sheet1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
|     <value>863, 18</value> |     <value>711, 18</value> | ||||||
|   </metadata> |   </metadata> | ||||||
| </root> | </root> | ||||||
| @@ -6,4 +6,4 @@ | |||||||
|         <add name="FEQ0000.Properties.Settings.gwcs" connectionString="Data Source=10.131.32.29;Initial Catalog=GroupWare;Persist Security Info=True;User ID=gw;Password=Amkor123!" providerName="System.Data.SqlClient"/> |         <add name="FEQ0000.Properties.Settings.gwcs" connectionString="Data Source=10.131.32.29;Initial Catalog=GroupWare;Persist Security Info=True;User ID=gw;Password=Amkor123!" providerName="System.Data.SqlClient"/> | ||||||
|         <add name="FPJ0000.Properties.Settings.gwcs" connectionString="Data Source=10.131.15.18;Initial Catalog=EE;Persist Security Info=True;User ID=eeuser;Password=Amkor123!" providerName="System.Data.SqlClient"/> |         <add name="FPJ0000.Properties.Settings.gwcs" connectionString="Data Source=10.131.15.18;Initial Catalog=EE;Persist Security Info=True;User ID=eeuser;Password=Amkor123!" providerName="System.Data.SqlClient"/> | ||||||
|     </connectionStrings> |     </connectionStrings> | ||||||
| <startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/></startup></configuration> | <startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration> | ||||||
|   | |||||||
							
								
								
									
										12
									
								
								SubProject/FPJ0000/dsPRJ.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										12
									
								
								SubProject/FPJ0000/dsPRJ.Designer.cs
									
									
									
										generated
									
									
									
								
							| @@ -2963,8 +2963,8 @@ namespace FPJ0000 { | |||||||
|                 this.columnItemName.MaxLength = 100; |                 this.columnItemName.MaxLength = 100; | ||||||
|                 this.columnItemModel.MaxLength = 100; |                 this.columnItemModel.MaxLength = 100; | ||||||
|                 this.columnItemGroup.MaxLength = 100; |                 this.columnItemGroup.MaxLength = 100; | ||||||
|                 this.columnItemSupply.MaxLength = 10; |                 this.columnItemSupply.MaxLength = 100; | ||||||
|                 this.columnItemManu.MaxLength = 50; |                 this.columnItemManu.MaxLength = 100; | ||||||
|                 this.columnoption1.MaxLength = 255; |                 this.columnoption1.MaxLength = 255; | ||||||
|                 this.columnoption2.MaxLength = 255; |                 this.columnoption2.MaxLength = 255; | ||||||
|                 this.columnoption3.MaxLength = 255; |                 this.columnoption3.MaxLength = 255; | ||||||
| @@ -12875,8 +12875,8 @@ SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, I | |||||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemModel", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "ItemModel", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemModel", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "ItemModel", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemGroup", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "ItemGroup", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemGroup", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "ItemGroup", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemSid", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "ItemSid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemSid", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "ItemSid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemSupply", global::System.Data.SqlDbType.NChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "ItemSupply", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemSupply", global::System.Data.SqlDbType.NChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "ItemSupply", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemManu", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "ItemManu", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemManu", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "ItemManu", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@option1", global::System.Data.SqlDbType.NVarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "option1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@option1", global::System.Data.SqlDbType.NVarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "option1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@option2", global::System.Data.SqlDbType.NVarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "option2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@option2", global::System.Data.SqlDbType.NVarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "option2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@option3", global::System.Data.SqlDbType.NVarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "option3", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@option3", global::System.Data.SqlDbType.NVarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "option3", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
| @@ -12914,8 +12914,8 @@ SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, I | |||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemModel", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "ItemModel", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemModel", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "ItemModel", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemGroup", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "ItemGroup", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemGroup", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "ItemGroup", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemSid", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "ItemSid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemSid", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "ItemSid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemSupply", global::System.Data.SqlDbType.NChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "ItemSupply", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemSupply", global::System.Data.SqlDbType.NChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "ItemSupply", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemManu", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "ItemManu", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemManu", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "ItemManu", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@option1", global::System.Data.SqlDbType.NVarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "option1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@option1", global::System.Data.SqlDbType.NVarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "option1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@option2", global::System.Data.SqlDbType.NVarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "option2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@option2", global::System.Data.SqlDbType.NVarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "option2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@option3", global::System.Data.SqlDbType.NVarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "option3", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@option3", global::System.Data.SqlDbType.NVarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "option3", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|   | |||||||
| @@ -519,8 +519,8 @@ SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, I | |||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="ItemModel" ColumnName="ItemModel" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@ItemModel" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="ItemModel" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="ItemModel" ColumnName="ItemModel" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@ItemModel" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="ItemModel" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="ItemGroup" ColumnName="ItemGroup" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@ItemGroup" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="ItemGroup" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="ItemGroup" ColumnName="ItemGroup" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@ItemGroup" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="ItemGroup" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="ItemSid" ColumnName="ItemSid" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@ItemSid" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="ItemSid" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="ItemSid" ColumnName="ItemSid" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@ItemSid" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="ItemSid" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="ItemSupply" ColumnName="ItemSupply" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="nchar(10)" DbType="String" Direction="Input" ParameterName="@ItemSupply" Precision="0" ProviderType="NChar" Scale="0" Size="10" SourceColumn="ItemSupply" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="ItemSupply" ColumnName="ItemSupply" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="nchar(10)" DbType="String" Direction="Input" ParameterName="@ItemSupply" Precision="0" ProviderType="NChar" Scale="0" Size="100" SourceColumn="ItemSupply" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="ItemManu" ColumnName="ItemManu" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@ItemManu" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="ItemManu" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="ItemManu" ColumnName="ItemManu" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@ItemManu" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="ItemManu" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="option1" ColumnName="option1" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@option1" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="option1" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="option1" ColumnName="option1" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@option1" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="option1" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="option2" ColumnName="option2" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@option2" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="option2" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="option2" ColumnName="option2" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@option2" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="option2" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="option3" ColumnName="option3" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@option3" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="option3" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="option3" ColumnName="option3" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@option3" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="option3" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
| @@ -569,8 +569,8 @@ SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, I | |||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="ItemModel" ColumnName="ItemModel" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@ItemModel" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="ItemModel" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="ItemModel" ColumnName="ItemModel" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@ItemModel" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="ItemModel" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="ItemGroup" ColumnName="ItemGroup" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@ItemGroup" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="ItemGroup" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="ItemGroup" ColumnName="ItemGroup" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@ItemGroup" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="ItemGroup" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="ItemSid" ColumnName="ItemSid" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@ItemSid" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="ItemSid" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="ItemSid" ColumnName="ItemSid" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@ItemSid" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="ItemSid" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="ItemSupply" ColumnName="ItemSupply" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="nchar(10)" DbType="String" Direction="Input" ParameterName="@ItemSupply" Precision="0" ProviderType="NChar" Scale="0" Size="10" SourceColumn="ItemSupply" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="ItemSupply" ColumnName="ItemSupply" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="nchar(10)" DbType="String" Direction="Input" ParameterName="@ItemSupply" Precision="0" ProviderType="NChar" Scale="0" Size="100" SourceColumn="ItemSupply" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="ItemManu" ColumnName="ItemManu" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@ItemManu" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="ItemManu" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="ItemManu" ColumnName="ItemManu" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@ItemManu" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="ItemManu" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="option1" ColumnName="option1" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@option1" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="option1" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="option1" ColumnName="option1" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@option1" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="option1" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="option2" ColumnName="option2" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@option2" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="option2" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="option2" ColumnName="option2" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@option2" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="option2" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="option3" ColumnName="option3" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@option3" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="option3" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="option3" ColumnName="option3" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@option3" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="option3" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
| @@ -1369,7 +1369,7 @@ SELECT idx, gcode, pdate, uid, description, description2, share, wuid, wdate FRO | |||||||
|   <xs:element name="dsPRJ" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="dsPRJ" msprop:Generator_UserDSName="dsPRJ"> |   <xs:element name="dsPRJ" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="dsPRJ" msprop:Generator_UserDSName="dsPRJ"> | ||||||
|     <xs:complexType> |     <xs:complexType> | ||||||
|       <xs:choice minOccurs="0" maxOccurs="unbounded"> |       <xs:choice minOccurs="0" maxOccurs="unbounded"> | ||||||
|         <xs:element name="Projects" msprop:Generator_TableClassName="ProjectsDataTable" msprop:Generator_TableVarName="tableProjects" msprop:Generator_TablePropName="Projects" msprop:Generator_RowDeletingName="ProjectsRowDeleting" msprop:Generator_RowChangingName="ProjectsRowChanging" msprop:Generator_RowEvHandlerName="ProjectsRowChangeEventHandler" msprop:Generator_RowDeletedName="ProjectsRowDeleted" msprop:Generator_UserTableName="Projects" msprop:Generator_RowChangedName="ProjectsRowChanged" msprop:Generator_RowEvArgName="ProjectsRowChangeEvent" msprop:Generator_RowClassName="ProjectsRow"> |         <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:complexType> | ||||||
|             <xs:sequence> |             <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="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" /> | ||||||
| @@ -1592,7 +1592,7 @@ SELECT idx, gcode, pdate, uid, description, description2, share, wuid, wdate FRO | |||||||
|             </xs:sequence> |             </xs:sequence> | ||||||
|           </xs:complexType> |           </xs:complexType> | ||||||
|         </xs:element> |         </xs:element> | ||||||
|         <xs:element name="ProjectsIOMap" msprop:Generator_TableClassName="ProjectsIOMapDataTable" msprop:Generator_TableVarName="tableProjectsIOMap" msprop:Generator_TablePropName="ProjectsIOMap" msprop:Generator_RowDeletingName="ProjectsIOMapRowDeleting" msprop:Generator_RowChangingName="ProjectsIOMapRowChanging" msprop:Generator_RowEvHandlerName="ProjectsIOMapRowChangeEventHandler" msprop:Generator_RowDeletedName="ProjectsIOMapRowDeleted" msprop:Generator_UserTableName="ProjectsIOMap" msprop:Generator_RowChangedName="ProjectsIOMapRowChanged" msprop:Generator_RowEvArgName="ProjectsIOMapRowChangeEvent" msprop:Generator_RowClassName="ProjectsIOMapRow"> |         <xs:element name="ProjectsIOMap" msprop:Generator_TableClassName="ProjectsIOMapDataTable" msprop:Generator_TableVarName="tableProjectsIOMap" msprop:Generator_RowChangedName="ProjectsIOMapRowChanged" msprop:Generator_TablePropName="ProjectsIOMap" msprop:Generator_RowDeletingName="ProjectsIOMapRowDeleting" msprop:Generator_RowChangingName="ProjectsIOMapRowChanging" msprop:Generator_RowEvHandlerName="ProjectsIOMapRowChangeEventHandler" msprop:Generator_RowDeletedName="ProjectsIOMapRowDeleted" msprop:Generator_RowClassName="ProjectsIOMapRow" msprop:Generator_UserTableName="ProjectsIOMap" msprop:Generator_RowEvArgName="ProjectsIOMapRowChangeEvent"> | ||||||
|           <xs:complexType> |           <xs:complexType> | ||||||
|             <xs:sequence> |             <xs:sequence> | ||||||
|               <xs:element name="idx" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> |               <xs:element name="idx" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> | ||||||
| @@ -1636,7 +1636,7 @@ SELECT idx, gcode, pdate, uid, description, description2, share, wuid, wdate FRO | |||||||
|             </xs:sequence> |             </xs:sequence> | ||||||
|           </xs:complexType> |           </xs:complexType> | ||||||
|         </xs:element> |         </xs:element> | ||||||
|         <xs:element name="ProjectsMailList" msprop:Generator_TableClassName="ProjectsMailListDataTable" msprop:Generator_TableVarName="tableProjectsMailList" msprop:Generator_TablePropName="ProjectsMailList" msprop:Generator_RowDeletingName="ProjectsMailListRowDeleting" msprop:Generator_RowChangingName="ProjectsMailListRowChanging" msprop:Generator_RowEvHandlerName="ProjectsMailListRowChangeEventHandler" msprop:Generator_RowDeletedName="ProjectsMailListRowDeleted" msprop:Generator_UserTableName="ProjectsMailList" msprop:Generator_RowChangedName="ProjectsMailListRowChanged" msprop:Generator_RowEvArgName="ProjectsMailListRowChangeEvent" msprop:Generator_RowClassName="ProjectsMailListRow"> |         <xs:element name="ProjectsMailList" msprop:Generator_TableClassName="ProjectsMailListDataTable" msprop:Generator_TableVarName="tableProjectsMailList" msprop:Generator_RowChangedName="ProjectsMailListRowChanged" msprop:Generator_TablePropName="ProjectsMailList" msprop:Generator_RowDeletingName="ProjectsMailListRowDeleting" msprop:Generator_RowChangingName="ProjectsMailListRowChanging" msprop:Generator_RowEvHandlerName="ProjectsMailListRowChangeEventHandler" msprop:Generator_RowDeletedName="ProjectsMailListRowDeleted" msprop:Generator_RowClassName="ProjectsMailListRow" msprop:Generator_UserTableName="ProjectsMailList" msprop:Generator_RowEvArgName="ProjectsMailListRowChangeEvent"> | ||||||
|           <xs:complexType> |           <xs:complexType> | ||||||
|             <xs:sequence> |             <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="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" /> | ||||||
| @@ -1681,7 +1681,7 @@ SELECT idx, gcode, pdate, uid, description, description2, share, wuid, wdate FRO | |||||||
|             </xs:sequence> |             </xs:sequence> | ||||||
|           </xs:complexType> |           </xs:complexType> | ||||||
|         </xs:element> |         </xs:element> | ||||||
|         <xs:element name="ProjectsPart" msprop:Generator_TableClassName="ProjectsPartDataTable" msprop:Generator_TableVarName="tableProjectsPart" msprop:Generator_TablePropName="ProjectsPart" msprop:Generator_RowDeletingName="ProjectsPartRowDeleting" msprop:Generator_RowChangingName="ProjectsPartRowChanging" msprop:Generator_RowEvHandlerName="ProjectsPartRowChangeEventHandler" msprop:Generator_RowDeletedName="ProjectsPartRowDeleted" msprop:Generator_UserTableName="ProjectsPart" msprop:Generator_RowChangedName="ProjectsPartRowChanged" msprop:Generator_RowEvArgName="ProjectsPartRowChangeEvent" msprop:Generator_RowClassName="ProjectsPartRow"> |         <xs:element name="ProjectsPart" msprop:Generator_TableClassName="ProjectsPartDataTable" msprop:Generator_TableVarName="tableProjectsPart" msprop:Generator_RowChangedName="ProjectsPartRowChanged" msprop:Generator_TablePropName="ProjectsPart" msprop:Generator_RowDeletingName="ProjectsPartRowDeleting" msprop:Generator_RowChangingName="ProjectsPartRowChanging" msprop:Generator_RowEvHandlerName="ProjectsPartRowChangeEventHandler" msprop:Generator_RowDeletedName="ProjectsPartRowDeleted" msprop:Generator_RowClassName="ProjectsPartRow" msprop:Generator_UserTableName="ProjectsPart" msprop:Generator_RowEvArgName="ProjectsPartRowChangeEvent"> | ||||||
|           <xs:complexType> |           <xs:complexType> | ||||||
|             <xs:sequence> |             <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="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" /> | ||||||
| @@ -1730,14 +1730,14 @@ SELECT idx, gcode, pdate, uid, description, description2, share, wuid, wdate FRO | |||||||
|               <xs:element name="ItemSupply" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="ItemSupply" msprop:Generator_ColumnVarNameInTable="columnItemSupply" msprop:Generator_ColumnPropNameInTable="ItemSupplyColumn" msprop:Generator_UserColumnName="ItemSupply" minOccurs="0"> |               <xs:element name="ItemSupply" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="ItemSupply" msprop:Generator_ColumnVarNameInTable="columnItemSupply" msprop:Generator_ColumnPropNameInTable="ItemSupplyColumn" msprop:Generator_UserColumnName="ItemSupply" minOccurs="0"> | ||||||
|                 <xs:simpleType> |                 <xs:simpleType> | ||||||
|                   <xs:restriction base="xs:string"> |                   <xs:restriction base="xs:string"> | ||||||
|                     <xs:maxLength value="10" /> |                     <xs:maxLength value="100" /> | ||||||
|                   </xs:restriction> |                   </xs:restriction> | ||||||
|                 </xs:simpleType> |                 </xs:simpleType> | ||||||
|               </xs:element> |               </xs:element> | ||||||
|               <xs:element name="ItemManu" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="ItemManu" msprop:Generator_ColumnVarNameInTable="columnItemManu" msprop:Generator_ColumnPropNameInTable="ItemManuColumn" msprop:Generator_UserColumnName="ItemManu" minOccurs="0"> |               <xs:element name="ItemManu" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="ItemManu" msprop:Generator_ColumnVarNameInTable="columnItemManu" msprop:Generator_ColumnPropNameInTable="ItemManuColumn" msprop:Generator_UserColumnName="ItemManu" minOccurs="0"> | ||||||
|                 <xs:simpleType> |                 <xs:simpleType> | ||||||
|                   <xs:restriction base="xs:string"> |                   <xs:restriction base="xs:string"> | ||||||
|                     <xs:maxLength value="50" /> |                     <xs:maxLength value="100" /> | ||||||
|                   </xs:restriction> |                   </xs:restriction> | ||||||
|                 </xs:simpleType> |                 </xs:simpleType> | ||||||
|               </xs:element> |               </xs:element> | ||||||
| @@ -1795,7 +1795,7 @@ SELECT idx, gcode, pdate, uid, description, description2, share, wuid, wdate FRO | |||||||
|             </xs:sequence> |             </xs:sequence> | ||||||
|           </xs:complexType> |           </xs:complexType> | ||||||
|         </xs:element> |         </xs:element> | ||||||
|         <xs:element name="JobReport" msprop:Generator_TableClassName="JobReportDataTable" msprop:Generator_TableVarName="tableJobReport" msprop:Generator_TablePropName="JobReport" msprop:Generator_RowDeletingName="JobReportRowDeleting" msprop:Generator_RowChangingName="JobReportRowChanging" msprop:Generator_RowEvHandlerName="JobReportRowChangeEventHandler" msprop:Generator_RowDeletedName="JobReportRowDeleted" msprop:Generator_UserTableName="JobReport" msprop:Generator_RowChangedName="JobReportRowChanged" msprop:Generator_RowEvArgName="JobReportRowChangeEvent" msprop:Generator_RowClassName="JobReportRow"> |         <xs:element name="JobReport" msprop:Generator_TableClassName="JobReportDataTable" msprop:Generator_TableVarName="tableJobReport" msprop:Generator_RowChangedName="JobReportRowChanged" msprop:Generator_TablePropName="JobReport" msprop:Generator_RowDeletingName="JobReportRowDeleting" msprop:Generator_RowChangingName="JobReportRowChanging" msprop:Generator_RowEvHandlerName="JobReportRowChangeEventHandler" msprop:Generator_RowDeletedName="JobReportRowDeleted" msprop:Generator_RowClassName="JobReportRow" msprop:Generator_UserTableName="JobReport" msprop:Generator_RowEvArgName="JobReportRowChangeEvent"> | ||||||
|           <xs:complexType> |           <xs:complexType> | ||||||
|             <xs:sequence> |             <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="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" /> | ||||||
| @@ -1913,7 +1913,7 @@ SELECT idx, gcode, pdate, uid, description, description2, share, wuid, wdate FRO | |||||||
|             </xs:sequence> |             </xs:sequence> | ||||||
|           </xs:complexType> |           </xs:complexType> | ||||||
|         </xs:element> |         </xs:element> | ||||||
|         <xs:element name="ProjectsSchedule" msprop:Generator_TableClassName="ProjectsScheduleDataTable" msprop:Generator_TableVarName="tableProjectsSchedule" msprop:Generator_TablePropName="ProjectsSchedule" msprop:Generator_RowDeletingName="ProjectsScheduleRowDeleting" msprop:Generator_RowChangingName="ProjectsScheduleRowChanging" msprop:Generator_RowEvHandlerName="ProjectsScheduleRowChangeEventHandler" msprop:Generator_RowDeletedName="ProjectsScheduleRowDeleted" msprop:Generator_UserTableName="ProjectsSchedule" msprop:Generator_RowChangedName="ProjectsScheduleRowChanged" msprop:Generator_RowEvArgName="ProjectsScheduleRowChangeEvent" msprop:Generator_RowClassName="ProjectsScheduleRow"> |         <xs:element name="ProjectsSchedule" msprop:Generator_TableClassName="ProjectsScheduleDataTable" msprop:Generator_TableVarName="tableProjectsSchedule" msprop:Generator_RowChangedName="ProjectsScheduleRowChanged" msprop:Generator_TablePropName="ProjectsSchedule" msprop:Generator_RowDeletingName="ProjectsScheduleRowDeleting" msprop:Generator_RowChangingName="ProjectsScheduleRowChanging" msprop:Generator_RowEvHandlerName="ProjectsScheduleRowChangeEventHandler" msprop:Generator_RowDeletedName="ProjectsScheduleRowDeleted" msprop:Generator_RowClassName="ProjectsScheduleRow" msprop:Generator_UserTableName="ProjectsSchedule" msprop:Generator_RowEvArgName="ProjectsScheduleRowChangeEvent"> | ||||||
|           <xs:complexType> |           <xs:complexType> | ||||||
|             <xs:sequence> |             <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="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" /> | ||||||
| @@ -1947,7 +1947,7 @@ SELECT idx, gcode, pdate, uid, description, description2, share, wuid, wdate FRO | |||||||
|             </xs:sequence> |             </xs:sequence> | ||||||
|           </xs:complexType> |           </xs:complexType> | ||||||
|         </xs:element> |         </xs:element> | ||||||
|         <xs:element name="ProjectsHistory" msprop:Generator_TableClassName="ProjectsHistoryDataTable" msprop:Generator_TableVarName="tableProjectsHistory" msprop:Generator_TablePropName="ProjectsHistory" msprop:Generator_RowDeletingName="ProjectsHistoryRowDeleting" msprop:Generator_RowChangingName="ProjectsHistoryRowChanging" msprop:Generator_RowEvHandlerName="ProjectsHistoryRowChangeEventHandler" msprop:Generator_RowDeletedName="ProjectsHistoryRowDeleted" msprop:Generator_UserTableName="ProjectsHistory" msprop:Generator_RowChangedName="ProjectsHistoryRowChanged" msprop:Generator_RowEvArgName="ProjectsHistoryRowChangeEvent" msprop:Generator_RowClassName="ProjectsHistoryRow"> |         <xs:element name="ProjectsHistory" msprop:Generator_TableClassName="ProjectsHistoryDataTable" msprop:Generator_TableVarName="tableProjectsHistory" msprop:Generator_RowChangedName="ProjectsHistoryRowChanged" msprop:Generator_TablePropName="ProjectsHistory" msprop:Generator_RowDeletingName="ProjectsHistoryRowDeleting" msprop:Generator_RowChangingName="ProjectsHistoryRowChanging" msprop:Generator_RowEvHandlerName="ProjectsHistoryRowChangeEventHandler" msprop:Generator_RowDeletedName="ProjectsHistoryRowDeleted" msprop:Generator_RowClassName="ProjectsHistoryRow" msprop:Generator_UserTableName="ProjectsHistory" msprop:Generator_RowEvArgName="ProjectsHistoryRowChangeEvent"> | ||||||
|           <xs:complexType> |           <xs:complexType> | ||||||
|             <xs:sequence> |             <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="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" /> | ||||||
| @@ -1985,7 +1985,7 @@ SELECT idx, gcode, pdate, uid, description, description2, share, wuid, wdate FRO | |||||||
|             </xs:sequence> |             </xs:sequence> | ||||||
|           </xs:complexType> |           </xs:complexType> | ||||||
|         </xs:element> |         </xs:element> | ||||||
|         <xs:element name="SPMaster" msprop:Generator_TableClassName="SPMasterDataTable" msprop:Generator_TableVarName="tableSPMaster" msprop:Generator_TablePropName="SPMaster" msprop:Generator_RowDeletingName="SPMasterRowDeleting" msprop:Generator_RowChangingName="SPMasterRowChanging" msprop:Generator_RowEvHandlerName="SPMasterRowChangeEventHandler" msprop:Generator_RowDeletedName="SPMasterRowDeleted" msprop:Generator_UserTableName="SPMaster" msprop:Generator_RowChangedName="SPMasterRowChanged" msprop:Generator_RowEvArgName="SPMasterRowChangeEvent" msprop:Generator_RowClassName="SPMasterRow"> |         <xs:element name="SPMaster" msprop:Generator_TableClassName="SPMasterDataTable" msprop:Generator_TableVarName="tableSPMaster" msprop:Generator_RowChangedName="SPMasterRowChanged" msprop:Generator_TablePropName="SPMaster" msprop:Generator_RowDeletingName="SPMasterRowDeleting" msprop:Generator_RowChangingName="SPMasterRowChanging" msprop:Generator_RowEvHandlerName="SPMasterRowChangeEventHandler" msprop:Generator_RowDeletedName="SPMasterRowDeleted" msprop:Generator_RowClassName="SPMasterRow" msprop:Generator_UserTableName="SPMaster" msprop:Generator_RowEvArgName="SPMasterRowChangeEvent"> | ||||||
|           <xs:complexType> |           <xs:complexType> | ||||||
|             <xs:sequence> |             <xs:sequence> | ||||||
|               <xs:element name="ID" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" /> |               <xs:element name="ID" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" /> | ||||||
| @@ -2101,7 +2101,7 @@ SELECT idx, gcode, pdate, uid, description, description2, share, wuid, wdate FRO | |||||||
|             </xs:sequence> |             </xs:sequence> | ||||||
|           </xs:complexType> |           </xs:complexType> | ||||||
|         </xs:element> |         </xs:element> | ||||||
|         <xs:element name="EETGW_Note" msprop:Generator_TableClassName="EETGW_NoteDataTable" msprop:Generator_TableVarName="tableEETGW_Note" msprop:Generator_RowChangedName="EETGW_NoteRowChanged" msprop:Generator_TablePropName="EETGW_Note" msprop:Generator_RowDeletingName="EETGW_NoteRowDeleting" msprop:Generator_RowChangingName="EETGW_NoteRowChanging" msprop:Generator_RowEvHandlerName="EETGW_NoteRowChangeEventHandler" msprop:Generator_RowDeletedName="EETGW_NoteRowDeleted" msprop:Generator_RowClassName="EETGW_NoteRow" msprop:Generator_UserTableName="EETGW_Note" msprop:Generator_RowEvArgName="EETGW_NoteRowChangeEvent"> |         <xs:element name="EETGW_Note" msprop:Generator_TableClassName="EETGW_NoteDataTable" msprop:Generator_TableVarName="tableEETGW_Note" msprop:Generator_TablePropName="EETGW_Note" msprop:Generator_RowDeletingName="EETGW_NoteRowDeleting" msprop:Generator_RowChangingName="EETGW_NoteRowChanging" msprop:Generator_RowEvHandlerName="EETGW_NoteRowChangeEventHandler" msprop:Generator_RowDeletedName="EETGW_NoteRowDeleted" msprop:Generator_UserTableName="EETGW_Note" msprop:Generator_RowChangedName="EETGW_NoteRowChanged" msprop:Generator_RowEvArgName="EETGW_NoteRowChangeEvent" msprop:Generator_RowClassName="EETGW_NoteRow"> | ||||||
|           <xs:complexType> |           <xs:complexType> | ||||||
|             <xs:sequence> |             <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="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" /> | ||||||
| @@ -2152,12 +2152,12 @@ SELECT idx, gcode, pdate, uid, description, description2, share, wuid, wdate FRO | |||||||
|             </xs:sequence> |             </xs:sequence> | ||||||
|           </xs:complexType> |           </xs:complexType> | ||||||
|         </xs:element> |         </xs:element> | ||||||
|         <xs:element name="SCTable" msprop:Generator_TableClassName="SCTableDataTable" msprop:Generator_TableVarName="tableSCTable" msprop:Generator_TablePropName="SCTable" msprop:Generator_RowDeletingName="SCTableRowDeleting" msprop:Generator_RowChangingName="SCTableRowChanging" msprop:Generator_RowEvHandlerName="SCTableRowChangeEventHandler" msprop:Generator_RowDeletedName="SCTableRowDeleted" msprop:Generator_UserTableName="SCTable" msprop:Generator_RowChangedName="SCTableRowChanged" msprop:Generator_RowEvArgName="SCTableRowChangeEvent" msprop:Generator_RowClassName="SCTableRow"> |         <xs:element name="SCTable" msprop:Generator_TableClassName="SCTableDataTable" msprop:Generator_TableVarName="tableSCTable" msprop:Generator_RowChangedName="SCTableRowChanged" msprop:Generator_TablePropName="SCTable" msprop:Generator_RowDeletingName="SCTableRowDeleting" msprop:Generator_RowChangingName="SCTableRowChanging" msprop:Generator_RowEvHandlerName="SCTableRowChangeEventHandler" msprop:Generator_RowDeletedName="SCTableRowDeleted" msprop:Generator_RowClassName="SCTableRow" msprop:Generator_UserTableName="SCTable" msprop:Generator_RowEvArgName="SCTableRowChangeEvent"> | ||||||
|           <xs:complexType> |           <xs:complexType> | ||||||
|             <xs:sequence> |             <xs:sequence> | ||||||
|               <xs:element name="idx" msdata:AutoIncrement="true" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> |               <xs:element name="idx" msdata:AutoIncrement="true" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> | ||||||
|               <xs:element name="SID" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="SID" msprop:Generator_ColumnVarNameInTable="columnSID" msprop:Generator_ColumnPropNameInTable="SIDColumn" msprop:Generator_UserColumnName="SID" type="xs:string" minOccurs="0" /> |               <xs:element name="SID" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="SID" msprop:Generator_ColumnVarNameInTable="columnSID" msprop:Generator_ColumnPropNameInTable="SIDColumn" msprop:Generator_UserColumnName="SID" type="xs:string" minOccurs="0" /> | ||||||
|               <xs:element name="PName" msprop:Generator_ColumnVarNameInTable="columnPName" msprop:Generator_ColumnPropNameInRow="PName" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInTable="PNameColumn" msprop:Generator_UserColumnName="PName" type="xs:string" minOccurs="0" /> |               <xs:element name="PName" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="PName" msprop:Generator_ColumnVarNameInTable="columnPName" msprop:Generator_ColumnPropNameInTable="PNameColumn" msprop:Generator_UserColumnName="PName" type="xs:string" minOccurs="0" /> | ||||||
|               <xs:element name="Qty" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="Qty" msprop:Generator_ColumnVarNameInTable="columnQty" msprop:Generator_ColumnPropNameInTable="QtyColumn" msprop:Generator_UserColumnName="Qty" type="xs:int" minOccurs="0" /> |               <xs:element name="Qty" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="Qty" msprop:Generator_ColumnVarNameInTable="columnQty" msprop:Generator_ColumnPropNameInTable="QtyColumn" msprop:Generator_UserColumnName="Qty" type="xs:int" minOccurs="0" /> | ||||||
|               <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="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="PO" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="PO" msprop:Generator_ColumnVarNameInTable="columnPO" msprop:Generator_ColumnPropNameInTable="POColumn" msprop:Generator_UserColumnName="PO" type="xs:string" minOccurs="0" /> |               <xs:element name="PO" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="PO" msprop:Generator_ColumnVarNameInTable="columnPO" msprop:Generator_ColumnPropNameInTable="POColumn" msprop:Generator_UserColumnName="PO" type="xs:string" minOccurs="0" /> | ||||||
|   | |||||||
| @@ -4,7 +4,7 @@ | |||||||
|      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="723" ViewPortY="-10" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout"> | ||||||
|   <Shapes> |   <Shapes> | ||||||
|     <Shape ID="DesignTable:Projects" ZOrder="11" X="70" Y="70" Height="514" Width="275" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="389" /> |     <Shape ID="DesignTable:Projects" ZOrder="11" X="70" Y="70" Height="514" Width="275" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="389" /> | ||||||
|     <Shape ID="DesignTable:ProjectsIOMap" ZOrder="10" X="366" Y="70" Height="229" Width="231" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" /> |     <Shape ID="DesignTable:ProjectsIOMap" ZOrder="10" X="366" Y="70" Height="229" Width="231" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" /> | ||||||
|   | |||||||
| @@ -1,443 +1,443 @@ | |||||||
| using System; | using System; | ||||||
| using System.Collections.Generic; | using System.Collections.Generic; | ||||||
| using System.ComponentModel; | using System.ComponentModel; | ||||||
| using System.Data; | using System.Data; | ||||||
| using System.Drawing; | using System.Drawing; | ||||||
| using System.Linq; | using System.Linq; | ||||||
| using System.Text; | using System.Text; | ||||||
| using System.Windows.Forms; | using System.Windows.Forms; | ||||||
| using util = FCOMMON.Util; | using util = FCOMMON.Util; | ||||||
| using NetOffice; | using NetOffice; | ||||||
| using Outlook = NetOffice.OutlookApi; | using Outlook = NetOffice.OutlookApi; | ||||||
| using NetOffice.OutlookApi.Enums; | using NetOffice.OutlookApi.Enums; | ||||||
|  |  | ||||||
| namespace FPJ0000 | namespace FPJ0000 | ||||||
| { | { | ||||||
|     public partial class fMailSend : FCOMMON.fBase |     public partial class fMailSend : FCOMMON.fBase | ||||||
|     { |     { | ||||||
|         string fn_fpcolsize = ""; |         string fn_fpcolsize = ""; | ||||||
|         List<int> idxlist = new List<int>(); |         List<int> idxlist = new List<int>(); | ||||||
|  |  | ||||||
|         public fMailSend(List<int> idxlist_) |         public fMailSend(List<int> idxlist_) | ||||||
|         { |         { | ||||||
|             InitializeComponent(); |             InitializeComponent(); | ||||||
|             this.idxlist = idxlist_; |             this.idxlist = idxlist_; | ||||||
|  |  | ||||||
|             //이 목록에 해당하는 프로젝트 정보를 저장한다. |             //이 목록에 해당하는 프로젝트 정보를 저장한다. | ||||||
|             dsPRJTableAdapters.ProjectsTableAdapter taproj = new dsPRJTableAdapters.ProjectsTableAdapter(); |             dsPRJTableAdapters.ProjectsTableAdapter taproj = new dsPRJTableAdapters.ProjectsTableAdapter(); | ||||||
|             dsPRJTableAdapters.ProjectsMailListTableAdapter tamail = new dsPRJTableAdapters.ProjectsMailListTableAdapter(); |             dsPRJTableAdapters.ProjectsMailListTableAdapter tamail = new dsPRJTableAdapters.ProjectsMailListTableAdapter(); | ||||||
|             dsMailTableAdapters.MailFormTableAdapter taform = new dsMailTableAdapters.MailFormTableAdapter(); |             dsMailTableAdapters.MailFormTableAdapter taform = new dsMailTableAdapters.MailFormTableAdapter(); | ||||||
|             // dsPRJTableAdapters.ProjectsHistoryTableAdapter taHist = new dsPRJTableAdapters.ProjectsHistoryTableAdapter(); |             // dsPRJTableAdapters.ProjectsHistoryTableAdapter taHist = new dsPRJTableAdapters.ProjectsHistoryTableAdapter(); | ||||||
|  |  | ||||||
|             var mailformDt = taform.GetData("PM"); |             var mailformDt = taform.GetData("PM"); | ||||||
|             dsMail.MailFormRow drForm = null; |             dsMail.MailFormRow drForm = null; | ||||||
|             if (mailformDt != null && mailformDt.Rows.Count > 0) drForm = mailformDt.Rows[0] as dsMail.MailFormRow; |             if (mailformDt != null && mailformDt.Rows.Count > 0) drForm = mailformDt.Rows[0] as dsMail.MailFormRow; | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
|             foreach (var pidx in idxlist_) |             foreach (var pidx in idxlist_) | ||||||
|             { |             { | ||||||
|                 if (pidx < 0) continue; |                 if (pidx < 0) continue; | ||||||
|                 var prjdt = taproj.GetbyIDX(pidx); |                 var prjdt = taproj.GetbyIDX(pidx); | ||||||
|  |  | ||||||
|                 string updateHistory = "<ul>"; |                 string updateHistory = "<ul>"; | ||||||
|                 var dtHIst = taHist.GetbySendMail(pidx); |                 var dtHIst = taHist.GetbySendMail(pidx); | ||||||
|                 int histCnt = 0; |                 int histCnt = 0; | ||||||
|                 if (dtHIst != null) |                 if (dtHIst != null) | ||||||
|                 { |                 { | ||||||
|                     foreach (dsPRJ.ProjectsHistoryRow drhist in dtHIst.Rows) |                     foreach (dsPRJ.ProjectsHistoryRow drhist in dtHIst.Rows) | ||||||
|                     { |                     { | ||||||
|                         if (drhist.remark.Trim() == "") continue; |                         if (drhist.remark.Trim() == "") continue; | ||||||
|                         histCnt += 1; |                         histCnt += 1; | ||||||
|                         updateHistory += "<li>["+drhist.pdate + "] " + drhist.remark + "</li>"; |                         updateHistory += "<li>["+drhist.pdate + "] " + drhist.remark + "</li>"; | ||||||
|                     } |                     } | ||||||
|                 } |                 } | ||||||
|                 updateHistory += "</ul>"; |                 updateHistory += "</ul>"; | ||||||
|                 if(histCnt < 1) |                 if(histCnt < 1) | ||||||
|                 { |                 { | ||||||
|                     FCOMMON.Util.MsgE("프로젝트:" + pidx.ToString() + "의 변경사항이 존재하지 않습니다."); |                     FCOMMON.Util.MsgE("프로젝트:" + pidx.ToString() + "의 변경사항이 존재하지 않습니다."); | ||||||
|                     continue; |                     continue; | ||||||
|                 } |                 } | ||||||
|  |  | ||||||
|                 var newdr = this.dsMail.MailData.NewMailDataRow(); |                 var newdr = this.dsMail.MailData.NewMailDataRow(); | ||||||
|                 newdr.project = pidx; |                 newdr.project = pidx; | ||||||
|                 newdr.wuid = FCOMMON.info.Login.no; |                 newdr.wuid = FCOMMON.info.Login.no; | ||||||
|                 newdr.wdate = DateTime.Now; |                 newdr.wdate = DateTime.Now; | ||||||
|                 newdr.cate = "PM"; |                 newdr.cate = "PM"; | ||||||
|                 newdr.pdate = DateTime.Now.ToShortDateString(); |                 newdr.pdate = DateTime.Now.ToShortDateString(); | ||||||
|  |  | ||||||
|                 dsPRJ.ProjectsRow prjdr = null; |                 dsPRJ.ProjectsRow prjdr = null; | ||||||
|  |  | ||||||
|                 //양식의 제목과 본문을 업데이트 |                 //양식의 제목과 본문을 업데이트 | ||||||
|                 if (drForm != null) |                 if (drForm != null) | ||||||
|                 { |                 { | ||||||
|                     newdr.subject = drForm.subject; |                     newdr.subject = drForm.subject; | ||||||
|                     newdr.body = drForm.body; |                     newdr.body = drForm.body; | ||||||
|                 } |                 } | ||||||
|  |  | ||||||
|                 if (prjdt != null && prjdt.Rows.Count > 0) |                 if (prjdt != null && prjdt.Rows.Count > 0) | ||||||
|                 { |                 { | ||||||
|                     prjdr = prjdt.Rows[0] as dsPRJ.ProjectsRow; |                     prjdr = prjdt.Rows[0] as dsPRJ.ProjectsRow; | ||||||
|                     newdr.prj_ddate = prjdr.ddate; |                     newdr.prj_ddate = prjdr.ddate; | ||||||
|                     newdr.prj_name = prjdr.name; |                     newdr.prj_name = prjdr.name; | ||||||
|                     newdr.prj_status = prjdr.status; |                     newdr.prj_status = prjdr.status; | ||||||
|  |  | ||||||
|                     newdr.subject = string.Format(newdr.subject, prjdr.name, prjdr.status, prjdr.ddate, updateHistory); |                     newdr.subject = string.Format(newdr.subject, prjdr.name, prjdr.status, prjdr.ddate, updateHistory); | ||||||
|                     newdr.body = string.Format(newdr.body, prjdr.name, prjdr.status, prjdr.ddate, updateHistory); |                     newdr.body = string.Format(newdr.body, prjdr.name, prjdr.status, prjdr.ddate, updateHistory); | ||||||
|                 } |                 } | ||||||
|  |  | ||||||
|                 //메일전송대상 정보를 불러온다. |                 //메일전송대상 정보를 불러온다. | ||||||
|                 var maillist = tamail.GetData(pidx); |                 var maillist = tamail.GetData(pidx); | ||||||
|                 if (maillist != null && maillist.Rows.Count > 0) |                 if (maillist != null && maillist.Rows.Count > 0) | ||||||
|                 { |                 { | ||||||
|                     //양식의 tolist/cc/bcc 추가 |                     //양식의 tolist/cc/bcc 추가 | ||||||
|                     if (drForm != null) |                     if (drForm != null) | ||||||
|                     { |                     { | ||||||
|                         var buffer = drForm.tolist.Split(';'); |                         var buffer = drForm.tolist.Split(';'); | ||||||
|                         foreach (var address in buffer) |                         foreach (var address in buffer) | ||||||
|                         { |                         { | ||||||
|                             if (address.Trim() == "") continue; |                             if (address.Trim() == "") continue; | ||||||
|                             if (newdr.tolist.Contains(address) == false) |                             if (newdr.tolist.Contains(address) == false) | ||||||
|                             { |                             { | ||||||
|                                 if (newdr.tolist != "") newdr.tolist += ";"; |                                 if (newdr.tolist != "") newdr.tolist += ";"; | ||||||
|                                 newdr.tolist += address; |                                 newdr.tolist += address; | ||||||
|                             } |                             } | ||||||
|                         } |                         } | ||||||
|  |  | ||||||
|                         buffer = drForm.cc.Split(';'); |                         buffer = drForm.cc.Split(';'); | ||||||
|                         foreach (var address in buffer) |                         foreach (var address in buffer) | ||||||
|                         { |                         { | ||||||
|                             if (address.Trim() == "") continue; |                             if (address.Trim() == "") continue; | ||||||
|                             if (newdr.cc.Contains(address) == false) |                             if (newdr.cc.Contains(address) == false) | ||||||
|                             { |                             { | ||||||
|                                 if (newdr.cc != "") newdr.cc += ";"; |                                 if (newdr.cc != "") newdr.cc += ";"; | ||||||
|                                 newdr.cc += address; |                                 newdr.cc += address; | ||||||
|                             } |                             } | ||||||
|                         } |                         } | ||||||
|  |  | ||||||
|                         buffer = drForm.bcc.Split(';'); |                         buffer = drForm.bcc.Split(';'); | ||||||
|                         foreach (var address in buffer) |                         foreach (var address in buffer) | ||||||
|                         { |                         { | ||||||
|                             if (address.Trim() == "") continue; |                             if (address.Trim() == "") continue; | ||||||
|                             if (newdr.bcc.Contains(address) == false) |                             if (newdr.bcc.Contains(address) == false) | ||||||
|                             { |                             { | ||||||
|                                 if (newdr.bcc != "") newdr.bcc += ";"; |                                 if (newdr.bcc != "") newdr.bcc += ";"; | ||||||
|                                 newdr.bcc += address; |                                 newdr.bcc += address; | ||||||
|                             } |                             } | ||||||
|                         } |                         } | ||||||
|                     } |                     } | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
|                     foreach (dsPRJ.ProjectsMailListRow drmail in maillist.Rows) |                     foreach (dsPRJ.ProjectsMailListRow drmail in maillist.Rows) | ||||||
|                     { |                     { | ||||||
|                         if (drmail.div == "TO") |                         if (drmail.div == "TO") | ||||||
|                         { |                         { | ||||||
|                             if (newdr.tolist.Contains(drmail.address) == false) |                             if (newdr.tolist.Contains(drmail.address) == false) | ||||||
|                             { |                             { | ||||||
|                                 if (newdr.tolist != "") newdr.tolist += ";"; |                                 if (newdr.tolist != "") newdr.tolist += ";"; | ||||||
|                                 newdr.tolist += drmail.address; |                                 newdr.tolist += drmail.address; | ||||||
|                             } |                             } | ||||||
|                         } |                         } | ||||||
|                         else if (drmail.div == "CC") |                         else if (drmail.div == "CC") | ||||||
|                         { |                         { | ||||||
|                             if (newdr.cc.Contains(drmail.address) == false) |                             if (newdr.cc.Contains(drmail.address) == false) | ||||||
|                             { |                             { | ||||||
|                                 if (newdr.cc != "") newdr.cc += ";"; |                                 if (newdr.cc != "") newdr.cc += ";"; | ||||||
|                                 newdr.cc += drmail.address; |                                 newdr.cc += drmail.address; | ||||||
|                             } |                             } | ||||||
|                         } |                         } | ||||||
|                         else if (drmail.div == "BCC") |                         else if (drmail.div == "BCC") | ||||||
|                         { |                         { | ||||||
|                             if (newdr.bcc.Contains(drmail.address) == false) |                             if (newdr.bcc.Contains(drmail.address) == false) | ||||||
|                             { |                             { | ||||||
|                                 if (newdr.bcc != "") newdr.bcc += ";"; |                                 if (newdr.bcc != "") newdr.bcc += ";"; | ||||||
|                                 newdr.bcc += drmail.address; |                                 newdr.bcc += drmail.address; | ||||||
|                             } |                             } | ||||||
|                         } |                         } | ||||||
|                     } |                     } | ||||||
|  |  | ||||||
|                 } |                 } | ||||||
|  |  | ||||||
|  |  | ||||||
|                 //메일전송 폼을 불러온다. |                 //메일전송 폼을 불러온다. | ||||||
|                 this.dsMail.MailData.AddMailDataRow(newdr); |                 this.dsMail.MailData.AddMailDataRow(newdr); | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         private void fPartList_Load(object sender, EventArgs e) |         private void fPartList_Load(object sender, EventArgs e) | ||||||
|         { |         { | ||||||
|             fn_fpcolsize = util.MakeFilePath(util.CurrentPath, "formSetting", "fp_" + this.Name + ".ini"); |             fn_fpcolsize = util.MakeFilePath(util.CurrentPath, "formSetting", "fp_" + this.Name + ".ini"); | ||||||
|             this.FormClosed += fPartList_FormClosed; |             this.FormClosed += fPartList_FormClosed; | ||||||
|             this.KeyPreview = true; |             this.KeyPreview = true; | ||||||
|             this.KeyDown += fPartList_KeyDown; |             this.KeyDown += fPartList_KeyDown; | ||||||
|  |  | ||||||
|  |  | ||||||
|             //RefreshData(); |             //RefreshData(); | ||||||
|             FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize); |             FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize); | ||||||
|         } |         } | ||||||
|  |  | ||||||
|  |  | ||||||
|         void fPartList_KeyDown(object sender, KeyEventArgs e) |         void fPartList_KeyDown(object sender, KeyEventArgs e) | ||||||
|         { |         { | ||||||
|             if (e.KeyCode == Keys.Escape) this.Close(); |             if (e.KeyCode == Keys.Escape) this.Close(); | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         void fPartList_FormClosed(object sender, FormClosedEventArgs e) |         void fPartList_FormClosed(object sender, FormClosedEventArgs e) | ||||||
|         { |         { | ||||||
|  |  | ||||||
|         } |         } | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
|         void RefreshData() |         void RefreshData() | ||||||
|         { |         { | ||||||
|             //if(dsPRJ.HasChanges()) |             //if(dsPRJ.HasChanges()) | ||||||
|             //{ |             //{ | ||||||
|             //    var dlg = FCOMMON.Util.MsgQ("변경 사항이 있습니다. 갱신하면 변경 내용이 손실 됩니다.\n지금 갱신 하겠습니까?"); |             //    var dlg = FCOMMON.Util.MsgQ("변경 사항이 있습니다. 갱신하면 변경 내용이 손실 됩니다.\n지금 갱신 하겠습니까?"); | ||||||
|             //    if (dlg != System.Windows.Forms.DialogResult.Yes) return; |             //    if (dlg != System.Windows.Forms.DialogResult.Yes) return; | ||||||
|             //} |             //} | ||||||
|  |  | ||||||
|             try |             try | ||||||
|             { |             { | ||||||
|                 this.ta.Fill(this.dsMail.MailData); |                 this.ta.Fill(this.dsMail.MailData); | ||||||
|  |  | ||||||
|             } |             } | ||||||
|             catch (Exception ex) |             catch (Exception ex) | ||||||
|             { |             { | ||||||
|                 FCOMMON.Util.MsgE(ex.Message); |                 FCOMMON.Util.MsgE(ex.Message); | ||||||
|             } |             } | ||||||
|  |  | ||||||
|         } |         } | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
|         private void exportListToolStripMenuItem_Click(object sender, EventArgs e) |         private void exportListToolStripMenuItem_Click(object sender, EventArgs e) | ||||||
|         { |         { | ||||||
|             SaveFileDialog sd = new SaveFileDialog(); |             SaveFileDialog sd = new SaveFileDialog(); | ||||||
|             sd.Filter = "excel|*.xls"; |             sd.Filter = "excel|*.xls"; | ||||||
|             if (sd.ShowDialog() == System.Windows.Forms.DialogResult.OK) |             if (sd.ShowDialog() == System.Windows.Forms.DialogResult.OK) | ||||||
|             { |             { | ||||||
|                 fpSpread1.SaveExcel(sd.FileName, |                 fpSpread1.SaveExcel(sd.FileName, | ||||||
|                     FarPoint.Excel.ExcelSaveFlags.SaveAsViewed |                     FarPoint.Excel.ExcelSaveFlags.SaveAsViewed | ||||||
|                     | FarPoint.Excel.ExcelSaveFlags.SaveAsFiltered |                     | FarPoint.Excel.ExcelSaveFlags.SaveAsFiltered | ||||||
|                     | FarPoint.Excel.ExcelSaveFlags.NoFormulas |                     | FarPoint.Excel.ExcelSaveFlags.NoFormulas | ||||||
|                     | FarPoint.Excel.ExcelSaveFlags.SaveCustomColumnHeaders); |                     | FarPoint.Excel.ExcelSaveFlags.SaveCustomColumnHeaders); | ||||||
|             } |             } | ||||||
|  |  | ||||||
|             //dv1.ExportData("partlist.csv"); |             //dv1.ExportData("partlist.csv"); | ||||||
|         } |         } | ||||||
|  |  | ||||||
|  |  | ||||||
|         private void autoToolStripMenuItem_Click(object sender, EventArgs e) |         private void autoToolStripMenuItem_Click(object sender, EventArgs e) | ||||||
|         { |         { | ||||||
|             this.fpSpread1.ActiveSheet.DataAutoSizeColumns = true; |             this.fpSpread1.ActiveSheet.DataAutoSizeColumns = true; | ||||||
|  |  | ||||||
|             for (int i = 0; i < this.fpSpread1.ActiveSheet.Rows.Count; i++) |             for (int i = 0; i < this.fpSpread1.ActiveSheet.Rows.Count; i++) | ||||||
|                 this.fpSpread1.ActiveSheet.SetRowHeight(i, 25); |                 this.fpSpread1.ActiveSheet.SetRowHeight(i, 25); | ||||||
|             //dv1.AutoResizeColumns(); |             //dv1.AutoResizeColumns(); | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         private void resetToolStripMenuItem_Click(object sender, EventArgs e) |         private void resetToolStripMenuItem_Click(object sender, EventArgs e) | ||||||
|         { |         { | ||||||
|             foreach (FarPoint.Win.Spread.Column col in this.fpSpread1.ActiveSheet.Columns) |             foreach (FarPoint.Win.Spread.Column col in this.fpSpread1.ActiveSheet.Columns) | ||||||
|             { |             { | ||||||
|                 col.Width = 100; |                 col.Width = 100; | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         private void saveToolStripMenuItem_Click(object sender, EventArgs e) |         private void saveToolStripMenuItem_Click(object sender, EventArgs e) | ||||||
|         { |         { | ||||||
|             FPUtil.ColsizeSave(this.fpSpread1, fn_fpcolsize); |             FPUtil.ColsizeSave(this.fpSpread1, fn_fpcolsize); | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         private void loadToolStripMenuItem_Click(object sender, EventArgs e) |         private void loadToolStripMenuItem_Click(object sender, EventArgs e) | ||||||
|         { |         { | ||||||
|             FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize); |             FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize); | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         private void fpSpread1_EditModeOff(object sender, EventArgs e) |         private void fpSpread1_EditModeOff(object sender, EventArgs e) | ||||||
|         { |         { | ||||||
|             int Colidx = this.fpSpread1.ActiveSheet.ActiveColumnIndex; |             int Colidx = this.fpSpread1.ActiveSheet.ActiveColumnIndex; | ||||||
|             int Rowidx = this.fpSpread1.ActiveSheet.ActiveRowIndex; |             int Rowidx = this.fpSpread1.ActiveSheet.ActiveRowIndex; | ||||||
|  |  | ||||||
|             var taItem = new FCM0000.dsMSSQLTableAdapters.ItemsTableAdapter(); |             var taItem = new FCM0000.dsMSSQLTableAdapters.ItemsTableAdapter(); | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         private void btRefresh_Click(object sender, EventArgs e) |         private void btRefresh_Click(object sender, EventArgs e) | ||||||
|         { |         { | ||||||
|             RefreshData(); |             RefreshData(); | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         private void toolStripButton1_Click(object sender, EventArgs e) |         private void toolStripButton1_Click(object sender, EventArgs e) | ||||||
|         { |         { | ||||||
|             this.Validate(); |             this.Validate(); | ||||||
|             this.bs.EndEdit(); |             this.bs.EndEdit(); | ||||||
|  |  | ||||||
|             //아웃룩에서 데이터를 표시한다. |             //아웃룩에서 데이터를 표시한다. | ||||||
|             var drv = this.bs.Current as DataRowView; |             var drv = this.bs.Current as DataRowView; | ||||||
|             if (drv == null) return; |             if (drv == null) return; | ||||||
|             var dr = drv.Row as dsMail.MailDataRow; |             var dr = drv.Row as dsMail.MailDataRow; | ||||||
|  |  | ||||||
|             //이 데이터로 발송된 메일이 있는지 체크한다. |             //이 데이터로 발송된 메일이 있는지 체크한다. | ||||||
|             dsMailTableAdapters.MailDataTableAdapter taMailData = new dsMailTableAdapters.MailDataTableAdapter(); |             dsMailTableAdapters.MailDataTableAdapter taMailData = new dsMailTableAdapters.MailDataTableAdapter(); | ||||||
|             var dtPreData = taMailData.GetbyProject(dr.project); |             var dtPreData = taMailData.GetbyProject(dr.project); | ||||||
|             if (dtPreData != null && dtPreData.Rows.Count > 0) |             if (dtPreData != null && dtPreData.Rows.Count > 0) | ||||||
|             { |             { | ||||||
|                 var predataOne = dtPreData.Rows[0] as dsMail.MailDataRow; |                 var predataOne = dtPreData.Rows[0] as dsMail.MailDataRow; | ||||||
|                 var dlgexist = FCOMMON.Util.MsgQ("해당 프로젝트는 " + predataOne.pdate + "에 메일이 발송된 기록이 있습니다.\n\n" + |                 var dlgexist = FCOMMON.Util.MsgQ("해당 프로젝트는 " + predataOne.pdate + "에 메일이 발송된 기록이 있습니다.\n\n" + | ||||||
|                   "Prject:" + predataOne.subject + "\n\n" + |                   "Prject:" + predataOne.subject + "\n\n" + | ||||||
|                   "To:" + predataOne.tolist + "\n" + |                   "To:" + predataOne.tolist + "\n" + | ||||||
|                     "CC:" + predataOne.cc + "\n\n" + |                     "CC:" + predataOne.cc + "\n\n" + | ||||||
|                     "그래도 메일을 보내시겠습니까?"); |                     "그래도 메일을 보내시겠습니까?"); | ||||||
|                 if (dlgexist != System.Windows.Forms.DialogResult.Yes) return; |                 if (dlgexist != System.Windows.Forms.DialogResult.Yes) return; | ||||||
|             } |             } | ||||||
|  |  | ||||||
|             var dlg = FCOMMON.Util.MsgQ("프로젝트의 알림 메일을 전송 하시겠습니까?\n\n" + |             var dlg = FCOMMON.Util.MsgQ("프로젝트의 알림 메일을 전송 하시겠습니까?\n\n" + | ||||||
|                 dr.subject + "\n\n" + |                 dr.subject + "\n\n" + | ||||||
|                 "To:" + dr.tolist + "\n" + |                 "To:" + dr.tolist + "\n" + | ||||||
|                 "CC:" + dr.cc + "\n" + |                 "CC:" + dr.cc + "\n" + | ||||||
|                 "BCC:" + dr.bcc); |                 "BCC:" + dr.bcc); | ||||||
|             if (dlg != System.Windows.Forms.DialogResult.Yes) return; |             if (dlg != System.Windows.Forms.DialogResult.Yes) return; | ||||||
|  |  | ||||||
|             Outlook.Application outlookApplication = new Outlook.Application(); |             Outlook.Application outlookApplication = new Outlook.Application(); | ||||||
|  |  | ||||||
|             var newMail = outlookApplication.CreateItem(OlItemType.olMailItem) as Outlook.MailItem; |             var newMail = outlookApplication.CreateItem(OlItemType.olMailItem) as Outlook.MailItem; | ||||||
|             newMail.Display(); |             newMail.Display(); | ||||||
|             newMail.Subject = dr.subject; // this.tbSubject.Text.Trim(); // dr.title; |             newMail.Subject = dr.subject; // this.tbSubject.Text.Trim(); // dr.title; | ||||||
|             newMail.To = dr.tolist; // to; |             newMail.To = dr.tolist; // to; | ||||||
|             newMail.CC = dr.cc;// tbCC.Text.Trim(); |             newMail.CC = dr.cc;// tbCC.Text.Trim(); | ||||||
|             newMail.BCC = dr.bcc; // tbBCC.Text.Trim(); |             newMail.BCC = dr.bcc; // tbBCC.Text.Trim(); | ||||||
|             // newMail.BodyFormat = OlBodyFormat.olFormatHTML; |             // newMail.BodyFormat = OlBodyFormat.olFormatHTML; | ||||||
|             newMail.HTMLBody = dr.body + newMail.HTMLBody; // |             newMail.HTMLBody = dr.body + newMail.HTMLBody; // | ||||||
|             newMail.Send(); |             newMail.Send(); | ||||||
|  |  | ||||||
|             FCOMMON.Util.MsgI("메일이 전송되었습니다.\n\n전송된 메일은 아웃룩의 보낸편지함 혹은 그룹웨어의 보낸편지함에서 확인할 수 있습니다."); |             FCOMMON.Util.MsgI("메일이 전송되었습니다.\n\n전송된 메일은 아웃룩의 보낸편지함 혹은 그룹웨어의 보낸편지함에서 확인할 수 있습니다."); | ||||||
|  |  | ||||||
|             try |             try | ||||||
|             { |             { | ||||||
|                 this.taHist.UpdateMailSend(dr.project); |                 this.taHist.UpdateMailSend(dr.project); | ||||||
|             } |             } | ||||||
|             catch (Exception ex) |             catch (Exception ex) | ||||||
|             { |             { | ||||||
|                 FCOMMON.Util.MsgE("MailSend Update Error\n\n" + ex.Message); |                 FCOMMON.Util.MsgE("MailSend Update Error\n\n" + ex.Message); | ||||||
|             } |             } | ||||||
|             try |             try | ||||||
|             { |             { | ||||||
|                 this.ta.Update(dr); |                 this.ta.Update(dr); | ||||||
|                 dr.AcceptChanges(); |                 dr.AcceptChanges(); | ||||||
|             } |             } | ||||||
|             catch (Exception ex) |             catch (Exception ex) | ||||||
|             { |             { | ||||||
|                 FCOMMON.Util.MsgE("전송 결과 저장 오류\n\n" + ex.Message); |                 FCOMMON.Util.MsgE("전송 결과 저장 오류\n\n" + ex.Message); | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         private void bindingNavigatorAddNewItem_Click(object sender, EventArgs e) |         private void bindingNavigatorAddNewItem_Click(object sender, EventArgs e) | ||||||
|         { |         { | ||||||
|  |  | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         private void toolStripButton3_Click(object sender, EventArgs e) |         private void toolStripButton3_Click(object sender, EventArgs e) | ||||||
|         { |         { | ||||||
|             string msg = bs.Count.ToString() + "건의 메일을 일괄 전송 하시겠습니까?\n\n" + |             string msg = bs.Count.ToString() + "건의 메일을 일괄 전송 하시겠습니까?\n\n" + | ||||||
|                 "전송은 아웃룩을 통해서 진행되므로 아웃룩이 보낼수 있는 상태인지 확인하시기 바랍니다"; |                 "전송은 아웃룩을 통해서 진행되므로 아웃룩이 보낼수 있는 상태인지 확인하시기 바랍니다"; | ||||||
|             var dlg = FCOMMON.Util.MsgQ(msg); |             var dlg = FCOMMON.Util.MsgQ(msg); | ||||||
|             if (dlg != System.Windows.Forms.DialogResult.Yes) return; |             if (dlg != System.Windows.Forms.DialogResult.Yes) return; | ||||||
|  |  | ||||||
|             //프로그레스바 |             //프로그레스바 | ||||||
|             this.prb1.Maximum = this.bs.Count; |             this.prb1.Maximum = this.bs.Count; | ||||||
|             this.prb1.Minimum = 0; |             this.prb1.Minimum = 0; | ||||||
|             this.prb1.Value = 0; |             this.prb1.Value = 0; | ||||||
|  |  | ||||||
|             Outlook.Application outlookApplication = new Outlook.Application(); |             Outlook.Application outlookApplication = new Outlook.Application(); | ||||||
|             int cntSend = 0; |             int cntSend = 0; | ||||||
|             foreach (dsMail.MailDataRow dr in this.dsMail.MailData.Rows) |             foreach (dsMail.MailDataRow dr in this.dsMail.MailData.Rows) | ||||||
|             { |             { | ||||||
|                 if (prb1.Value < prb1.Maximum) prb1.Value += 1; |                 if (prb1.Value < prb1.Maximum) prb1.Value += 1; | ||||||
|                 if (dr.tolist.Trim() == "") |                 if (dr.tolist.Trim() == "") | ||||||
|                 { |                 { | ||||||
|                     FCOMMON.Util.MsgE("받을 주소가 없어서 진행하지 않습니다\n" + dr.subject); |                     FCOMMON.Util.MsgE("받을 주소가 없어서 진행하지 않습니다\n" + dr.subject); | ||||||
|                     continue; |                     continue; | ||||||
|                 } |                 } | ||||||
|  |  | ||||||
|  |  | ||||||
|                 //이 데이터로 발송된 메일이 있는지 체크한다. |                 //이 데이터로 발송된 메일이 있는지 체크한다. | ||||||
|                 dsMailTableAdapters.MailDataTableAdapter taMailData = new dsMailTableAdapters.MailDataTableAdapter(); |                 dsMailTableAdapters.MailDataTableAdapter taMailData = new dsMailTableAdapters.MailDataTableAdapter(); | ||||||
|                 var dtPreData = taMailData.GetbyProject(dr.project); |                 var dtPreData = taMailData.GetbyProject(dr.project); | ||||||
|                 if (dtPreData != null && dtPreData.Rows.Count > 0) |                 if (dtPreData != null && dtPreData.Rows.Count > 0) | ||||||
|                 { |                 { | ||||||
|                     var predataOne = dtPreData.Rows[0] as dsMail.MailDataRow; |                     var predataOne = dtPreData.Rows[0] as dsMail.MailDataRow; | ||||||
|                     var dlgexist = FCOMMON.Util.MsgQ("해당 프로젝트는 " + predataOne.pdate + "에 메일이 발송된 기록이 있습니다.\n\n" + |                     var dlgexist = FCOMMON.Util.MsgQ("해당 프로젝트는 " + predataOne.pdate + "에 메일이 발송된 기록이 있습니다.\n\n" + | ||||||
|                         "Prject:" + predataOne.subject + "\n\n" + |                         "Prject:" + predataOne.subject + "\n\n" + | ||||||
|                         "To:" + predataOne.tolist + "\n" + |                         "To:" + predataOne.tolist + "\n" + | ||||||
|                         "CC:" + predataOne.cc + "\n\n" + |                         "CC:" + predataOne.cc + "\n\n" + | ||||||
|                         "그래도 메일을 보내시겠습니까?"); |                         "그래도 메일을 보내시겠습니까?"); | ||||||
|                     if (dlgexist != System.Windows.Forms.DialogResult.Yes) continue; |                     if (dlgexist != System.Windows.Forms.DialogResult.Yes) continue; | ||||||
|                 } |                 } | ||||||
|  |  | ||||||
|  |  | ||||||
|                 var newMail = outlookApplication.CreateItem(OlItemType.olMailItem) as Outlook.MailItem; |                 var newMail = outlookApplication.CreateItem(OlItemType.olMailItem) as Outlook.MailItem; | ||||||
|                 newMail.Display(); |                 newMail.Display(); | ||||||
|                 newMail.Subject = dr.subject; |                 newMail.Subject = dr.subject; | ||||||
|                 newMail.To = dr.tolist;// to; |                 newMail.To = dr.tolist;// to; | ||||||
|                 newMail.CC = dr.cc;// tbCC.Text.Trim(); |                 newMail.CC = dr.cc;// tbCC.Text.Trim(); | ||||||
|                 newMail.BCC = dr.bcc;// tbBCC.Text.Trim(); |                 newMail.BCC = dr.bcc;// tbBCC.Text.Trim(); | ||||||
|                 // newMail.BodyFormat = OlBodyFormat.olFormatHTML; |                 // newMail.BodyFormat = OlBodyFormat.olFormatHTML; | ||||||
|                 newMail.HTMLBody = dr.body + newMail.HTMLBody; // |                 newMail.HTMLBody = dr.body + newMail.HTMLBody; // | ||||||
|                 newMail.Send(); |                 newMail.Send(); | ||||||
|                 cntSend += 1; |                 cntSend += 1; | ||||||
|  |  | ||||||
|                 try |                 try | ||||||
|                 { |                 { | ||||||
|                     this.taHist.UpdateMailSend(dr.project); |                     this.taHist.UpdateMailSend(dr.project); | ||||||
|                 } |                 } | ||||||
|                 catch (Exception ex) |                 catch (Exception ex) | ||||||
|                 { |                 { | ||||||
|                     FCOMMON.Util.MsgE("MailSend Update Error\n\n" + ex.Message); |                     FCOMMON.Util.MsgE("MailSend Update Error\n\n" + ex.Message); | ||||||
|                 } |                 } | ||||||
|                 try |                 try | ||||||
|                 { |                 { | ||||||
|                     dr.EndEdit(); |                     dr.EndEdit(); | ||||||
|                     ta.Update(dr); |                     ta.Update(dr); | ||||||
|                     dr.AcceptChanges(); |                     dr.AcceptChanges(); | ||||||
|                 } |                 } | ||||||
|                 catch (Exception ex) |                 catch (Exception ex) | ||||||
|                 { |                 { | ||||||
|                     FCOMMON.Util.MsgE("메일 전송 오류\n\n" + ex.Message); |                     FCOMMON.Util.MsgE("메일 전송 오류\n\n" + ex.Message); | ||||||
|                 } |                 } | ||||||
|  |  | ||||||
|             } |             } | ||||||
|             FCOMMON.Util.MsgI(cntSend.ToString() + " 건의 메일이 전송되었습니다.\n\n전송된 메일은 아웃룩의 보낸편지함 혹은 그룹웨어의 보낸편지함에서 확인할 수 있습니다."); |             FCOMMON.Util.MsgI(cntSend.ToString() + " 건의 메일이 전송되었습니다.\n\n전송된 메일은 아웃룩의 보낸편지함 혹은 그룹웨어의 보낸편지함에서 확인할 수 있습니다."); | ||||||
|  |  | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         private void toolStripButton2_Click(object sender, EventArgs e) |         private void toolStripButton2_Click(object sender, EventArgs e) | ||||||
|         { |         { | ||||||
|             //아웃룩에서 데이터를 표시한다. |             //아웃룩에서 데이터를 표시한다. | ||||||
|             var drv = this.bs.Current as DataRowView; |             var drv = this.bs.Current as DataRowView; | ||||||
|             if (drv == null) return; |             if (drv == null) return; | ||||||
|             var dr = drv.Row as dsMail.MailDataRow; |             var dr = drv.Row as dsMail.MailDataRow; | ||||||
|  |  | ||||||
|  |  | ||||||
|             try |             try | ||||||
|             { |             { | ||||||
|                 Outlook.Application outlookApplication = new Outlook.Application(); |                 Outlook.Application outlookApplication = new Outlook.Application(); | ||||||
|  |  | ||||||
|                 var newMail = outlookApplication.CreateItem(OlItemType.olMailItem) as Outlook.MailItem; |                 var newMail = outlookApplication.CreateItem(OlItemType.olMailItem) as Outlook.MailItem; | ||||||
|                 newMail.Display(); |                 newMail.Display(); | ||||||
|                 newMail.Subject = dr.subject; // this.tbSubject.Text.Trim(); // dr.title; |                 newMail.Subject = dr.subject; // this.tbSubject.Text.Trim(); // dr.title; | ||||||
|                 newMail.To = dr.tolist; // to; |                 newMail.To = dr.tolist; // to; | ||||||
|                 newMail.CC = dr.cc;// tbCC.Text.Trim(); |                 newMail.CC = dr.cc;// tbCC.Text.Trim(); | ||||||
|                 newMail.BCC = dr.bcc; // tbBCC.Text.Trim(); |                 newMail.BCC = dr.bcc; // tbBCC.Text.Trim(); | ||||||
|                 // newMail.BodyFormat = OlBodyFormat.olFormatHTML; |                 // newMail.BodyFormat = OlBodyFormat.olFormatHTML; | ||||||
|                 newMail.HTMLBody = dr.body + newMail.HTMLBody; // |                 newMail.HTMLBody = dr.body + newMail.HTMLBody; // | ||||||
|             } |             } | ||||||
|             catch (Exception ex) |             catch (Exception ex) | ||||||
|             { |             { | ||||||
|                 util.MsgE("전송실패\n\n" + ex.Message + "\n\n" + |                 util.MsgE("전송실패\n\n" + ex.Message + "\n\n" + | ||||||
|                     "아웃룩의 설정이 정상인지 확인하세요"); |                     "아웃룩의 설정이 정상인지 확인하세요"); | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 chi
					chi