...
This commit is contained in:
		| @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; | ||||
| // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로 | ||||
| // 지정되도록 할 수 있습니다. | ||||
| // [assembly: AssemblyVersion("1.0.*")] | ||||
| [assembly: AssemblyVersion("22.05.01.2100")] | ||||
| [assembly: AssemblyFileVersion("22.05.01.2100")] | ||||
| [assembly: AssemblyVersion("22.05.10.1115")] | ||||
| [assembly: AssemblyFileVersion("22.05.10.1115")] | ||||
|   | ||||
							
								
								
									
										23
									
								
								Project/Properties/Settings.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										23
									
								
								Project/Properties/Settings.Designer.cs
									
									
									
										generated
									
									
									
								
							| @@ -12,7 +12,7 @@ namespace Project.Properties { | ||||
|      | ||||
|      | ||||
|     [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] | ||||
|     [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.8.1.0")] | ||||
|     [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.10.0.0")] | ||||
|     internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { | ||||
|          | ||||
|         private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); | ||||
| @@ -33,26 +33,5 @@ namespace Project.Properties { | ||||
|                 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("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\\Temp\\PMP\\SPMaster.mdb")] | ||||
|         public string PMPCS { | ||||
|             get { | ||||
|                 return ((string)(this["PMPCS"])); | ||||
|             } | ||||
|         } | ||||
|          | ||||
|         [global::System.Configuration.ApplicationScopedSettingAttribute()] | ||||
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|         [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.ConnectionString)] | ||||
|         [global::System.Configuration.DefaultSettingValueAttribute("Data Source=10.141.18.50;Initial Catalog=S1ACCESS300;Persist Security Info=True;U" + | ||||
|             "ser ID=amkoruser;Password=AmkorUser!")] | ||||
|         public string csAccess { | ||||
|             get { | ||||
|                 return ((string)(this["csAccess"])); | ||||
|             } | ||||
|         } | ||||
|     } | ||||
| } | ||||
|   | ||||
| @@ -10,21 +10,5 @@ | ||||
| </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="PMPCS" 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>Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\Temp\PMP\SPMaster.mdb</ConnectionString> | ||||
|   <ProviderName>System.Data.OleDb</ProviderName> | ||||
| </SerializableConnectionString></DesignTimeValue> | ||||
|       <Value Profile="(Default)">Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\Temp\PMP\SPMaster.mdb</Value> | ||||
|     </Setting> | ||||
|     <Setting Name="csAccess" 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.141.18.50;Initial Catalog=S1ACCESS300;Persist Security Info=True;User ID=amkoruser;Password=AmkorUser!</ConnectionString> | ||||
|   <ProviderName>System.Data.SqlClient</ProviderName> | ||||
| </SerializableConnectionString></DesignTimeValue> | ||||
|       <Value Profile="(Default)">Data Source=10.141.18.50;Initial Catalog=S1ACCESS300;Persist Security Info=True;User ID=amkoruser;Password=AmkorUser!</Value> | ||||
|     </Setting> | ||||
|   </Settings> | ||||
| </SettingsFile> | ||||
| @@ -506,11 +506,22 @@ namespace Project | ||||
|  | ||||
|         public static void RunExplorer(string arg) | ||||
|         { | ||||
|             if(arg.StartsWith("http")) | ||||
| 			{ | ||||
|                 System.Diagnostics.Process.Start(arg); | ||||
|  | ||||
|  | ||||
|             } | ||||
| 			else | ||||
| 			{ | ||||
|  | ||||
|                 System.Diagnostics.ProcessStartInfo si = new ProcessStartInfo("explorer"); | ||||
|                 si.Arguments = arg; | ||||
|                 System.Diagnostics.Process.Start(si); | ||||
|             } | ||||
|  | ||||
|         } | ||||
|  | ||||
|         #region "watchdog" | ||||
|         public static void WatchDog_Run() | ||||
|         { | ||||
|   | ||||
| @@ -2,17 +2,24 @@ | ||||
| <configuration> | ||||
|   <configSections></configSections> | ||||
|   <connectionStrings> | ||||
|     <add name="Project.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="Project.Properties.Settings.PMPCS" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\Temp\PMP\SPMaster.mdb" providerName="System.Data.OleDb" /> | ||||
|     <add name="Project.Properties.Settings.csAccess" connectionString="Data Source=10.141.18.50;Initial Catalog=S1ACCESS300;Persist Security Info=True;User ID=amkoruser;Password=AmkorUser!" providerName="System.Data.SqlClient" /> | ||||
|     <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="EEEntities1" connectionString="metadata=res://*/ModelMain.csdl|res://*/ModelMain.ssdl|res://*/ModelMain.msl;provider=System.Data.SqlClient;provider connection string="data source=10.131.15.18;initial catalog=EE;user id=eeuser;password=Amkor123!;connect timeout=30;encrypt=False;trustservercertificate=False;MultipleActiveResultSets=True;App=EntityFramework"" providerName="System.Data.EntityClient" /> | ||||
|     <add name="EEEntitiesMain" connectionString="metadata=res://*/AdoNetEFMain.csdl|res://*/AdoNetEFMain.ssdl|res://*/AdoNetEFMain.msl;provider=System.Data.SqlClient;provider connection string="data source=10.131.15.18;initial catalog=EE;user id=eeuser;password=Amkor123!;connect timeout=30;encrypt=False;trustservercertificate=False;MultipleActiveResultSets=True;App=EntityFramework"" providerName="System.Data.EntityClient" /> | ||||
|     <add name="S1ACCESS300Entities" connectionString="metadata=res://*/Model1.csdl|res://*/Model1.ssdl|res://*/Model1.msl;provider=System.Data.SqlClient;provider connection string="data source=10.141.18.50;initial catalog=S1ACCESS300;persist security info=True;user id=amkoruser;password=AmkorUser!;MultipleActiveResultSets=True;App=EntityFramework"" providerName="System.Data.EntityClient" /> | ||||
|     <add name="EEEntitiesPurchase" connectionString="metadata=res://*/ModelPurchase.csdl|res://*/ModelPurchase.ssdl|res://*/ModelPurchase.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="EEEntitiesCommon" connectionString="metadata=res://*/ModelCommon.csdl|res://*/ModelCommon.ssdl|res://*/ModelCommon.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="EEEntitiesJobreport" connectionString="metadata=res://*/ModelJobreport.csdl|res://*/ModelJobreport.ssdl|res://*/ModelJobreport.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="EEEntitiesProject" connectionString="metadata=res://*/ModelProject.csdl|res://*/ModelProject.ssdl|res://*/ModelProject.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="Project.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="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="EEEntities1" connectionString="metadata=res://*/ModelMain.csdl|res://*/ModelMain.ssdl|res://*/ModelMain.msl;provider=System.Data.SqlClient;provider connection string="data source=10.131.15.18;initial catalog=EE;user id=eeuser;password=Amkor123!;connect timeout=30;encrypt=False;trustservercertificate=False;MultipleActiveResultSets=True;App=EntityFramework"" | ||||
|       providerName="System.Data.EntityClient" /> | ||||
|     <add name="EEEntitiesMain" connectionString="metadata=res://*/AdoNetEFMain.csdl|res://*/AdoNetEFMain.ssdl|res://*/AdoNetEFMain.msl;provider=System.Data.SqlClient;provider connection string="data source=10.131.15.18;initial catalog=EE;user id=eeuser;password=Amkor123!;connect timeout=30;encrypt=False;trustservercertificate=False;MultipleActiveResultSets=True;App=EntityFramework"" | ||||
|       providerName="System.Data.EntityClient" /> | ||||
|     <add name="S1ACCESS300Entities" connectionString="metadata=res://*/Model1.csdl|res://*/Model1.ssdl|res://*/Model1.msl;provider=System.Data.SqlClient;provider connection string="data source=10.141.18.50;initial catalog=S1ACCESS300;persist security info=True;user id=amkoruser;password=AmkorUser!;MultipleActiveResultSets=True;App=EntityFramework"" | ||||
|       providerName="System.Data.EntityClient" /> | ||||
|     <add name="EEEntitiesPurchase" connectionString="metadata=res://*/ModelPurchase.csdl|res://*/ModelPurchase.ssdl|res://*/ModelPurchase.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="EEEntitiesCommon" connectionString="metadata=res://*/ModelCommon.csdl|res://*/ModelCommon.ssdl|res://*/ModelCommon.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="EEEntitiesJobreport" connectionString="metadata=res://*/ModelJobreport.csdl|res://*/ModelJobreport.ssdl|res://*/ModelJobreport.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="EEEntitiesProject" connectionString="metadata=res://*/ModelProject.csdl|res://*/ModelProject.ssdl|res://*/ModelProject.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" /> | ||||
|   </connectionStrings> | ||||
|   <runtime> | ||||
|     <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> | ||||
|   | ||||
| @@ -17,6 +17,7 @@ namespace FBS0000 | ||||
|         public WorkTable() | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|  | ||||
|             var sd = DateTime.Now.ToString("yyyy-MM-01"); | ||||
|             var ed = DateTime.Parse(sd).AddMonths(1).AddDays(-1).ToShortDateString();//  DateTime.Now.AddMonths(1).ToString("yyyy-MM-01")).AddDays(-1).ToShortDateString(); | ||||
|   | ||||
| @@ -15,6 +15,7 @@ namespace FBS0000.Holiday | ||||
| 		public fErrorChk() | ||||
| 		{ | ||||
| 			InitializeComponent(); | ||||
| 			Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|  | ||||
| 			//dtSD.KeyDown += dtSD_KeyDown; | ||||
| 			//dtED.KeyDown += dtSD_KeyDown; | ||||
|   | ||||
| @@ -15,6 +15,7 @@ namespace FBS0000 | ||||
|         public fHolyDayData(string sdate, string uid) | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|             this.WindowState = FormWindowState.Maximized; | ||||
|  | ||||
|             var dtUser = FCOMMON.DBM.getUserTable(); | ||||
|   | ||||
| @@ -18,6 +18,7 @@ namespace FBS0000 | ||||
| 		public fHolyday() | ||||
| 		{ | ||||
| 			InitializeComponent(); | ||||
| 			Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
| 			fn_fpcolsize = System.IO.Path.Combine(FCOMMON.Util.CurrentPath, "formSetting", "fp_" + this.Name + "i.ini"); | ||||
| 			this.dsMSSQL.vHoliday_uselist.TableNewRow += Holyday_TableNewRow; | ||||
| 			//this.dv1.CellFormatting += dv1_CellFormatting; | ||||
|   | ||||
| @@ -18,6 +18,7 @@ namespace FBS0000 | ||||
|         public fHolydayJobReport(string sd,string ed   ,string uid  ) | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|             this.tbSD.Text = sd; | ||||
|             this.tbED.Text = ed; | ||||
|             p_uid = uid;  | ||||
|   | ||||
| @@ -17,6 +17,7 @@ namespace FBS0000 | ||||
|         public fHolyday_Add(dsMSSQL.HolydayRow dr_) | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|             this.dr = dr_; | ||||
|             //if (idx == -1) | ||||
|             //{ | ||||
|   | ||||
| @@ -15,6 +15,7 @@ namespace FBS0000.Holiday | ||||
|         public fImpKunTae() | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|         } | ||||
|  | ||||
|         private void fImpKunTae_Load(object sender, EventArgs e) | ||||
|   | ||||
| @@ -17,6 +17,7 @@ namespace FBS0000 | ||||
|         public fWorkTableUser() | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|             this.dsMSSQL.EETGW_WorkTableUser.TableNewRow += Holyday_TableNewRow; | ||||
|             //this.dv1.CellFormatting += dv1_CellFormatting; | ||||
|         } | ||||
|   | ||||
| @@ -14,6 +14,7 @@ namespace FBS0000 | ||||
|         public rHolidaySummary() | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|             this.WindowState = FormWindowState.Maximized; | ||||
|         } | ||||
|  | ||||
|   | ||||
| @@ -15,6 +15,7 @@ namespace FBS0000 | ||||
|         public fLovWorkUser(List<dsMSSQL.EETGW_WorkTableUserRow> users) | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|             this.dsMSSQL.Merge(users.ToArray()); | ||||
|             this.KeyDown += (s1, e1) => { if (e1.KeyCode == Keys.Escape) this.Close(); }; | ||||
|         } | ||||
|   | ||||
| @@ -15,6 +15,7 @@ namespace FBS0000 | ||||
|         public fMinutes() | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|             this.dsMSSQL.minutes.TableNewRow += minutes_TableNewRow; | ||||
|         } | ||||
|  | ||||
|   | ||||
| @@ -15,6 +15,7 @@ namespace FBS0000 | ||||
|         public fMinutesDetail(int idx_) | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|             this.FormClosed += __Closed; | ||||
|             this.idx = idx_; | ||||
|         } | ||||
|   | ||||
| @@ -17,6 +17,7 @@ namespace FCM0000 | ||||
|         public fPatchList() | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|             this.dsMSSQL.Board.TableNewRow += RequestItem_TableNewRow; | ||||
|         } | ||||
|  | ||||
|   | ||||
| @@ -17,6 +17,7 @@ namespace FCM0000 | ||||
|         public fRequestItem() | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|             this.dsMSSQL.RequestItem.TableNewRow += RequestItem_TableNewRow; | ||||
|         } | ||||
|  | ||||
|   | ||||
| @@ -16,6 +16,7 @@ namespace FCM0000 | ||||
|         public fRequestItem_Add(dsMSSQL.RequestItemRow dr_) | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|             dr = dr_; | ||||
|             PredefinedButtonSets.SetupDefaultButtons(this.tbRemark); | ||||
|         } | ||||
|   | ||||
| @@ -16,6 +16,7 @@ namespace FCM0000 | ||||
|         public Customer_Import() | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|             this.FormClosed += __Closed; | ||||
|         } | ||||
|  | ||||
|   | ||||
| @@ -14,6 +14,7 @@ namespace FCM0000.Inventory | ||||
|         public RepInvStock() | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|         } | ||||
|  | ||||
|         private void RepInvStock_Load(object sender, EventArgs e) | ||||
|   | ||||
| @@ -15,6 +15,7 @@ namespace FCM0000.Inventory | ||||
|         public RepInvStockUser(string uid) | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|             this.userid = uid; | ||||
|         } | ||||
|  | ||||
|   | ||||
| @@ -15,6 +15,7 @@ namespace FCM0000 | ||||
|         public fInventory() | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|             this.FormClosed += __Closed; | ||||
|             this.dSInventory.vInventory.TableNewRow += Inventory_TableNewRow; | ||||
|             this.dtSD.KeyDown += dtSD_KeyDown; | ||||
|   | ||||
| @@ -15,6 +15,7 @@ namespace FCM0000 | ||||
|         public fInventoryJagoList() | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|             this.FormClosed += __Closed; | ||||
|             this.dtSD.KeyDown += dtSD_KeyDown; | ||||
|             fn_fpcolsize = System.IO.Path.Combine(FCOMMON.Util.CurrentPath, "formSetting", "fp_" + this.Name + ".ini"); | ||||
|   | ||||
| @@ -15,6 +15,7 @@ namespace FCM0000.Inventory | ||||
|         { | ||||
|              | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|             this.tbPumIDX.Text = itemIndex.ToString(); | ||||
|             this.tbPumName.Text = itemname; | ||||
|             this.tbPumName.Tag = itemname; | ||||
|   | ||||
| @@ -14,6 +14,7 @@ namespace FCM0000 | ||||
|         public fInventoryUser() | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|             this.FormClosed += __Closed; | ||||
|             this.dsMSSQL.InventoryUser.TableNewRow += Inventory_TableNewRow; | ||||
|  | ||||
|   | ||||
| @@ -19,6 +19,7 @@ namespace FCM0000 | ||||
|         public finventoryAdd(DSInventory.vInventoryRow dr_) | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|             bsManu = new BindingSource(); | ||||
|             bsModel = new BindingSource(); | ||||
|             this.dr = dr_; | ||||
|   | ||||
| @@ -15,6 +15,7 @@ namespace FCM0000.Item | ||||
|         public fItemAdd() | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|  | ||||
|             foreach (Control ctl in this.Controls) | ||||
|             { | ||||
|   | ||||
| @@ -16,6 +16,8 @@ namespace FCM0000 | ||||
|         public fItems() | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|  | ||||
|             fn_fpcolsize = System.IO.Path.Combine(FCOMMON.Util.CurrentPath, "formSetting", "fp_" + this.Name + ".ini"); | ||||
|             this.FormClosed += fItems_FormClosed; | ||||
|             this.dsMSSQL.Items.TableNewRow += Items_TableNewRow; | ||||
|   | ||||
| @@ -28,6 +28,7 @@ namespace FCM0000 | ||||
|         public fLovItem(string search_) | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|  | ||||
|             fn_fpcolsize = System.IO.Path.Combine(FCOMMON.Util.CurrentPath, "formSetting", "fp_" + this.Name + ".ini"); | ||||
|  | ||||
|   | ||||
| @@ -17,6 +17,8 @@ namespace FCM0000 | ||||
|         public fLovOneItem(List<string> lists) | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|  | ||||
|             this.StartPosition = FormStartPosition.CenterScreen; | ||||
|             Title = string.Empty; | ||||
|             dt = new DataTable(); | ||||
|   | ||||
| @@ -15,6 +15,8 @@ namespace FCM0000.Mail | ||||
|         public fAutoSendSetting() | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|  | ||||
|             this.FormClosed += fAutoSendSetting_FormClosed; | ||||
|             fn_fpcolsize = System.IO.Path.Combine(FCOMMON.Util.CurrentPath, "formSetting", "fp_" + this.Name + ".ini"); | ||||
|         } | ||||
|   | ||||
| @@ -15,6 +15,8 @@ namespace FCM0000 | ||||
|         public fJRForm() | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|  | ||||
|             this.dsMSSQL1.EETGW_DocuForm.TableNewRow += MailForm_TableNewRow; | ||||
|         } | ||||
|  | ||||
|   | ||||
| @@ -16,6 +16,8 @@ namespace FCM0000 | ||||
|         public fMailAutoAdd(DSMail.MailAutoRow dr_) | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|  | ||||
|             PredefinedButtonSets.SetupDefaultButtons(this.tbBody); | ||||
|             this.dr = dr_; | ||||
|         } | ||||
|   | ||||
| @@ -18,6 +18,8 @@ namespace FCM0000.Mail | ||||
|         public fMailBackup() | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|  | ||||
|             dateTimePicker1.Value = DateTime.Now.AddYears(-2); | ||||
|             dateTimePicker2.Value = DateTime.Now.AddYears(-1); | ||||
|         } | ||||
|   | ||||
| @@ -15,6 +15,7 @@ namespace FCM0000.Mail | ||||
|         public fMailList() | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|             this.FormClosed += fAutoSendSetting_FormClosed; | ||||
|             fn_fpcolsize = System.IO.Path.Combine(FCOMMON.Util.CurrentPath, "formSetting", "fp_" + this.Name + ".ini"); | ||||
|         } | ||||
|   | ||||
| @@ -15,6 +15,7 @@ namespace FCM0000 | ||||
|         public fMailform() | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|             PredefinedButtonSets.SetupDefaultButtons(this.htmlEditor1); | ||||
|             this.dsMSSQL.MailForm.TableNewRow += MailForm_TableNewRow; | ||||
|         } | ||||
|   | ||||
| @@ -15,11 +15,10 @@ namespace FCM0000 | ||||
| { | ||||
|     public partial class fSendMail : FCOMMON.fBase | ||||
|     { | ||||
|         | ||||
|  | ||||
|         public fSendMail() | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|             PredefinedButtonSets.SetupDefaultButtons(this.tbBody); | ||||
|             this.dsMSSQL.MailData.TableNewRow += MailForm_TableNewRow; | ||||
|         } | ||||
|   | ||||
| @@ -23,6 +23,7 @@ namespace FCM0000 | ||||
|         public fLovUser(string search_) | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|             fn_fpcolsize = System.IO.Path.Combine(FCOMMON.Util.CurrentPath, "formSetting", "fp_" + this.Name + ".ini"); | ||||
|             this.keyword = search_; | ||||
|             this.fpSpread1.KeyDown += fpSpread1_KeyDown; | ||||
|   | ||||
| @@ -15,6 +15,7 @@ namespace FCM0000 | ||||
|         public fUserAuth() | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|             fn_fpcolsize1 = FCOMMON.Util.MakeFilePath(FCOMMON.Util.CurrentPath, "formSetting", "fp1_" + this.Name + ".ini"); | ||||
|         } | ||||
|  | ||||
|   | ||||
| @@ -15,6 +15,7 @@ namespace FCM0000 | ||||
|         public fUserGroup() | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|             fn_fpcolsize1 = FCOMMON.Util.MakeFilePath(FCOMMON.Util.CurrentPath, "formSetting", "fp1_" + this.Name + ".ini"); | ||||
|         } | ||||
|  | ||||
|   | ||||
| @@ -15,6 +15,7 @@ namespace FCM0000 | ||||
|         public fUserGroupPermission(int permission_) | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|             this.permission = permission_; | ||||
|         } | ||||
|  | ||||
|   | ||||
| @@ -14,6 +14,7 @@ namespace FCM0000 | ||||
|         public fCode() | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|             this.dsMSSQL.Common.TableNewRow += Common_TableNewRow; | ||||
|             if (FCOMMON.info.Login.level >= 9) toolStripButton1.Visible = true; | ||||
|         } | ||||
|   | ||||
| @@ -16,7 +16,7 @@ namespace FCM0000 | ||||
|         public fCustoms() | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|  | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|             fn_fpcolsize1 = FCOMMON.Util.MakeFilePath(FCOMMON.Util.CurrentPath, "formSetting", "fp1_" + this.Name + ".ini"); | ||||
|             fn_fpcolsize2 = FCOMMON.Util.MakeFilePath(FCOMMON.Util.CurrentPath, "formSetting", "fp2_" + this.Name + ".ini"); | ||||
|         } | ||||
|   | ||||
| @@ -17,6 +17,7 @@ namespace FCM0000 | ||||
|         public fHolidaytable() | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|             this.StartPosition = FormStartPosition.CenterScreen; | ||||
|             this.KeyPreview = true; | ||||
|             this.KeyDown += (s1, e1) => { if (e1.KeyCode == Keys.Escape) this.Close(); }; | ||||
|   | ||||
| @@ -19,6 +19,8 @@ namespace FCM0000 | ||||
|         public fLovProject(string search_, string stat_ = "") | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|  | ||||
|             Title = string.Empty; | ||||
|             Index = -1; | ||||
|  | ||||
|   | ||||
| @@ -18,6 +18,8 @@ namespace FCM0000 | ||||
|         public fLovSupply(string search_) | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|  | ||||
|             Title = string.Empty; | ||||
|             Index = -1; | ||||
|  | ||||
|   | ||||
| @@ -16,6 +16,7 @@ namespace FCM0000 | ||||
|         public fMaterial_Import() | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|             this.FormClosed += __Closed; | ||||
|         } | ||||
|  | ||||
|   | ||||
| @@ -28,6 +28,7 @@ namespace FCM0000 | ||||
|         public fSelectDate(DateTime dt) | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|             this.monthCalendar1.SetDate(dt); | ||||
|         } | ||||
|  | ||||
|   | ||||
| @@ -18,6 +18,11 @@ namespace FED0000 | ||||
|         public fEdulist() | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|  | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|             Properties.Settings.Default["EEEntities"] = FCOMMON.info.CS; | ||||
|  | ||||
|  | ||||
|             fn_fpcolsize = util.MakeFilePath(util.CurrentPath, "formSetting", "fp_" + this.Name + ".ini"); | ||||
|             this.dsPurchase.EETGW_EducationList.TableNewRow += Purchase_TableNewRow; | ||||
|             this.FormClosing += FPurchase_FormClosing; | ||||
|   | ||||
| @@ -18,6 +18,9 @@ namespace FED0000 | ||||
|         public fLicenseList() | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|             Properties.Settings.Default["EEEntities"] = FCOMMON.info.CS; | ||||
|  | ||||
|             fn_fpcolsize = util.MakeFilePath(util.CurrentPath, "formSetting", "fp_" + this.Name + ".ini"); | ||||
|             this.dsPurchase.EETGW_License.TableNewRow += Purchase_TableNewRow; | ||||
|             this.FormClosing += FPurchase_FormClosing; | ||||
|   | ||||
| @@ -17,6 +17,8 @@ namespace FEQ0000 | ||||
|         public EQFilterApply(string  type_) | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|             Properties.Settings.Default["EEEntities"] = FCOMMON.info.CS; | ||||
|             this.eqfiletertype = type_; | ||||
|             this.FormClosed += __Closed; | ||||
|         } | ||||
|   | ||||
| @@ -15,6 +15,8 @@ namespace FEQ0000 | ||||
|         public EQfilterManager(string type_) | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|             Properties.Settings.Default["EEEntities"] = FCOMMON.info.CS; | ||||
|             divtype = type_; | ||||
|             this.dsEQ.EquipmentFilter.TableNewRow += EquipmentFilter_TableNewRow; | ||||
|         } | ||||
|   | ||||
| @@ -29,6 +29,9 @@ namespace FEQ0000 | ||||
|         public fEquipment(eTabletype type_) | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|             Properties.Settings.Default["EEEntities"] = FCOMMON.info.CS; | ||||
|  | ||||
|             dataType = type_; | ||||
|  | ||||
|             this.tbSearch.KeyDown += (s1, e1) => {  | ||||
|   | ||||
| @@ -17,6 +17,9 @@ namespace FEQ0000 | ||||
|         public fImpEquipment(fEquipment.eTabletype type_) | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|             Properties.Settings.Default["EEEntities"] = FCOMMON.info.CS; | ||||
|  | ||||
|             this.FormClosed += __Closed; | ||||
|             dt = new dsEQ.EETGW_EquipmentDataTable(); | ||||
|         } | ||||
|   | ||||
| @@ -16,6 +16,9 @@ namespace FEQ0000 | ||||
|         { | ||||
|             //SqlServerTypes.Utilities.LoadNativeAssemblies(AppDomain.CurrentDomain.BaseDirectory); | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|             Properties.Settings.Default["EEEntities"] = FCOMMON.info.CS; | ||||
|  | ||||
|             this.dt = dt_; | ||||
|             this.Text = "Equipment List(" + title + ")"; | ||||
|         } | ||||
|   | ||||
| @@ -15,6 +15,8 @@ namespace FEQ0000.Purchase | ||||
|         public fInputSC() | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|             Properties.Settings.Default["EEEntities"] = FCOMMON.info.CS; | ||||
|         } | ||||
|     } | ||||
| } | ||||
|   | ||||
| @@ -15,6 +15,8 @@ namespace FEQ0000.Purchase | ||||
|         public fMailForm() | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|             Properties.Settings.Default["EEEntities"] = FCOMMON.info.CS; | ||||
|         } | ||||
|  | ||||
|         private void fMailForm_Load(object sender, EventArgs e) | ||||
|   | ||||
| @@ -21,6 +21,9 @@ namespace FEQ0000 | ||||
|         public fPurchase() | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|             Properties.Settings.Default["EEEntities"] = FCOMMON.info.CS; | ||||
|  | ||||
|             fn_fpcolsize = util.MakeFilePath(util.CurrentPath, "formSetting", "fp_" + this.Name + ".ini"); | ||||
|             this.dsPurchase.Purchase.TableNewRow += Purchase_TableNewRow; | ||||
|             this.FormClosing += FPurchase_FormClosing; | ||||
|   | ||||
| @@ -15,6 +15,9 @@ namespace FEQ0000 | ||||
|         public fPurchaseNRList(dsPurchase.PurchaseDataTable dt) | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|             Properties.Settings.Default["EEEntities"] = FCOMMON.info.CS; | ||||
|  | ||||
|             this.ds1.Purchase.Merge(dt); | ||||
|             this.ds1.AcceptChanges(); | ||||
|         } | ||||
|   | ||||
| @@ -19,6 +19,9 @@ namespace FEQ0000 | ||||
|         public fPurchase_Add(dsPurchase.PurchaseRow dr_) | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|             Properties.Settings.Default["EEEntities"] = FCOMMON.info.CS; | ||||
|  | ||||
|             bsManu = new BindingSource(); | ||||
|             bsModel = new BindingSource(); | ||||
|             this.dr = dr_; | ||||
|   | ||||
| @@ -18,6 +18,9 @@ namespace FEQ0000 | ||||
|         public fPurchase_AddS(dsPurchase.PurchaseRow dr_) | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|             Properties.Settings.Default["EEEntities"] = FCOMMON.info.CS; | ||||
|  | ||||
|             bsManu = new BindingSource(); | ||||
|             bsModel = new BindingSource(); | ||||
|             this.dr = dr_; | ||||
|   | ||||
| @@ -14,6 +14,8 @@ namespace FEQ0000 | ||||
|         public fPurchase_Data() | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|             Properties.Settings.Default["EEEntities"] = FCOMMON.info.CS; | ||||
|         } | ||||
|  | ||||
|         private void button1_Click(object sender, EventArgs e) | ||||
|   | ||||
| @@ -16,6 +16,8 @@ namespace FEQ0000 | ||||
|         public fPurchase_Import() | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|             Properties.Settings.Default["EEEntities"] = FCOMMON.info.CS; | ||||
|             this.FormClosed += __Closed; | ||||
|         } | ||||
|  | ||||
|   | ||||
| @@ -16,6 +16,8 @@ namespace FEQ0000 | ||||
|         public fPurchase_ImportO() | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|             Properties.Settings.Default["EEEntities"] = FCOMMON.info.CS; | ||||
|             this.FormClosed += __Closed; | ||||
|         } | ||||
|  | ||||
|   | ||||
| @@ -15,6 +15,8 @@ namespace FEQ0000 | ||||
|         public fPurchase_excelimport() | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|             Properties.Settings.Default["EEEntities"] = FCOMMON.info.CS; | ||||
|             this.FormClosed += __Closed; | ||||
|         } | ||||
|  | ||||
|   | ||||
| @@ -14,6 +14,8 @@ namespace FEQ0000.Purchase | ||||
|         public rPurchase() | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|             Properties.Settings.Default["EEEntities"] = FCOMMON.info.CS; | ||||
|         } | ||||
|  | ||||
|         private void rPurchase_Load(object sender, EventArgs e) | ||||
|   | ||||
| @@ -17,6 +17,12 @@ namespace FPJ0000.JobReport_ | ||||
|         public fJobChartMenu() | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|  | ||||
|             Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; | ||||
|             Properties.Settings.Default["EEEntities"] = FCOMMON.info.CS; | ||||
|             Properties.Settings.Default["EEEntitiesLayout"] = FCOMMON.info.CS; | ||||
|  | ||||
|  | ||||
|             this.dts.Value = DateTime.Parse(DateTime.Now.AddMonths(-1).ToString("yyyy-MM-01")); | ||||
|             this.dte.Value = DateTime.Parse(DateTime.Now.ToString("yyyy-MM-01")).AddDays(-1); | ||||
|         } | ||||
|   | ||||
| @@ -16,6 +16,7 @@ namespace FPM0000 | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             this.dsMSSQL.SPMaster.TableNewRow += minutes_TableNewRow; | ||||
|              | ||||
|         } | ||||
|  | ||||
|         void minutes_TableNewRow(object sender, DataTableNewRowEventArgs e) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 chi
					chi