휴가 승인자 정보 추적
This commit is contained in:
1
SubProject/FPJ0000/.vs/FPJ0000.csproj.dtbcache.json
Normal file
1
SubProject/FPJ0000/.vs/FPJ0000.csproj.dtbcache.json
Normal file
File diff suppressed because one or more lines are too long
141
SubProject/FPJ0000/DSKuntae.Designer.cs
generated
141
SubProject/FPJ0000/DSKuntae.Designer.cs
generated
@@ -327,6 +327,10 @@ namespace FPJ0000 {
|
||||
|
||||
private global::System.Data.DataColumn columnetime;
|
||||
|
||||
private global::System.Data.DataColumn columnconf_id;
|
||||
|
||||
private global::System.Data.DataColumn columnconf_time;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
public EETGW_HolydayRequestDataTable() {
|
||||
@@ -552,6 +556,22 @@ namespace FPJ0000 {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
public global::System.Data.DataColumn conf_idColumn {
|
||||
get {
|
||||
return this.columnconf_id;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
public global::System.Data.DataColumn conf_timeColumn {
|
||||
get {
|
||||
return this.columnconf_time;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
[global::System.ComponentModel.Browsable(false)]
|
||||
@@ -612,7 +632,9 @@ namespace FPJ0000 {
|
||||
double HolyTimes,
|
||||
bool sendmail,
|
||||
string stime,
|
||||
string etime) {
|
||||
string etime,
|
||||
string conf_id,
|
||||
System.DateTime conf_time) {
|
||||
EETGW_HolydayRequestRow rowEETGW_HolydayRequestRow = ((EETGW_HolydayRequestRow)(this.NewRow()));
|
||||
object[] columnValuesArray = new object[] {
|
||||
null,
|
||||
@@ -638,7 +660,9 @@ namespace FPJ0000 {
|
||||
HolyTimes,
|
||||
sendmail,
|
||||
stime,
|
||||
etime};
|
||||
etime,
|
||||
conf_id,
|
||||
conf_time};
|
||||
rowEETGW_HolydayRequestRow.ItemArray = columnValuesArray;
|
||||
this.Rows.Add(rowEETGW_HolydayRequestRow);
|
||||
return rowEETGW_HolydayRequestRow;
|
||||
@@ -692,6 +716,8 @@ namespace FPJ0000 {
|
||||
this.columnsendmail = base.Columns["sendmail"];
|
||||
this.columnstime = base.Columns["stime"];
|
||||
this.columnetime = base.Columns["etime"];
|
||||
this.columnconf_id = base.Columns["conf_id"];
|
||||
this.columnconf_time = base.Columns["conf_time"];
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -745,6 +771,10 @@ namespace FPJ0000 {
|
||||
base.Columns.Add(this.columnstime);
|
||||
this.columnetime = new global::System.Data.DataColumn("etime", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnetime);
|
||||
this.columnconf_id = new global::System.Data.DataColumn("conf_id", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnconf_id);
|
||||
this.columnconf_time = new global::System.Data.DataColumn("conf_time", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnconf_time);
|
||||
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
||||
this.columnidx}, true));
|
||||
this.columnidx.AutoIncrement = true;
|
||||
@@ -775,6 +805,7 @@ namespace FPJ0000 {
|
||||
this.columnHolyLocation.MaxLength = 100;
|
||||
this.columnstime.MaxLength = 10;
|
||||
this.columnetime.MaxLength = 10;
|
||||
this.columnconf_id.MaxLength = 20;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -1279,6 +1310,38 @@ namespace FPJ0000 {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
public string conf_id {
|
||||
get {
|
||||
try {
|
||||
return ((string)(this[this.tableEETGW_HolydayRequest.conf_idColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("\'EETGW_HolydayRequest\' 테이블의 \'conf_id\' 열의 값이 DBNull입니다.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tableEETGW_HolydayRequest.conf_idColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
public System.DateTime conf_time {
|
||||
get {
|
||||
try {
|
||||
return ((global::System.DateTime)(this[this.tableEETGW_HolydayRequest.conf_timeColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("\'EETGW_HolydayRequest\' 테이블의 \'conf_time\' 열의 값이 DBNull입니다.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tableEETGW_HolydayRequest.conf_timeColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
public bool IsuidNull() {
|
||||
@@ -1518,6 +1581,30 @@ namespace FPJ0000 {
|
||||
public void SetetimeNull() {
|
||||
this[this.tableEETGW_HolydayRequest.etimeColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
public bool Isconf_idNull() {
|
||||
return this.IsNull(this.tableEETGW_HolydayRequest.conf_idColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
public void Setconf_idNull() {
|
||||
this[this.tableEETGW_HolydayRequest.conf_idColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
public bool Isconf_timeNull() {
|
||||
return this.IsNull(this.tableEETGW_HolydayRequest.conf_timeColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
public void Setconf_timeNull() {
|
||||
this[this.tableEETGW_HolydayRequest.conf_timeColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -1703,6 +1790,8 @@ namespace FPJ0000.DSKuntaeTableAdapters {
|
||||
tableMapping.ColumnMappings.Add("sendmail", "sendmail");
|
||||
tableMapping.ColumnMappings.Add("stime", "stime");
|
||||
tableMapping.ColumnMappings.Add("etime", "etime");
|
||||
tableMapping.ColumnMappings.Add("conf_id", "conf_id");
|
||||
tableMapping.ColumnMappings.Add("conf_time", "conf_time");
|
||||
this._adapter.TableMappings.Add(tableMapping);
|
||||
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._adapter.DeleteCommand.Connection = this.Connection;
|
||||
@@ -1712,8 +1801,8 @@ namespace FPJ0000.DSKuntaeTableAdapters {
|
||||
this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._adapter.InsertCommand.Connection = this.Connection;
|
||||
this._adapter.InsertCommand.CommandText = @"INSERT INTO EETGW_HolydayRequest
|
||||
(gcode, uid, cate, sdate, edate, conf, Remark, wuid, wdate, Response, HolyReason, HolyBackup, HolyLocation, HolyDays, HolyTimes, sendmail, stime, etime)
|
||||
VALUES (@gcode,@uid,@cate,@sdate,@edate,@conf,@Remark,@wuid,@wdate,@Response,@HolyReason,@HolyBackup,@HolyLocation,@HolyDays,@HolyTimes,@sendmail,@stime,@etime);
|
||||
(gcode, uid, cate, sdate, edate, conf, Remark, wuid, wdate, Response, HolyReason, HolyBackup, HolyLocation, HolyDays, HolyTimes, sendmail, stime, etime, conf_id, conf_time)
|
||||
VALUES (@gcode,@uid,@cate,@sdate,@edate,@conf,@Remark,@wuid,@wdate,@Response,@HolyReason,@HolyBackup,@HolyLocation,@HolyDays,@HolyTimes,@sendmail,@stime,@etime,@conf_id,@conf_time);
|
||||
SELECT idx, gcode, uid, cate, sdate, edate, conf, Remark, wuid, wdate FROM EETGW_HolydayRequest WHERE (idx = SCOPE_IDENTITY()) ORDER BY conf, sdate DESC";
|
||||
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
@@ -1734,13 +1823,15 @@ SELECT idx, gcode, uid, cate, sdate, edate, conf, Remark, wuid, wdate FROM EETGW
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sendmail", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "sendmail", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@stime", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "stime", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@etime", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "etime", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@conf_id", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "conf_id", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@conf_time", global::System.Data.SqlDbType.SmallDateTime, 4, global::System.Data.ParameterDirection.Input, 0, 0, "conf_time", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._adapter.UpdateCommand.Connection = this.Connection;
|
||||
this._adapter.UpdateCommand.CommandText = @"UPDATE EETGW_HolydayRequest
|
||||
SET gcode = @gcode, uid = @uid, cate = @cate, sdate = @sdate, edate = @edate, conf = @conf, Remark = @Remark, wuid = @wuid, wdate = @wdate, Response = @Response,
|
||||
HolyReason = @HolyReason, HolyBackup = @HolyBackup, HolyLocation = @HolyLocation, HolyDays = @HolyDays, HolyTimes = @HolyTimes, sendmail = @sendmail, stime = @stime,
|
||||
etime = @etime
|
||||
WHERE (idx = @Original_idx);
|
||||
etime = @etime, conf_id = @conf_id, conf_time = @conf_time
|
||||
WHERE (idx = @Original_idx);
|
||||
SELECT idx, gcode, uid, cate, sdate, edate, conf, Remark, wuid, wdate FROM EETGW_HolydayRequest WHERE (idx = @idx) ORDER BY conf, sdate DESC";
|
||||
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
@@ -1761,6 +1852,8 @@ SELECT idx, gcode, uid, cate, sdate, edate, conf, Remark, wuid, wdate FROM EETGW
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sendmail", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "sendmail", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@stime", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "stime", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@etime", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "etime", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@conf_id", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "conf_id", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@conf_time", global::System.Data.SqlDbType.SmallDateTime, 4, global::System.Data.ParameterDirection.Input, 0, 0, "conf_time", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
}
|
||||
@@ -1782,7 +1875,7 @@ SELECT idx, gcode, uid, cate, sdate, edate, conf, Remark, wuid, wdate FROM EETGW
|
||||
EETGW_HolydayRequest.edate, EETGW_HolydayRequest.Remark, EETGW_HolydayRequest.wuid, EETGW_HolydayRequest.wdate, vGroupUser.dept, vGroupUser.name, vGroupUser.grade,
|
||||
vGroupUser.tel, vGroupUser.processs, EETGW_HolydayRequest.Response, EETGW_HolydayRequest.conf, EETGW_HolydayRequest.HolyReason, EETGW_HolydayRequest.HolyBackup,
|
||||
EETGW_HolydayRequest.HolyLocation, EETGW_HolydayRequest.HolyDays, EETGW_HolydayRequest.HolyTimes, EETGW_HolydayRequest.sendmail, EETGW_HolydayRequest.stime,
|
||||
EETGW_HolydayRequest.etime
|
||||
EETGW_HolydayRequest.etime, EETGW_HolydayRequest.conf_id, EETGW_HolydayRequest.conf_time
|
||||
FROM EETGW_HolydayRequest WITH (nolock) LEFT OUTER JOIN
|
||||
vGroupUser ON EETGW_HolydayRequest.uid = vGroupUser.id AND EETGW_HolydayRequest.gcode = vGroupUser.gcode
|
||||
WHERE (EETGW_HolydayRequest.gcode = @gcode) AND (EETGW_HolydayRequest.sdate >= @sd) AND (EETGW_HolydayRequest.sdate <= @ed)
|
||||
@@ -1926,7 +2019,9 @@ ORDER BY EETGW_HolydayRequest.conf, EETGW_HolydayRequest.sdate DESC";
|
||||
global::System.Nullable<double> HolyTimes,
|
||||
global::System.Nullable<bool> sendmail,
|
||||
string stime,
|
||||
string etime) {
|
||||
string etime,
|
||||
string conf_id,
|
||||
global::System.Nullable<global::System.DateTime> conf_time) {
|
||||
if ((gcode == null)) {
|
||||
throw new global::System.ArgumentNullException("gcode");
|
||||
}
|
||||
@@ -2030,6 +2125,18 @@ ORDER BY EETGW_HolydayRequest.conf, EETGW_HolydayRequest.sdate DESC";
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[17].Value = ((string)(etime));
|
||||
}
|
||||
if ((conf_id == null)) {
|
||||
this.Adapter.InsertCommand.Parameters[18].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[18].Value = ((string)(conf_id));
|
||||
}
|
||||
if ((conf_time.HasValue == true)) {
|
||||
this.Adapter.InsertCommand.Parameters[19].Value = ((System.DateTime)(conf_time.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[19].Value = global::System.DBNull.Value;
|
||||
}
|
||||
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
|
||||
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
||||
!= global::System.Data.ConnectionState.Open)) {
|
||||
@@ -2069,6 +2176,8 @@ ORDER BY EETGW_HolydayRequest.conf, EETGW_HolydayRequest.sdate DESC";
|
||||
global::System.Nullable<bool> sendmail,
|
||||
string stime,
|
||||
string etime,
|
||||
string conf_id,
|
||||
global::System.Nullable<global::System.DateTime> conf_time,
|
||||
int Original_idx,
|
||||
int idx) {
|
||||
if ((gcode == null)) {
|
||||
@@ -2174,8 +2283,20 @@ ORDER BY EETGW_HolydayRequest.conf, EETGW_HolydayRequest.sdate DESC";
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(etime));
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[18].Value = ((int)(Original_idx));
|
||||
this.Adapter.UpdateCommand.Parameters[19].Value = ((int)(idx));
|
||||
if ((conf_id == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(conf_id));
|
||||
}
|
||||
if ((conf_time.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[19].Value = ((System.DateTime)(conf_time.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value;
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[20].Value = ((int)(Original_idx));
|
||||
this.Adapter.UpdateCommand.Parameters[21].Value = ((int)(idx));
|
||||
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
|
||||
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
||||
!= global::System.Data.ConnectionState.Open)) {
|
||||
|
||||
@@ -20,30 +20,32 @@ WHERE (idx = @Original_idx)</CommandText>
|
||||
</DbCommand>
|
||||
</DeleteCommand>
|
||||
<InsertCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>INSERT INTO EETGW_HolydayRequest
|
||||
(gcode, uid, cate, sdate, edate, conf, Remark, wuid, wdate, Response, HolyReason, HolyBackup, HolyLocation, HolyDays, HolyTimes, sendmail, stime, etime)
|
||||
VALUES (@gcode,@uid,@cate,@sdate,@edate,@conf,@Remark,@wuid,@wdate,@Response,@HolyReason,@HolyBackup,@HolyLocation,@HolyDays,@HolyTimes,@sendmail,@stime,@etime);
|
||||
(gcode, uid, cate, sdate, edate, conf, Remark, wuid, wdate, Response, HolyReason, HolyBackup, HolyLocation, HolyDays, HolyTimes, sendmail, stime, etime, conf_id, conf_time)
|
||||
VALUES (@gcode,@uid,@cate,@sdate,@edate,@conf,@Remark,@wuid,@wdate,@Response,@HolyReason,@HolyBackup,@HolyLocation,@HolyDays,@HolyTimes,@sendmail,@stime,@etime,@conf_id,@conf_time);
|
||||
SELECT idx, gcode, uid, cate, sdate, edate, conf, Remark, wuid, wdate FROM EETGW_HolydayRequest WHERE (idx = SCOPE_IDENTITY()) ORDER BY conf, sdate DESC</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="gcode" ColumnName="gcode" DataSourceName="" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="uid" ColumnName="uid" DataSourceName="" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="cate" ColumnName="cate" DataSourceName="" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@cate" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="cate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="sdate" ColumnName="sdate" DataSourceName="" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@sdate" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="sdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="edate" ColumnName="edate" DataSourceName="" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@edate" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="edate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="conf" ColumnName="conf" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@conf" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="conf" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="Remark" ColumnName="Remark" DataSourceName="" DataTypeServer="varchar(255)" DbType="AnsiString" Direction="Input" ParameterName="@Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="255" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="wuid" ColumnName="wuid" DataSourceName="" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="wdate" ColumnName="wdate" DataSourceName="" DataTypeServer="smalldatetime" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="4" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="Response" ColumnName="Response" DataSourceName="" DataTypeServer="varchar(255)" DbType="AnsiString" Direction="Input" ParameterName="@Response" Precision="0" ProviderType="VarChar" Scale="0" Size="255" SourceColumn="Response" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="HolyReason" ColumnName="HolyReason" DataSourceName="" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@HolyReason" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="HolyReason" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="HolyBackup" ColumnName="HolyBackup" DataSourceName="" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@HolyBackup" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="HolyBackup" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="HolyLocation" ColumnName="HolyLocation" DataSourceName="" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@HolyLocation" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="HolyLocation" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="HolyDays" ColumnName="HolyDays" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@HolyDays" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="HolyDays" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="HolyTimes" ColumnName="HolyTimes" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@HolyTimes" Precision="0" ProviderType="Float" Scale="0" Size="8" SourceColumn="HolyTimes" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="sendmail" ColumnName="sendmail" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@sendmail" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="sendmail" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="stime" ColumnName="stime" DataSourceName="" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@stime" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="stime" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="etime" ColumnName="etime" DataSourceName="" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@etime" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="etime" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="gcode" ColumnName="gcode" DataSourceName="EE.dbo.EETGW_HolydayRequest" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="uid" ColumnName="uid" DataSourceName="EE.dbo.EETGW_HolydayRequest" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="cate" ColumnName="cate" DataSourceName="EE.dbo.EETGW_HolydayRequest" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@cate" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="cate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="sdate" ColumnName="sdate" DataSourceName="EE.dbo.EETGW_HolydayRequest" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@sdate" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="sdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="edate" ColumnName="edate" DataSourceName="EE.dbo.EETGW_HolydayRequest" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@edate" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="edate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="conf" ColumnName="conf" DataSourceName="EE.dbo.EETGW_HolydayRequest" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@conf" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="conf" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="Remark" ColumnName="Remark" DataSourceName="EE.dbo.EETGW_HolydayRequest" DataTypeServer="varchar(255)" DbType="AnsiString" Direction="Input" ParameterName="@Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="255" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="wuid" ColumnName="wuid" DataSourceName="EE.dbo.EETGW_HolydayRequest" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="wdate" ColumnName="wdate" DataSourceName="EE.dbo.EETGW_HolydayRequest" DataTypeServer="smalldatetime" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="4" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="Response" ColumnName="Response" DataSourceName="EE.dbo.EETGW_HolydayRequest" DataTypeServer="varchar(255)" DbType="AnsiString" Direction="Input" ParameterName="@Response" Precision="0" ProviderType="VarChar" Scale="0" Size="255" SourceColumn="Response" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="HolyReason" ColumnName="HolyReason" DataSourceName="EE.dbo.EETGW_HolydayRequest" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@HolyReason" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="HolyReason" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="HolyBackup" ColumnName="HolyBackup" DataSourceName="EE.dbo.EETGW_HolydayRequest" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@HolyBackup" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="HolyBackup" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="HolyLocation" ColumnName="HolyLocation" DataSourceName="EE.dbo.EETGW_HolydayRequest" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@HolyLocation" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="HolyLocation" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="HolyDays" ColumnName="HolyDays" DataSourceName="EE.dbo.EETGW_HolydayRequest" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@HolyDays" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="HolyDays" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="HolyTimes" ColumnName="HolyTimes" DataSourceName="EE.dbo.EETGW_HolydayRequest" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@HolyTimes" Precision="0" ProviderType="Float" Scale="0" Size="8" SourceColumn="HolyTimes" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="sendmail" ColumnName="sendmail" DataSourceName="EE.dbo.EETGW_HolydayRequest" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@sendmail" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="sendmail" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="stime" ColumnName="stime" DataSourceName="EE.dbo.EETGW_HolydayRequest" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@stime" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="stime" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="etime" ColumnName="etime" DataSourceName="EE.dbo.EETGW_HolydayRequest" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@etime" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="etime" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="conf_id" ColumnName="conf_id" DataSourceName="EE.dbo.EETGW_HolydayRequest" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@conf_id" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="conf_id" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="conf_time" ColumnName="conf_time" DataSourceName="EE.dbo.EETGW_HolydayRequest" DataTypeServer="smalldatetime" DbType="DateTime" Direction="Input" ParameterName="@conf_time" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="4" SourceColumn="conf_time" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</InsertCommand>
|
||||
@@ -53,7 +55,7 @@ SELECT idx, gcode, uid, cate, sdate, edate, conf, Remark, wuid, wdate FROM EETGW
|
||||
EETGW_HolydayRequest.edate, EETGW_HolydayRequest.Remark, EETGW_HolydayRequest.wuid, EETGW_HolydayRequest.wdate, vGroupUser.dept, vGroupUser.name, vGroupUser.grade,
|
||||
vGroupUser.tel, vGroupUser.processs, EETGW_HolydayRequest.Response, EETGW_HolydayRequest.conf, EETGW_HolydayRequest.HolyReason, EETGW_HolydayRequest.HolyBackup,
|
||||
EETGW_HolydayRequest.HolyLocation, EETGW_HolydayRequest.HolyDays, EETGW_HolydayRequest.HolyTimes, EETGW_HolydayRequest.sendmail, EETGW_HolydayRequest.stime,
|
||||
EETGW_HolydayRequest.etime
|
||||
EETGW_HolydayRequest.etime, EETGW_HolydayRequest.conf_id, EETGW_HolydayRequest.conf_time
|
||||
FROM EETGW_HolydayRequest WITH (nolock) LEFT OUTER JOIN
|
||||
vGroupUser ON EETGW_HolydayRequest.uid = vGroupUser.id AND EETGW_HolydayRequest.gcode = vGroupUser.gcode
|
||||
WHERE (EETGW_HolydayRequest.gcode = @gcode) AND (EETGW_HolydayRequest.sdate >= @sd) AND (EETGW_HolydayRequest.sdate <= @ed)
|
||||
@@ -66,34 +68,36 @@ ORDER BY EETGW_HolydayRequest.conf, EETGW_HolydayRequest.sdate DESC</CommandText
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
<UpdateCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>UPDATE EETGW_HolydayRequest
|
||||
SET gcode = @gcode, uid = @uid, cate = @cate, sdate = @sdate, edate = @edate, conf = @conf, Remark = @Remark, wuid = @wuid, wdate = @wdate, Response = @Response,
|
||||
HolyReason = @HolyReason, HolyBackup = @HolyBackup, HolyLocation = @HolyLocation, HolyDays = @HolyDays, HolyTimes = @HolyTimes, sendmail = @sendmail, stime = @stime,
|
||||
etime = @etime
|
||||
WHERE (idx = @Original_idx);
|
||||
etime = @etime, conf_id = @conf_id, conf_time = @conf_time
|
||||
WHERE (idx = @Original_idx);
|
||||
SELECT idx, gcode, uid, cate, sdate, edate, conf, Remark, wuid, wdate FROM EETGW_HolydayRequest WHERE (idx = @idx) ORDER BY conf, sdate DESC</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="gcode" ColumnName="gcode" DataSourceName="" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="uid" ColumnName="uid" DataSourceName="" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="cate" ColumnName="cate" DataSourceName="" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@cate" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="cate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="sdate" ColumnName="sdate" DataSourceName="" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@sdate" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="sdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="edate" ColumnName="edate" DataSourceName="" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@edate" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="edate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="conf" ColumnName="conf" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@conf" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="conf" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="Remark" ColumnName="Remark" DataSourceName="" DataTypeServer="varchar(255)" DbType="AnsiString" Direction="Input" ParameterName="@Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="255" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="wuid" ColumnName="wuid" DataSourceName="" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="wdate" ColumnName="wdate" DataSourceName="" DataTypeServer="smalldatetime" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="4" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="Response" ColumnName="Response" DataSourceName="" DataTypeServer="varchar(255)" DbType="AnsiString" Direction="Input" ParameterName="@Response" Precision="0" ProviderType="VarChar" Scale="0" Size="255" SourceColumn="Response" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="HolyReason" ColumnName="HolyReason" DataSourceName="" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@HolyReason" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="HolyReason" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="HolyBackup" ColumnName="HolyBackup" DataSourceName="" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@HolyBackup" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="HolyBackup" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="HolyLocation" ColumnName="HolyLocation" DataSourceName="" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@HolyLocation" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="HolyLocation" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="HolyDays" ColumnName="HolyDays" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@HolyDays" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="HolyDays" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="HolyTimes" ColumnName="HolyTimes" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@HolyTimes" Precision="0" ProviderType="Float" Scale="0" Size="8" SourceColumn="HolyTimes" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="sendmail" ColumnName="sendmail" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@sendmail" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="sendmail" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="stime" ColumnName="stime" DataSourceName="" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@stime" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="stime" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="etime" ColumnName="etime" DataSourceName="" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@etime" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="etime" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="Original_idx" ColumnName="idx" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="gcode" ColumnName="gcode" DataSourceName="EE.dbo.EETGW_HolydayRequest" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="uid" ColumnName="uid" DataSourceName="EE.dbo.EETGW_HolydayRequest" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="cate" ColumnName="cate" DataSourceName="EE.dbo.EETGW_HolydayRequest" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@cate" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="cate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="sdate" ColumnName="sdate" DataSourceName="EE.dbo.EETGW_HolydayRequest" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@sdate" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="sdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="edate" ColumnName="edate" DataSourceName="EE.dbo.EETGW_HolydayRequest" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@edate" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="edate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="conf" ColumnName="conf" DataSourceName="EE.dbo.EETGW_HolydayRequest" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@conf" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="conf" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="Remark" ColumnName="Remark" DataSourceName="EE.dbo.EETGW_HolydayRequest" DataTypeServer="varchar(255)" DbType="AnsiString" Direction="Input" ParameterName="@Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="255" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="wuid" ColumnName="wuid" DataSourceName="EE.dbo.EETGW_HolydayRequest" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="wdate" ColumnName="wdate" DataSourceName="EE.dbo.EETGW_HolydayRequest" DataTypeServer="smalldatetime" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="4" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="Response" ColumnName="Response" DataSourceName="EE.dbo.EETGW_HolydayRequest" DataTypeServer="varchar(255)" DbType="AnsiString" Direction="Input" ParameterName="@Response" Precision="0" ProviderType="VarChar" Scale="0" Size="255" SourceColumn="Response" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="HolyReason" ColumnName="HolyReason" DataSourceName="EE.dbo.EETGW_HolydayRequest" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@HolyReason" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="HolyReason" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="HolyBackup" ColumnName="HolyBackup" DataSourceName="EE.dbo.EETGW_HolydayRequest" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@HolyBackup" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="HolyBackup" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="HolyLocation" ColumnName="HolyLocation" DataSourceName="EE.dbo.EETGW_HolydayRequest" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@HolyLocation" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="HolyLocation" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="HolyDays" ColumnName="HolyDays" DataSourceName="EE.dbo.EETGW_HolydayRequest" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@HolyDays" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="HolyDays" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="HolyTimes" ColumnName="HolyTimes" DataSourceName="EE.dbo.EETGW_HolydayRequest" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@HolyTimes" Precision="0" ProviderType="Float" Scale="0" Size="8" SourceColumn="HolyTimes" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="sendmail" ColumnName="sendmail" DataSourceName="EE.dbo.EETGW_HolydayRequest" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@sendmail" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="sendmail" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="stime" ColumnName="stime" DataSourceName="EE.dbo.EETGW_HolydayRequest" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@stime" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="stime" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="etime" ColumnName="etime" DataSourceName="EE.dbo.EETGW_HolydayRequest" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@etime" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="etime" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="conf_id" ColumnName="conf_id" DataSourceName="EE.dbo.EETGW_HolydayRequest" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@conf_id" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="conf_id" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="conf_time" ColumnName="conf_time" DataSourceName="EE.dbo.EETGW_HolydayRequest" DataTypeServer="smalldatetime" DbType="DateTime" Direction="Input" ParameterName="@conf_time" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="4" SourceColumn="conf_time" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="Original_idx" ColumnName="idx" DataSourceName="EE.dbo.EETGW_HolydayRequest" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="EE.dbo.EETGW_HolydayRequest" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</UpdateCommand>
|
||||
@@ -124,6 +128,8 @@ SELECT idx, gcode, uid, cate, sdate, edate, conf, Remark, wuid, wdate FROM EETGW
|
||||
<Mapping SourceColumn="sendmail" DataSetColumn="sendmail" />
|
||||
<Mapping SourceColumn="stime" DataSetColumn="stime" />
|
||||
<Mapping SourceColumn="etime" DataSetColumn="etime" />
|
||||
<Mapping SourceColumn="conf_id" DataSetColumn="conf_id" />
|
||||
<Mapping SourceColumn="conf_time" DataSetColumn="conf_time" />
|
||||
</Mappings>
|
||||
<Sources />
|
||||
</TableAdapter>
|
||||
@@ -132,13 +138,13 @@ SELECT idx, gcode, uid, cate, sdate, edate, conf, Remark, wuid, wdate FROM EETGW
|
||||
</DataSource>
|
||||
</xs:appinfo>
|
||||
</xs:annotation>
|
||||
<xs:element name="DSKuntae" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_UserDSName="DSKuntae" msprop:Generator_DataSetName="DSKuntae">
|
||||
<xs:element name="DSKuntae" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="DSKuntae" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DSKuntae">
|
||||
<xs:complexType>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="EETGW_HolydayRequest" msprop:Generator_RowClassName="EETGW_HolydayRequestRow" msprop:Generator_RowEvHandlerName="EETGW_HolydayRequestRowChangeEventHandler" msprop:Generator_RowDeletedName="EETGW_HolydayRequestRowDeleted" msprop:Generator_RowDeletingName="EETGW_HolydayRequestRowDeleting" msprop:Generator_RowEvArgName="EETGW_HolydayRequestRowChangeEvent" msprop:Generator_TablePropName="EETGW_HolydayRequest" msprop:Generator_RowChangedName="EETGW_HolydayRequestRowChanged" msprop:Generator_RowChangingName="EETGW_HolydayRequestRowChanging" msprop:Generator_TableClassName="EETGW_HolydayRequestDataTable" msprop:Generator_UserTableName="EETGW_HolydayRequest" msprop:Generator_TableVarName="tableEETGW_HolydayRequest">
|
||||
<xs:element name="EETGW_HolydayRequest" msprop:Generator_RowEvHandlerName="EETGW_HolydayRequestRowChangeEventHandler" msprop:Generator_RowDeletedName="EETGW_HolydayRequestRowDeleted" msprop:Generator_RowDeletingName="EETGW_HolydayRequestRowDeleting" msprop:Generator_RowEvArgName="EETGW_HolydayRequestRowChangeEvent" msprop:Generator_TablePropName="EETGW_HolydayRequest" msprop:Generator_RowChangedName="EETGW_HolydayRequestRowChanged" msprop:Generator_UserTableName="EETGW_HolydayRequest" msprop:Generator_RowChangingName="EETGW_HolydayRequestRowChanging" msprop:Generator_RowClassName="EETGW_HolydayRequestRow" msprop:Generator_TableClassName="EETGW_HolydayRequestDataTable" msprop:Generator_TableVarName="tableEETGW_HolydayRequest">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_UserColumnName="idx" type="xs:int" />
|
||||
<xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnVarNameInTable="columnidx" type="xs:int" />
|
||||
<xs:element name="gcode" msprop:Generator_ColumnPropNameInTable="gcodeColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="gcode" msprop:Generator_UserColumnName="gcode" msprop:Generator_ColumnVarNameInTable="columngcode">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
@@ -181,14 +187,14 @@ SELECT idx, gcode, uid, cate, sdate, edate, conf, Remark, wuid, wdate FROM EETGW
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="wuid" msprop:Generator_ColumnPropNameInRow="wuid" msprop:Generator_ColumnPropNameInTable="wuidColumn" msprop:Generator_ColumnVarNameInTable="columnwuid" msprop:Generator_UserColumnName="wuid">
|
||||
<xs:element name="wuid" msprop:Generator_UserColumnName="wuid" msprop:Generator_ColumnPropNameInTable="wuidColumn" msprop:Generator_ColumnPropNameInRow="wuid" msprop:Generator_ColumnVarNameInTable="columnwuid">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="20" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="wdate" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_ColumnVarNameInTable="columnwdate" msprop:Generator_UserColumnName="wdate" type="xs:dateTime" />
|
||||
<xs:element name="wdate" msprop:Generator_UserColumnName="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" type="xs:dateTime" />
|
||||
<xs:element name="dept" msprop:Generator_ColumnPropNameInTable="deptColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="dept" msprop:Generator_UserColumnName="dept" msprop:Generator_ColumnVarNameInTable="columndept" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
@@ -270,6 +276,14 @@ SELECT idx, gcode, uid, cate, sdate, edate, conf, Remark, wuid, wdate FROM EETGW
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="conf_id" msprop:Generator_ColumnPropNameInRow="conf_id" msprop:Generator_ColumnPropNameInTable="conf_idColumn" msprop:Generator_ColumnVarNameInTable="columnconf_id" msprop:Generator_UserColumnName="conf_id" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="20" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="conf_time" msprop:Generator_ColumnPropNameInRow="conf_time" msprop:Generator_ColumnPropNameInTable="conf_timeColumn" msprop:Generator_ColumnVarNameInTable="columnconf_time" msprop:Generator_UserColumnName="conf_time" type="xs:dateTime" minOccurs="0" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
Changes to this file may cause incorrect behavior and will be lost if
|
||||
the code is regenerated.
|
||||
</autogenerated>-->
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="385" ViewPortY="0" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<DiagramLayout xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ex:showrelationlabel="False" ViewPortX="385" ViewPortY="0" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<Shapes>
|
||||
<Shape ID="DesignTable:EETGW_HolydayRequest" ZOrder="1" X="543" Y="76" Height="476" Width="287" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="425" />
|
||||
</Shapes>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using FCOMMON;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@@ -9,7 +10,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace FPJ0000
|
||||
{
|
||||
public partial class fEBoardImport : Form
|
||||
public partial class fEBoardImport : fBase
|
||||
{
|
||||
string setFile;
|
||||
dsPRJ.EETGW_JobReport_EBoardDataTable dt = new dsPRJ.EETGW_JobReport_EBoardDataTable();
|
||||
@@ -23,7 +24,7 @@ namespace FPJ0000
|
||||
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
//this.sd.Value = DateTime.Now.AddMonths(-1);
|
||||
EnsureVisibleAndUsableSize();
|
||||
this.dtPdate.Value = DateTime.Now;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using FCOMMON;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@@ -10,7 +11,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace FPJ0000.EBoard
|
||||
{
|
||||
public partial class fEBoardReport : Form
|
||||
public partial class fEBoardReport : fBase
|
||||
{
|
||||
public fEBoardReport()
|
||||
{
|
||||
@@ -19,7 +20,7 @@ namespace FPJ0000.EBoard
|
||||
|
||||
private void fEBoardReport_Load(object sender, EventArgs e)
|
||||
{
|
||||
//기본엑셀파일을 가져온다
|
||||
EnsureVisibleAndUsableSize();
|
||||
this.Show();
|
||||
Application.DoEvents();
|
||||
|
||||
|
||||
@@ -41,6 +41,7 @@ namespace FPJ0000
|
||||
|
||||
private void fProjectData_Load(object sender, EventArgs e)
|
||||
{
|
||||
EnsureVisibleAndUsableSize();
|
||||
var db = new EEEntities();
|
||||
|
||||
//자동완성목록 업데이트
|
||||
|
||||
@@ -42,7 +42,7 @@ namespace FPJ0000
|
||||
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
//프로젝트 목록을 처리함
|
||||
EnsureVisibleAndUsableSize();
|
||||
this.tbRequest.Text = FCOMMON.info.Login.nameK;
|
||||
|
||||
//this.cmbSort.SelectedIndex = 0;
|
||||
|
||||
@@ -567,12 +567,6 @@
|
||||
<DependentUpon>fProjectList.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="FPUtil.cs" />
|
||||
<Compile Include="Project\fSPMaster.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Project\fSPMaster.Designer.cs">
|
||||
<DependentUpon>fSPMaster.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Project\rPartList.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
@@ -801,9 +795,6 @@
|
||||
<EmbeddedResource Include="Project\fProjectList.resx">
|
||||
<DependentUpon>fProjectList.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Project\fSPMaster.resx">
|
||||
<DependentUpon>fSPMaster.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Project\rPartList.rdlc" />
|
||||
<EmbeddedResource Include="Project\rPartList.resx">
|
||||
<DependentUpon>rPartList.cs</DependentUpon>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using FCOMMON;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@@ -9,7 +10,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace FPJ0000
|
||||
{
|
||||
public partial class Import : Form
|
||||
public partial class Import : fBase
|
||||
{
|
||||
DataTable dt = new dsPRJ.ProjectsDataTable();
|
||||
DataTable dtExcel = new DataTable();
|
||||
@@ -21,7 +22,7 @@ namespace FPJ0000
|
||||
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
EnsureVisibleAndUsableSize();
|
||||
}
|
||||
|
||||
void __Closed(object sender, FormClosedEventArgs e)
|
||||
|
||||
@@ -1,306 +1,307 @@
|
||||
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 FPJ0000
|
||||
{
|
||||
public partial class ImportC : Form
|
||||
{
|
||||
DataTable dt = new dsPRJ.ProjectsDataTable();
|
||||
DataTable dtExcel = new DataTable();
|
||||
public ImportC()
|
||||
{
|
||||
InitializeComponent();
|
||||
this.FormClosed += __Closed;
|
||||
}
|
||||
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void __Closed(object sender, FormClosedEventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
||||
{
|
||||
OpenFileDialog od = new OpenFileDialog();
|
||||
od.Filter = "excel|*.xlsx|all files|*.*";
|
||||
od.InitialDirectory = FCOMMON.Util.CurrentPath + "model";
|
||||
od.FilterIndex = 1;
|
||||
od.RestoreDirectory = true;
|
||||
if (od.ShowDialog() != System.Windows.Forms.DialogResult.OK) return;
|
||||
textBox1.Text = od.FileName;
|
||||
}
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
int ColumnNameNo = (int)numericUpDown2.Value;
|
||||
if(textBox1.Text == "")
|
||||
{
|
||||
FCOMMON.Util.MsgE("파일을 선택하세요");
|
||||
textBox1.Focus();
|
||||
return;
|
||||
}
|
||||
if(!System.IO.File.Exists(textBox1.Text))
|
||||
{
|
||||
FCOMMON.Util.MsgE("입력하신 파일이 존재하지 않습니다.");
|
||||
textBox1.Focus();
|
||||
textBox1.SelectAll();
|
||||
return;
|
||||
}
|
||||
|
||||
dtExcel.Columns.Clear();
|
||||
dtExcel.Rows.Clear();
|
||||
dtExcel.AcceptChanges();
|
||||
|
||||
libxl.Book book;// = new libxl.BinBook();
|
||||
book = new libxl.XmlBook();
|
||||
book.setKey(FCOMMON.info.libxlCompany, FCOMMON.info.libxlKey);
|
||||
try
|
||||
{
|
||||
book.load(textBox1.Text);
|
||||
}catch (Exception ex)
|
||||
{
|
||||
FCOMMON.Util.MsgE(ex.Message);
|
||||
return;
|
||||
}
|
||||
|
||||
var sheet = book.getSheet((int)nudSheet.Value-1);
|
||||
var MaxRow = sheet.lastRow();
|
||||
var MinRow = sheet.firstRow();
|
||||
|
||||
MaxRow = (int)Math.Min(MaxRow, nudE.Value-1);
|
||||
MinRow = (int)Math.Max(MinRow, nudS.Value-1);
|
||||
if(MinRow <= (ColumnNameNo-1))
|
||||
{
|
||||
FCOMMON.Util.MsgI("시작줄을 제목줄 보다 커야 합니다. 자동으로 +1 증가합니다.");
|
||||
MinRow = ColumnNameNo ;
|
||||
}
|
||||
|
||||
|
||||
var MaxCol = sheet.lastCol();
|
||||
var MinCol = sheet.firstCol();
|
||||
|
||||
MaxCol = (int)Math.Min(MaxCol, nudCE.Value - 1);
|
||||
MinCol = (int)Math.Max(MinCol, nudCS.Value - 1);
|
||||
|
||||
//제목줄을 처리한다. 181029
|
||||
List<string> cols = new List<string>();
|
||||
|
||||
for (int c = MinCol; c <= MaxCol; c++)
|
||||
{
|
||||
var strVallue = sheet.readStr(ColumnNameNo-1, c);
|
||||
if (strVallue == "" )
|
||||
{
|
||||
if (c == MinCol)
|
||||
{
|
||||
//첫줄 첫행이 빈값이면 처리하지 않는다.
|
||||
FCOMMON.Util.MsgE("열 제목에 빈값이 있어 처리되지 못합니다.");
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
//빈값이 나왓으므로 열 최대값을 변경해준다.
|
||||
if(c < MaxCol)
|
||||
{
|
||||
FCOMMON.Util.MsgI("빈값으로 인해 최대 열 번호를 " + c.ToString() + "로 변경합니다");
|
||||
MaxCol = c;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if(cols.IndexOf(strVallue) >= 0)
|
||||
{
|
||||
FCOMMON.Util.MsgE("동일 컬럼이 발견 됨 진행 불가 : " + strVallue);
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
cols.Add(strVallue);
|
||||
}
|
||||
|
||||
this.dtExcel.Columns.Add(strVallue);
|
||||
}
|
||||
|
||||
|
||||
try{
|
||||
for (int r = MinRow; r <= MaxRow; r++)
|
||||
{
|
||||
DataRow dr = dtExcel.NewRow();
|
||||
|
||||
Boolean nullColumn = false;
|
||||
for (int c = MinCol; c <= Math.Min(cols.Count,MaxCol); c++)
|
||||
{
|
||||
if (sheet.isDate(r, c))
|
||||
{
|
||||
var datevalue = sheet.readNum(r, c);
|
||||
int y, m, d;
|
||||
y = m = d = 0;
|
||||
book.dateUnpack(datevalue, ref y, ref m, ref d);
|
||||
if (y >= 2000)
|
||||
dr[cols[c]] = string.Format("{0:0000}-{1:00}-{2:00}", y, m, d);
|
||||
else
|
||||
dr[cols[c]] = string.Empty;
|
||||
|
||||
//일자가 만약 넘어서면 패스한다.
|
||||
if(cols[c]=="일자" )
|
||||
{
|
||||
string value = dr[cols[c]].ToString();
|
||||
if(value == "")
|
||||
{
|
||||
nullColumn = true; //날짜가 없다면 패스
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
var dateStrin = sheet.readStr(r, c);
|
||||
|
||||
var strVallue = sheet.readStr(r, c);
|
||||
if (strVallue=="" && c == MinCol)
|
||||
{
|
||||
//첫줄 첫행이 빈값이면 처리하지 않는다.
|
||||
nullColumn = true;
|
||||
break;
|
||||
}
|
||||
if (cols[c-1] != "")
|
||||
dr[cols[c-1]] = strVallue;
|
||||
}
|
||||
}
|
||||
if (nullColumn) continue; //줄처리를 못한 경우 넘어감
|
||||
if (dr != null)
|
||||
{
|
||||
dtExcel.Rows.Add(dr);
|
||||
}
|
||||
}
|
||||
dtExcel.AcceptChanges();
|
||||
}
|
||||
catch(Exception ex)
|
||||
{
|
||||
FCOMMON.Util.MsgE("불러오는 중 오류 발생\n" + ex.Message);
|
||||
}
|
||||
//
|
||||
book = null;
|
||||
|
||||
this.bs.DataSource = dtExcel;
|
||||
this.dataGridView1.DataSource = dtExcel;
|
||||
this.bn.BindingSource = this.bs;
|
||||
|
||||
if(this.bs.Count < 1)
|
||||
{
|
||||
FCOMMON.Util.MsgE("입력된 자료가 없습니다.\n\n지정된 엑셀의 1번째 칸에 값이 없다면 입력되지 않습니다.");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private void button3_Click(object sender, EventArgs e)
|
||||
{
|
||||
if(dtExcel == null || dtExcel.Rows.Count < 1)
|
||||
{
|
||||
FCOMMON.Util.MsgE("등록 가능한 자료가 없습니다.");
|
||||
return;
|
||||
}
|
||||
|
||||
System.Text.StringBuilder sb = new StringBuilder();
|
||||
sb.AppendLine("다음 자료를 추가하시겠습니까?");
|
||||
sb.AppendLine();
|
||||
sb.AppendLine("'저장 완료' 메세지가 나올때 까지 기다려 주세요.");
|
||||
sb.AppendLine();
|
||||
sb.AppendLine("실행 하려면 '예' 를 누르세요");
|
||||
var dlg = FCOMMON.Util.MsgQ(sb.ToString());
|
||||
if (dlg != System.Windows.Forms.DialogResult.Yes) return;
|
||||
|
||||
dt.Clear();
|
||||
dt.AcceptChanges();
|
||||
|
||||
this.progressBar1.Value = 0;
|
||||
this.progressBar1.Maximum = dtExcel.Rows.Count;
|
||||
|
||||
//12,13
|
||||
foreach (DataRow dr in dtExcel.Rows)
|
||||
{
|
||||
this.progressBar1.Value += 1;
|
||||
|
||||
//데이터추가
|
||||
var newdr = dt.NewRow();
|
||||
if (dr[8] == DBNull.Value) continue; //nullerror
|
||||
|
||||
newdr["level"] = 1;
|
||||
newdr["status"] = "완료";// dr[0].ToString();
|
||||
newdr["part"] = dr[1].ToString();
|
||||
newdr["process"] = dr[2].ToString();
|
||||
newdr["reqstaff"] = dr[9].ToString();
|
||||
newdr["usermanager"] = dr[36].ToString(); //"정봉석";// dr[4].ToString();
|
||||
newdr["usermain"] = dr[36].ToString(); //"";// dr[5].ToString();
|
||||
newdr["usersub"] = "";// dr[6].ToString();
|
||||
newdr["memo"] = "";// dr[7].ToString(); //CR / Order / PO No.
|
||||
newdr["asset"] = "";// dr[8].ToString();
|
||||
newdr["name"] = dr[7].ToString();
|
||||
|
||||
if (newdr["name"].ToString() == "") continue; //이름없는것은 처리 안함
|
||||
|
||||
newdr["remark_req"] = "";// dr[10].ToString();
|
||||
newdr["remark_ans"] = "";// dr[11].ToString();
|
||||
//12=request date
|
||||
newdr["sdate"] = "2018-12-31";// dr[13].ToString();
|
||||
newdr["ddate"] = "2018-12-31";//dr[14].ToString();
|
||||
newdr["edate"] = "2018-12-31";//dr[15].ToString();
|
||||
|
||||
//float value_progress = 0;
|
||||
//if (Single.TryParse(dr[12-1].ToString(), out value_progress))
|
||||
// newdr["progress"] = value_progress;
|
||||
|
||||
|
||||
string 대수 =dr[35].ToString().Replace("대","").Replace("수","");
|
||||
if (대수 == "") 대수 = "0";
|
||||
|
||||
newdr["cnt"] = int.Parse(대수);
|
||||
|
||||
string sCostO = dr[11].ToString();
|
||||
string sCostN = dr[13].ToString();
|
||||
if (sCostO == "") sCostO = "0";
|
||||
if (sCostN == "") sCostN = "0";
|
||||
|
||||
float value_costo = 0;
|
||||
float value_costn = 0;
|
||||
if(float.TryParse(sCostO,out value_costo))
|
||||
newdr["costo"] = value_costo;
|
||||
if(float.TryParse(sCostO,out value_costn))
|
||||
newdr["costn"] = value_costn;
|
||||
|
||||
newdr["import"] = true;
|
||||
newdr["wuid"] = "JBS";// FCOMMON.info.Login.no;
|
||||
newdr["wdate"] = DateTime.Now;
|
||||
|
||||
dt.Rows.Add(newdr);
|
||||
}
|
||||
|
||||
var taE = new dsPRJTableAdapters.ProjectsTableAdapter();
|
||||
if (checkBox1.Checked) taE.DeleteImport(FCOMMON.info.Login.gcode);
|
||||
taE.Update((dsPRJ.ProjectsDataTable)dt);
|
||||
|
||||
dt.AcceptChanges();
|
||||
FCOMMON.Util.MsgI("Save OK");
|
||||
}
|
||||
|
||||
private void panel1_Paint(object sender, PaintEventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void button2_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
using FCOMMON;
|
||||
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 FPJ0000
|
||||
{
|
||||
public partial class ImportC : fBase
|
||||
{
|
||||
DataTable dt = new dsPRJ.ProjectsDataTable();
|
||||
DataTable dtExcel = new DataTable();
|
||||
public ImportC()
|
||||
{
|
||||
InitializeComponent();
|
||||
this.FormClosed += __Closed;
|
||||
}
|
||||
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
EnsureVisibleAndUsableSize();
|
||||
}
|
||||
|
||||
void __Closed(object sender, FormClosedEventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
||||
{
|
||||
OpenFileDialog od = new OpenFileDialog();
|
||||
od.Filter = "excel|*.xlsx|all files|*.*";
|
||||
od.InitialDirectory = FCOMMON.Util.CurrentPath + "model";
|
||||
od.FilterIndex = 1;
|
||||
od.RestoreDirectory = true;
|
||||
if (od.ShowDialog() != System.Windows.Forms.DialogResult.OK) return;
|
||||
textBox1.Text = od.FileName;
|
||||
}
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
int ColumnNameNo = (int)numericUpDown2.Value;
|
||||
if(textBox1.Text == "")
|
||||
{
|
||||
FCOMMON.Util.MsgE("파일을 선택하세요");
|
||||
textBox1.Focus();
|
||||
return;
|
||||
}
|
||||
if(!System.IO.File.Exists(textBox1.Text))
|
||||
{
|
||||
FCOMMON.Util.MsgE("입력하신 파일이 존재하지 않습니다.");
|
||||
textBox1.Focus();
|
||||
textBox1.SelectAll();
|
||||
return;
|
||||
}
|
||||
|
||||
dtExcel.Columns.Clear();
|
||||
dtExcel.Rows.Clear();
|
||||
dtExcel.AcceptChanges();
|
||||
|
||||
libxl.Book book;// = new libxl.BinBook();
|
||||
book = new libxl.XmlBook();
|
||||
book.setKey(FCOMMON.info.libxlCompany, FCOMMON.info.libxlKey);
|
||||
try
|
||||
{
|
||||
book.load(textBox1.Text);
|
||||
}catch (Exception ex)
|
||||
{
|
||||
FCOMMON.Util.MsgE(ex.Message);
|
||||
return;
|
||||
}
|
||||
|
||||
var sheet = book.getSheet((int)nudSheet.Value-1);
|
||||
var MaxRow = sheet.lastRow();
|
||||
var MinRow = sheet.firstRow();
|
||||
|
||||
MaxRow = (int)Math.Min(MaxRow, nudE.Value-1);
|
||||
MinRow = (int)Math.Max(MinRow, nudS.Value-1);
|
||||
if(MinRow <= (ColumnNameNo-1))
|
||||
{
|
||||
FCOMMON.Util.MsgI("시작줄을 제목줄 보다 커야 합니다. 자동으로 +1 증가합니다.");
|
||||
MinRow = ColumnNameNo ;
|
||||
}
|
||||
|
||||
|
||||
var MaxCol = sheet.lastCol();
|
||||
var MinCol = sheet.firstCol();
|
||||
|
||||
MaxCol = (int)Math.Min(MaxCol, nudCE.Value - 1);
|
||||
MinCol = (int)Math.Max(MinCol, nudCS.Value - 1);
|
||||
|
||||
//제목줄을 처리한다. 181029
|
||||
List<string> cols = new List<string>();
|
||||
|
||||
for (int c = MinCol; c <= MaxCol; c++)
|
||||
{
|
||||
var strVallue = sheet.readStr(ColumnNameNo-1, c);
|
||||
if (strVallue == "" )
|
||||
{
|
||||
if (c == MinCol)
|
||||
{
|
||||
//첫줄 첫행이 빈값이면 처리하지 않는다.
|
||||
FCOMMON.Util.MsgE("열 제목에 빈값이 있어 처리되지 못합니다.");
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
//빈값이 나왓으므로 열 최대값을 변경해준다.
|
||||
if(c < MaxCol)
|
||||
{
|
||||
FCOMMON.Util.MsgI("빈값으로 인해 최대 열 번호를 " + c.ToString() + "로 변경합니다");
|
||||
MaxCol = c;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if(cols.IndexOf(strVallue) >= 0)
|
||||
{
|
||||
FCOMMON.Util.MsgE("동일 컬럼이 발견 됨 진행 불가 : " + strVallue);
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
cols.Add(strVallue);
|
||||
}
|
||||
|
||||
this.dtExcel.Columns.Add(strVallue);
|
||||
}
|
||||
|
||||
|
||||
try{
|
||||
for (int r = MinRow; r <= MaxRow; r++)
|
||||
{
|
||||
DataRow dr = dtExcel.NewRow();
|
||||
|
||||
Boolean nullColumn = false;
|
||||
for (int c = MinCol; c <= Math.Min(cols.Count,MaxCol); c++)
|
||||
{
|
||||
if (sheet.isDate(r, c))
|
||||
{
|
||||
var datevalue = sheet.readNum(r, c);
|
||||
int y, m, d;
|
||||
y = m = d = 0;
|
||||
book.dateUnpack(datevalue, ref y, ref m, ref d);
|
||||
if (y >= 2000)
|
||||
dr[cols[c]] = string.Format("{0:0000}-{1:00}-{2:00}", y, m, d);
|
||||
else
|
||||
dr[cols[c]] = string.Empty;
|
||||
|
||||
//일자가 만약 넘어서면 패스한다.
|
||||
if(cols[c]=="일자" )
|
||||
{
|
||||
string value = dr[cols[c]].ToString();
|
||||
if(value == "")
|
||||
{
|
||||
nullColumn = true; //날짜가 없다면 패스
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
var dateStrin = sheet.readStr(r, c);
|
||||
|
||||
var strVallue = sheet.readStr(r, c);
|
||||
if (strVallue=="" && c == MinCol)
|
||||
{
|
||||
//첫줄 첫행이 빈값이면 처리하지 않는다.
|
||||
nullColumn = true;
|
||||
break;
|
||||
}
|
||||
if (cols[c-1] != "")
|
||||
dr[cols[c-1]] = strVallue;
|
||||
}
|
||||
}
|
||||
if (nullColumn) continue; //줄처리를 못한 경우 넘어감
|
||||
if (dr != null)
|
||||
{
|
||||
dtExcel.Rows.Add(dr);
|
||||
}
|
||||
}
|
||||
dtExcel.AcceptChanges();
|
||||
}
|
||||
catch(Exception ex)
|
||||
{
|
||||
FCOMMON.Util.MsgE("불러오는 중 오류 발생\n" + ex.Message);
|
||||
}
|
||||
//
|
||||
book = null;
|
||||
|
||||
this.bs.DataSource = dtExcel;
|
||||
this.dataGridView1.DataSource = dtExcel;
|
||||
this.bn.BindingSource = this.bs;
|
||||
|
||||
if(this.bs.Count < 1)
|
||||
{
|
||||
FCOMMON.Util.MsgE("입력된 자료가 없습니다.\n\n지정된 엑셀의 1번째 칸에 값이 없다면 입력되지 않습니다.");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private void button3_Click(object sender, EventArgs e)
|
||||
{
|
||||
if(dtExcel == null || dtExcel.Rows.Count < 1)
|
||||
{
|
||||
FCOMMON.Util.MsgE("등록 가능한 자료가 없습니다.");
|
||||
return;
|
||||
}
|
||||
|
||||
System.Text.StringBuilder sb = new StringBuilder();
|
||||
sb.AppendLine("다음 자료를 추가하시겠습니까?");
|
||||
sb.AppendLine();
|
||||
sb.AppendLine("'저장 완료' 메세지가 나올때 까지 기다려 주세요.");
|
||||
sb.AppendLine();
|
||||
sb.AppendLine("실행 하려면 '예' 를 누르세요");
|
||||
var dlg = FCOMMON.Util.MsgQ(sb.ToString());
|
||||
if (dlg != System.Windows.Forms.DialogResult.Yes) return;
|
||||
|
||||
dt.Clear();
|
||||
dt.AcceptChanges();
|
||||
|
||||
this.progressBar1.Value = 0;
|
||||
this.progressBar1.Maximum = dtExcel.Rows.Count;
|
||||
|
||||
//12,13
|
||||
foreach (DataRow dr in dtExcel.Rows)
|
||||
{
|
||||
this.progressBar1.Value += 1;
|
||||
|
||||
//데이터추가
|
||||
var newdr = dt.NewRow();
|
||||
if (dr[8] == DBNull.Value) continue; //nullerror
|
||||
|
||||
newdr["level"] = 1;
|
||||
newdr["status"] = "완료";// dr[0].ToString();
|
||||
newdr["part"] = dr[1].ToString();
|
||||
newdr["process"] = dr[2].ToString();
|
||||
newdr["reqstaff"] = dr[9].ToString();
|
||||
newdr["usermanager"] = dr[36].ToString(); //"정봉석";// dr[4].ToString();
|
||||
newdr["usermain"] = dr[36].ToString(); //"";// dr[5].ToString();
|
||||
newdr["usersub"] = "";// dr[6].ToString();
|
||||
newdr["memo"] = "";// dr[7].ToString(); //CR / Order / PO No.
|
||||
newdr["asset"] = "";// dr[8].ToString();
|
||||
newdr["name"] = dr[7].ToString();
|
||||
|
||||
if (newdr["name"].ToString() == "") continue; //이름없는것은 처리 안함
|
||||
|
||||
newdr["remark_req"] = "";// dr[10].ToString();
|
||||
newdr["remark_ans"] = "";// dr[11].ToString();
|
||||
//12=request date
|
||||
newdr["sdate"] = "2018-12-31";// dr[13].ToString();
|
||||
newdr["ddate"] = "2018-12-31";//dr[14].ToString();
|
||||
newdr["edate"] = "2018-12-31";//dr[15].ToString();
|
||||
|
||||
//float value_progress = 0;
|
||||
//if (Single.TryParse(dr[12-1].ToString(), out value_progress))
|
||||
// newdr["progress"] = value_progress;
|
||||
|
||||
|
||||
string 대수 =dr[35].ToString().Replace("대","").Replace("수","");
|
||||
if (대수 == "") 대수 = "0";
|
||||
|
||||
newdr["cnt"] = int.Parse(대수);
|
||||
|
||||
string sCostO = dr[11].ToString();
|
||||
string sCostN = dr[13].ToString();
|
||||
if (sCostO == "") sCostO = "0";
|
||||
if (sCostN == "") sCostN = "0";
|
||||
|
||||
float value_costo = 0;
|
||||
float value_costn = 0;
|
||||
if(float.TryParse(sCostO,out value_costo))
|
||||
newdr["costo"] = value_costo;
|
||||
if(float.TryParse(sCostO,out value_costn))
|
||||
newdr["costn"] = value_costn;
|
||||
|
||||
newdr["import"] = true;
|
||||
newdr["wuid"] = "JBS";// FCOMMON.info.Login.no;
|
||||
newdr["wdate"] = DateTime.Now;
|
||||
|
||||
dt.Rows.Add(newdr);
|
||||
}
|
||||
|
||||
var taE = new dsPRJTableAdapters.ProjectsTableAdapter();
|
||||
if (checkBox1.Checked) taE.DeleteImport(FCOMMON.info.Login.gcode);
|
||||
taE.Update((dsPRJ.ProjectsDataTable)dt);
|
||||
|
||||
dt.AcceptChanges();
|
||||
FCOMMON.Util.MsgI("Save OK");
|
||||
}
|
||||
|
||||
private void panel1_Paint(object sender, PaintEventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void button2_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using FarPoint.Win;
|
||||
using FCOMMON;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
@@ -10,7 +11,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace FPJ0000.JobReport_
|
||||
{
|
||||
public partial class K5Dailyform : Form
|
||||
public partial class K5Dailyform : fBase
|
||||
{
|
||||
Boolean binit = false;
|
||||
public K5Dailyform()
|
||||
@@ -23,6 +24,7 @@ namespace FPJ0000.JobReport_
|
||||
|
||||
private void rJobReport_Load(object sender, EventArgs e)
|
||||
{
|
||||
EnsureVisibleAndUsableSize();
|
||||
this.tbProcess.Items.Clear();
|
||||
|
||||
tbProcess.Items.Add("--전체--");
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using FarPoint.Win;
|
||||
using FCOMMON;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
@@ -10,7 +11,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace FPJ0000.JobReport_
|
||||
{
|
||||
public partial class fJobChartMenu : Form
|
||||
public partial class fJobChartMenu : fBase
|
||||
{
|
||||
Boolean binit = false;
|
||||
|
||||
@@ -28,6 +29,7 @@ namespace FPJ0000.JobReport_
|
||||
}
|
||||
private void fJobChartMenu_Load(object sender, EventArgs e)
|
||||
{
|
||||
EnsureVisibleAndUsableSize();
|
||||
this.tbProcess.Items.Clear();
|
||||
|
||||
tbProcess.Items.Add("--전체--");
|
||||
|
||||
@@ -90,6 +90,7 @@ namespace FPJ0000
|
||||
}
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
EnsureVisibleAndUsableSize();
|
||||
this.dtSD.Text = DateTime.Now.ToString("yyyy-MM-01");
|
||||
var sdate = DateTime.Parse(dtSD.Text);
|
||||
this.dtED.Text = sdate.AddMonths(1).AddDays(-1).ToShortDateString();
|
||||
|
||||
@@ -30,7 +30,7 @@ namespace FPJ0000
|
||||
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
EnsureVisibleAndUsableSize();
|
||||
|
||||
//공정목록
|
||||
var taProc = new dsReportTableAdapters.ProcessListTableAdapter();
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using FCOMMON;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@@ -9,7 +10,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace FPJ0000.JobReport_
|
||||
{
|
||||
public partial class fJobReportImport : Form
|
||||
public partial class fJobReportImport : fBase
|
||||
{
|
||||
DataTable dt = new dsPRJ.JobReportDataTable();
|
||||
DataTable dtExcel = new DataTable();
|
||||
@@ -21,8 +22,7 @@ namespace FPJ0000.JobReport_
|
||||
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
//this.sd.Value = DateTime.Parse(DateTime.Now.Year.ToString("0000") + "-01-01");
|
||||
//this.ed.Value = DateTime.Now;
|
||||
EnsureVisibleAndUsableSize();
|
||||
|
||||
//담당자목록
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using FCOMMON;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
@@ -10,7 +11,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace FPJ0000.JobReport_
|
||||
{
|
||||
public partial class fJobReport_Add : Form
|
||||
public partial class fJobReport_Add : fBase
|
||||
{
|
||||
dsPRJ.JobReportRow dr;
|
||||
Boolean copyMOde = false;
|
||||
@@ -73,6 +74,7 @@ namespace FPJ0000.JobReport_
|
||||
}
|
||||
private void fJobReport_Add_Load(object sender, EventArgs e)
|
||||
{
|
||||
EnsureVisibleAndUsableSize();
|
||||
//사용자목록
|
||||
this.bs.DataSource = dr;
|
||||
this.dateTimePicker1.CustomFormat = "yyyy-MM-dd HH:mm.ss";
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using FCOMMON;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@@ -9,7 +10,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace FPJ0000.JobReport_
|
||||
{
|
||||
public partial class fJobReport_AddAI : Form
|
||||
public partial class fJobReport_AddAI : fBase
|
||||
{
|
||||
dsPRJ.EETGW_JobReport_AutoInputRow dr;
|
||||
Boolean copyMOde = false;
|
||||
@@ -61,6 +62,7 @@ namespace FPJ0000.JobReport_
|
||||
|
||||
private void fJobReport_Add_Load(object sender, EventArgs e)
|
||||
{
|
||||
EnsureVisibleAndUsableSize();
|
||||
//사용자목록
|
||||
this.bs.DataSource = dr;
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using FCOMMON;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@@ -9,7 +10,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace FPJ0000.JobReport_
|
||||
{
|
||||
public partial class fLovProject : Form
|
||||
public partial class fLovProject : fBase
|
||||
{
|
||||
public string Title { get; set; }
|
||||
public int Index { get; set; }
|
||||
@@ -31,8 +32,8 @@ namespace FPJ0000.JobReport_
|
||||
|
||||
private void fLovItem_Load(object sender, EventArgs e)
|
||||
{
|
||||
//search data
|
||||
// var dt = this.ta.GetSearch(this.keyword);
|
||||
EnsureVisibleAndUsableSize();
|
||||
// var dt = this.ta.GetSearch(this.keyword);
|
||||
this.taPrj.FillSearch(this.dsMSSQL.Projects,this.keyword,FCOMMON.info.Login.gcode);
|
||||
this.taJob.FillSearch(this.dsQuery.JobReportItemList, this.keyword, FCOMMON.info.Login.gcode);
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using FCOMMON;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@@ -10,7 +11,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace FPJ0000.JobReport_
|
||||
{
|
||||
public partial class fProjectConnect : Form
|
||||
public partial class fProjectConnect : fBase
|
||||
{
|
||||
public fProjectConnect(string sd, string ed)
|
||||
{
|
||||
@@ -20,8 +21,9 @@ namespace FPJ0000.JobReport_
|
||||
}
|
||||
|
||||
private void fProjectConnect_Load(object sender, EventArgs e)
|
||||
{
|
||||
RefreshList();
|
||||
{
|
||||
EnsureVisibleAndUsableSize();
|
||||
RefreshList();
|
||||
}
|
||||
|
||||
void RefreshList()
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using FCOMMON;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@@ -10,7 +11,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace FPJ0000.JobReport_
|
||||
{
|
||||
public partial class fSelectProcess : Form
|
||||
public partial class fSelectProcess : fBase
|
||||
{
|
||||
public List<string> values = new List<string>();
|
||||
public fSelectProcess(string[] list)
|
||||
@@ -21,7 +22,7 @@ namespace FPJ0000.JobReport_
|
||||
|
||||
private void fSelectProcess_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
EnsureVisibleAndUsableSize();
|
||||
//공정목록
|
||||
var taProc = new dsReportTableAdapters.ProcessListTableAdapter();
|
||||
var dtProcList = taProc.GetData(FCOMMON.info.Login.gcode);
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using FCOMMON;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@@ -9,7 +10,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace FPJ0000.JobReport_
|
||||
{
|
||||
public partial class rJobChart : Form
|
||||
public partial class rJobChart : fBase
|
||||
{
|
||||
public rJobChart(string uid,string sdate, string edate)
|
||||
{
|
||||
@@ -22,6 +23,7 @@ namespace FPJ0000.JobReport_
|
||||
|
||||
private void rJobReport_Load(object sender, EventArgs e)
|
||||
{
|
||||
EnsureVisibleAndUsableSize();
|
||||
this.Show();
|
||||
Application.DoEvents();
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using FCOMMON;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@@ -9,7 +10,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace FPJ0000.JobReport_
|
||||
{
|
||||
public partial class rJobReport : Form
|
||||
public partial class rJobReport : fBase
|
||||
{
|
||||
public rJobReport()
|
||||
{
|
||||
@@ -19,6 +20,7 @@ namespace FPJ0000.JobReport_
|
||||
|
||||
private void rJobReport_Load(object sender, EventArgs e)
|
||||
{
|
||||
EnsureVisibleAndUsableSize();
|
||||
this.tbProcess.Items.Clear();
|
||||
tbProcess.Items.Add("전체");
|
||||
var taProcess = new dsReportTableAdapters.ProcessListTableAdapter();
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using FCOMMON;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@@ -9,7 +10,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace FPJ0000.JobReport_
|
||||
{
|
||||
public partial class rJobReportDay : Form
|
||||
public partial class rJobReportDay : fBase
|
||||
{
|
||||
// Boolean binit = false;
|
||||
public rJobReportDay(string baseday )
|
||||
@@ -23,6 +24,7 @@ namespace FPJ0000.JobReport_
|
||||
|
||||
private void rJobReport_Load(object sender, EventArgs e)
|
||||
{
|
||||
EnsureVisibleAndUsableSize();
|
||||
this.tbProcess.Items.Clear();
|
||||
tbProcess.Items.Add("전체");
|
||||
var taProcess = new dsReportTableAdapters.ProcessListTableAdapter();
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using FCOMMON;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@@ -9,7 +10,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace FPJ0000.JobReport_
|
||||
{
|
||||
public partial class rJobReportOT : Form
|
||||
public partial class rJobReportOT : fBase
|
||||
{
|
||||
public rJobReportOT()
|
||||
{
|
||||
@@ -18,8 +19,9 @@ namespace FPJ0000.JobReport_
|
||||
}
|
||||
|
||||
private void rJobReport_Load(object sender, EventArgs e)
|
||||
{
|
||||
this.tbProcess.Items.Clear();
|
||||
{
|
||||
EnsureVisibleAndUsableSize();
|
||||
this.tbProcess.Items.Clear();
|
||||
tbProcess.Items.Add("전체");
|
||||
var taProcess = new dsReportTableAdapters.ProcessListTableAdapter();
|
||||
var dtProcessList = taProcess.GetData(FCOMMON.info.Login.gcode);
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using FCOMMON;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@@ -9,7 +10,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace FPJ0000.JobReport_
|
||||
{
|
||||
public partial class rJobReportPrj : Form
|
||||
public partial class rJobReportPrj : fBase
|
||||
{
|
||||
Boolean binit = false;
|
||||
public rJobReportPrj(string baseday)
|
||||
@@ -23,6 +24,7 @@ namespace FPJ0000.JobReport_
|
||||
|
||||
private void rJobReport_Load(object sender, EventArgs e)
|
||||
{
|
||||
EnsureVisibleAndUsableSize();
|
||||
this.tbProcess.Items.Clear();
|
||||
tbProcess.Items.Add("--전체--");
|
||||
var taProcess = new dsReportTableAdapters.ProcessListTableAdapter();
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using FCOMMON;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@@ -9,7 +10,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace FPJ0000.JobReport_
|
||||
{
|
||||
public partial class rJobReportPrjSche : Form
|
||||
public partial class rJobReportPrjSche : fBase
|
||||
{
|
||||
Boolean binit = false;
|
||||
public rJobReportPrjSche()
|
||||
@@ -20,6 +21,7 @@ namespace FPJ0000.JobReport_
|
||||
|
||||
private void rJobReport_Load(object sender, EventArgs e)
|
||||
{
|
||||
EnsureVisibleAndUsableSize();
|
||||
|
||||
var myCI = new System.Globalization.CultureInfo("ko-KR");
|
||||
var myCal = myCI.Calendar;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using NetOffice.OutlookApi;
|
||||
using FCOMMON;
|
||||
using NetOffice.OutlookApi;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
@@ -10,7 +11,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace FPJ0000.JobReport_
|
||||
{
|
||||
public partial class rJobReportType : Form
|
||||
public partial class rJobReportType : fBase
|
||||
{
|
||||
Boolean binit = false;
|
||||
public rJobReportType()
|
||||
@@ -24,6 +25,7 @@ namespace FPJ0000.JobReport_
|
||||
|
||||
private void rJobReport_Load(object sender, EventArgs e)
|
||||
{
|
||||
EnsureVisibleAndUsableSize();
|
||||
this.tbProcess.Items.Clear();
|
||||
tbProcess.Items.Add("--전체--");
|
||||
var taProcess = new dsReportTableAdapters.ProcessListTableAdapter();
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using FarPoint.Win;
|
||||
using FCOMMON;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
@@ -10,7 +11,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace FPJ0000.JobReport_
|
||||
{
|
||||
public partial class rJobReportUser : Form
|
||||
public partial class rJobReportUser : fBase
|
||||
{
|
||||
Boolean binit = false;
|
||||
public rJobReportUser()
|
||||
@@ -23,7 +24,7 @@ namespace FPJ0000.JobReport_
|
||||
|
||||
private void rJobReport_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
EnsureVisibleAndUsableSize();
|
||||
this.fpSpread1_Sheet2.AddSelection(2, 3, 4, 3);
|
||||
// fpSpread1_Sheet2.Columns[1, 0].AllowAutoSort = true;
|
||||
//this.fpSpread1_Sheet2.ColumnHeader.AutoTextIndex = 1;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using Microsoft.Reporting.WinForms;
|
||||
using FCOMMON;
|
||||
using Microsoft.Reporting.WinForms;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
@@ -10,7 +11,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace FPJ0000.JobReport_
|
||||
{
|
||||
public partial class rK5Dailyform : Form
|
||||
public partial class rK5Dailyform : fBase
|
||||
{
|
||||
public rK5Dailyform()
|
||||
{
|
||||
@@ -20,6 +21,7 @@ namespace FPJ0000.JobReport_
|
||||
|
||||
private void rJobReport_Load(object sender, EventArgs e)
|
||||
{
|
||||
EnsureVisibleAndUsableSize();
|
||||
this.dtSD.Text = DateTime.Now.AddDays(-7).ToString("yyyy-MM-01");
|
||||
this.dtED.Text = DateTime.Parse(dtSD.Text).AddMonths(1).AddDays(-1).ToString("yyyy-MM-dd");
|
||||
this.Show();
|
||||
|
||||
@@ -35,7 +35,7 @@ namespace FPJ0000.Note
|
||||
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
EnsureVisibleAndUsableSize();
|
||||
this.dtSD.Text = DateTime.Now.AddYears(-10).ToString("yyyy-MM-01");
|
||||
this.dtED.Text = DateTime.Now.ToShortDateString();
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using FCOMMON;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@@ -9,7 +10,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace FPJ0000.Note
|
||||
{
|
||||
public partial class fNote_Add : Form
|
||||
public partial class fNote_Add : fBase
|
||||
{
|
||||
int idx = -1;
|
||||
Boolean copyMOde = false;
|
||||
@@ -39,6 +40,7 @@ namespace FPJ0000.Note
|
||||
|
||||
private void fJobReport_Add_Load(object sender, EventArgs e)
|
||||
{
|
||||
EnsureVisibleAndUsableSize();
|
||||
//담당자목록
|
||||
var dt_users = FCOMMON.DBM.getActiveUserTable();// getGroupList("name + '(' + id + ')'", "Users", "[level] > 0 and [level] < 10", false, false);
|
||||
this.cmbUser.DisplayMember = "dispName";
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using FCOMMON;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@@ -9,7 +10,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace FPJ0000.Note
|
||||
{
|
||||
public partial class fTextEditor : Form
|
||||
public partial class fTextEditor : fBase
|
||||
{
|
||||
|
||||
// Boolean bInit = false;
|
||||
@@ -31,8 +32,8 @@ namespace FPJ0000.Note
|
||||
|
||||
private void fJobReport_Add_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
|
||||
EnsureVisibleAndUsableSize();
|
||||
this.Show();
|
||||
Application.DoEvents();
|
||||
|
||||
|
||||
@@ -46,6 +46,7 @@ namespace FPJ0000
|
||||
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
EnsureVisibleAndUsableSize();
|
||||
curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAuthType.holyreq));
|
||||
|
||||
this.dtED.Text = DateTime.Now.AddMonths(1).ToShortDateString();// sdate.AddMonths(1).AddDays(-1).ToShortDateString();
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using FCOMMON;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@@ -10,7 +11,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace FPJ0000.OtConfirm
|
||||
{
|
||||
public partial class fHolyRequestAdd : Form
|
||||
public partial class fHolyRequestAdd : fBase
|
||||
{
|
||||
DSKuntae.EETGW_HolydayRequestRow dr;
|
||||
Boolean binit = false;
|
||||
@@ -111,6 +112,7 @@ namespace FPJ0000.OtConfirm
|
||||
public bool IsAdmin { get { return curLevel >= 5; } }
|
||||
private void fHolyRequestAdd_Load(object sender, EventArgs e)
|
||||
{
|
||||
EnsureVisibleAndUsableSize();
|
||||
curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAuthType.holyreq));
|
||||
|
||||
|
||||
@@ -421,6 +423,18 @@ namespace FPJ0000.OtConfirm
|
||||
else if (rad1.Checked) dr.conf = 1;
|
||||
else if (rad2.Checked) dr.conf = 2;
|
||||
else dr.conf = 0;
|
||||
|
||||
if(rad1.Checked || rad2.Checked)
|
||||
{
|
||||
dr.conf_id = FCOMMON.info.Login.no;
|
||||
dr.conf_time = DateTime.Now;
|
||||
}
|
||||
else
|
||||
{
|
||||
dr.Setconf_idNull();
|
||||
dr.Setconf_timeNull();
|
||||
}
|
||||
|
||||
dr.EndEdit();
|
||||
|
||||
DialogResult = DialogResult.OK;
|
||||
|
||||
@@ -34,6 +34,7 @@ namespace FPJ0000
|
||||
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
EnsureVisibleAndUsableSize();
|
||||
//this.dtSD.Text = DateTime.Now.ToString("yyyy-MM-01");
|
||||
//var sdate = DateTime.Parse(dtSD.Text);
|
||||
this.dtED.Text = DateTime.Now.ToShortDateString();// sdate.AddMonths(1).AddDays(-1).ToShortDateString();
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using FCOMMON;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@@ -10,7 +11,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace FPJ0000.OtConfirm
|
||||
{
|
||||
public partial class fOTConfirmOK : Form
|
||||
public partial class fOTConfirmOK : fBase
|
||||
{
|
||||
dsPRJ.JobReportRow[] dr;
|
||||
//Boolean binit = false;
|
||||
@@ -26,6 +27,7 @@ namespace FPJ0000.OtConfirm
|
||||
int curLevel = 0;
|
||||
private void fHolyRequestAdd_Load(object sender, EventArgs e)
|
||||
{
|
||||
EnsureVisibleAndUsableSize();
|
||||
curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAuthType.holyreq));
|
||||
button1.Enabled = curLevel >= 5;
|
||||
//binit = true;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using FCOMMON;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@@ -10,7 +11,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace FPJ0000.OtConfirm
|
||||
{
|
||||
public partial class fOTConfirmValue : Form
|
||||
public partial class fOTConfirmValue : fBase
|
||||
{
|
||||
public fOTConfirmValue()
|
||||
{
|
||||
@@ -19,7 +20,7 @@ namespace FPJ0000.OtConfirm
|
||||
|
||||
private void fOTConfirmValue_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
EnsureVisibleAndUsableSize();
|
||||
}
|
||||
|
||||
private void btOK_Click(object sender, EventArgs e)
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using FCOMMON;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@@ -10,7 +11,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace FPJ0000.OtConfirm
|
||||
{
|
||||
public partial class fOutCoomplete : Form
|
||||
public partial class fOutCoomplete : fBase
|
||||
{
|
||||
public fOutCoomplete(DSKuntae.EETGW_HolydayRequestRow dr)
|
||||
{
|
||||
@@ -23,7 +24,11 @@ namespace FPJ0000.OtConfirm
|
||||
else
|
||||
this.dtED.Value = DateTime.Parse(ed.ToShortDateString() + " " + dr.etime + ":00");
|
||||
}
|
||||
|
||||
protected override void OnLoad(EventArgs e)
|
||||
{
|
||||
base.OnLoad(e);
|
||||
EnsureVisibleAndUsableSize();
|
||||
}
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (FCOMMON.Util.MsgQ("완료 할까요? 관리자 완료 메일이 발송 됩니다") != DialogResult.Yes) return;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using FCOMMON;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@@ -10,7 +11,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace FPJ0000.Project
|
||||
{
|
||||
public partial class fLayoutEdit : Form
|
||||
public partial class fLayoutEdit : fBase
|
||||
{
|
||||
public fLayoutEdit(int no)
|
||||
{
|
||||
@@ -35,7 +36,7 @@ namespace FPJ0000.Project
|
||||
|
||||
private void fLayoutEdit_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
EnsureVisibleAndUsableSize();
|
||||
}
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
|
||||
@@ -92,7 +92,7 @@ namespace FPJ0000
|
||||
private void fPartList_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
|
||||
EnsureVisibleAndUsableSize();
|
||||
|
||||
//정렬방식 저장값 불러오기
|
||||
var SetFile = util.CurrentPath + "FormSetting.xml";
|
||||
|
||||
@@ -19,6 +19,7 @@ namespace FPJ0000
|
||||
}
|
||||
private void fProejctHistory_Load(object sender, EventArgs e)
|
||||
{
|
||||
EnsureVisibleAndUsableSize();
|
||||
try
|
||||
{
|
||||
this.ta.Fill(this.dsPRJ.ProjectsHistory, this.pidx);
|
||||
|
||||
@@ -37,7 +37,7 @@ namespace FPJ0000
|
||||
}
|
||||
private void fProjectData_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
EnsureVisibleAndUsableSize();
|
||||
//사용자목록업데이트
|
||||
UpdateUserList();
|
||||
|
||||
|
||||
@@ -35,6 +35,7 @@ namespace FPJ0000
|
||||
|
||||
private void fProjectSchedule_Load(object sender, EventArgs e)
|
||||
{
|
||||
EnsureVisibleAndUsableSize();
|
||||
RefreshData();
|
||||
|
||||
}
|
||||
|
||||
@@ -43,6 +43,7 @@ namespace FPJ0000
|
||||
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
EnsureVisibleAndUsableSize();
|
||||
this.Show();
|
||||
Application.DoEvents();
|
||||
refreshData();
|
||||
|
||||
@@ -37,7 +37,7 @@ namespace FPJ0000
|
||||
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
//프로젝트 목록을 처리함
|
||||
EnsureVisibleAndUsableSize();
|
||||
this.tbRequest.Text = FCOMMON.info.Login.nameK;
|
||||
cmbDateType.SelectedIndex = 0; //기본시작일 기준으로 한다
|
||||
|
||||
|
||||
@@ -28,6 +28,7 @@ namespace FPJ0000
|
||||
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
EnsureVisibleAndUsableSize();
|
||||
//프로젝트 목록을 처리함
|
||||
//this.tbRequest.Text = FCOMMON.info.Login.nameK;
|
||||
//cmbDateType.SelectedIndex = 0; //기본시작일 기준으로 한다
|
||||
|
||||
@@ -34,7 +34,7 @@ namespace FPJ0000
|
||||
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
//프로젝트 목록을 처리함
|
||||
EnsureVisibleAndUsableSize();
|
||||
//this.tbRequest.Text = FCOMMON.info.Login.nameK;
|
||||
cmbDateType.SelectedIndex = 1; //기본시작일 기준으로 한다
|
||||
|
||||
|
||||
@@ -40,8 +40,8 @@ namespace FPJ0000
|
||||
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
//프로젝트 목록을 처리함
|
||||
|
||||
EnsureVisibleAndUsableSize();
|
||||
|
||||
refreshData();
|
||||
|
||||
//일반사용자의경우에는 상태를 변경하지 못한다.
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using FCOMMON;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@@ -9,7 +10,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace FPJ0000
|
||||
{
|
||||
public partial class fProjectPartImport : Form
|
||||
public partial class fProjectPartImport : fBase
|
||||
{
|
||||
int ProjectIndex = -1;
|
||||
public fProjectPartImport(int pidx_)
|
||||
@@ -34,8 +35,7 @@ namespace FPJ0000
|
||||
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
//this.sd.Value = DateTime.Now.AddMonths(-1);
|
||||
//this.dtPdate.Value = DateTime.Now;
|
||||
EnsureVisibleAndUsableSize();
|
||||
}
|
||||
|
||||
void __Closed(object sender, FormClosedEventArgs e)
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace FPJ0000
|
||||
|
||||
private void fProjectData_Load(object sender, EventArgs e)
|
||||
{
|
||||
//자료를 불러온다
|
||||
EnsureVisibleAndUsableSize();
|
||||
//ta.FillByIdx(this.dsPRJ.ProjectPartStatus, FCOMMON.info.Login.gcode, this.dr);
|
||||
memoTextBox.Text = memoTextBox.Text.Trim();
|
||||
itemSupplyTextBox.Text = itemSupplyTextBox.Text.Trim();
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using NetOffice.OutlookApi;
|
||||
using FCOMMON;
|
||||
using NetOffice.OutlookApi;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
@@ -10,7 +11,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace FPJ0000
|
||||
{
|
||||
public partial class fProjectPartToPurchaseCR : Form
|
||||
public partial class fProjectPartToPurchaseCR : fBase
|
||||
{
|
||||
int ProjectIndex = -1;
|
||||
List<int> IDXList;
|
||||
@@ -128,7 +129,7 @@ namespace FPJ0000
|
||||
}
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
//프로젝트정보를 찾는다.
|
||||
EnsureVisibleAndUsableSize();
|
||||
toolStripButton2.Text = "선택삭제(&D)";
|
||||
var dtPrj = taProject.GetbyIDX(this.ProjectIndex);
|
||||
var drPrj = dtPrj.Rows[0] as dsPRJ.ProjectsRow;
|
||||
|
||||
@@ -84,7 +84,7 @@ namespace FPJ0000
|
||||
|
||||
private void fProjectSchedule_Load(object sender, EventArgs e)
|
||||
{
|
||||
//프로젝트 정보 채우기
|
||||
EnsureVisibleAndUsableSize();
|
||||
|
||||
//var da2 = new System.Data.SqlClient.SqlDataAdapter();
|
||||
//da2.SelectCommand = new System.Data.SqlClient.SqlCommand("", ta.Connection);
|
||||
|
||||
@@ -29,6 +29,7 @@ namespace FPJ0000
|
||||
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
EnsureVisibleAndUsableSize();
|
||||
//프로젝트 목록을 처리함
|
||||
this.tbRequest.Text = FCOMMON.info.Login.nameK;
|
||||
cmbDateType.SelectedIndex = 0; //기본시작일 기준으로 한다
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using FCOMMON;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@@ -9,7 +10,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace FPJ0000
|
||||
{
|
||||
public partial class fSCCheck : Form
|
||||
public partial class fSCCheck : fBase
|
||||
{
|
||||
dsPRJ.ProjectsPartDataTable dt;
|
||||
public fSCCheck(dsPRJ.ProjectsPartDataTable dt_)
|
||||
@@ -22,7 +23,7 @@ namespace FPJ0000
|
||||
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
//this.sd.Value = DateTime.Now.AddMonths(-1);
|
||||
EnsureVisibleAndUsableSize();
|
||||
//this.dtPdate.Value = DateTime.Now;
|
||||
textBox1.AllowDrop = true;
|
||||
this.textBox1.DragDrop += TextBox1_DragDrop;
|
||||
|
||||
515
SubProject/FPJ0000/Project/fSPMaster.Designer.cs
generated
515
SubProject/FPJ0000/Project/fSPMaster.Designer.cs
generated
@@ -1,515 +0,0 @@
|
||||
namespace FPJ0000
|
||||
{
|
||||
partial class fSPMaster
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fSPMaster));
|
||||
FarPoint.Win.Spread.FlatFocusIndicatorRenderer flatFocusIndicatorRenderer1 = new FarPoint.Win.Spread.FlatFocusIndicatorRenderer();
|
||||
FarPoint.Win.Spread.FlatScrollBarRenderer flatScrollBarRenderer1 = new FarPoint.Win.Spread.FlatScrollBarRenderer();
|
||||
FarPoint.Win.Spread.FlatScrollBarRenderer flatScrollBarRenderer2 = new FarPoint.Win.Spread.FlatScrollBarRenderer();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType5 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType27 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType28 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType6 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType29 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType30 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType31 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType32 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType33 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType34 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType35 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType36 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType37 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType38 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType39 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
this.bn = new System.Windows.Forms.BindingNavigator(this.components);
|
||||
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.dsMSSQL = new FPJ0000.dsPRJ();
|
||||
this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
|
||||
this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox();
|
||||
this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.ta = new FPJ0000.dsPRJTableAdapters.SPMasterTableAdapter();
|
||||
this.tam = new FPJ0000.dsPRJTableAdapters.TableAdapterManager();
|
||||
this.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
|
||||
this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||
this.columnSizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.autoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.resetToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.loadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.exportListToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.tbFind = new System.Windows.Forms.TextBox();
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.chkZeroCount = new System.Windows.Forms.ToolStripButton();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
|
||||
this.bn.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit();
|
||||
this.cm1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit();
|
||||
this.panel2.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// bn
|
||||
//
|
||||
this.bn.AddNewItem = null;
|
||||
this.bn.BindingSource = this.bs;
|
||||
this.bn.CountItem = this.bindingNavigatorCountItem;
|
||||
this.bn.DeleteItem = null;
|
||||
this.bn.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.bindingNavigatorMoveFirstItem,
|
||||
this.bindingNavigatorMovePreviousItem,
|
||||
this.bindingNavigatorSeparator,
|
||||
this.bindingNavigatorPositionItem,
|
||||
this.bindingNavigatorCountItem,
|
||||
this.bindingNavigatorSeparator1,
|
||||
this.bindingNavigatorMoveNextItem,
|
||||
this.bindingNavigatorMoveLastItem,
|
||||
this.bindingNavigatorSeparator2,
|
||||
this.toolStripSeparator1,
|
||||
this.chkZeroCount});
|
||||
this.bn.Location = new System.Drawing.Point(0, 514);
|
||||
this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
|
||||
this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem;
|
||||
this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem;
|
||||
this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
|
||||
this.bn.Name = "bn";
|
||||
this.bn.PositionItem = this.bindingNavigatorPositionItem;
|
||||
this.bn.Size = new System.Drawing.Size(924, 25);
|
||||
this.bn.TabIndex = 2;
|
||||
this.bn.Text = "bindingNavigator1";
|
||||
//
|
||||
// bs
|
||||
//
|
||||
this.bs.DataMember = "SPMaster";
|
||||
this.bs.DataSource = this.dsMSSQL;
|
||||
this.bs.Filter = "CurrentQty > 0";
|
||||
this.bs.CurrentChanged += new System.EventHandler(this.bs_CurrentChanged);
|
||||
//
|
||||
// dsMSSQL
|
||||
//
|
||||
this.dsMSSQL.DataSetName = "DSMssql";
|
||||
this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
||||
//
|
||||
// bindingNavigatorCountItem
|
||||
//
|
||||
this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
|
||||
this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22);
|
||||
this.bindingNavigatorCountItem.Text = "/{0}";
|
||||
this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수";
|
||||
//
|
||||
// bindingNavigatorMoveFirstItem
|
||||
//
|
||||
this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image")));
|
||||
this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
|
||||
this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동";
|
||||
//
|
||||
// bindingNavigatorMovePreviousItem
|
||||
//
|
||||
this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image")));
|
||||
this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
|
||||
this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동";
|
||||
//
|
||||
// bindingNavigatorSeparator
|
||||
//
|
||||
this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
|
||||
this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// bindingNavigatorPositionItem
|
||||
//
|
||||
this.bindingNavigatorPositionItem.AccessibleName = "위치";
|
||||
this.bindingNavigatorPositionItem.AutoSize = false;
|
||||
this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
|
||||
this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
|
||||
this.bindingNavigatorPositionItem.Text = "0";
|
||||
this.bindingNavigatorPositionItem.ToolTipText = "현재 위치";
|
||||
//
|
||||
// bindingNavigatorSeparator1
|
||||
//
|
||||
this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1";
|
||||
this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// bindingNavigatorMoveNextItem
|
||||
//
|
||||
this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image")));
|
||||
this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
|
||||
this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMoveNextItem.Text = "다음으로 이동";
|
||||
//
|
||||
// bindingNavigatorMoveLastItem
|
||||
//
|
||||
this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image")));
|
||||
this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
|
||||
this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동";
|
||||
//
|
||||
// bindingNavigatorSeparator2
|
||||
//
|
||||
this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
|
||||
this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// toolStripSeparator1
|
||||
//
|
||||
this.toolStripSeparator1.Name = "toolStripSeparator1";
|
||||
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// ta
|
||||
//
|
||||
this.ta.ClearBeforeFill = true;
|
||||
//
|
||||
// tam
|
||||
//
|
||||
this.tam.BackupDataSetBeforeUpdate = false;
|
||||
this.tam.EETGW_NoteTableAdapter = null;
|
||||
this.tam.JobReportTableAdapter = null;
|
||||
this.tam.ProjectsHistoryTableAdapter = null;
|
||||
this.tam.ProjectsIOMapTableAdapter = null;
|
||||
this.tam.ProjectsMailListTableAdapter = null;
|
||||
this.tam.ProjectsPartTableAdapter = null;
|
||||
this.tam.ProjectsTableAdapter = null;
|
||||
this.tam.SPMasterTableAdapter = this.ta;
|
||||
this.tam.UpdateOrder = FPJ0000.dsPRJTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
|
||||
//
|
||||
// fpSpread1
|
||||
//
|
||||
this.fpSpread1.AccessibleDescription = "";
|
||||
this.fpSpread1.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.fpSpread1.ContextMenuStrip = this.cm1;
|
||||
this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.fpSpread1.FocusRenderer = flatFocusIndicatorRenderer1;
|
||||
this.fpSpread1.HorizontalScrollBar.Buttons = new FarPoint.Win.Spread.FpScrollBarButtonCollection("BackwardLineButton,ThumbTrack,ForwardLineButton");
|
||||
this.fpSpread1.HorizontalScrollBar.Name = "";
|
||||
flatScrollBarRenderer1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||||
this.fpSpread1.HorizontalScrollBar.Renderer = flatScrollBarRenderer1;
|
||||
this.fpSpread1.Location = new System.Drawing.Point(0, 52);
|
||||
this.fpSpread1.Name = "fpSpread1";
|
||||
this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
|
||||
this.fpSpread1_Sheet1});
|
||||
this.fpSpread1.Size = new System.Drawing.Size(924, 462);
|
||||
this.fpSpread1.Skin = FarPoint.Win.Spread.DefaultSpreadSkins.Office2013;
|
||||
this.fpSpread1.TabIndex = 1;
|
||||
this.fpSpread1.VerticalScrollBar.Buttons = new FarPoint.Win.Spread.FpScrollBarButtonCollection("BackwardLineButton,ThumbTrack,ForwardLineButton");
|
||||
this.fpSpread1.VerticalScrollBar.Name = "";
|
||||
flatScrollBarRenderer2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||||
this.fpSpread1.VerticalScrollBar.Renderer = flatScrollBarRenderer2;
|
||||
this.fpSpread1.SetViewportLeftColumn(0, 0, 2);
|
||||
//
|
||||
// cm1
|
||||
//
|
||||
this.cm1.Font = new System.Drawing.Font("맑은 고딕", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.cm1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.columnSizeToolStripMenuItem,
|
||||
this.exportListToolStripMenuItem});
|
||||
this.cm1.Name = "cm1";
|
||||
this.cm1.Size = new System.Drawing.Size(243, 76);
|
||||
//
|
||||
// columnSizeToolStripMenuItem
|
||||
//
|
||||
this.columnSizeToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.autoToolStripMenuItem,
|
||||
this.resetToolStripMenuItem,
|
||||
this.saveToolStripMenuItem,
|
||||
this.loadToolStripMenuItem});
|
||||
this.columnSizeToolStripMenuItem.Name = "columnSizeToolStripMenuItem";
|
||||
this.columnSizeToolStripMenuItem.Size = new System.Drawing.Size(242, 36);
|
||||
this.columnSizeToolStripMenuItem.Text = "열 너비 조정";
|
||||
//
|
||||
// autoToolStripMenuItem
|
||||
//
|
||||
this.autoToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("autoToolStripMenuItem.Image")));
|
||||
this.autoToolStripMenuItem.Name = "autoToolStripMenuItem";
|
||||
this.autoToolStripMenuItem.Size = new System.Drawing.Size(194, 36);
|
||||
this.autoToolStripMenuItem.Text = "자동 조정";
|
||||
this.autoToolStripMenuItem.Click += new System.EventHandler(this.autoToolStripMenuItem_Click);
|
||||
//
|
||||
// resetToolStripMenuItem
|
||||
//
|
||||
this.resetToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("resetToolStripMenuItem.Image")));
|
||||
this.resetToolStripMenuItem.Name = "resetToolStripMenuItem";
|
||||
this.resetToolStripMenuItem.Size = new System.Drawing.Size(194, 36);
|
||||
this.resetToolStripMenuItem.Text = "초기화";
|
||||
this.resetToolStripMenuItem.Click += new System.EventHandler(this.resetToolStripMenuItem_Click);
|
||||
//
|
||||
// saveToolStripMenuItem
|
||||
//
|
||||
this.saveToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("saveToolStripMenuItem.Image")));
|
||||
this.saveToolStripMenuItem.Name = "saveToolStripMenuItem";
|
||||
this.saveToolStripMenuItem.Size = new System.Drawing.Size(194, 36);
|
||||
this.saveToolStripMenuItem.Text = "저장";
|
||||
this.saveToolStripMenuItem.Click += new System.EventHandler(this.saveToolStripMenuItem_Click);
|
||||
//
|
||||
// loadToolStripMenuItem
|
||||
//
|
||||
this.loadToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("loadToolStripMenuItem.Image")));
|
||||
this.loadToolStripMenuItem.Name = "loadToolStripMenuItem";
|
||||
this.loadToolStripMenuItem.Size = new System.Drawing.Size(194, 36);
|
||||
this.loadToolStripMenuItem.Text = "불러오기";
|
||||
this.loadToolStripMenuItem.Click += new System.EventHandler(this.loadToolStripMenuItem_Click);
|
||||
//
|
||||
// exportListToolStripMenuItem
|
||||
//
|
||||
this.exportListToolStripMenuItem.Name = "exportListToolStripMenuItem";
|
||||
this.exportListToolStripMenuItem.Size = new System.Drawing.Size(242, 36);
|
||||
this.exportListToolStripMenuItem.Text = "목록 내보내기";
|
||||
this.exportListToolStripMenuItem.Click += new System.EventHandler(this.exportListToolStripMenuItem_Click);
|
||||
//
|
||||
// fpSpread1_Sheet1
|
||||
//
|
||||
this.fpSpread1_Sheet1.Reset();
|
||||
this.fpSpread1_Sheet1.SheetName = "Sheet1";
|
||||
// Formulas and custom names must be loaded with R1C1 reference style
|
||||
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
|
||||
this.fpSpread1_Sheet1.ColumnCount = 15;
|
||||
this.fpSpread1_Sheet1.ActiveColumnIndex = -1;
|
||||
this.fpSpread1_Sheet1.ActiveRowIndex = -1;
|
||||
this.fpSpread1_Sheet1.AutoGenerateColumns = false;
|
||||
this.fpSpread1_Sheet1.ColumnFooter.DefaultStyle.BackColor = System.Drawing.Color.Empty;
|
||||
this.fpSpread1_Sheet1.ColumnFooter.DefaultStyle.ForeColor = System.Drawing.Color.Empty;
|
||||
this.fpSpread1_Sheet1.ColumnFooter.DefaultStyle.Parent = "ColumnFooterFlat";
|
||||
this.fpSpread1_Sheet1.ColumnFooterSheetCornerStyle.BackColor = System.Drawing.Color.Empty;
|
||||
this.fpSpread1_Sheet1.ColumnFooterSheetCornerStyle.ForeColor = System.Drawing.Color.Empty;
|
||||
this.fpSpread1_Sheet1.ColumnFooterSheetCornerStyle.Parent = "CornerFooterFlat";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.DefaultStyle.BackColor = System.Drawing.Color.Empty;
|
||||
this.fpSpread1_Sheet1.ColumnHeader.DefaultStyle.ForeColor = System.Drawing.Color.Empty;
|
||||
this.fpSpread1_Sheet1.ColumnHeader.DefaultStyle.Parent = "ColumnHeaderFlat";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 36F;
|
||||
numberCellType5.DecimalPlaces = 0;
|
||||
numberCellType5.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
||||
numberCellType5.MaximumValue = 2147483647D;
|
||||
numberCellType5.MinimumValue = -2147483648D;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).CellType = numberCellType5;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).DataField = "ID";
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).Visible = false;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).Width = 77F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType27;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).DataField = "CtrlNo";
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).Visible = false;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).Width = 151F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType28;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).DataField = "SIDNo";
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).Width = 98F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
||||
numberCellType6.MaximumValue = 999999999999999D;
|
||||
numberCellType6.MinimumValue = -999999999999999D;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).CellType = numberCellType6;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).DataField = "CurrentQty";
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).Width = 97F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType29;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).DataField = "PartName";
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).Width = 91F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType30;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).DataField = "PartNo";
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType31;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).DataField = "Storage";
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).Width = 91F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType32;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).DataField = "Location";
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).Width = 97F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType33;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).DataField = "UseEqmt";
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).Visible = false;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).Width = 151F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType34;
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).DataField = "SupplierNo";
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).Visible = false;
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).Width = 151F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType35;
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).DataField = "Division";
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).Width = 126F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType36;
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).DataField = "PriceUnit";
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).Width = 72F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType37;
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).DataField = "Memo";
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).Width = 77F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType38;
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).DataField = "EnrDate";
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).Width = 96F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).CellType = textCellType39;
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).DataField = "Enrollee";
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).Width = 94F;
|
||||
this.fpSpread1_Sheet1.DataAutoSizeColumns = false;
|
||||
this.fpSpread1_Sheet1.DataSource = this.bs;
|
||||
this.fpSpread1_Sheet1.FilterBar.DefaultStyle.BackColor = System.Drawing.Color.Empty;
|
||||
this.fpSpread1_Sheet1.FilterBar.DefaultStyle.ForeColor = System.Drawing.Color.Empty;
|
||||
this.fpSpread1_Sheet1.FilterBar.DefaultStyle.Parent = "FilterBarFlat";
|
||||
this.fpSpread1_Sheet1.FilterBarHeaderStyle.BackColor = System.Drawing.Color.Empty;
|
||||
this.fpSpread1_Sheet1.FilterBarHeaderStyle.ForeColor = System.Drawing.Color.Empty;
|
||||
this.fpSpread1_Sheet1.FilterBarHeaderStyle.Parent = "FilterBarHeaderFlat";
|
||||
this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false;
|
||||
this.fpSpread1_Sheet1.RowHeader.DefaultStyle.BackColor = System.Drawing.Color.Empty;
|
||||
this.fpSpread1_Sheet1.RowHeader.DefaultStyle.ForeColor = System.Drawing.Color.Empty;
|
||||
this.fpSpread1_Sheet1.RowHeader.DefaultStyle.Parent = "RowHeaderFlat";
|
||||
this.fpSpread1_Sheet1.SheetCornerStyle.BackColor = System.Drawing.Color.Empty;
|
||||
this.fpSpread1_Sheet1.SheetCornerStyle.ForeColor = System.Drawing.Color.Empty;
|
||||
this.fpSpread1_Sheet1.SheetCornerStyle.Parent = "CornerHeaderFlat";
|
||||
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.Controls.Add(this.tbFind);
|
||||
this.panel2.Controls.Add(this.button1);
|
||||
this.panel2.Controls.Add(this.label3);
|
||||
this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel2.Font = new System.Drawing.Font("맑은 고딕", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.panel2.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(924, 52);
|
||||
this.panel2.TabIndex = 0;
|
||||
//
|
||||
// tbFind
|
||||
//
|
||||
this.tbFind.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.tbFind.Font = new System.Drawing.Font("맑은 고딕", 25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.tbFind.ImeMode = System.Windows.Forms.ImeMode.Alpha;
|
||||
this.tbFind.Location = new System.Drawing.Point(118, 0);
|
||||
this.tbFind.Name = "tbFind";
|
||||
this.tbFind.Size = new System.Drawing.Size(693, 52);
|
||||
this.tbFind.TabIndex = 1;
|
||||
this.tbFind.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
this.tbFind.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbFind_KeyDown);
|
||||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.button1.Location = new System.Drawing.Point(811, 0);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(113, 52);
|
||||
this.button1.TabIndex = 2;
|
||||
this.button1.Text = "검색(&F)";
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.label3.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.label3.Location = new System.Drawing.Point(0, 0);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(118, 52);
|
||||
this.label3.TabIndex = 0;
|
||||
this.label3.Text = "검색";
|
||||
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// chkZeroCount
|
||||
//
|
||||
this.chkZeroCount.CheckOnClick = true;
|
||||
this.chkZeroCount.Image = global::FPJ0000.Properties.Resources.accept;
|
||||
this.chkZeroCount.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.chkZeroCount.Name = "chkZeroCount";
|
||||
this.chkZeroCount.Size = new System.Drawing.Size(96, 22);
|
||||
this.chkZeroCount.Text = "수량 \'0\' 포함";
|
||||
this.chkZeroCount.Click += new System.EventHandler(this.chkZeroCount_Click);
|
||||
//
|
||||
// fSPMaster
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
this.ClientSize = new System.Drawing.Size(924, 539);
|
||||
this.Controls.Add(this.fpSpread1);
|
||||
this.Controls.Add(this.panel2);
|
||||
this.Controls.Add(this.bn);
|
||||
this.Name = "fSPMaster";
|
||||
this.Text = "PMP DataBase Search";
|
||||
this.Load += new System.EventHandler(this.@__Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit();
|
||||
this.bn.ResumeLayout(false);
|
||||
this.bn.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit();
|
||||
this.cm1.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit();
|
||||
this.panel2.ResumeLayout(false);
|
||||
this.panel2.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private dsPRJ dsMSSQL;
|
||||
private System.Windows.Forms.BindingSource bs;
|
||||
private dsPRJTableAdapters.SPMasterTableAdapter ta;
|
||||
private dsPRJTableAdapters.TableAdapterManager tam;
|
||||
private System.Windows.Forms.BindingNavigator bn;
|
||||
private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator;
|
||||
private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2;
|
||||
private FarPoint.Win.Spread.FpSpread fpSpread1;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
|
||||
private System.Windows.Forms.Panel panel2;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.Button button1;
|
||||
private System.Windows.Forms.TextBox tbFind;
|
||||
private System.Windows.Forms.ContextMenuStrip cm1;
|
||||
private System.Windows.Forms.ToolStripMenuItem columnSizeToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem autoToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem resetToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem saveToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem loadToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem exportListToolStripMenuItem;
|
||||
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
|
||||
private System.Windows.Forms.ToolStripButton chkZeroCount;
|
||||
}
|
||||
}
|
||||
@@ -1,178 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace FPJ0000
|
||||
{
|
||||
public partial class fSPMaster :FCOMMON.fBase
|
||||
{
|
||||
string fn_fpcolsize = "";
|
||||
public int qty = 0;
|
||||
|
||||
string search = string.Empty;
|
||||
int idx = -1;
|
||||
public fSPMaster(string search_)
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
fn_fpcolsize = System.IO.Path.Combine(
|
||||
AppDomain.CurrentDomain.BaseDirectory,
|
||||
"formSetting",
|
||||
"fp_" + this.Name + ".ini");
|
||||
|
||||
this.WindowState = FormWindowState.Normal;
|
||||
this.StartPosition = FormStartPosition.CenterScreen;
|
||||
this.search = search_;
|
||||
this.tbFind.Text = search_;
|
||||
this.KeyDown += (s1, e1) => {
|
||||
if (e1.KeyCode == Keys.Escape) this.Close();
|
||||
};
|
||||
}
|
||||
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
this.Show();
|
||||
this.bs.Filter = "Storage <> 'B-CENTER'";
|
||||
Application.DoEvents();
|
||||
button1.PerformClick();
|
||||
|
||||
}
|
||||
void refreshData(string div)
|
||||
{
|
||||
this.ta.Fill(this.dsMSSQL.SPMaster, "%" + div + "%");
|
||||
FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize);
|
||||
tbFind.Focus();
|
||||
// tbFind.SelectAll();
|
||||
}
|
||||
|
||||
|
||||
private void bs_CurrentChanged(object sender, EventArgs e)
|
||||
{
|
||||
idx = -1;
|
||||
var drv = bs.Current as DataRowView;
|
||||
if (drv == null) return;
|
||||
var dr = drv.Row as dsPRJ.SPMasterRow;//.minutesRow;
|
||||
idx = dr.ID;
|
||||
}
|
||||
|
||||
private void toolStripButton2_Click(object sender, EventArgs e)
|
||||
{
|
||||
try
|
||||
{
|
||||
var cnt = this.ta.Update(this.dsMSSQL.SPMaster);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
FCOMMON.Util.MsgE(ex.Message);
|
||||
}
|
||||
}
|
||||
|
||||
private void 목록새로고침ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.refreshData(this.search);
|
||||
}
|
||||
|
||||
//void Find()
|
||||
//{
|
||||
// var txt = tbFind.Text.Trim();
|
||||
// if (txt == "")
|
||||
// {
|
||||
// if(bs.Filter != "")
|
||||
// {
|
||||
// bs.Filter = "";
|
||||
// tbFind.BackColor = Color.WhiteSmoke;
|
||||
// }
|
||||
// tbFind.Focus();
|
||||
// return;
|
||||
// }
|
||||
|
||||
// //검색어가 잇으므로 검색을 수행한다
|
||||
// var cols = new string[] { "SIDNo","Storage","Location",
|
||||
// "PartName","PartNo","Memo","CostCenter","Enrollee"};
|
||||
// string filter = "";
|
||||
// foreach(var col in cols)
|
||||
// {
|
||||
// if (filter != "") filter += " or ";
|
||||
// filter += col + " like '%"+ txt.Replace("'","''") +"%' ";
|
||||
// }
|
||||
// try
|
||||
// {
|
||||
// this.bs.Filter = filter;
|
||||
// tbFind.BackColor = Color.Lime;
|
||||
// tbFind.SelectAll();
|
||||
// }catch (Exception ex)
|
||||
// {
|
||||
// this.bs.Filter = "";
|
||||
// tbFind.BackColor = Color.Red;
|
||||
// FCOMMON.Util.MsgE(ex.Message);
|
||||
// }
|
||||
//}
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
refreshData(tbFind.Text.Trim());
|
||||
}
|
||||
|
||||
private void tbFind_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Enter)
|
||||
button1.PerformClick();
|
||||
}
|
||||
|
||||
private void exportListToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
SaveFileDialog sd = new SaveFileDialog();
|
||||
sd.Filter = "excel|*.xls";
|
||||
var fn = "pmplist";
|
||||
sd.FileName = fn + ".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);
|
||||
}
|
||||
}
|
||||
|
||||
private void autoToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.fpSpread1.ActiveSheet.DataAutoSizeColumns = true;
|
||||
|
||||
for (int i = 0; i < this.fpSpread1.ActiveSheet.Rows.Count; i++)
|
||||
this.fpSpread1.ActiveSheet.SetRowHeight(i, 25);
|
||||
//dv1.AutoResizeColumns();
|
||||
}
|
||||
|
||||
private void resetToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
foreach (FarPoint.Win.Spread.Column col in this.fpSpread1.ActiveSheet.Columns)
|
||||
{
|
||||
col.Width = 100;
|
||||
}
|
||||
}
|
||||
|
||||
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 chkZeroCount_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (chkZeroCount.Checked)
|
||||
this.bs.Filter = "CurrentQty > 0 and Storage <> 'B-CENTER'";
|
||||
else
|
||||
this.bs.Filter = "Storage <> 'B-CENTER'";
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,224 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="bn.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>321, 17</value>
|
||||
</metadata>
|
||||
<metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>122, 17</value>
|
||||
</metadata>
|
||||
<metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77
|
||||
wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0
|
||||
v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg
|
||||
UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA
|
||||
Iu/O/9T+11gVGSSd+C+b9vW/bvA83AYYZt3+H9byEqci/dTL/zV8p+E2QCftxn+/6od4Fal4TMBtgFPu
|
||||
lf8gBXgVDULAwAAA8HbAq6XlmnAAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMovePreviousItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w
|
||||
5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f
|
||||
Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+
|
||||
08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMoveNextItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
|
||||
n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI
|
||||
N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f
|
||||
oAc0QjgAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMoveLastItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+//
|
||||
h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B
|
||||
twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA
|
||||
kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG
|
||||
WOTd+W9TcAVDMwiA5FL7X8O9hBUYZt3GqhkEQHJhLS//6wbPw22ATtoNnJIgOb/qh/81fKfhNgAfcMq9
|
||||
8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>186, 17</value>
|
||||
</metadata>
|
||||
<metadata name="tam.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>248, 17</value>
|
||||
</metadata>
|
||||
<metadata name="cm1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>387, 17</value>
|
||||
</metadata>
|
||||
<metadata name="fpSpread1_Sheet1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>462, 17</value>
|
||||
</metadata>
|
||||
<data name="autoToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
R0lGODlhEAAQAIQfAJXG2JXa+ZLO5ChrlkCy4TZ1kiVvpCN0trvo9SN5xTd4lrfh7iR9zo3S+EGz7JDJ
|
||||
4TaCromrvC9ymyV+0Dd3mTl1koe72YvN7LTj+9ne6N3g6v7+/0Cw2Stoh////////yH/C05FVFNDQVBF
|
||||
Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAInwA/CBzooaAHgQUHKvRQoUABCgUlHFT4IYMCBAsQIIBg
|
||||
wcBEgh0WCBDAgcAFDAc+fvDQIUKHDgMeEHDQIIFKlgoMGgjQoAGDmwUOehhg4EACBhM+GlzKVOkEBgkO
|
||||
GBggNOhCBhgCBPBYUEGHmwkCOCDwYMCAll8XHghwgQCHkQDSLjRgAcKDBwAAKNCwgaIHiR4oOKygkuDE
|
||||
pRQTK6YYEAA7
|
||||
</value>
|
||||
</data>
|
||||
<data name="resetToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
R0lGODlhEAAQAIQfALnik2aXQv7+/dPut73llbfala3LmW6gSWqdQ2eYRGqaSLfck568iYrUQN7yzF6R
|
||||
PLTXlYjUP8XwmYfQQLbYl4jRQGiaQsPumNbyu7nglNPzsLXYlf7+/lCHK////////yH/C05FVFNDQVBF
|
||||
Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIlgA/CBzooaAHgQUHEvSgIEAABQUfHFTIwQECDAMwYDhg
|
||||
oENCgRw8dBgAAECFBgsweJxYsAODDjApTIhAwCMHkCItGOxwgUCGlQQTeAgJsyhQg0iTGvzQ0qhND0IX
|
||||
dtBwQcJKDxZsIhQpIcIECkVffmwpYUGDCiUheBQg1cCBAgU2QFDg4KZCDxIZOoQ48S7LpQoDCx4cEAA7
|
||||
</value>
|
||||
</data>
|
||||
<data name="saveToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
R0lGODlhEAAQAIQAAJXD9Iasxm6MqnSn2lZtjVaRyEpXbYu767TX/2KZztvr/4Gy5KrT/3ut32+gzlFh
|
||||
e+r0/0RNX9/u/9Ln+8Xg//n8/4e36CkxQz9GVkSCvKjL35/N/Je91K7T5bDS4////yH/C05FVFNDQVBF
|
||||
Mi4wAwEBAAAh+QQAAAAAACwAAAAAEAAQAAAIuQA/CBxIsKDACRwScggQwIGAhwIICBDYQcEEgwg+bNjw
|
||||
QKCHCQgkQBgpQcKBCg0AEBCoAaRIkhIsVBigUiAHCgwkKNjJU8GAAx0/3NwIAMABCwsaDHCwIGgAChuK
|
||||
HjiQdMDSAQYEPpWKtKqDBA6yfgiAwGhXpUsTJIgg0AGCo0nRfi1QgO0HAQyQNpCrtkAGDAIFbKi69GsC
|
||||
un8FEohqdEFavxkyXAhMoPKDBwYMRIiAAcOFoAZDCwwIADs=
|
||||
</value>
|
||||
</data>
|
||||
<data name="loadToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
R0lGODlhEAAQAIQfAJfL/OTs9HWVsW6aUqnT+6bnZldwkYiux7TZ/O3z+UlVa/P2+ZfTW36wWJDLV4m7
|
||||
69nn78bi/qjL3qDP+VJhe4rAVa7S40NLXJ3bYJrA1ikxQz5FVdDU22OPRf///////yH/C05FVFNDQVBF
|
||||
Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIwQA9CBxIcOCHgx4gWLAgIUOGAwcESBTgAaEFCAEGaBwQ
|
||||
IGOABwYqerCQsYBJBho7JHgAUqCEDjAxYGBQgYHKBAsoCMzQIUIEmA6CdkCAIOfOBT5/MnBQYSgBozCj
|
||||
SoVJ4KkCDx1MFhhKFEFVAhMCXM1aAANMoh2qTgh7AWvZmQ6igp0AIEDbDg0aLA06YC4AABA2eBjgYcHG
|
||||
vmv/Akgg2IMBDgsSdJwcAEICDhoECjDAmQIFBQouXNiwQYPOgqgLBgQAOw==
|
||||
</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using FCOMMON;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@@ -9,7 +10,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace FPJ0000
|
||||
{
|
||||
public partial class rPartList : Form
|
||||
public partial class rPartList : fBase
|
||||
{
|
||||
int ProjectIndex;
|
||||
public rPartList(int idx_)
|
||||
@@ -20,6 +21,7 @@ namespace FPJ0000
|
||||
|
||||
private void fRPartList_Load(object sender, EventArgs e)
|
||||
{
|
||||
EnsureVisibleAndUsableSize();
|
||||
button1.PerformClick();
|
||||
}
|
||||
|
||||
|
||||
@@ -31,6 +31,7 @@ namespace FPJ0000
|
||||
}
|
||||
private void fProjectData_Load(object sender, EventArgs e)
|
||||
{
|
||||
EnsureVisibleAndUsableSize();
|
||||
//상태
|
||||
var dt_eetproc = FCOMMON.DBM.getCodeTable("10");
|
||||
this.cmbProcess.DisplayMember = "Value";
|
||||
|
||||
@@ -29,6 +29,7 @@ namespace FPJ0000
|
||||
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
EnsureVisibleAndUsableSize();
|
||||
//프로젝트 목록을 처리함
|
||||
//this.tbRequest.Text = FCOMMON.info.Login.nameK;
|
||||
cmbDateType.SelectedIndex = 0; //기본시작일 기준으로 한다
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using FCOMMON;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@@ -10,7 +11,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace FPJ0000.SaveCost
|
||||
{
|
||||
public partial class fSaveCostReport : Form
|
||||
public partial class fSaveCostReport : fBase
|
||||
{
|
||||
public fSaveCostReport()
|
||||
{
|
||||
@@ -19,6 +20,7 @@ namespace FPJ0000.SaveCost
|
||||
|
||||
private void fEBoardReport_Load(object sender, EventArgs e)
|
||||
{
|
||||
EnsureVisibleAndUsableSize();
|
||||
//기본엑셀파일을 가져온다
|
||||
this.Show();
|
||||
Application.DoEvents();
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using FCOMMON;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@@ -9,7 +10,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace FPJ0000
|
||||
{
|
||||
public partial class fHistAdd : Form
|
||||
public partial class fHistAdd : fBase
|
||||
{
|
||||
dsPRJ.ProjectsHistoryRow dr = null;
|
||||
public fHistAdd(dsPRJ.ProjectsHistoryRow dr_)
|
||||
@@ -26,6 +27,7 @@ namespace FPJ0000
|
||||
|
||||
private void fHistAdd_Load(object sender, EventArgs e)
|
||||
{
|
||||
EnsureVisibleAndUsableSize();
|
||||
this.tbRemark.Text = this.dr.remark;
|
||||
this.mcDate.SetDate(DateTime.Parse( dr.pdate));
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using FCOMMON;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@@ -9,7 +10,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace FPJ0000
|
||||
{
|
||||
public partial class fHistAddDay : Form
|
||||
public partial class fHistAddDay : fBase
|
||||
{
|
||||
dsPRJ.EETGW_ProjecthistoryDRow dr = null;
|
||||
public fHistAddDay(dsPRJ.EETGW_ProjecthistoryDRow dr_)
|
||||
@@ -18,14 +19,9 @@ namespace FPJ0000
|
||||
this.dr = dr_;
|
||||
this.KeyDown += fHistAdd_KeyDown;
|
||||
}
|
||||
|
||||
void fHistAdd_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Escape) this.Close();
|
||||
}
|
||||
|
||||
private void fHistAdd_Load(object sender, EventArgs e)
|
||||
private void fHistAdd_Load(object sender, EventArgs e)
|
||||
{
|
||||
EnsureVisibleAndUsableSize();
|
||||
if (this.dr.IsremarkNull() == false)
|
||||
this.tbRemark.Text = this.dr.remark;
|
||||
else
|
||||
@@ -34,6 +30,12 @@ namespace FPJ0000
|
||||
this.mcDate.SetDate(DateTime.Parse(dr.pdate));
|
||||
}
|
||||
|
||||
void fHistAdd_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Escape) this.Close();
|
||||
}
|
||||
|
||||
|
||||
private void btOK_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Validate();
|
||||
|
||||
@@ -26,7 +26,25 @@ namespace FPJ0000
|
||||
this.KeyDown += fPartList_KeyDown;
|
||||
this.dsPRJ.ProjectsMailList.TableNewRow += ProjectsPart_TableNewRow;
|
||||
}
|
||||
|
||||
private void fPartList_Load(object sender, EventArgs e)
|
||||
{
|
||||
EnsureVisibleAndUsableSize();
|
||||
//열번호찾기
|
||||
//foreach(FarPoint.Win.Spread.Column col in this.fpSpread1.ActiveSheet.Columns)
|
||||
//{
|
||||
// string colname = col.DataField.ToLower();
|
||||
// if (colname == "itemmodel") colidx_model = col.Index;
|
||||
// else if (colname == "itemname") colidx_itemname = col.Index;
|
||||
// else if (colname == "item") colidx_item = col.Index;
|
||||
// else if (colname == "qty") colidx_qty = col.Index;
|
||||
// else if (colname == "price") colidx_price = col.Index;
|
||||
// else if (colname == "amt") colidx_amt = col.Index;
|
||||
// else if (colname == "supplyidx") colidx_supplyidx = col.Index;
|
||||
// else if (col.Label.ToLower() == "supply") colidx_supply = col.Index;
|
||||
//}
|
||||
RefreshData();
|
||||
FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize);
|
||||
}
|
||||
void ProjectsPart_TableNewRow(object sender, DataTableNewRowEventArgs e)
|
||||
{
|
||||
e.Row["wuid"] = FCOMMON.info.Login.no;
|
||||
@@ -46,24 +64,7 @@ namespace FPJ0000
|
||||
|
||||
}
|
||||
|
||||
private void fPartList_Load(object sender, EventArgs e)
|
||||
{
|
||||
//열번호찾기
|
||||
//foreach(FarPoint.Win.Spread.Column col in this.fpSpread1.ActiveSheet.Columns)
|
||||
//{
|
||||
// string colname = col.DataField.ToLower();
|
||||
// if (colname == "itemmodel") colidx_model = col.Index;
|
||||
// else if (colname == "itemname") colidx_itemname = col.Index;
|
||||
// else if (colname == "item") colidx_item = col.Index;
|
||||
// else if (colname == "qty") colidx_qty = col.Index;
|
||||
// else if (colname == "price") colidx_price = col.Index;
|
||||
// else if (colname == "amt") colidx_amt = col.Index;
|
||||
// else if (colname == "supplyidx") colidx_supplyidx = col.Index;
|
||||
// else if (col.Label.ToLower() == "supply") colidx_supply = col.Index;
|
||||
//}
|
||||
RefreshData();
|
||||
FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize);
|
||||
}
|
||||
|
||||
|
||||
void RefreshData()
|
||||
{
|
||||
|
||||
@@ -167,6 +167,7 @@ namespace FPJ0000
|
||||
|
||||
private void fPartList_Load(object sender, EventArgs e)
|
||||
{
|
||||
EnsureVisibleAndUsableSize();
|
||||
fn_fpcolsize = util.MakeFilePath(util.CurrentPath, "formSetting", "fp_" + this.Name + ".ini");
|
||||
this.FormClosed += fPartList_FormClosed;
|
||||
this.KeyPreview = true;
|
||||
|
||||
Reference in New Issue
Block a user