...
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,9 +506,20 @@ namespace Project
|
||||
|
||||
public static void RunExplorer(string arg)
|
||||
{
|
||||
System.Diagnostics.ProcessStartInfo si = new ProcessStartInfo("explorer");
|
||||
si.Arguments = arg;
|
||||
System.Diagnostics.Process.Start(si);
|
||||
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"
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -1,34 +1,35 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace FCM0000.Inventory
|
||||
{
|
||||
public partial class RepInvStockUser : Form
|
||||
{
|
||||
string userid = string.Empty;
|
||||
public RepInvStockUser(string uid)
|
||||
{
|
||||
InitializeComponent();
|
||||
this.userid = uid;
|
||||
}
|
||||
|
||||
private void RepInvStock_Load(object sender, EventArgs e)
|
||||
{
|
||||
try
|
||||
{
|
||||
this.ta.Fill(this.dSReport.PersonInvStock, this.userid);
|
||||
this.reportViewer1.RefreshReport();
|
||||
}catch (Exception ex)
|
||||
{
|
||||
FCOMMON.Util.MsgE(ex.Message);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace FCM0000.Inventory
|
||||
{
|
||||
public partial class RepInvStockUser : Form
|
||||
{
|
||||
string userid = string.Empty;
|
||||
public RepInvStockUser(string uid)
|
||||
{
|
||||
InitializeComponent();
|
||||
Properties.Settings.Default["gwcs"] = FCOMMON.info.CS;
|
||||
this.userid = uid;
|
||||
}
|
||||
|
||||
private void RepInvStock_Load(object sender, EventArgs e)
|
||||
{
|
||||
try
|
||||
{
|
||||
this.ta.Fill(this.dSReport.PersonInvStock, this.userid);
|
||||
this.reportViewer1.RefreshReport();
|
||||
}catch (Exception ex)
|
||||
{
|
||||
FCOMMON.Util.MsgE(ex.Message);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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");
|
||||
|
||||
@@ -1,80 +1,81 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace FCM0000.Inventory
|
||||
{
|
||||
public partial class fInventoryJagoPlace : FCOMMON.fBase
|
||||
{
|
||||
public fInventoryJagoPlace(int itemIndex,string itemname)
|
||||
{
|
||||
|
||||
InitializeComponent();
|
||||
this.tbPumIDX.Text = itemIndex.ToString();
|
||||
this.tbPumName.Text = itemname;
|
||||
this.tbPumName.Tag = itemname;
|
||||
this.tbPumName.KeyDown += (s1, e1) => { if (e1.KeyCode == Keys.Enter) Lov_Item(tbPumName.Text, false); };
|
||||
}
|
||||
|
||||
private void fInventoryJagoPlace_Load(object sender, EventArgs e)
|
||||
{
|
||||
this.Show();
|
||||
Application.DoEvents();
|
||||
button1.PerformClick();
|
||||
}
|
||||
|
||||
private void linkLabel5_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
||||
{
|
||||
Lov_Item("", true);
|
||||
}
|
||||
void Lov_Item(string search, Boolean allowAll)
|
||||
{
|
||||
if (search == "" && allowAll == false)
|
||||
{
|
||||
FCOMMON.Util.MsgE("품명은 필수 값 입니다");
|
||||
tbPumName.Focus();
|
||||
return;
|
||||
}
|
||||
else if (search.ToLower() != tbPumName.Tag.ToString().ToLower() || tbPumIDX.Text == "-1" || tbPumIDX.Text == "") //값이 바뀌엇다면 검색을 해준다.
|
||||
{
|
||||
var f = new FCM0000.fLovItem(search);
|
||||
if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||
{
|
||||
//인덱스값이 다르면 모델 및 가격을 업데이트 한다.
|
||||
tbPumName.Text = f.itemName;
|
||||
tbPumName.Tag = f.itemName;
|
||||
|
||||
this.tbPumIDX.Text = f.item.ToString();
|
||||
//this.tbPumModel.Text = f.itemmodel;
|
||||
//this.tbPumPrice.Text = f.itemprice.ToString();
|
||||
//this.tbSID.Text = f.SID;
|
||||
//this.tbSID.Tag = f.SID;
|
||||
//this.tbPumModel.Enabled = false;
|
||||
//if (tbSID.Text != "") tbSID.Enabled = false;
|
||||
//else tbSID.Enabled = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
void refreshData()
|
||||
{
|
||||
var itmidx = 0;
|
||||
if(!int.TryParse(tbPumIDX.Text,out itmidx))
|
||||
{
|
||||
FCOMMON.Util.MsgE("품목을 먼저 선택하세요");
|
||||
return;
|
||||
}
|
||||
this.ta.FillByItemIdx(this.dSReport.jagosummaryPlace, FCOMMON.info.Login.gcode, DateTime.Now.ToShortDateString(), itmidx);
|
||||
}
|
||||
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
refreshData();
|
||||
}
|
||||
}
|
||||
}
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace FCM0000.Inventory
|
||||
{
|
||||
public partial class fInventoryJagoPlace : FCOMMON.fBase
|
||||
{
|
||||
public fInventoryJagoPlace(int itemIndex,string itemname)
|
||||
{
|
||||
|
||||
InitializeComponent();
|
||||
Properties.Settings.Default["gwcs"] = FCOMMON.info.CS;
|
||||
this.tbPumIDX.Text = itemIndex.ToString();
|
||||
this.tbPumName.Text = itemname;
|
||||
this.tbPumName.Tag = itemname;
|
||||
this.tbPumName.KeyDown += (s1, e1) => { if (e1.KeyCode == Keys.Enter) Lov_Item(tbPumName.Text, false); };
|
||||
}
|
||||
|
||||
private void fInventoryJagoPlace_Load(object sender, EventArgs e)
|
||||
{
|
||||
this.Show();
|
||||
Application.DoEvents();
|
||||
button1.PerformClick();
|
||||
}
|
||||
|
||||
private void linkLabel5_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
||||
{
|
||||
Lov_Item("", true);
|
||||
}
|
||||
void Lov_Item(string search, Boolean allowAll)
|
||||
{
|
||||
if (search == "" && allowAll == false)
|
||||
{
|
||||
FCOMMON.Util.MsgE("품명은 필수 값 입니다");
|
||||
tbPumName.Focus();
|
||||
return;
|
||||
}
|
||||
else if (search.ToLower() != tbPumName.Tag.ToString().ToLower() || tbPumIDX.Text == "-1" || tbPumIDX.Text == "") //값이 바뀌엇다면 검색을 해준다.
|
||||
{
|
||||
var f = new FCM0000.fLovItem(search);
|
||||
if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||
{
|
||||
//인덱스값이 다르면 모델 및 가격을 업데이트 한다.
|
||||
tbPumName.Text = f.itemName;
|
||||
tbPumName.Tag = f.itemName;
|
||||
|
||||
this.tbPumIDX.Text = f.item.ToString();
|
||||
//this.tbPumModel.Text = f.itemmodel;
|
||||
//this.tbPumPrice.Text = f.itemprice.ToString();
|
||||
//this.tbSID.Text = f.SID;
|
||||
//this.tbSID.Tag = f.SID;
|
||||
//this.tbPumModel.Enabled = false;
|
||||
//if (tbSID.Text != "") tbSID.Enabled = false;
|
||||
//else tbSID.Enabled = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
void refreshData()
|
||||
{
|
||||
var itmidx = 0;
|
||||
if(!int.TryParse(tbPumIDX.Text,out itmidx))
|
||||
{
|
||||
FCOMMON.Util.MsgE("품목을 먼저 선택하세요");
|
||||
return;
|
||||
}
|
||||
this.ta.FillByItemIdx(this.dSReport.jagosummaryPlace, FCOMMON.info.Login.gcode, DateTime.Now.ToShortDateString(), itmidx);
|
||||
}
|
||||
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
refreshData();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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");
|
||||
|
||||
|
||||
@@ -1,100 +1,102 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace FCM0000
|
||||
{
|
||||
public partial class fLovOneItem : Form
|
||||
{
|
||||
public string Title { get; set; }
|
||||
DataTable dt;
|
||||
|
||||
public fLovOneItem(List<string> lists)
|
||||
{
|
||||
InitializeComponent();
|
||||
this.StartPosition = FormStartPosition.CenterScreen;
|
||||
Title = string.Empty;
|
||||
dt = new DataTable();
|
||||
dt.Columns.Add("item");
|
||||
foreach (var item in lists)
|
||||
dt.Rows.Add(new string[] { item });
|
||||
|
||||
this.KeyPreview = true;
|
||||
this.KeyDown += (s1, e1) => {
|
||||
if (e1.KeyCode == Keys.Escape) this.Close();
|
||||
};
|
||||
|
||||
}
|
||||
public fLovOneItem(Dictionary<string,string> lists)
|
||||
{
|
||||
InitializeComponent();
|
||||
Title = string.Empty;
|
||||
dt = new DataTable();
|
||||
dt.Columns.Add("item");
|
||||
dt.Columns.Add("Desc");
|
||||
foreach (var item in lists)
|
||||
dt.Rows.Add(new string[] { item.Key ,item.Value});
|
||||
|
||||
this.KeyPreview = true;
|
||||
this.KeyDown += (s1, e1) =>
|
||||
{
|
||||
if (e1.KeyCode == Keys.Escape) this.Close();
|
||||
};
|
||||
|
||||
}
|
||||
private void fLovItem_Load(object sender, EventArgs e)
|
||||
{
|
||||
this.bs.DataSource = this.dt;
|
||||
this.bn.BindingSource = this.bs;
|
||||
this.dv.DataSource = this.bs;
|
||||
|
||||
if(dv.Columns.Count > 1)
|
||||
this.dv.Columns[1].AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
|
||||
else
|
||||
this.dv.Columns[0].AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
|
||||
}
|
||||
|
||||
|
||||
private void bs_CurrentChanged(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void dv_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Enter)
|
||||
{
|
||||
|
||||
btOK.PerformClick();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void itemsBindingNavigatorSaveItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
var drv = bs.Current as DataRowView;
|
||||
if (drv == null)
|
||||
{
|
||||
Title = string.Empty;
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
Title = drv[0].ToString();
|
||||
}
|
||||
|
||||
if (Title.isEmpty()) DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||||
else DialogResult = System.Windows.Forms.DialogResult.OK;
|
||||
}
|
||||
|
||||
private void dv_DoubleClick(object sender, EventArgs e)
|
||||
{
|
||||
btOK.PerformClick();
|
||||
}
|
||||
}
|
||||
}
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace FCM0000
|
||||
{
|
||||
public partial class fLovOneItem : Form
|
||||
{
|
||||
public string Title { get; set; }
|
||||
DataTable dt;
|
||||
|
||||
public fLovOneItem(List<string> lists)
|
||||
{
|
||||
InitializeComponent();
|
||||
Properties.Settings.Default["gwcs"] = FCOMMON.info.CS;
|
||||
|
||||
this.StartPosition = FormStartPosition.CenterScreen;
|
||||
Title = string.Empty;
|
||||
dt = new DataTable();
|
||||
dt.Columns.Add("item");
|
||||
foreach (var item in lists)
|
||||
dt.Rows.Add(new string[] { item });
|
||||
|
||||
this.KeyPreview = true;
|
||||
this.KeyDown += (s1, e1) => {
|
||||
if (e1.KeyCode == Keys.Escape) this.Close();
|
||||
};
|
||||
|
||||
}
|
||||
public fLovOneItem(Dictionary<string,string> lists)
|
||||
{
|
||||
InitializeComponent();
|
||||
Title = string.Empty;
|
||||
dt = new DataTable();
|
||||
dt.Columns.Add("item");
|
||||
dt.Columns.Add("Desc");
|
||||
foreach (var item in lists)
|
||||
dt.Rows.Add(new string[] { item.Key ,item.Value});
|
||||
|
||||
this.KeyPreview = true;
|
||||
this.KeyDown += (s1, e1) =>
|
||||
{
|
||||
if (e1.KeyCode == Keys.Escape) this.Close();
|
||||
};
|
||||
|
||||
}
|
||||
private void fLovItem_Load(object sender, EventArgs e)
|
||||
{
|
||||
this.bs.DataSource = this.dt;
|
||||
this.bn.BindingSource = this.bs;
|
||||
this.dv.DataSource = this.bs;
|
||||
|
||||
if(dv.Columns.Count > 1)
|
||||
this.dv.Columns[1].AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
|
||||
else
|
||||
this.dv.Columns[0].AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
|
||||
}
|
||||
|
||||
|
||||
private void bs_CurrentChanged(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void dv_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Enter)
|
||||
{
|
||||
|
||||
btOK.PerformClick();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void itemsBindingNavigatorSaveItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
var drv = bs.Current as DataRowView;
|
||||
if (drv == null)
|
||||
{
|
||||
Title = string.Empty;
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
Title = drv[0].ToString();
|
||||
}
|
||||
|
||||
if (Title.isEmpty()) DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||||
else DialogResult = System.Windows.Forms.DialogResult.OK;
|
||||
}
|
||||
|
||||
private void dv_DoubleClick(object sender, EventArgs e)
|
||||
{
|
||||
btOK.PerformClick();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -1,117 +1,118 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace FCM0000
|
||||
{
|
||||
public partial class fLovUser : FCOMMON.fBase
|
||||
{
|
||||
string fn_fpcolsize = "";
|
||||
string keyword = string.Empty;
|
||||
|
||||
public string userEmail { get; set; }
|
||||
public string userID { get; set; }
|
||||
public string userName { get; set; }
|
||||
public string userTel { get; set; }
|
||||
|
||||
|
||||
public fLovUser(string search_)
|
||||
{
|
||||
InitializeComponent();
|
||||
fn_fpcolsize = System.IO.Path.Combine(FCOMMON.Util.CurrentPath, "formSetting", "fp_" + this.Name + ".ini");
|
||||
this.keyword = search_;
|
||||
this.fpSpread1.KeyDown += fpSpread1_KeyDown;
|
||||
this.fpSpread1.CellDoubleClick += fpSpread1_CellDoubleClick;
|
||||
|
||||
//clear data
|
||||
userEmail = string.Empty;
|
||||
userID = string.Empty;
|
||||
userName = string.Empty;
|
||||
userTel = string.Empty;
|
||||
}
|
||||
|
||||
void fpSpread1_CellDoubleClick(object sender, FarPoint.Win.Spread.CellClickEventArgs e)
|
||||
{
|
||||
btOK.PerformClick();
|
||||
}
|
||||
|
||||
void fpSpread1_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Enter)
|
||||
{
|
||||
btOK.PerformClick();
|
||||
}
|
||||
}
|
||||
|
||||
private void fLovItem_Load(object sender, EventArgs e)
|
||||
{
|
||||
this.Text = string.Format("사용자선택({0})",this.keyword);
|
||||
this.Show();
|
||||
Application.DoEvents();
|
||||
refreshData();
|
||||
}
|
||||
|
||||
void refreshData()
|
||||
{
|
||||
|
||||
try
|
||||
{
|
||||
if (keyword == "" || keyword == "%" || keyword == "%%") this.ta.Fill(this.dSUser.Users);
|
||||
else this.ta.FillBySearch(this.dSUser.Users, keyword );
|
||||
FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize);
|
||||
}
|
||||
catch (Exception eX)
|
||||
{
|
||||
FCOMMON.Util.MsgE(eX.Message);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private void btSelect_Cliock(object sender, EventArgs e)
|
||||
{
|
||||
var drv = bs.Current as DataRowView;
|
||||
if (drv == null) return;
|
||||
else
|
||||
{
|
||||
var dr = drv.Row as DSUser.UsersRow;//.CustomsRow;
|
||||
userID = dr.id;
|
||||
userName = dr.name;
|
||||
userEmail = dr.email;
|
||||
userTel = dr.tel;
|
||||
}
|
||||
DialogResult = System.Windows.Forms.DialogResult.OK;
|
||||
}
|
||||
|
||||
|
||||
private void saveToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
FPUtil.ColsizeSave(this.fpSpread1, fn_fpcolsize);
|
||||
}
|
||||
|
||||
private void loadToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize);
|
||||
}
|
||||
|
||||
private void exportListToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
SaveFileDialog sd = new SaveFileDialog();
|
||||
sd.Filter = "excel|*.xls";
|
||||
sd.FileName = "userlist.xls";
|
||||
if (sd.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||
{
|
||||
fpSpread1.SaveExcel(sd.FileName,
|
||||
FarPoint.Excel.ExcelSaveFlags.SaveAsViewed
|
||||
| FarPoint.Excel.ExcelSaveFlags.SaveAsFiltered
|
||||
| FarPoint.Excel.ExcelSaveFlags.NoFormulas
|
||||
| FarPoint.Excel.ExcelSaveFlags.SaveCustomColumnHeaders);
|
||||
FCOMMON.Util.MsgI("다음 파일이 생성 되었습니다.\n\n" + sd.FileName);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace FCM0000
|
||||
{
|
||||
public partial class fLovUser : FCOMMON.fBase
|
||||
{
|
||||
string fn_fpcolsize = "";
|
||||
string keyword = string.Empty;
|
||||
|
||||
public string userEmail { get; set; }
|
||||
public string userID { get; set; }
|
||||
public string userName { get; set; }
|
||||
public string userTel { get; set; }
|
||||
|
||||
|
||||
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;
|
||||
this.fpSpread1.CellDoubleClick += fpSpread1_CellDoubleClick;
|
||||
|
||||
//clear data
|
||||
userEmail = string.Empty;
|
||||
userID = string.Empty;
|
||||
userName = string.Empty;
|
||||
userTel = string.Empty;
|
||||
}
|
||||
|
||||
void fpSpread1_CellDoubleClick(object sender, FarPoint.Win.Spread.CellClickEventArgs e)
|
||||
{
|
||||
btOK.PerformClick();
|
||||
}
|
||||
|
||||
void fpSpread1_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Enter)
|
||||
{
|
||||
btOK.PerformClick();
|
||||
}
|
||||
}
|
||||
|
||||
private void fLovItem_Load(object sender, EventArgs e)
|
||||
{
|
||||
this.Text = string.Format("사용자선택({0})",this.keyword);
|
||||
this.Show();
|
||||
Application.DoEvents();
|
||||
refreshData();
|
||||
}
|
||||
|
||||
void refreshData()
|
||||
{
|
||||
|
||||
try
|
||||
{
|
||||
if (keyword == "" || keyword == "%" || keyword == "%%") this.ta.Fill(this.dSUser.Users);
|
||||
else this.ta.FillBySearch(this.dSUser.Users, keyword );
|
||||
FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize);
|
||||
}
|
||||
catch (Exception eX)
|
||||
{
|
||||
FCOMMON.Util.MsgE(eX.Message);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private void btSelect_Cliock(object sender, EventArgs e)
|
||||
{
|
||||
var drv = bs.Current as DataRowView;
|
||||
if (drv == null) return;
|
||||
else
|
||||
{
|
||||
var dr = drv.Row as DSUser.UsersRow;//.CustomsRow;
|
||||
userID = dr.id;
|
||||
userName = dr.name;
|
||||
userEmail = dr.email;
|
||||
userTel = dr.tel;
|
||||
}
|
||||
DialogResult = System.Windows.Forms.DialogResult.OK;
|
||||
}
|
||||
|
||||
|
||||
private void saveToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
FPUtil.ColsizeSave(this.fpSpread1, fn_fpcolsize);
|
||||
}
|
||||
|
||||
private void loadToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize);
|
||||
}
|
||||
|
||||
private void exportListToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
SaveFileDialog sd = new SaveFileDialog();
|
||||
sd.Filter = "excel|*.xls";
|
||||
sd.FileName = "userlist.xls";
|
||||
if (sd.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||
{
|
||||
fpSpread1.SaveExcel(sd.FileName,
|
||||
FarPoint.Excel.ExcelSaveFlags.SaveAsViewed
|
||||
| FarPoint.Excel.ExcelSaveFlags.SaveAsFiltered
|
||||
| FarPoint.Excel.ExcelSaveFlags.NoFormulas
|
||||
| FarPoint.Excel.ExcelSaveFlags.SaveCustomColumnHeaders);
|
||||
FCOMMON.Util.MsgI("다음 파일이 생성 되었습니다.\n\n" + sd.FileName);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -1,78 +1,80 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace FCM0000
|
||||
{
|
||||
public partial class fLovSupply : Form
|
||||
{
|
||||
public string Title { get; set; }
|
||||
public int Index { get; set; }
|
||||
|
||||
string keyword = string.Empty;
|
||||
public fLovSupply(string search_)
|
||||
{
|
||||
InitializeComponent();
|
||||
Title = string.Empty;
|
||||
Index = -1;
|
||||
|
||||
this.keyword = search_;
|
||||
this.KeyPreview = true;
|
||||
this.KeyDown += (s1, e1) => {
|
||||
if (e1.KeyCode == Keys.Escape) this.Close();
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
private void fLovItem_Load(object sender, EventArgs e)
|
||||
{
|
||||
this.ta.FillSearch(this.dsMSSQL.Customs, "%" + this.keyword + "%",FCOMMON.info.Login.gcode);
|
||||
}
|
||||
|
||||
|
||||
private void bs_CurrentChanged(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void dv_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Enter)
|
||||
{
|
||||
|
||||
btOK.PerformClick();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void itemsBindingNavigatorSaveItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
var drv = bs.Current as DataRowView;
|
||||
if (drv == null)
|
||||
{
|
||||
Title = string.Empty;
|
||||
Index = -1;
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
var dr = drv.Row as dsMSSQL.CustomsRow;
|
||||
Index = dr.idx;
|
||||
Title = dr.name;
|
||||
}
|
||||
|
||||
if (Title.isEmpty() || Index == -1) DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||||
else DialogResult = System.Windows.Forms.DialogResult.OK;
|
||||
}
|
||||
|
||||
private void dv_DoubleClick(object sender, EventArgs e)
|
||||
{
|
||||
btOK.PerformClick();
|
||||
}
|
||||
}
|
||||
}
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace FCM0000
|
||||
{
|
||||
public partial class fLovSupply : Form
|
||||
{
|
||||
public string Title { get; set; }
|
||||
public int Index { get; set; }
|
||||
|
||||
string keyword = string.Empty;
|
||||
public fLovSupply(string search_)
|
||||
{
|
||||
InitializeComponent();
|
||||
Properties.Settings.Default["gwcs"] = FCOMMON.info.CS;
|
||||
|
||||
Title = string.Empty;
|
||||
Index = -1;
|
||||
|
||||
this.keyword = search_;
|
||||
this.KeyPreview = true;
|
||||
this.KeyDown += (s1, e1) => {
|
||||
if (e1.KeyCode == Keys.Escape) this.Close();
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
private void fLovItem_Load(object sender, EventArgs e)
|
||||
{
|
||||
this.ta.FillSearch(this.dsMSSQL.Customs, "%" + this.keyword + "%",FCOMMON.info.Login.gcode);
|
||||
}
|
||||
|
||||
|
||||
private void bs_CurrentChanged(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void dv_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Enter)
|
||||
{
|
||||
|
||||
btOK.PerformClick();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void itemsBindingNavigatorSaveItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
var drv = bs.Current as DataRowView;
|
||||
if (drv == null)
|
||||
{
|
||||
Title = string.Empty;
|
||||
Index = -1;
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
var dr = drv.Row as dsMSSQL.CustomsRow;
|
||||
Index = dr.idx;
|
||||
Title = dr.name;
|
||||
}
|
||||
|
||||
if (Title.isEmpty() || Index == -1) DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||||
else DialogResult = System.Windows.Forms.DialogResult.OK;
|
||||
}
|
||||
|
||||
private void dv_DoubleClick(object sender, EventArgs e)
|
||||
{
|
||||
btOK.PerformClick();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,6 +16,7 @@ namespace FCM0000
|
||||
public fMaterial_Import()
|
||||
{
|
||||
InitializeComponent();
|
||||
Properties.Settings.Default["gwcs"] = FCOMMON.info.CS;
|
||||
this.FormClosed += __Closed;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,45 +1,46 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace FCM0000
|
||||
{
|
||||
public partial class fSelectDate : Form
|
||||
{
|
||||
private DateTime _dtSelect = DateTime.Now;
|
||||
public DateTime dtSelect
|
||||
{
|
||||
get
|
||||
{
|
||||
return _dtSelect;
|
||||
}
|
||||
set
|
||||
{
|
||||
_dtSelect = value;
|
||||
}
|
||||
}
|
||||
|
||||
public fSelectDate(string dtstr) : this(DateTime.Parse(dtstr)) { }
|
||||
public fSelectDate(DateTime dt)
|
||||
{
|
||||
InitializeComponent();
|
||||
this.monthCalendar1.SetDate(dt);
|
||||
}
|
||||
|
||||
private void fSelectDate_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void btOK_Click(object sender, EventArgs e)
|
||||
{
|
||||
dtSelect = this.monthCalendar1.SelectionStart;
|
||||
DialogResult = System.Windows.Forms.DialogResult.OK;
|
||||
}
|
||||
}
|
||||
}
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace FCM0000
|
||||
{
|
||||
public partial class fSelectDate : Form
|
||||
{
|
||||
private DateTime _dtSelect = DateTime.Now;
|
||||
public DateTime dtSelect
|
||||
{
|
||||
get
|
||||
{
|
||||
return _dtSelect;
|
||||
}
|
||||
set
|
||||
{
|
||||
_dtSelect = value;
|
||||
}
|
||||
}
|
||||
|
||||
public fSelectDate(string dtstr) : this(DateTime.Parse(dtstr)) { }
|
||||
public fSelectDate(DateTime dt)
|
||||
{
|
||||
InitializeComponent();
|
||||
Properties.Settings.Default["gwcs"] = FCOMMON.info.CS;
|
||||
this.monthCalendar1.SetDate(dt);
|
||||
}
|
||||
|
||||
private void fSelectDate_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void btOK_Click(object sender, EventArgs e)
|
||||
{
|
||||
dtSelect = this.monthCalendar1.SelectionStart;
|
||||
DialogResult = System.Windows.Forms.DialogResult.OK;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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