190806 chi 품목정보에서 카테고리 없는 자료도 보이게 함
품목정보 정렬 기능 추가 190731 로그기록화면(beta)추가
This commit is contained in:
94
SubProject/FCM0000/DSInventory.Designer.cs
generated
94
SubProject/FCM0000/DSInventory.Designer.cs
generated
@@ -2800,7 +2800,7 @@ SELECT idx, gcode, pdate, invtype, uid, dbo.getItemName(item) AS itemName, dbo.g
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
private void InitCommandCollection() {
|
||||
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3];
|
||||
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[4];
|
||||
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[0].Connection = this.Connection;
|
||||
this._commandCollection[0].CommandText = @"SELECT idx, gcode, pdate, invtype, uid, dbo.getItemName(item) AS itemName, dbo.getItemModel(item) AS itemModel, serial, dr_qty, dr_amt, cr_qty, cr_amt, place, memo, project, projectName, wuid,
|
||||
@@ -2819,12 +2819,24 @@ ORDER BY pdate DESC";
|
||||
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ed", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[2].Connection = this.Connection;
|
||||
this._commandCollection[2].CommandText = @"SELECT cr_amt, cr_qty, dr_amt, dr_qty, gcode, idx, invtype, item, dbo.getItemModel(item) AS itemModel, dbo.getItemName(item) AS itemName, memo, pdate, place, project, projectName, serial, uid, wdate, wuid FROM Inventory WHERE (gcode = @gcode) AND (pdate BETWEEN @sd AND @ed) AND (uid = @uid) ORDER BY pdate DESC";
|
||||
this._commandCollection[2].CommandText = @"SELECT idx, gcode, pdate, invtype, uid, dbo.getItemName(item) AS itemName, dbo.getItemModel(item) AS itemModel, serial, dr_qty, dr_amt, cr_qty, cr_amt, place, memo, project, projectName, wuid,
|
||||
wdate, item
|
||||
FROM Inventory
|
||||
WHERE (gcode = @gcode) AND (pdate BETWEEN @sd AND @ed) AND (item = @item)
|
||||
ORDER BY pdate DESC";
|
||||
this._commandCollection[2].CommandType = global::System.Data.CommandType.Text;
|
||||
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sd", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ed", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uid", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@item", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "item", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[3].Connection = this.Connection;
|
||||
this._commandCollection[3].CommandText = @"SELECT cr_amt, cr_qty, dr_amt, dr_qty, gcode, idx, invtype, item, dbo.getItemModel(item) AS itemModel, dbo.getItemName(item) AS itemName, memo, pdate, place, project, projectName, serial, uid, wdate, wuid FROM Inventory WHERE (gcode = @gcode) AND (pdate BETWEEN @sd AND @ed) AND (uid = @uid) ORDER BY pdate DESC";
|
||||
this._commandCollection[3].CommandType = global::System.Data.CommandType.Text;
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sd", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ed", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uid", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -2927,7 +2939,7 @@ ORDER BY pdate DESC";
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
|
||||
public virtual int FillByUid(DSInventory.InventoryDataTable dataTable, string gcode, string sd, string ed, string uid) {
|
||||
public virtual int FillByDateItem(DSInventory.InventoryDataTable dataTable, string gcode, string sd, string ed, global::System.Nullable<int> item) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[2];
|
||||
if ((gcode == null)) {
|
||||
throw new global::System.ArgumentNullException("gcode");
|
||||
@@ -2947,6 +2959,78 @@ ORDER BY pdate DESC";
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[2].Value = ((string)(ed));
|
||||
}
|
||||
if ((item.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[3].Value = ((int)(item.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((this.ClearBeforeFill == true)) {
|
||||
dataTable.Clear();
|
||||
}
|
||||
int returnValue = this.Adapter.Fill(dataTable);
|
||||
return returnValue;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
||||
public virtual DSInventory.InventoryDataTable GetByDateItem(string gcode, string sd, string ed, global::System.Nullable<int> item) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[2];
|
||||
if ((gcode == null)) {
|
||||
throw new global::System.ArgumentNullException("gcode");
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode));
|
||||
}
|
||||
if ((sd == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(sd));
|
||||
}
|
||||
if ((ed == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[2].Value = ((string)(ed));
|
||||
}
|
||||
if ((item.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[3].Value = ((int)(item.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
||||
}
|
||||
DSInventory.InventoryDataTable dataTable = new DSInventory.InventoryDataTable();
|
||||
this.Adapter.Fill(dataTable);
|
||||
return dataTable;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
|
||||
public virtual int FillByUid(DSInventory.InventoryDataTable dataTable, string gcode, string sd, string ed, string uid) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[3];
|
||||
if ((gcode == null)) {
|
||||
throw new global::System.ArgumentNullException("gcode");
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode));
|
||||
}
|
||||
if ((sd == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(sd));
|
||||
}
|
||||
if ((ed == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[2].Value = ((string)(ed));
|
||||
}
|
||||
if ((uid == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
||||
}
|
||||
@@ -2965,7 +3049,7 @@ ORDER BY pdate DESC";
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
||||
public virtual DSInventory.InventoryDataTable GetByUid(string gcode, string sd, string ed, string uid) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[2];
|
||||
this.Adapter.SelectCommand = this.CommandCollection[3];
|
||||
if ((gcode == null)) {
|
||||
throw new global::System.ArgumentNullException("gcode");
|
||||
}
|
||||
|
||||
@@ -174,6 +174,23 @@ SELECT idx, gcode, pdate, invtype, uid, dbo.getItemName(item) AS itemName, dbo.g
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Inventory" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByDateItem" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetByDateItem" GeneratorSourceName="FillByDateItem" GetMethodModifier="Public" GetMethodName="GetByDateItem" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetByDateItem" UserSourceName="FillByDateItem">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>SELECT idx, gcode, pdate, invtype, uid, dbo.getItemName(item) AS itemName, dbo.getItemModel(item) AS itemModel, serial, dr_qty, dr_amt, cr_qty, cr_amt, place, memo, project, projectName, wuid,
|
||||
wdate, item
|
||||
FROM Inventory
|
||||
WHERE (gcode = @gcode) AND (pdate BETWEEN @sd AND @ed) AND (item = @item)
|
||||
ORDER BY pdate DESC</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="gcode" ColumnName="gcode" DataSourceName="GroupWare.dbo.Inventory" 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="sd" ColumnName="pdate" DataSourceName="GroupWare.dbo.Inventory" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@sd" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="ed" ColumnName="pdate" DataSourceName="GroupWare.dbo.Inventory" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@ed" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="item" ColumnName="item" DataSourceName="GroupWare.dbo.Inventory" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@item" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="item" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Inventory" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByUid" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetByUid" GeneratorSourceName="FillByUid" GetMethodModifier="Public" GetMethodName="GetByUid" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetByUid" UserSourceName="FillByUid">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
@@ -305,7 +322,7 @@ WHERE (idx = @Original_idx)</CommandText>
|
||||
<xs:element name="DSInventory" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DSInventory" msprop:Generator_UserDSName="DSInventory">
|
||||
<xs:complexType>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="Inventory" msprop:Generator_TableClassName="InventoryDataTable" msprop:Generator_TableVarName="tableInventory" msprop:Generator_TablePropName="Inventory" msprop:Generator_RowDeletingName="InventoryRowDeleting" msprop:Generator_RowChangingName="InventoryRowChanging" msprop:Generator_RowEvHandlerName="InventoryRowChangeEventHandler" msprop:Generator_RowDeletedName="InventoryRowDeleted" msprop:Generator_UserTableName="Inventory" msprop:Generator_RowChangedName="InventoryRowChanged" msprop:Generator_RowEvArgName="InventoryRowChangeEvent" msprop:Generator_RowClassName="InventoryRow">
|
||||
<xs:element name="Inventory" msprop:Generator_TableClassName="InventoryDataTable" msprop:Generator_TableVarName="tableInventory" msprop:Generator_RowChangedName="InventoryRowChanged" msprop:Generator_TablePropName="Inventory" msprop:Generator_RowDeletingName="InventoryRowDeleting" msprop:Generator_RowChangingName="InventoryRowChanging" msprop:Generator_RowEvHandlerName="InventoryRowChangeEventHandler" msprop:Generator_RowDeletedName="InventoryRowDeleted" msprop:Generator_RowClassName="InventoryRow" msprop:Generator_UserTableName="Inventory" msprop:Generator_RowEvArgName="InventoryRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" />
|
||||
@@ -396,7 +413,7 @@ WHERE (idx = @Original_idx)</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="vInventory" msprop:Generator_TableClassName="vInventoryDataTable" msprop:Generator_TableVarName="tablevInventory" msprop:Generator_TablePropName="vInventory" msprop:Generator_RowDeletingName="vInventoryRowDeleting" msprop:Generator_RowChangingName="vInventoryRowChanging" msprop:Generator_RowEvHandlerName="vInventoryRowChangeEventHandler" msprop:Generator_RowDeletedName="vInventoryRowDeleted" msprop:Generator_UserTableName="vInventory" msprop:Generator_RowChangedName="vInventoryRowChanged" msprop:Generator_RowEvArgName="vInventoryRowChangeEvent" msprop:Generator_RowClassName="vInventoryRow">
|
||||
<xs:element name="vInventory" msprop:Generator_TableClassName="vInventoryDataTable" msprop:Generator_TableVarName="tablevInventory" msprop:Generator_RowChangedName="vInventoryRowChanged" msprop:Generator_TablePropName="vInventory" msprop:Generator_RowDeletingName="vInventoryRowDeleting" msprop:Generator_RowChangingName="vInventoryRowChanging" msprop:Generator_RowEvHandlerName="vInventoryRowChangeEventHandler" msprop:Generator_RowDeletedName="vInventoryRowDeleted" msprop:Generator_RowClassName="vInventoryRow" msprop:Generator_UserTableName="vInventory" msprop:Generator_RowEvArgName="vInventoryRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" />
|
||||
|
||||
1799
SubProject/FCM0000/DSReport.Designer.cs
generated
1799
SubProject/FCM0000/DSReport.Designer.cs
generated
File diff suppressed because it is too large
Load Diff
@@ -34,6 +34,83 @@ ORDER BY username, project, ItemName</CommandText>
|
||||
</Mappings>
|
||||
<Sources />
|
||||
</TableAdapter>
|
||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="jagosummaryTableAdapter" GeneratorDataComponentClassName="jagosummaryTableAdapter" Name="jagosummary" UserDataComponentName="jagosummaryTableAdapter">
|
||||
<MainSource>
|
||||
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Items" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>SELECT Items.idx, MAX(Inventory.pdate) AS lastDate, Items.name, Items.sid, Items.model, SUM(Inventory.dr_qty) AS Qty, SUM(Inventory.dr_amt) AS Amt, Items.supply
|
||||
FROM Inventory LEFT OUTER JOIN
|
||||
Items ON Inventory.gcode = Items.gcode AND Inventory.item = Items.idx
|
||||
WHERE (Inventory.gcode = @gcode) AND (Inventory.pdate <= @baseDate)
|
||||
GROUP BY Items.idx, Items.name, Items.sid, Items.model, Items.supply</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="gcode" ColumnName="gcode" DataSourceName="GroupWare.dbo.Inventory" 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="baseDate" ColumnName="pdate" DataSourceName="GroupWare.dbo.Inventory" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@baseDate" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
</MainSource>
|
||||
<Mappings>
|
||||
<Mapping SourceColumn="idx" DataSetColumn="idx" />
|
||||
<Mapping SourceColumn="lastDate" DataSetColumn="lastDate" />
|
||||
<Mapping SourceColumn="name" DataSetColumn="name" />
|
||||
<Mapping SourceColumn="sid" DataSetColumn="sid" />
|
||||
<Mapping SourceColumn="model" DataSetColumn="model" />
|
||||
<Mapping SourceColumn="Qty" DataSetColumn="Qty" />
|
||||
<Mapping SourceColumn="Amt" DataSetColumn="Amt" />
|
||||
<Mapping SourceColumn="supply" DataSetColumn="supply" />
|
||||
</Mappings>
|
||||
<Sources />
|
||||
</TableAdapter>
|
||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="jagosummaryPlaceTableAdapter" GeneratorDataComponentClassName="jagosummaryPlaceTableAdapter" Name="jagosummaryPlace" UserDataComponentName="jagosummaryPlaceTableAdapter">
|
||||
<MainSource>
|
||||
<DbSource ConnectionRef="gwcs (Settings)" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>SELECT Inventory.place, MAX(Inventory.pdate) AS lastDate, Items.name, Items.sid, Items.model, SUM(Inventory.dr_qty) AS Qty, SUM(Inventory.dr_amt) AS Amt, Items.supply
|
||||
FROM Inventory LEFT OUTER JOIN
|
||||
Items ON Inventory.gcode = Items.gcode AND Inventory.item = Items.idx
|
||||
WHERE (Inventory.gcode = @gcode) AND (Inventory.pdate <= @baseDate)
|
||||
GROUP BY Items.name, Items.sid, Items.model, Items.supply, Inventory.place</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="gcode" ColumnName="gcode" DataSourceName="GroupWare.dbo.Inventory" 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="baseDate" ColumnName="pdate" DataSourceName="GroupWare.dbo.Inventory" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@baseDate" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
</MainSource>
|
||||
<Mappings>
|
||||
<Mapping SourceColumn="place" DataSetColumn="place" />
|
||||
<Mapping SourceColumn="lastDate" DataSetColumn="lastDate" />
|
||||
<Mapping SourceColumn="name" DataSetColumn="name" />
|
||||
<Mapping SourceColumn="sid" DataSetColumn="sid" />
|
||||
<Mapping SourceColumn="model" DataSetColumn="model" />
|
||||
<Mapping SourceColumn="Qty" DataSetColumn="Qty" />
|
||||
<Mapping SourceColumn="Amt" DataSetColumn="Amt" />
|
||||
<Mapping SourceColumn="supply" DataSetColumn="supply" />
|
||||
</Mappings>
|
||||
<Sources>
|
||||
<DbSource ConnectionRef="gwcs (Settings)" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="FillByItemIdx" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetbyItemIdx" GeneratorSourceName="FillByItemIdx" GetMethodModifier="Public" GetMethodName="GetbyItemIdx" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetbyItemIdx" UserSourceName="FillByItemIdx">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>SELECT Inventory.place, MAX(Inventory.pdate) AS lastDate, Items.name, Items.sid, Items.model, SUM(Inventory.dr_qty) AS Qty, SUM(Inventory.dr_amt) AS Amt, Items.supply
|
||||
FROM Inventory LEFT OUTER JOIN
|
||||
Items ON Inventory.gcode = Items.gcode AND Inventory.item = Items.idx
|
||||
WHERE (Inventory.gcode = @gcode) AND (Inventory.pdate <= @baseDate) AND (Items.idx = @item)
|
||||
GROUP BY Items.name, Items.sid, Items.model, Items.supply, Inventory.place</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="gcode" ColumnName="gcode" DataSourceName="GroupWare.dbo.Inventory" 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="baseDate" ColumnName="pdate" DataSourceName="GroupWare.dbo.Inventory" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@baseDate" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="item" ColumnName="idx" DataSourceName="GroupWare.dbo.Items" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@item" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
</Sources>
|
||||
</TableAdapter>
|
||||
</Tables>
|
||||
<Sources />
|
||||
</DataSource>
|
||||
@@ -42,7 +119,7 @@ ORDER BY username, project, ItemName</CommandText>
|
||||
<xs:element name="DSReport" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DSReport" msprop:Generator_UserDSName="DSReport">
|
||||
<xs:complexType>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="PersonInvStock" msprop:Generator_TableClassName="PersonInvStockDataTable" msprop:Generator_TableVarName="tablePersonInvStock" msprop:Generator_TablePropName="PersonInvStock" msprop:Generator_RowDeletingName="PersonInvStockRowDeleting" msprop:Generator_RowChangingName="PersonInvStockRowChanging" msprop:Generator_RowEvHandlerName="PersonInvStockRowChangeEventHandler" msprop:Generator_RowDeletedName="PersonInvStockRowDeleted" msprop:Generator_UserTableName="PersonInvStock" msprop:Generator_RowChangedName="PersonInvStockRowChanged" msprop:Generator_RowEvArgName="PersonInvStockRowChangeEvent" msprop:Generator_RowClassName="PersonInvStockRow">
|
||||
<xs:element name="PersonInvStock" msprop:Generator_TableClassName="PersonInvStockDataTable" msprop:Generator_TableVarName="tablePersonInvStock" msprop:Generator_RowChangedName="PersonInvStockRowChanged" msprop:Generator_TablePropName="PersonInvStock" msprop:Generator_RowDeletingName="PersonInvStockRowDeleting" msprop:Generator_RowChangingName="PersonInvStockRowChanging" msprop:Generator_RowEvHandlerName="PersonInvStockRowChangeEventHandler" msprop:Generator_RowDeletedName="PersonInvStockRowDeleted" msprop:Generator_RowClassName="PersonInvStockRow" msprop:Generator_UserTableName="PersonInvStock" msprop:Generator_RowEvArgName="PersonInvStockRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="username" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnusername" msprop:Generator_ColumnPropNameInRow="username" msprop:Generator_ColumnPropNameInTable="usernameColumn" msprop:Generator_UserColumnName="username" minOccurs="0">
|
||||
@@ -77,7 +154,105 @@ ORDER BY username, project, ItemName</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="jagosummary" msprop:Generator_TableClassName="jagosummaryDataTable" msprop:Generator_TableVarName="tablejagosummary" msprop:Generator_TablePropName="jagosummary" msprop:Generator_RowDeletingName="jagosummaryRowDeleting" msprop:Generator_RowChangingName="jagosummaryRowChanging" msprop:Generator_RowEvHandlerName="jagosummaryRowChangeEventHandler" msprop:Generator_RowDeletedName="jagosummaryRowDeleted" msprop:Generator_UserTableName="jagosummary" msprop:Generator_RowChangedName="jagosummaryRowChanged" msprop:Generator_RowEvArgName="jagosummaryRowChangeEvent" msprop:Generator_RowClassName="jagosummaryRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="lastDate" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnlastDate" msprop:Generator_ColumnPropNameInRow="lastDate" msprop:Generator_ColumnPropNameInTable="lastDateColumn" msprop:Generator_UserColumnName="lastDate" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="10" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="name" msprop:Generator_ColumnVarNameInTable="columnname" msprop:Generator_ColumnPropNameInRow="name" msprop:Generator_ColumnPropNameInTable="nameColumn" msprop:Generator_UserColumnName="name" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="200" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="sid" msprop:Generator_ColumnVarNameInTable="columnsid" msprop:Generator_ColumnPropNameInRow="sid" msprop:Generator_ColumnPropNameInTable="sidColumn" msprop:Generator_UserColumnName="sid" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="model" msprop:Generator_ColumnVarNameInTable="columnmodel" msprop:Generator_ColumnPropNameInRow="model" msprop:Generator_ColumnPropNameInTable="modelColumn" msprop:Generator_UserColumnName="model" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="200" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="Qty" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnQty" msprop:Generator_ColumnPropNameInRow="Qty" msprop:Generator_ColumnPropNameInTable="QtyColumn" msprop:Generator_UserColumnName="Qty" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="Amt" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnAmt" msprop:Generator_ColumnPropNameInRow="Amt" msprop:Generator_ColumnPropNameInTable="AmtColumn" msprop:Generator_UserColumnName="Amt" type="xs:decimal" minOccurs="0" />
|
||||
<xs:element name="supply" msprop:Generator_ColumnVarNameInTable="columnsupply" msprop:Generator_ColumnPropNameInRow="supply" msprop:Generator_ColumnPropNameInTable="supplyColumn" msprop:Generator_UserColumnName="supply" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="100" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="jagosummaryPlace" msprop:Generator_TableClassName="jagosummaryPlaceDataTable" msprop:Generator_TableVarName="tablejagosummaryPlace" msprop:Generator_TablePropName="jagosummaryPlace" msprop:Generator_RowDeletingName="jagosummaryPlaceRowDeleting" msprop:Generator_RowChangingName="jagosummaryPlaceRowChanging" msprop:Generator_RowEvHandlerName="jagosummaryPlaceRowChangeEventHandler" msprop:Generator_RowDeletedName="jagosummaryPlaceRowDeleted" msprop:Generator_UserTableName="jagosummaryPlace" msprop:Generator_RowChangedName="jagosummaryPlaceRowChanged" msprop:Generator_RowEvArgName="jagosummaryPlaceRowChangeEvent" msprop:Generator_RowClassName="jagosummaryPlaceRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="place" msprop:Generator_ColumnVarNameInTable="columnplace" msprop:Generator_ColumnPropNameInRow="place" msprop:Generator_ColumnPropNameInTable="placeColumn" msprop:Generator_UserColumnName="place" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="100" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="lastDate" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnlastDate" msprop:Generator_ColumnPropNameInRow="lastDate" msprop:Generator_ColumnPropNameInTable="lastDateColumn" msprop:Generator_UserColumnName="lastDate" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="10" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="name" msprop:Generator_ColumnVarNameInTable="columnname" msprop:Generator_ColumnPropNameInRow="name" msprop:Generator_ColumnPropNameInTable="nameColumn" msprop:Generator_UserColumnName="name" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="200" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="sid" msprop:Generator_ColumnVarNameInTable="columnsid" msprop:Generator_ColumnPropNameInRow="sid" msprop:Generator_ColumnPropNameInTable="sidColumn" msprop:Generator_UserColumnName="sid" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="model" msprop:Generator_ColumnVarNameInTable="columnmodel" msprop:Generator_ColumnPropNameInRow="model" msprop:Generator_ColumnPropNameInTable="modelColumn" msprop:Generator_UserColumnName="model" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="200" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="Qty" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnQty" msprop:Generator_ColumnPropNameInRow="Qty" msprop:Generator_ColumnPropNameInTable="QtyColumn" msprop:Generator_UserColumnName="Qty" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="Amt" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnAmt" msprop:Generator_ColumnPropNameInRow="Amt" msprop:Generator_ColumnPropNameInTable="AmtColumn" msprop:Generator_UserColumnName="Amt" type="xs:decimal" minOccurs="0" />
|
||||
<xs:element name="supply" msprop:Generator_ColumnVarNameInTable="columnsupply" msprop:Generator_ColumnPropNameInRow="supply" msprop:Generator_ColumnPropNameInTable="supplyColumn" msprop:Generator_UserColumnName="supply" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="100" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
<xs:unique name="Constraint1">
|
||||
<xs:selector xpath=".//mstns:jagosummary" />
|
||||
<xs:field xpath="mstns:idx" />
|
||||
</xs:unique>
|
||||
</xs:element>
|
||||
</xs:schema>
|
||||
@@ -4,9 +4,11 @@
|
||||
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="0" ViewPortY="0" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="0" ViewPortY="77" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<Shapes>
|
||||
<Shape ID="DesignTable:PersonInvStock" ZOrder="1" X="172" Y="110" Height="229" Width="156" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:PersonInvStock" ZOrder="3" X="67" Y="127" Height="229" Width="156" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:jagosummary" ZOrder="2" X="256" Y="131" Height="229" Width="214" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
|
||||
<Shape ID="DesignTable:jagosummaryPlace" ZOrder="1" X="506" Y="141" Height="248" Width="214" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
|
||||
</Shapes>
|
||||
<Connectors />
|
||||
</DiagramLayout>
|
||||
@@ -143,12 +143,24 @@
|
||||
<Compile Include="fCode.Designer.cs">
|
||||
<DependentUpon>fCode.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Inventory\fInventoryJagoList.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Inventory\fInventoryJagoList.Designer.cs">
|
||||
<DependentUpon>fInventoryJagoList.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Inventory\finventoryAdd.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Inventory\finventoryAdd.Designer.cs">
|
||||
<DependentUpon>finventoryAdd.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Inventory\fInventoryJagoPlace.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Inventory\fInventoryJagoPlace.Designer.cs">
|
||||
<DependentUpon>fInventoryJagoPlace.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="User\fLovUser.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
@@ -287,9 +299,16 @@
|
||||
<EmbeddedResource Include="fCode.resx">
|
||||
<DependentUpon>fCode.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Inventory\fInventoryJagoList.resx">
|
||||
<DependentUpon>fInventoryJagoList.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Inventory\finventoryAdd.resx">
|
||||
<DependentUpon>finventoryAdd.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Inventory\fInventoryJagoPlace.resx">
|
||||
<DependentUpon>fInventoryJagoPlace.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Inventory\RepInvStockPlace.rdlc" />
|
||||
<EmbeddedResource Include="User\fLovUser.resx">
|
||||
<DependentUpon>fLovUser.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
|
||||
@@ -8,6 +8,27 @@ namespace FCM0000
|
||||
{
|
||||
public static class FPUtil
|
||||
{
|
||||
public static void printsheet(FarPoint.Win.Spread.FpSpread fpSpread1, string headerTitle)
|
||||
{
|
||||
FarPoint.Win.Spread.PrintInfo printset = fpSpread1.Sheets[0].PrintInfo; // new FarPoint.Win.Spread.PrintInfo();
|
||||
printset.Header = headerTitle;
|
||||
printset.Footer = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
|
||||
printset.Orientation = FarPoint.Win.Spread.PrintOrientation.Auto;
|
||||
// printset.PdfWriteTo = FarPoint.Win.Spread.PdfWriteTo.File;
|
||||
// printset.PdfWriteMode = FarPoint.Win.Spread.PdfWriteMode.Append;
|
||||
// printset.PrintToPdf = true;
|
||||
printset.Preview = true;
|
||||
printset.UseSmartPrint = true;
|
||||
printset.BestFitCols = false;
|
||||
printset.BestFitRows = false;
|
||||
printset.BestFitWithSpan = true;
|
||||
printset.Centering = FarPoint.Win.Spread.Centering.Horizontal;
|
||||
printset.EnhancePreview = false;
|
||||
// printset.PdfFileName = "C:\\\results.pdf";
|
||||
fpSpread1.Sheets[0].PrintInfo = printset;
|
||||
fpSpread1.PrintSheet(0);
|
||||
}
|
||||
|
||||
public static void ColsizeSave(FarPoint.Win.Spread.FpSpread dv, string fn)
|
||||
{
|
||||
arUtil.INIHelper ini = new arUtil.INIHelper(fn);
|
||||
|
||||
101
SubProject/FCM0000/Inventory/RepInvStock.Designer.cs
generated
101
SubProject/FCM0000/Inventory/RepInvStock.Designer.cs
generated
@@ -30,14 +30,31 @@
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
Microsoft.Reporting.WinForms.ReportDataSource reportDataSource1 = new Microsoft.Reporting.WinForms.ReportDataSource();
|
||||
this.reportViewer1 = new Microsoft.Reporting.WinForms.ReportViewer();
|
||||
this.dSReport = new FCM0000.DSReport();
|
||||
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.ta = new FCM0000.DSReportTableAdapters.PersonInvStockTableAdapter();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dSReport)).BeginInit();
|
||||
this.dSReport = new FCM0000.DSReport();
|
||||
this.reportViewer1 = new Microsoft.Reporting.WinForms.ReportViewer();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.checkBox1 = new System.Windows.Forms.CheckBox();
|
||||
this.btrefresh = new System.Windows.Forms.Button();
|
||||
this.tbDate = new System.Windows.Forms.TextBox();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.ta = new FCM0000.DSReportTableAdapters.jagosummaryTableAdapter();
|
||||
this.taPlace = new FCM0000.DSReportTableAdapters.jagosummaryPlaceTableAdapter();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dSReport)).BeginInit();
|
||||
this.panel1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// bs
|
||||
//
|
||||
this.bs.DataMember = "jagosummary";
|
||||
this.bs.DataSource = this.dSReport;
|
||||
//
|
||||
// dSReport
|
||||
//
|
||||
this.dSReport.DataSetName = "DSReport";
|
||||
this.dSReport.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
||||
//
|
||||
// reportViewer1
|
||||
//
|
||||
this.reportViewer1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
@@ -45,37 +62,83 @@
|
||||
reportDataSource1.Value = this.bs;
|
||||
this.reportViewer1.LocalReport.DataSources.Add(reportDataSource1);
|
||||
this.reportViewer1.LocalReport.ReportEmbeddedResource = "FCM0000.Inventory.RepInvStock.rdlc";
|
||||
this.reportViewer1.Location = new System.Drawing.Point(0, 0);
|
||||
this.reportViewer1.Location = new System.Drawing.Point(0, 36);
|
||||
this.reportViewer1.Name = "reportViewer1";
|
||||
this.reportViewer1.Size = new System.Drawing.Size(660, 589);
|
||||
this.reportViewer1.Size = new System.Drawing.Size(738, 501);
|
||||
this.reportViewer1.TabIndex = 0;
|
||||
//
|
||||
// dSReport
|
||||
// panel1
|
||||
//
|
||||
this.dSReport.DataSetName = "DSReport";
|
||||
this.dSReport.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
||||
this.panel1.Controls.Add(this.checkBox1);
|
||||
this.panel1.Controls.Add(this.btrefresh);
|
||||
this.panel1.Controls.Add(this.tbDate);
|
||||
this.panel1.Controls.Add(this.label1);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel1.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(738, 36);
|
||||
this.panel1.TabIndex = 1;
|
||||
//
|
||||
// bs
|
||||
// checkBox1
|
||||
//
|
||||
this.bs.DataMember = "PersonInvStock";
|
||||
this.bs.DataSource = this.dSReport;
|
||||
this.checkBox1.AutoSize = true;
|
||||
this.checkBox1.Location = new System.Drawing.Point(322, 11);
|
||||
this.checkBox1.Name = "checkBox1";
|
||||
this.checkBox1.Size = new System.Drawing.Size(88, 16);
|
||||
this.checkBox1.TabIndex = 3;
|
||||
this.checkBox1.Text = "보관소 분리";
|
||||
this.checkBox1.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// btrefresh
|
||||
//
|
||||
this.btrefresh.Location = new System.Drawing.Point(239, 8);
|
||||
this.btrefresh.Name = "btrefresh";
|
||||
this.btrefresh.Size = new System.Drawing.Size(75, 21);
|
||||
this.btrefresh.TabIndex = 2;
|
||||
this.btrefresh.Text = "새로고침";
|
||||
this.btrefresh.UseVisualStyleBackColor = true;
|
||||
this.btrefresh.Click += new System.EventHandler(this.btrefresh_Click);
|
||||
//
|
||||
// tbDate
|
||||
//
|
||||
this.tbDate.Location = new System.Drawing.Point(88, 8);
|
||||
this.tbDate.Name = "tbDate";
|
||||
this.tbDate.Size = new System.Drawing.Size(143, 21);
|
||||
this.tbDate.TabIndex = 1;
|
||||
this.tbDate.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(13, 13);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(69, 12);
|
||||
this.label1.TabIndex = 0;
|
||||
this.label1.Text = "재고 기준일";
|
||||
//
|
||||
// ta
|
||||
//
|
||||
this.ta.ClearBeforeFill = true;
|
||||
//
|
||||
// taPlace
|
||||
//
|
||||
this.taPlace.ClearBeforeFill = true;
|
||||
//
|
||||
// RepInvStock
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(660, 589);
|
||||
this.ClientSize = new System.Drawing.Size(738, 537);
|
||||
this.Controls.Add(this.reportViewer1);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Name = "RepInvStock";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "RepInvStock";
|
||||
this.Text = "[FCM0000] 재고장";
|
||||
this.Load += new System.EventHandler(this.RepInvStock_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.dSReport)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dSReport)).EndInit();
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel1.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
@@ -85,6 +148,12 @@
|
||||
private Microsoft.Reporting.WinForms.ReportViewer reportViewer1;
|
||||
private System.Windows.Forms.BindingSource bs;
|
||||
private DSReport dSReport;
|
||||
private DSReportTableAdapters.PersonInvStockTableAdapter ta;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.TextBox tbDate;
|
||||
private System.Windows.Forms.Button btrefresh;
|
||||
private DSReportTableAdapters.jagosummaryTableAdapter ta;
|
||||
private System.Windows.Forms.CheckBox checkBox1;
|
||||
private DSReportTableAdapters.jagosummaryPlaceTableAdapter taPlace;
|
||||
}
|
||||
}
|
||||
@@ -11,24 +11,61 @@ namespace FCM0000.Inventory
|
||||
{
|
||||
public partial class RepInvStock : Form
|
||||
{
|
||||
string userid = string.Empty;
|
||||
public RepInvStock(string uid)
|
||||
public RepInvStock()
|
||||
{
|
||||
InitializeComponent();
|
||||
this.userid = uid;
|
||||
}
|
||||
|
||||
private void RepInvStock_Load(object sender, EventArgs e)
|
||||
{
|
||||
this.Show();
|
||||
Application.DoEvents();
|
||||
|
||||
this.tbDate.Text = DateTime.Now.ToShortDateString();
|
||||
this.reportViewer1.PageCountMode = Microsoft.Reporting.WinForms.PageCountMode.Actual;
|
||||
this.reportViewer1.ZoomMode = Microsoft.Reporting.WinForms.ZoomMode.PageWidth;
|
||||
refreshData();
|
||||
}
|
||||
void refreshData()
|
||||
{
|
||||
try
|
||||
{
|
||||
this.ta.Fill(this.dSReport.PersonInvStock, this.userid);
|
||||
if (checkBox1.Checked == false)
|
||||
this.reportViewer1.LocalReport.ReportEmbeddedResource = "FCM0000.Inventory.RepInvStock.rdlc";
|
||||
else
|
||||
this.reportViewer1.LocalReport.ReportEmbeddedResource = "FCM0000.Inventory.RepInvStockPlace.rdlc";
|
||||
|
||||
var plist = new List<Microsoft.Reporting.WinForms.ReportParameter>();
|
||||
plist.Add(new Microsoft.Reporting.WinForms.ReportParameter("pdate", this.tbDate.Text));
|
||||
plist.Add(new Microsoft.Reporting.WinForms.ReportParameter("gname", FCOMMON.info.Login.dept));
|
||||
plist.Add(new Microsoft.Reporting.WinForms.ReportParameter("gcode", FCOMMON.info.Login.gcode));
|
||||
this.reportViewer1.LocalReport.SetParameters(plist);
|
||||
|
||||
if (checkBox1.Checked)
|
||||
{
|
||||
this.bs.DataMember = "jagosummaryPlace";
|
||||
this.taPlace.Fill(this.dSReport.jagosummaryPlace, FCOMMON.info.Login.gcode, tbDate.Text);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.bs.DataMember = "jagosummary";
|
||||
this.ta.Fill(this.dSReport.jagosummary, FCOMMON.info.Login.gcode, tbDate.Text);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
this.reportViewer1.RefreshReport();
|
||||
}catch (Exception ex)
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
FCOMMON.Util.MsgE(ex.Message);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void btrefresh_Click(object sender, EventArgs e)
|
||||
{
|
||||
refreshData();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -118,12 +118,15 @@
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>120, 17</value>
|
||||
<value>104, 17</value>
|
||||
</metadata>
|
||||
<metadata name="dSReport.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>184, 17</value>
|
||||
<value>167, 17</value>
|
||||
</metadata>
|
||||
<metadata name="taPlace.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>229, 17</value>
|
||||
</metadata>
|
||||
</root>
|
||||
996
SubProject/FCM0000/Inventory/RepInvStockPlace.rdlc
Normal file
996
SubProject/FCM0000/Inventory/RepInvStockPlace.rdlc
Normal file
@@ -0,0 +1,996 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
|
||||
<Body>
|
||||
<ReportItems>
|
||||
<Tablix Name="Tablix2">
|
||||
<TablixBody>
|
||||
<TablixColumns>
|
||||
<TablixColumn>
|
||||
<Width>4.1784cm</Width>
|
||||
</TablixColumn>
|
||||
<TablixColumn>
|
||||
<Width>3.05765cm</Width>
|
||||
</TablixColumn>
|
||||
<TablixColumn>
|
||||
<Width>2.38125cm</Width>
|
||||
</TablixColumn>
|
||||
<TablixColumn>
|
||||
<Width>1.65333cm</Width>
|
||||
</TablixColumn>
|
||||
<TablixColumn>
|
||||
<Width>1.65333cm</Width>
|
||||
</TablixColumn>
|
||||
<TablixColumn>
|
||||
<Width>2.94979cm</Width>
|
||||
</TablixColumn>
|
||||
</TablixColumns>
|
||||
<TablixRows>
|
||||
<TablixRow>
|
||||
<Height>0.6cm</Height>
|
||||
<TablixCells>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="Textbox21">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>품명</Value>
|
||||
<Style>
|
||||
<FontFamily>맑은 고딕</FontFamily>
|
||||
<FontWeight>Bold</FontWeight>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style>
|
||||
<TextAlign>Center</TextAlign>
|
||||
</Style>
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox21</rd:DefaultName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>#7292cc</Color>
|
||||
<Style>Solid</Style>
|
||||
</Border>
|
||||
<BackgroundColor>LightGrey</BackgroundColor>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="Textbox23">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>모델</Value>
|
||||
<Style>
|
||||
<FontFamily>맑은 고딕</FontFamily>
|
||||
<FontWeight>Bold</FontWeight>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style>
|
||||
<TextAlign>Center</TextAlign>
|
||||
</Style>
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox23</rd:DefaultName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>#7292cc</Color>
|
||||
<Style>Solid</Style>
|
||||
</Border>
|
||||
<BackgroundColor>LightGrey</BackgroundColor>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="Textbox25">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>SID</Value>
|
||||
<Style>
|
||||
<FontFamily>맑은 고딕</FontFamily>
|
||||
<FontWeight>Bold</FontWeight>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style>
|
||||
<TextAlign>Center</TextAlign>
|
||||
</Style>
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox25</rd:DefaultName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>#7292cc</Color>
|
||||
<Style>Solid</Style>
|
||||
</Border>
|
||||
<BackgroundColor>LightGrey</BackgroundColor>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="Textbox5">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>place</Value>
|
||||
<Style>
|
||||
<FontFamily>맑은 고딕</FontFamily>
|
||||
<FontWeight>Bold</FontWeight>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style>
|
||||
<TextAlign>Center</TextAlign>
|
||||
</Style>
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox5</rd:DefaultName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>#7292cc</Color>
|
||||
<Style>Solid</Style>
|
||||
</Border>
|
||||
<BackgroundColor>LightGrey</BackgroundColor>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="Textbox27">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>수량</Value>
|
||||
<Style>
|
||||
<FontFamily>맑은 고딕</FontFamily>
|
||||
<FontWeight>Bold</FontWeight>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style>
|
||||
<TextAlign>Center</TextAlign>
|
||||
</Style>
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox27</rd:DefaultName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>#7292cc</Color>
|
||||
<Style>Solid</Style>
|
||||
</Border>
|
||||
<BackgroundColor>LightGrey</BackgroundColor>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="Textbox29">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>금액</Value>
|
||||
<Style>
|
||||
<FontFamily>맑은 고딕</FontFamily>
|
||||
<FontWeight>Bold</FontWeight>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style>
|
||||
<TextAlign>Center</TextAlign>
|
||||
</Style>
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox29</rd:DefaultName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>#7292cc</Color>
|
||||
<Style>Solid</Style>
|
||||
</Border>
|
||||
<BackgroundColor>LightGrey</BackgroundColor>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
</TablixCells>
|
||||
</TablixRow>
|
||||
<TablixRow>
|
||||
<Height>0.6cm</Height>
|
||||
<TablixCells>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="name1">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>=Fields!name.Value</Value>
|
||||
<Style />
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style>
|
||||
<TextAlign>Left</TextAlign>
|
||||
</Style>
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>name1</rd:DefaultName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>#7292cc</Color>
|
||||
<Style>Solid</Style>
|
||||
</Border>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="model1">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>=Fields!model.Value</Value>
|
||||
<Style />
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style>
|
||||
<TextAlign>Left</TextAlign>
|
||||
</Style>
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>model1</rd:DefaultName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>#7292cc</Color>
|
||||
<Style>Solid</Style>
|
||||
</Border>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="sid1">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>=Fields!sid.Value</Value>
|
||||
<Style />
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style>
|
||||
<TextAlign>Center</TextAlign>
|
||||
</Style>
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>sid1</rd:DefaultName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>#7292cc</Color>
|
||||
<Style>Solid</Style>
|
||||
</Border>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="Textbox7">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>소계</Value>
|
||||
<Style />
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style>
|
||||
<TextAlign>Center</TextAlign>
|
||||
</Style>
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox7</rd:DefaultName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>#7292cc</Color>
|
||||
<Style>Solid</Style>
|
||||
</Border>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="Qty1">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>=Sum(Fields!Qty.Value)</Value>
|
||||
<Style>
|
||||
<Format>N0</Format>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style>
|
||||
<TextAlign>Right</TextAlign>
|
||||
</Style>
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Qty1</rd:DefaultName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>#7292cc</Color>
|
||||
<Style>Solid</Style>
|
||||
</Border>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="Amt">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>=Sum(Fields!Amt.Value)</Value>
|
||||
<Style>
|
||||
<Format>N0</Format>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style>
|
||||
<TextAlign>Right</TextAlign>
|
||||
</Style>
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Amt</rd:DefaultName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>#7292cc</Color>
|
||||
<Style>Solid</Style>
|
||||
</Border>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
</TablixCells>
|
||||
</TablixRow>
|
||||
<TablixRow>
|
||||
<Height>0.6cm</Height>
|
||||
<TablixCells>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="Textbox9">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value />
|
||||
<Style />
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style>
|
||||
<TextAlign>Left</TextAlign>
|
||||
</Style>
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox9</rd:DefaultName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>#7292cc</Color>
|
||||
<Style>Solid</Style>
|
||||
</Border>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="Textbox11">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value />
|
||||
<Style />
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style>
|
||||
<TextAlign>Left</TextAlign>
|
||||
</Style>
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox11</rd:DefaultName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>#7292cc</Color>
|
||||
<Style>Solid</Style>
|
||||
</Border>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="Textbox12">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value />
|
||||
<Style />
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style>
|
||||
<TextAlign>Center</TextAlign>
|
||||
</Style>
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox12</rd:DefaultName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>#7292cc</Color>
|
||||
<Style>Solid</Style>
|
||||
</Border>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="place1">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>=Fields!place.Value</Value>
|
||||
<Style />
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style>
|
||||
<TextAlign>Right</TextAlign>
|
||||
</Style>
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>place1</rd:DefaultName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>#7292cc</Color>
|
||||
<Style>Solid</Style>
|
||||
</Border>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="Qty">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>=Sum(Fields!Qty.Value)</Value>
|
||||
<Style>
|
||||
<Format>N0</Format>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style>
|
||||
<TextAlign>Right</TextAlign>
|
||||
</Style>
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Qty</rd:DefaultName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>#7292cc</Color>
|
||||
<Style>Solid</Style>
|
||||
</Border>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="Qty2">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>=Sum(Fields!Qty.Value)</Value>
|
||||
<Style>
|
||||
<Format>N0</Format>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style>
|
||||
<TextAlign>Right</TextAlign>
|
||||
</Style>
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Qty2</rd:DefaultName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>#7292cc</Color>
|
||||
<Style>Solid</Style>
|
||||
</Border>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
</TablixCells>
|
||||
</TablixRow>
|
||||
</TablixRows>
|
||||
</TablixBody>
|
||||
<TablixColumnHierarchy>
|
||||
<TablixMembers>
|
||||
<TablixMember />
|
||||
<TablixMember />
|
||||
<TablixMember />
|
||||
<TablixMember />
|
||||
<TablixMember />
|
||||
<TablixMember />
|
||||
</TablixMembers>
|
||||
</TablixColumnHierarchy>
|
||||
<TablixRowHierarchy>
|
||||
<TablixMembers>
|
||||
<TablixMember />
|
||||
<TablixMember>
|
||||
<Group Name="Item">
|
||||
<GroupExpressions>
|
||||
<GroupExpression>=Fields!name.Value</GroupExpression>
|
||||
<GroupExpression>=Fields!model.Value</GroupExpression>
|
||||
<GroupExpression>=Fields!sid.Value</GroupExpression>
|
||||
</GroupExpressions>
|
||||
</Group>
|
||||
<TablixMembers>
|
||||
<TablixMember />
|
||||
<TablixMember>
|
||||
<TablixMembers>
|
||||
<TablixMember>
|
||||
<Group Name="place">
|
||||
<GroupExpressions>
|
||||
<GroupExpression>=Fields!place.Value</GroupExpression>
|
||||
</GroupExpressions>
|
||||
</Group>
|
||||
<SortExpressions>
|
||||
<SortExpression>
|
||||
<Value>=Fields!place.Value</Value>
|
||||
</SortExpression>
|
||||
</SortExpressions>
|
||||
</TablixMember>
|
||||
</TablixMembers>
|
||||
</TablixMember>
|
||||
</TablixMembers>
|
||||
</TablixMember>
|
||||
</TablixMembers>
|
||||
</TablixRowHierarchy>
|
||||
<DataSetName>DataSet1</DataSetName>
|
||||
<Top>0.15558cm</Top>
|
||||
<Height>1.8cm</Height>
|
||||
<Width>15.87375cm</Width>
|
||||
<Style>
|
||||
<Border>
|
||||
<Style>None</Style>
|
||||
</Border>
|
||||
</Style>
|
||||
</Tablix>
|
||||
</ReportItems>
|
||||
<Height>0.76991in</Height>
|
||||
<Style />
|
||||
</Body>
|
||||
<Width>7.4568in</Width>
|
||||
<Page>
|
||||
<PageHeader>
|
||||
<Height>2.39748cm</Height>
|
||||
<PrintOnFirstPage>true</PrintOnFirstPage>
|
||||
<PrintOnLastPage>true</PrintOnLastPage>
|
||||
<ReportItems>
|
||||
<Textbox Name="Textbox1">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>="기준일 : " & Parameters!pdate.Value</Value>
|
||||
<Style>
|
||||
<FontFamily>맑은 고딕</FontFamily>
|
||||
<FontSize>8pt</FontSize>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style />
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox1</rd:DefaultName>
|
||||
<Top>1.89653cm</Top>
|
||||
<Left>0.15875cm</Left>
|
||||
<Height>0.49946cm</Height>
|
||||
<Width>5.83375cm</Width>
|
||||
<Style>
|
||||
<Border>
|
||||
<Style>None</Style>
|
||||
</Border>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
<Textbox Name="Textbox4">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>품목 재고장</Value>
|
||||
<Style>
|
||||
<FontFamily>맑은 고딕</FontFamily>
|
||||
<FontSize>30pt</FontSize>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style>
|
||||
<TextAlign>Center</TextAlign>
|
||||
</Style>
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox1</rd:DefaultName>
|
||||
<Top>0.32855cm</Top>
|
||||
<Left>0.15875cm</Left>
|
||||
<Height>1.46921cm</Height>
|
||||
<Width>16.28153cm</Width>
|
||||
<ZIndex>1</ZIndex>
|
||||
<Style>
|
||||
<Border>
|
||||
<Style>None</Style>
|
||||
</Border>
|
||||
<VerticalAlign>Middle</VerticalAlign>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
<Textbox Name="Textbox8">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>=Parameters!gname.Value</Value>
|
||||
<Style>
|
||||
<FontFamily>맑은 고딕</FontFamily>
|
||||
<FontSize>8pt</FontSize>
|
||||
<Format>yyyy-MM-dd HH:mm:ss</Format>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style>
|
||||
<TextAlign>Right</TextAlign>
|
||||
</Style>
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox1</rd:DefaultName>
|
||||
<Top>2.06587cm</Top>
|
||||
<Left>10.54303cm</Left>
|
||||
<Height>0.33161cm</Height>
|
||||
<Width>5.89725cm</Width>
|
||||
<ZIndex>2</ZIndex>
|
||||
<Style>
|
||||
<Border>
|
||||
<Style>None</Style>
|
||||
</Border>
|
||||
<VerticalAlign>Middle</VerticalAlign>
|
||||
</Style>
|
||||
</Textbox>
|
||||
<Textbox Name="Textbox10">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>=Globals!ExecutionTime</Value>
|
||||
<Style>
|
||||
<FontFamily>맑은 고딕</FontFamily>
|
||||
<FontSize>8pt</FontSize>
|
||||
<Format>yyyy-MM-dd HH:mm:ss</Format>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style>
|
||||
<TextAlign>Right</TextAlign>
|
||||
</Style>
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox1</rd:DefaultName>
|
||||
<Top>1.64253cm</Top>
|
||||
<Left>10.54303cm</Left>
|
||||
<Height>0.33161cm</Height>
|
||||
<Width>5.89725cm</Width>
|
||||
<ZIndex>3</ZIndex>
|
||||
<Style>
|
||||
<Border>
|
||||
<Style>None</Style>
|
||||
</Border>
|
||||
<VerticalAlign>Bottom</VerticalAlign>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</ReportItems>
|
||||
<Style>
|
||||
<Border>
|
||||
<Style>None</Style>
|
||||
</Border>
|
||||
</Style>
|
||||
</PageHeader>
|
||||
<PageFooter>
|
||||
<Height>0.68996cm</Height>
|
||||
<PrintOnFirstPage>true</PrintOnFirstPage>
|
||||
<PrintOnLastPage>true</PrintOnLastPage>
|
||||
<ReportItems>
|
||||
<Textbox Name="Textbox6">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>=Globals!PageNumber & "/" & Globals!TotalPages</Value>
|
||||
<Style>
|
||||
<FontFamily>맑은 고딕</FontFamily>
|
||||
<FontSize>8pt</FontSize>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style>
|
||||
<TextAlign>Center</TextAlign>
|
||||
</Style>
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox1</rd:DefaultName>
|
||||
<Top>0.12699cm</Top>
|
||||
<Left>5.43688cm</Left>
|
||||
<Height>0.49946cm</Height>
|
||||
<Width>5.83375cm</Width>
|
||||
<Style>
|
||||
<Border>
|
||||
<Style>None</Style>
|
||||
</Border>
|
||||
<VerticalAlign>Middle</VerticalAlign>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</ReportItems>
|
||||
<Style>
|
||||
<Border>
|
||||
<Style>None</Style>
|
||||
</Border>
|
||||
</Style>
|
||||
</PageFooter>
|
||||
<PageHeight>29.7cm</PageHeight>
|
||||
<PageWidth>21cm</PageWidth>
|
||||
<LeftMargin>2cm</LeftMargin>
|
||||
<RightMargin>2cm</RightMargin>
|
||||
<TopMargin>2cm</TopMargin>
|
||||
<BottomMargin>2cm</BottomMargin>
|
||||
<ColumnSpacing>0.13cm</ColumnSpacing>
|
||||
<Style />
|
||||
</Page>
|
||||
<AutoRefresh>0</AutoRefresh>
|
||||
<DataSources>
|
||||
<DataSource Name="DSReport">
|
||||
<ConnectionProperties>
|
||||
<DataProvider>System.Data.DataSet</DataProvider>
|
||||
<ConnectString>/* Local Connection */</ConnectString>
|
||||
</ConnectionProperties>
|
||||
<rd:DataSourceID>77706622-f1c4-4d0a-9a81-b455af5a8c27</rd:DataSourceID>
|
||||
</DataSource>
|
||||
</DataSources>
|
||||
<DataSets>
|
||||
<DataSet Name="DataSet1">
|
||||
<Query>
|
||||
<DataSourceName>DSReport</DataSourceName>
|
||||
<CommandText>/* Local Query */</CommandText>
|
||||
</Query>
|
||||
<Fields>
|
||||
<Field Name="place">
|
||||
<DataField>place</DataField>
|
||||
<rd:TypeName>System.String</rd:TypeName>
|
||||
</Field>
|
||||
<Field Name="lastDate">
|
||||
<DataField>lastDate</DataField>
|
||||
<rd:TypeName>System.String</rd:TypeName>
|
||||
</Field>
|
||||
<Field Name="name">
|
||||
<DataField>name</DataField>
|
||||
<rd:TypeName>System.String</rd:TypeName>
|
||||
</Field>
|
||||
<Field Name="sid">
|
||||
<DataField>sid</DataField>
|
||||
<rd:TypeName>System.String</rd:TypeName>
|
||||
</Field>
|
||||
<Field Name="model">
|
||||
<DataField>model</DataField>
|
||||
<rd:TypeName>System.String</rd:TypeName>
|
||||
</Field>
|
||||
<Field Name="Qty">
|
||||
<DataField>Qty</DataField>
|
||||
<rd:TypeName>System.Int32</rd:TypeName>
|
||||
</Field>
|
||||
<Field Name="Amt">
|
||||
<DataField>Amt</DataField>
|
||||
<rd:TypeName>System.Decimal</rd:TypeName>
|
||||
</Field>
|
||||
<Field Name="supply">
|
||||
<DataField>supply</DataField>
|
||||
<rd:TypeName>System.String</rd:TypeName>
|
||||
</Field>
|
||||
</Fields>
|
||||
<rd:DataSetInfo>
|
||||
<rd:DataSetName>DSReport</rd:DataSetName>
|
||||
<rd:SchemaPath>D:\Source\(014) GroupWare\Source\SubProject\FCM0000\DSReport.xsd</rd:SchemaPath>
|
||||
<rd:TableName>jagosummaryPlace</rd:TableName>
|
||||
<rd:TableAdapterFillMethod>Fill</rd:TableAdapterFillMethod>
|
||||
<rd:TableAdapterGetDataMethod>GetData</rd:TableAdapterGetDataMethod>
|
||||
<rd:TableAdapterName>jagosummaryPlaceTableAdapter</rd:TableAdapterName>
|
||||
</rd:DataSetInfo>
|
||||
</DataSet>
|
||||
</DataSets>
|
||||
<ReportParameters>
|
||||
<ReportParameter Name="pdate">
|
||||
<DataType>String</DataType>
|
||||
<Nullable>true</Nullable>
|
||||
<AllowBlank>true</AllowBlank>
|
||||
<Prompt>ReportParameter1</Prompt>
|
||||
</ReportParameter>
|
||||
<ReportParameter Name="gname">
|
||||
<DataType>String</DataType>
|
||||
<Nullable>true</Nullable>
|
||||
<AllowBlank>true</AllowBlank>
|
||||
<Prompt>ReportParameter1</Prompt>
|
||||
</ReportParameter>
|
||||
<ReportParameter Name="gcode">
|
||||
<DataType>String</DataType>
|
||||
<Nullable>true</Nullable>
|
||||
<AllowBlank>true</AllowBlank>
|
||||
<Prompt>ReportParameter1</Prompt>
|
||||
</ReportParameter>
|
||||
</ReportParameters>
|
||||
<rd:ReportUnitType>Cm</rd:ReportUnitType>
|
||||
<rd:ReportID>25afdef5-d3f4-4e4f-b983-915ee13c2383</rd:ReportID>
|
||||
</Report>
|
||||
90
SubProject/FCM0000/Inventory/RepInvStockUser.Designer.cs
generated
Normal file
90
SubProject/FCM0000/Inventory/RepInvStockUser.Designer.cs
generated
Normal file
@@ -0,0 +1,90 @@
|
||||
namespace FCM0000.Inventory
|
||||
{
|
||||
partial class RepInvStockUser
|
||||
{
|
||||
/// <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();
|
||||
Microsoft.Reporting.WinForms.ReportDataSource reportDataSource1 = new Microsoft.Reporting.WinForms.ReportDataSource();
|
||||
this.reportViewer1 = new Microsoft.Reporting.WinForms.ReportViewer();
|
||||
this.dSReport = new FCM0000.DSReport();
|
||||
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.ta = new FCM0000.DSReportTableAdapters.PersonInvStockTableAdapter();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dSReport)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// reportViewer1
|
||||
//
|
||||
this.reportViewer1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
reportDataSource1.Name = "DataSet1";
|
||||
reportDataSource1.Value = this.bs;
|
||||
this.reportViewer1.LocalReport.DataSources.Add(reportDataSource1);
|
||||
this.reportViewer1.LocalReport.ReportEmbeddedResource = "FCM0000.Inventory.RepInvStock.rdlc";
|
||||
this.reportViewer1.Location = new System.Drawing.Point(0, 0);
|
||||
this.reportViewer1.Name = "reportViewer1";
|
||||
this.reportViewer1.Size = new System.Drawing.Size(660, 589);
|
||||
this.reportViewer1.TabIndex = 0;
|
||||
//
|
||||
// dSReport
|
||||
//
|
||||
this.dSReport.DataSetName = "DSReport";
|
||||
this.dSReport.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
||||
//
|
||||
// bs
|
||||
//
|
||||
this.bs.DataMember = "PersonInvStock";
|
||||
this.bs.DataSource = this.dSReport;
|
||||
//
|
||||
// ta
|
||||
//
|
||||
this.ta.ClearBeforeFill = true;
|
||||
//
|
||||
// RepInvStock
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(660, 589);
|
||||
this.Controls.Add(this.reportViewer1);
|
||||
this.Name = "RepInvStock";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "RepInvStock";
|
||||
this.Load += new System.EventHandler(this.RepInvStock_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.dSReport)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private Microsoft.Reporting.WinForms.ReportViewer reportViewer1;
|
||||
private System.Windows.Forms.BindingSource bs;
|
||||
private DSReport dSReport;
|
||||
private DSReportTableAdapters.PersonInvStockTableAdapter ta;
|
||||
}
|
||||
}
|
||||
34
SubProject/FCM0000/Inventory/RepInvStockUser.cs
Normal file
34
SubProject/FCM0000/Inventory/RepInvStockUser.cs
Normal file
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace FCM0000.Inventory
|
||||
{
|
||||
public partial class RepInvStockUser : Form
|
||||
{
|
||||
string userid = string.Empty;
|
||||
public RepInvStockUser(string uid)
|
||||
{
|
||||
InitializeComponent();
|
||||
this.userid = uid;
|
||||
}
|
||||
|
||||
private void RepInvStock_Load(object sender, EventArgs e)
|
||||
{
|
||||
try
|
||||
{
|
||||
this.ta.Fill(this.dSReport.PersonInvStock, this.userid);
|
||||
this.reportViewer1.RefreshReport();
|
||||
}catch (Exception ex)
|
||||
{
|
||||
FCOMMON.Util.MsgE(ex.Message);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
129
SubProject/FCM0000/Inventory/RepInvStockUser.resx
Normal file
129
SubProject/FCM0000/Inventory/RepInvStockUser.resx
Normal file
@@ -0,0 +1,129 @@
|
||||
<?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="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>120, 17</value>
|
||||
</metadata>
|
||||
<metadata name="dSReport.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>184, 17</value>
|
||||
</metadata>
|
||||
</root>
|
||||
696
SubProject/FCM0000/Inventory/fInventory.Designer.cs
generated
Normal file
696
SubProject/FCM0000/Inventory/fInventory.Designer.cs
generated
Normal file
@@ -0,0 +1,696 @@
|
||||
namespace FCM0000
|
||||
{
|
||||
partial class fInventory
|
||||
{
|
||||
/// <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(fInventory));
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType2 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType3 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType4 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType5 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType6 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType8 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType9 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType10 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType3 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
this.bn = new System.Windows.Forms.BindingNavigator(this.components);
|
||||
this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
|
||||
this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox();
|
||||
this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.btAdd = new System.Windows.Forms.ToolStripButton();
|
||||
this.btEdit = new System.Windows.Forms.ToolStripButton();
|
||||
this.btDel = new System.Windows.Forms.ToolStripButton();
|
||||
this.btSave = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.toolStripLabel3 = new System.Windows.Forms.ToolStripLabel();
|
||||
this.tbFind = new System.Windows.Forms.ToolStripTextBox();
|
||||
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
|
||||
this.btFind = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
|
||||
this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
|
||||
this.dtSD = new System.Windows.Forms.ToolStripTextBox();
|
||||
this.toolStripLabel4 = new System.Windows.Forms.ToolStripLabel();
|
||||
this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel();
|
||||
this.dtED = new System.Windows.Forms.ToolStripTextBox();
|
||||
this.toolStripLabel6 = new System.Windows.Forms.ToolStripLabel();
|
||||
this.cmbInvType = new System.Windows.Forms.ToolStripComboBox();
|
||||
this.toolStripLabel5 = new System.Windows.Forms.ToolStripLabel();
|
||||
this.cmbUser = new System.Windows.Forms.ToolStripComboBox();
|
||||
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.btSearch = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
|
||||
this.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
|
||||
this.cm = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||
this.columnSizeToolStripMenuItem = 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.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.편집ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.삭제ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.보관소별재고확인ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
|
||||
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.dSInventory = new FCM0000.DSInventory();
|
||||
this.ta = new FCM0000.DSInventoryTableAdapters.vInventoryTableAdapter();
|
||||
this.인쇄ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
|
||||
this.bn.SuspendLayout();
|
||||
this.toolStrip1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit();
|
||||
this.cm.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dSInventory)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// bn
|
||||
//
|
||||
this.bn.AddNewItem = null;
|
||||
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.btAdd,
|
||||
this.btEdit,
|
||||
this.btDel,
|
||||
this.btSave,
|
||||
this.toolStripSeparator1,
|
||||
this.toolStripLabel3,
|
||||
this.tbFind,
|
||||
this.toolStripButton1,
|
||||
this.btFind});
|
||||
this.bn.Location = new System.Drawing.Point(0, 554);
|
||||
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(979, 25);
|
||||
this.bn.TabIndex = 0;
|
||||
this.bn.Text = "bindingNavigator1";
|
||||
//
|
||||
// bindingNavigatorCountItem
|
||||
//
|
||||
this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
|
||||
this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22);
|
||||
this.bindingNavigatorCountItem.Text = "/{0}";
|
||||
this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수";
|
||||
//
|
||||
// bindingNavigatorMoveFirstItem
|
||||
//
|
||||
this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image")));
|
||||
this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
|
||||
this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동";
|
||||
//
|
||||
// bindingNavigatorMovePreviousItem
|
||||
//
|
||||
this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image")));
|
||||
this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
|
||||
this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동";
|
||||
//
|
||||
// bindingNavigatorSeparator
|
||||
//
|
||||
this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
|
||||
this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// bindingNavigatorPositionItem
|
||||
//
|
||||
this.bindingNavigatorPositionItem.AccessibleName = "위치";
|
||||
this.bindingNavigatorPositionItem.AutoSize = false;
|
||||
this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
|
||||
this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
|
||||
this.bindingNavigatorPositionItem.Text = "0";
|
||||
this.bindingNavigatorPositionItem.ToolTipText = "현재 위치";
|
||||
//
|
||||
// bindingNavigatorSeparator1
|
||||
//
|
||||
this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1";
|
||||
this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// bindingNavigatorMoveNextItem
|
||||
//
|
||||
this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image")));
|
||||
this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
|
||||
this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMoveNextItem.Text = "다음으로 이동";
|
||||
//
|
||||
// bindingNavigatorMoveLastItem
|
||||
//
|
||||
this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image")));
|
||||
this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
|
||||
this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동";
|
||||
//
|
||||
// bindingNavigatorSeparator2
|
||||
//
|
||||
this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
|
||||
this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// btAdd
|
||||
//
|
||||
this.btAdd.Image = ((System.Drawing.Image)(resources.GetObject("btAdd.Image")));
|
||||
this.btAdd.Name = "btAdd";
|
||||
this.btAdd.RightToLeftAutoMirrorImage = true;
|
||||
this.btAdd.Size = new System.Drawing.Size(67, 22);
|
||||
this.btAdd.Text = "추가(&A)";
|
||||
this.btAdd.Click += new System.EventHandler(this.btAdd_Click);
|
||||
//
|
||||
// btEdit
|
||||
//
|
||||
this.btEdit.Image = ((System.Drawing.Image)(resources.GetObject("btEdit.Image")));
|
||||
this.btEdit.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.btEdit.Name = "btEdit";
|
||||
this.btEdit.Size = new System.Drawing.Size(65, 22);
|
||||
this.btEdit.Text = "편집(&E)";
|
||||
this.btEdit.Click += new System.EventHandler(this.btEdit_Click);
|
||||
//
|
||||
// btDel
|
||||
//
|
||||
this.btDel.Image = ((System.Drawing.Image)(resources.GetObject("btDel.Image")));
|
||||
this.btDel.Name = "btDel";
|
||||
this.btDel.RightToLeftAutoMirrorImage = true;
|
||||
this.btDel.Size = new System.Drawing.Size(68, 22);
|
||||
this.btDel.Text = "삭제(&D)";
|
||||
this.btDel.Click += new System.EventHandler(this.btDel_Click);
|
||||
//
|
||||
// btSave
|
||||
//
|
||||
this.btSave.Image = ((System.Drawing.Image)(resources.GetObject("btSave.Image")));
|
||||
this.btSave.Name = "btSave";
|
||||
this.btSave.Size = new System.Drawing.Size(66, 22);
|
||||
this.btSave.Text = "저장(&S)";
|
||||
this.btSave.Click += new System.EventHandler(this.btSave_Click);
|
||||
//
|
||||
// toolStripSeparator1
|
||||
//
|
||||
this.toolStripSeparator1.Name = "toolStripSeparator1";
|
||||
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// toolStripLabel3
|
||||
//
|
||||
this.toolStripLabel3.Name = "toolStripLabel3";
|
||||
this.toolStripLabel3.Size = new System.Drawing.Size(43, 22);
|
||||
this.toolStripLabel3.Text = "검색어";
|
||||
this.toolStripLabel3.Click += new System.EventHandler(this.toolStripLabel3_Click);
|
||||
//
|
||||
// tbFind
|
||||
//
|
||||
this.tbFind.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.tbFind.Name = "tbFind";
|
||||
this.tbFind.Size = new System.Drawing.Size(100, 25);
|
||||
this.tbFind.KeyDown += new System.Windows.Forms.KeyEventHandler(this.toolStripTextBox1_KeyDown);
|
||||
//
|
||||
// toolStripButton1
|
||||
//
|
||||
this.toolStripButton1.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
|
||||
this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
|
||||
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.toolStripButton1.Name = "toolStripButton1";
|
||||
this.toolStripButton1.Size = new System.Drawing.Size(87, 22);
|
||||
this.toolStripButton1.Text = "품목재고장";
|
||||
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
|
||||
//
|
||||
// btFind
|
||||
//
|
||||
this.btFind.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.btFind.Image = ((System.Drawing.Image)(resources.GetObject("btFind.Image")));
|
||||
this.btFind.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.btFind.Name = "btFind";
|
||||
this.btFind.Size = new System.Drawing.Size(23, 22);
|
||||
this.btFind.Text = "toolStripButton2";
|
||||
this.btFind.Click += new System.EventHandler(this.toolStripButton2_Click);
|
||||
//
|
||||
// toolStrip1
|
||||
//
|
||||
this.toolStrip1.ImageScalingSize = new System.Drawing.Size(30, 30);
|
||||
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.toolStripLabel1,
|
||||
this.dtSD,
|
||||
this.toolStripLabel4,
|
||||
this.toolStripLabel2,
|
||||
this.dtED,
|
||||
this.toolStripLabel6,
|
||||
this.cmbInvType,
|
||||
this.toolStripLabel5,
|
||||
this.cmbUser,
|
||||
this.toolStripSeparator2,
|
||||
this.btSearch,
|
||||
this.toolStripButton2});
|
||||
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
|
||||
this.toolStrip1.Name = "toolStrip1";
|
||||
this.toolStrip1.Size = new System.Drawing.Size(979, 37);
|
||||
this.toolStrip1.TabIndex = 2;
|
||||
this.toolStrip1.Text = "toolStrip1";
|
||||
//
|
||||
// toolStripLabel1
|
||||
//
|
||||
this.toolStripLabel1.Name = "toolStripLabel1";
|
||||
this.toolStripLabel1.Size = new System.Drawing.Size(43, 34);
|
||||
this.toolStripLabel1.Text = "시작일";
|
||||
this.toolStripLabel1.Click += new System.EventHandler(this.toolStripLabel1_Click);
|
||||
//
|
||||
// dtSD
|
||||
//
|
||||
this.dtSD.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.dtSD.Name = "dtSD";
|
||||
this.dtSD.Size = new System.Drawing.Size(100, 37);
|
||||
this.dtSD.Text = "1982-11-23";
|
||||
this.dtSD.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// toolStripLabel4
|
||||
//
|
||||
this.toolStripLabel4.Name = "toolStripLabel4";
|
||||
this.toolStripLabel4.Size = new System.Drawing.Size(15, 34);
|
||||
this.toolStripLabel4.Text = "~";
|
||||
//
|
||||
// toolStripLabel2
|
||||
//
|
||||
this.toolStripLabel2.Name = "toolStripLabel2";
|
||||
this.toolStripLabel2.Size = new System.Drawing.Size(43, 34);
|
||||
this.toolStripLabel2.Text = "종료일";
|
||||
this.toolStripLabel2.Click += new System.EventHandler(this.toolStripLabel2_Click);
|
||||
//
|
||||
// dtED
|
||||
//
|
||||
this.dtED.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.dtED.Name = "dtED";
|
||||
this.dtED.Size = new System.Drawing.Size(100, 37);
|
||||
this.dtED.Text = "1982-11-23";
|
||||
this.dtED.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// toolStripLabel6
|
||||
//
|
||||
this.toolStripLabel6.Name = "toolStripLabel6";
|
||||
this.toolStripLabel6.Size = new System.Drawing.Size(31, 34);
|
||||
this.toolStripLabel6.Text = "구분";
|
||||
//
|
||||
// cmbInvType
|
||||
//
|
||||
this.cmbInvType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cmbInvType.Items.AddRange(new object[] {
|
||||
"전체",
|
||||
"입고",
|
||||
"출고",
|
||||
"정정"});
|
||||
this.cmbInvType.Name = "cmbInvType";
|
||||
this.cmbInvType.Size = new System.Drawing.Size(75, 37);
|
||||
//
|
||||
// toolStripLabel5
|
||||
//
|
||||
this.toolStripLabel5.Name = "toolStripLabel5";
|
||||
this.toolStripLabel5.Size = new System.Drawing.Size(43, 34);
|
||||
this.toolStripLabel5.Text = "사용자";
|
||||
//
|
||||
// cmbUser
|
||||
//
|
||||
this.cmbUser.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cmbUser.Name = "cmbUser";
|
||||
this.cmbUser.Size = new System.Drawing.Size(120, 37);
|
||||
//
|
||||
// toolStripSeparator2
|
||||
//
|
||||
this.toolStripSeparator2.Name = "toolStripSeparator2";
|
||||
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 37);
|
||||
//
|
||||
// btSearch
|
||||
//
|
||||
this.btSearch.Image = ((System.Drawing.Image)(resources.GetObject("btSearch.Image")));
|
||||
this.btSearch.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.btSearch.Name = "btSearch";
|
||||
this.btSearch.Size = new System.Drawing.Size(104, 34);
|
||||
this.btSearch.Text = "새로고침(&R)";
|
||||
this.btSearch.Click += new System.EventHandler(this.btSearch_Click);
|
||||
//
|
||||
// toolStripButton2
|
||||
//
|
||||
this.toolStripButton2.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
|
||||
this.toolStripButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton2.Image")));
|
||||
this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.toolStripButton2.Name = "toolStripButton2";
|
||||
this.toolStripButton2.Size = new System.Drawing.Size(65, 34);
|
||||
this.toolStripButton2.Text = "닫기";
|
||||
this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click_1);
|
||||
//
|
||||
// fpSpread1
|
||||
//
|
||||
this.fpSpread1.AccessibleDescription = "";
|
||||
this.fpSpread1.ContextMenuStrip = this.cm;
|
||||
this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.fpSpread1.Location = new System.Drawing.Point(0, 37);
|
||||
this.fpSpread1.Name = "fpSpread1";
|
||||
this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
|
||||
this.fpSpread1_Sheet1});
|
||||
this.fpSpread1.Size = new System.Drawing.Size(979, 517);
|
||||
this.fpSpread1.TabIndex = 3;
|
||||
//
|
||||
// cm
|
||||
//
|
||||
this.cm.Font = new System.Drawing.Font("맑은 고딕", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.cm.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.columnSizeToolStripMenuItem,
|
||||
this.exportListToolStripMenuItem,
|
||||
this.인쇄ToolStripMenuItem,
|
||||
this.toolStripMenuItem2,
|
||||
this.편집ToolStripMenuItem,
|
||||
this.삭제ToolStripMenuItem,
|
||||
this.toolStripMenuItem1,
|
||||
this.보관소별재고확인ToolStripMenuItem});
|
||||
this.cm.Name = "contextMenuStrip1";
|
||||
this.cm.Size = new System.Drawing.Size(299, 254);
|
||||
//
|
||||
// columnSizeToolStripMenuItem
|
||||
//
|
||||
this.columnSizeToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.saveToolStripMenuItem,
|
||||
this.loadToolStripMenuItem});
|
||||
this.columnSizeToolStripMenuItem.Name = "columnSizeToolStripMenuItem";
|
||||
this.columnSizeToolStripMenuItem.Size = new System.Drawing.Size(298, 36);
|
||||
this.columnSizeToolStripMenuItem.Text = "열 크기";
|
||||
//
|
||||
// saveToolStripMenuItem
|
||||
//
|
||||
this.saveToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("saveToolStripMenuItem.Image")));
|
||||
this.saveToolStripMenuItem.Name = "saveToolStripMenuItem";
|
||||
this.saveToolStripMenuItem.Size = new System.Drawing.Size(266, 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(266, 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(298, 36);
|
||||
this.exportListToolStripMenuItem.Text = "목록 내보내기";
|
||||
this.exportListToolStripMenuItem.Click += new System.EventHandler(this.exportListToolStripMenuItem_Click);
|
||||
//
|
||||
// toolStripMenuItem2
|
||||
//
|
||||
this.toolStripMenuItem2.Name = "toolStripMenuItem2";
|
||||
this.toolStripMenuItem2.Size = new System.Drawing.Size(295, 6);
|
||||
//
|
||||
// 편집ToolStripMenuItem
|
||||
//
|
||||
this.편집ToolStripMenuItem.Name = "편집ToolStripMenuItem";
|
||||
this.편집ToolStripMenuItem.Size = new System.Drawing.Size(298, 36);
|
||||
this.편집ToolStripMenuItem.Text = "편집";
|
||||
this.편집ToolStripMenuItem.Click += new System.EventHandler(this.편집ToolStripMenuItem_Click);
|
||||
//
|
||||
// 삭제ToolStripMenuItem
|
||||
//
|
||||
this.삭제ToolStripMenuItem.Name = "삭제ToolStripMenuItem";
|
||||
this.삭제ToolStripMenuItem.Size = new System.Drawing.Size(298, 36);
|
||||
this.삭제ToolStripMenuItem.Text = "삭제";
|
||||
this.삭제ToolStripMenuItem.Click += new System.EventHandler(this.삭제ToolStripMenuItem_Click);
|
||||
//
|
||||
// toolStripMenuItem1
|
||||
//
|
||||
this.toolStripMenuItem1.Name = "toolStripMenuItem1";
|
||||
this.toolStripMenuItem1.Size = new System.Drawing.Size(295, 6);
|
||||
//
|
||||
// 보관소별재고확인ToolStripMenuItem
|
||||
//
|
||||
this.보관소별재고확인ToolStripMenuItem.Name = "보관소별재고확인ToolStripMenuItem";
|
||||
this.보관소별재고확인ToolStripMenuItem.Size = new System.Drawing.Size(298, 36);
|
||||
this.보관소별재고확인ToolStripMenuItem.Text = "보관소별 재고 확인";
|
||||
this.보관소별재고확인ToolStripMenuItem.Click += new System.EventHandler(this.보관소별재고확인ToolStripMenuItem_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 = 13;
|
||||
this.fpSpread1_Sheet1.ActiveColumnIndex = -1;
|
||||
this.fpSpread1_Sheet1.ActiveRowIndex = -1;
|
||||
this.fpSpread1_Sheet1.AutoGenerateColumns = false;
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "등록일";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "구분";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "SID";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "품명";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "모델명";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "SID";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).Value = "S/N";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 7).Value = "수량";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 8).Value = "금액";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).Value = "사용자";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).Value = "보관소";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 11).Value = "비고";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 30F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType1;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).DataField = "pdate";
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).Label = "등록일";
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).Width = 62F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType2;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).DataField = "invtype";
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).Label = "구분";
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType3;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).DataField = "sid";
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).Label = "SID";
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).Width = 92F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).AllowAutoFilter = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType4;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).DataField = "itemName";
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).Label = "품명";
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType5;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).DataField = "itemModel";
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).Label = "모델명";
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).Width = 77F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType6;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).DataField = "sid";
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).Label = "SID";
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).Width = 77F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType7;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).DataField = "serial";
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).Label = "S/N";
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).Width = 83F;
|
||||
numberCellType1.DecimalPlaces = 0;
|
||||
numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
||||
numberCellType1.MaximumValue = 2147483647D;
|
||||
numberCellType1.MinimumValue = -2147483648D;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).CellType = numberCellType1;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).DataField = "dr_qty";
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).ForeColor = System.Drawing.Color.Blue;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).Label = "수량";
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).Width = 77F;
|
||||
numberCellType2.DecimalPlaces = 0;
|
||||
numberCellType2.MaximumValue = 999999999999999D;
|
||||
numberCellType2.MinimumValue = -999999999999999D;
|
||||
numberCellType2.NegativeRed = true;
|
||||
numberCellType2.NullDisplay = "--";
|
||||
numberCellType2.Separator = ",";
|
||||
numberCellType2.ShowSeparator = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).CellType = numberCellType2;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).DataField = "dr_amt";
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).ForeColor = System.Drawing.Color.Blue;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).Label = "금액";
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).Width = 75F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType8;
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).DataField = "userName";
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).Label = "사용자";
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType9;
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).DataField = "place";
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).Label = "보관소";
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType10;
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).DataField = "memo";
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).Label = "비고";
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).Width = 151F;
|
||||
numberCellType3.DecimalPlaces = 0;
|
||||
numberCellType3.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
||||
numberCellType3.MaximumValue = 2147483647D;
|
||||
numberCellType3.MinimumValue = -2147483648D;
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).CellType = numberCellType3;
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).DataField = "idx";
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).Visible = false;
|
||||
this.fpSpread1_Sheet1.DataAutoCellTypes = false;
|
||||
this.fpSpread1_Sheet1.DataAutoSizeColumns = false;
|
||||
this.fpSpread1_Sheet1.DataSource = this.bs;
|
||||
this.fpSpread1_Sheet1.OperationMode = FarPoint.Win.Spread.OperationMode.ReadOnly;
|
||||
this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false;
|
||||
this.fpSpread1_Sheet1.ShowEditingRowSelector = true;
|
||||
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
|
||||
//
|
||||
// bs
|
||||
//
|
||||
this.bs.DataMember = "vInventory";
|
||||
this.bs.DataSource = this.dSInventory;
|
||||
//
|
||||
// dSInventory
|
||||
//
|
||||
this.dSInventory.DataSetName = "DSInventory";
|
||||
this.dSInventory.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
||||
//
|
||||
// ta
|
||||
//
|
||||
this.ta.ClearBeforeFill = true;
|
||||
//
|
||||
// 인쇄ToolStripMenuItem
|
||||
//
|
||||
this.인쇄ToolStripMenuItem.Name = "인쇄ToolStripMenuItem";
|
||||
this.인쇄ToolStripMenuItem.Size = new System.Drawing.Size(298, 36);
|
||||
this.인쇄ToolStripMenuItem.Text = "인쇄";
|
||||
this.인쇄ToolStripMenuItem.Click += new System.EventHandler(this.인쇄ToolStripMenuItem_Click);
|
||||
//
|
||||
// fInventory
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(979, 579);
|
||||
this.Controls.Add(this.fpSpread1);
|
||||
this.Controls.Add(this.toolStrip1);
|
||||
this.Controls.Add(this.bn);
|
||||
this.Name = "fInventory";
|
||||
this.Text = "재고관리";
|
||||
this.Load += new System.EventHandler(this.@__Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit();
|
||||
this.bn.ResumeLayout(false);
|
||||
this.bn.PerformLayout();
|
||||
this.toolStrip1.ResumeLayout(false);
|
||||
this.toolStrip1.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit();
|
||||
this.cm.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dSInventory)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.BindingNavigator bn;
|
||||
private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator;
|
||||
private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2;
|
||||
private System.Windows.Forms.ToolStrip toolStrip1;
|
||||
private System.Windows.Forms.ToolStripLabel toolStripLabel1;
|
||||
private System.Windows.Forms.ToolStripTextBox dtSD;
|
||||
private System.Windows.Forms.ToolStripLabel toolStripLabel2;
|
||||
private System.Windows.Forms.ToolStripTextBox dtED;
|
||||
private System.Windows.Forms.ToolStripButton btSearch;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
|
||||
private System.Windows.Forms.ToolStripLabel toolStripLabel3;
|
||||
private System.Windows.Forms.ToolStripTextBox tbFind;
|
||||
private System.Windows.Forms.ToolStripLabel toolStripLabel4;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton1;
|
||||
private System.Windows.Forms.ToolStripLabel toolStripLabel5;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
|
||||
private FarPoint.Win.Spread.FpSpread fpSpread1;
|
||||
private System.Windows.Forms.BindingSource bs;
|
||||
private DSInventory dSInventory;
|
||||
private System.Windows.Forms.ToolStripComboBox cmbUser;
|
||||
private System.Windows.Forms.ContextMenuStrip cm;
|
||||
private System.Windows.Forms.ToolStripMenuItem columnSizeToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem saveToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem loadToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem exportListToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem2;
|
||||
private System.Windows.Forms.ToolStripMenuItem 편집ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 삭제ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripButton btAdd;
|
||||
private System.Windows.Forms.ToolStripButton btEdit;
|
||||
private System.Windows.Forms.ToolStripButton btDel;
|
||||
private System.Windows.Forms.ToolStripButton btSave;
|
||||
private System.Windows.Forms.ToolStripButton btFind;
|
||||
private DSInventoryTableAdapters.vInventoryTableAdapter ta;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton2;
|
||||
private System.Windows.Forms.ToolStripLabel toolStripLabel6;
|
||||
private System.Windows.Forms.ToolStripComboBox cmbInvType;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1;
|
||||
private System.Windows.Forms.ToolStripMenuItem 보관소별재고확인ToolStripMenuItem;
|
||||
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
|
||||
private System.Windows.Forms.ToolStripMenuItem 인쇄ToolStripMenuItem;
|
||||
}
|
||||
}
|
||||
410
SubProject/FCM0000/Inventory/fInventory.cs
Normal file
410
SubProject/FCM0000/Inventory/fInventory.cs
Normal file
@@ -0,0 +1,410 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace FCM0000
|
||||
{
|
||||
public partial class fInventory : Form
|
||||
{
|
||||
string fn_fpcolsize = "";
|
||||
public fInventory()
|
||||
{
|
||||
InitializeComponent();
|
||||
this.FormClosed += __Closed;
|
||||
this.dSInventory.vInventory.TableNewRow += Inventory_TableNewRow;
|
||||
this.dtSD.KeyDown += dtSD_KeyDown;
|
||||
this.dtED.KeyDown += dtSD_KeyDown;
|
||||
fn_fpcolsize = System.IO.Path.Combine(FCOMMON.Util.CurrentPath, "formSetting", "fp_" + this.Name + ".ini");
|
||||
this.tbFind.KeyDown += (s1, e1) => { if (e1.KeyCode == Keys.Enter) btFind.PerformClick(); };
|
||||
this.cmbInvType.SelectedIndex = 0;
|
||||
}
|
||||
|
||||
void dtSD_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Enter)
|
||||
{
|
||||
ToolStripTextBox tb = sender as ToolStripTextBox;
|
||||
var vale = tb.Text.Trim();
|
||||
var datestring = string.Empty;
|
||||
if (FCOMMON.Util.MakeDateString(vale, out datestring))
|
||||
{
|
||||
tb.Text = datestring;
|
||||
if (e.KeyCode == Keys.Enter)
|
||||
SendKeys.Send("{TAB}");
|
||||
}
|
||||
else
|
||||
{
|
||||
FCOMMON.Util.MsgE("날짜형식으로 입력하세요.\n\n18-01-01");
|
||||
tb.SelectAll();
|
||||
tb.Focus();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void __Closed(object sender, FormClosedEventArgs e)
|
||||
{
|
||||
var form = this as Form;
|
||||
FCOMMON.Util.SetFormStatus(ref form, this.Name, false);
|
||||
}
|
||||
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
var form = this as Form;
|
||||
FCOMMON.Util.SetFormStatus(ref form, this.Name, true);
|
||||
this.Show();
|
||||
Application.DoEvents();
|
||||
|
||||
//담당자목록 - 사용자목록으로 처리한다.
|
||||
string namestr = string.Format("[{1}] {0}", FCOMMON.info.Login.nameK, FCOMMON.info.Login.no);
|
||||
if (FCOMMON.info.Login.no == "dev") namestr = "[395552] 김치균";
|
||||
this.cmbUser.Items.Clear();
|
||||
this.cmbUser.Items.Add("--전체--");
|
||||
this.cmbUser.Items.Add(namestr);
|
||||
try
|
||||
{
|
||||
var cn = FCOMMON.DBM.getCn();
|
||||
cn.Open();
|
||||
string sql = "select uid,dbo.getUserName(uid) as uname " +
|
||||
" from Inventory" +
|
||||
" where gcode='{1}' and uid <> '{0}' and isnull(uid,'') <> ''" +
|
||||
" group by uid " +
|
||||
" order by uname";
|
||||
sql = string.Format(sql, FCOMMON.info.Login.no,FCOMMON.info.Login.gcode);
|
||||
var cmd = new System.Data.SqlClient.SqlCommand(sql, cn);
|
||||
var rdr = cmd.ExecuteReader();
|
||||
while (rdr.Read())
|
||||
{
|
||||
string cmbdata = string.Format("[{0}] {1}", rdr["uid"].ToString(), rdr["uname"].ToString());
|
||||
this.cmbUser.Items.Add(cmbdata);
|
||||
}
|
||||
cmd.Dispose();
|
||||
cn.Close();
|
||||
cn.Dispose();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
FCOMMON.Util.MsgE("User List Error\n\n" + ex.Message);
|
||||
}
|
||||
cmbUser.SelectedIndex = 0;//전체
|
||||
|
||||
dtED.Text = DateTime.Now.ToShortDateString();
|
||||
dtSD.Text = DateTime.Now.AddMonths(-1).ToShortDateString();
|
||||
RefreshData();
|
||||
|
||||
}
|
||||
private void btSearch_Click(object sender, EventArgs e)
|
||||
{
|
||||
RefreshData();
|
||||
}
|
||||
void RefreshData()
|
||||
{
|
||||
try
|
||||
{
|
||||
string sd = dtSD.Text;
|
||||
string ed = dtED.Text;
|
||||
|
||||
//사용자번호추적
|
||||
string userNo = "%";
|
||||
if (cmbUser.SelectedIndex > 0)
|
||||
{
|
||||
userNo = cmbUser.Text.Substring(1,cmbUser.Text.LastIndexOf(']') - 1);
|
||||
// userNo = userNo.Substring(0, userNo.Length - 1);
|
||||
}
|
||||
|
||||
var invtype = "%";
|
||||
if (cmbInvType.SelectedIndex > 0) invtype = cmbInvType.Text.Trim();
|
||||
this.ta.Fill(this.dSInventory.vInventory, FCOMMON.info.Login.gcode, sd, ed, userNo, invtype);
|
||||
|
||||
this.dSInventory.vInventory.AcceptChanges();
|
||||
FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
FCOMMON.Util.MsgE(ex.Message);
|
||||
}
|
||||
}
|
||||
|
||||
void Inventory_TableNewRow(object sender, DataTableNewRowEventArgs e)
|
||||
{
|
||||
e.Row["gcode"] = FCOMMON.info.Login.gcode;
|
||||
e.Row["wuid"] = FCOMMON.info.Login.no;
|
||||
e.Row["uid"] = FCOMMON.info.Login.no;
|
||||
e.Row["wdate"] = DateTime.Now;
|
||||
e.Row["pdate"] = DateTime.Now.ToShortDateString();
|
||||
e.Row["cr_qty"] = 0;
|
||||
e.Row["cr_amt"] = 0;
|
||||
e.Row["dr_qty"] = 0;
|
||||
e.Row["dr_amt"] = 0;
|
||||
e.Row["item"] = -1;
|
||||
e.Row["invtype"] = "입고";
|
||||
}
|
||||
|
||||
private void toolStripTextBox1_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Enter)
|
||||
{
|
||||
string inputstr = tbFind.Text.Trim();
|
||||
if (inputstr == "")
|
||||
{
|
||||
bs.Filter = "";
|
||||
tbFind.BackColor = Color.White;
|
||||
}
|
||||
else
|
||||
{
|
||||
string[] collist = new string[] { "item", "itemmodel", "itemName", "memo", "serial" };
|
||||
System.Text.StringBuilder filter = new StringBuilder();
|
||||
foreach (var col in collist)
|
||||
{
|
||||
if (filter.Length > 0) filter.Append(" or ");
|
||||
filter.Append(col + " like '%" + inputstr + "%'");
|
||||
}
|
||||
try
|
||||
{
|
||||
bs.Filter = filter.ToString();
|
||||
tbFind.BackColor = Color.Lime;
|
||||
tbFind.SelectAll();
|
||||
tbFind.Focus();
|
||||
}
|
||||
catch (Exception eX)
|
||||
{
|
||||
tbFind.BackColor = Color.Red;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void toolStripLabel1_Click(object sender, EventArgs e)
|
||||
{
|
||||
//시작일(inventory 에 uid 가 내것인 데이터)
|
||||
var dataList = FCOMMON.DBM.getDateList("inventory", "", true);
|
||||
var f = new FCOMMON.fLovDateList(dataList);
|
||||
if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||
{
|
||||
dtSD.Text = f.selectedDate;
|
||||
}
|
||||
}
|
||||
|
||||
private void toolStripLabel2_Click(object sender, EventArgs e)
|
||||
{
|
||||
var dataList = FCOMMON.DBM.getDateList("inventory", "", true);
|
||||
var f = new FCOMMON.fLovDateList(dataList);
|
||||
if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||
{
|
||||
dtED.Text = f.selectedDate;
|
||||
btSearch.PerformClick();
|
||||
}
|
||||
}
|
||||
|
||||
private void toolStripButton1_Click(object sender, EventArgs e)
|
||||
{
|
||||
var f = new Inventory.RepInvStock();
|
||||
f.ShowDialog();
|
||||
}
|
||||
|
||||
private void toolStripLabel3_Click(object sender, EventArgs e)
|
||||
{
|
||||
tbFind.Text = string.Empty;
|
||||
btFind.PerformClick();
|
||||
}
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
private void saveToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
FPUtil.ColsizeSave(this.fpSpread1, fn_fpcolsize);
|
||||
}
|
||||
|
||||
private void loadToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize);
|
||||
}
|
||||
|
||||
private void exportListToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
SaveFileDialog sd = new SaveFileDialog();
|
||||
sd.Filter = "excel|*.xls";
|
||||
sd.FileName = "inventory.xls";
|
||||
if (sd.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||
{
|
||||
fpSpread1.SaveExcel(sd.FileName,
|
||||
FarPoint.Excel.ExcelSaveFlags.SaveAsViewed
|
||||
| FarPoint.Excel.ExcelSaveFlags.SaveAsFiltered
|
||||
| FarPoint.Excel.ExcelSaveFlags.NoFormulas
|
||||
| FarPoint.Excel.ExcelSaveFlags.SaveCustomColumnHeaders);
|
||||
FCOMMON.Util.MsgI("다음 파일이 생성 되었습니다.\n\n" + sd.FileName);
|
||||
}
|
||||
}
|
||||
|
||||
private void bindingNavigatorAddNewItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void bindingNavigatorDeleteItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void btSave_Click(object sender, EventArgs e)
|
||||
{
|
||||
funcSave();
|
||||
}
|
||||
void funcSave()
|
||||
{
|
||||
this.Validate();
|
||||
this.bs.EndEdit();
|
||||
|
||||
var dlg = FCOMMON.Util.MsgQ("변경된 사항을 저장 하시겠습니까?");
|
||||
if (dlg != System.Windows.Forms.DialogResult.Yes) return;
|
||||
|
||||
try
|
||||
{
|
||||
this.ta.Update(this.dSInventory.vInventory);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
FCOMMON.Util.MsgE(ex.Message);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private void btAdd_Click(object sender, EventArgs e)
|
||||
{
|
||||
var newdr = this.dSInventory.vInventory.NewvInventoryRow();
|
||||
|
||||
var f = new finventoryAdd(newdr);
|
||||
if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||
{
|
||||
this.dSInventory.vInventory.AddvInventoryRow(newdr);
|
||||
int cnt = this.ta.Update(newdr);
|
||||
newdr.AcceptChanges();
|
||||
if (cnt != 1)
|
||||
FCOMMON.Util.MsgE("자료가 추가되지 않았습니다.\n\n잠시 후 다시 시도하세요");
|
||||
}
|
||||
else newdr.Delete();
|
||||
}
|
||||
|
||||
private void btEdit_Click(object sender, EventArgs e)
|
||||
{
|
||||
funcEdit();
|
||||
}
|
||||
void funcEdit()
|
||||
{
|
||||
var drv = this.bs.Current as DataRowView;
|
||||
if (drv == null) return;
|
||||
var dr = drv.Row as DSInventory.vInventoryRow;
|
||||
var f = new finventoryAdd(dr);
|
||||
if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||
{
|
||||
if (dr.RowState != DataRowState.Unchanged)
|
||||
{
|
||||
int cnt = this.ta.Update(dr);
|
||||
dr.AcceptChanges();
|
||||
}
|
||||
}
|
||||
else dr.RejectChanges();
|
||||
}
|
||||
|
||||
private void btDel_Click(object sender, EventArgs e)
|
||||
{
|
||||
funcDelete();
|
||||
}
|
||||
void funcDelete()
|
||||
{
|
||||
var drv = this.bs.Current as DataRowView;
|
||||
if (drv == null) return;
|
||||
var dr = drv.Row as DSInventory.vInventoryRow;
|
||||
|
||||
var dlg = FCOMMON.Util.MsgQ("현재 선택된 자료를 삭제하시겠습니까?");
|
||||
if (dlg != System.Windows.Forms.DialogResult.Yes) return;
|
||||
|
||||
dr.Delete();
|
||||
try
|
||||
{
|
||||
this.ta.Update(dr);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
FCOMMON.Util.MsgE("삭제실패\n\n" + ex.Message);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private void toolStripButton2_Click(object sender, EventArgs e)
|
||||
{
|
||||
var search = tbFind.Text.Trim();
|
||||
search = search.Replace("*", "x");
|
||||
if (tbFind.Text != search) tbFind.Text = search;
|
||||
try
|
||||
{
|
||||
if (search.Trim() == "")
|
||||
{
|
||||
this.bs.Filter = "";
|
||||
tbFind.BackColor = Color.White;
|
||||
}
|
||||
else
|
||||
{
|
||||
var collist = new string[] { "username","uid","place","itemName","itemModel","serial","memo" };
|
||||
search = search.Replace("'", "''");
|
||||
string filter = ""; // "itemna like ? or package like ? or projectname like ? or process like ? or [type] like ? or description like ?";
|
||||
foreach(var col in collist)
|
||||
{
|
||||
if (filter != "") filter += " or ";
|
||||
filter += col + " like ?";
|
||||
}
|
||||
filter = filter.Replace("?", "'%" + search + "%'");
|
||||
this.bs.Filter = filter;
|
||||
tbFind.BackColor = Color.Lime;
|
||||
}
|
||||
tbFind.SelectAll();
|
||||
tbFind.Focus();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
this.tbFind.BackColor = Color.Tomato;
|
||||
FCOMMON.Util.MsgE(ex.Message);
|
||||
}
|
||||
}
|
||||
|
||||
private void 편집ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
funcEdit();
|
||||
}
|
||||
|
||||
private void 삭제ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
funcDelete();
|
||||
}
|
||||
|
||||
private void toolStripButton2_Click_1(object sender, EventArgs e)
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void 보관소별재고확인ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
var drv = this.bs.Current as DataRowView;
|
||||
if (drv == null) return;
|
||||
var dr = drv.Row as DSInventory.vInventoryRow;
|
||||
var f = new Inventory.fInventoryJagoPlace(dr.item,dr.itemName);
|
||||
f.ShowDialog();
|
||||
}
|
||||
|
||||
private void 인쇄ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
FPUtil.printsheet(this.fpSpread1, "재고등록현황");
|
||||
}
|
||||
}
|
||||
}
|
||||
294
SubProject/FCM0000/Inventory/fInventory.resx
Normal file
294
SubProject/FCM0000/Inventory/fInventory.resx
Normal file
@@ -0,0 +1,294 @@
|
||||
<?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>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>
|
||||
<data name="btAdd.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC
|
||||
pBtwfjov3ICDPSKkG3B8kiBQc93/Pw+q/u9oFydswKWZPP/PTuX7fxKo8Ui/0P993SJAzeX//94r+r++
|
||||
Qeb/qhq5/0srFf/PL1X+P6tIFdPAU0B//nlYD9RUC8SV///cKwHivP9/72b+/3sn+f/f23H//92MAOKQ
|
||||
/5NyNDENONQrDHbu3/ulQI0FQI3ZQI2pQI0J///digZqDPv/70bQ/3/X/f53peliGrCzXeL/lmap/+vA
|
||||
zpX/v6RC8f/fWzFAjeH/p+Zp/J+QpfW/O0P3f3uq/v/mREPCYTIb6E+Qc//dCPjfk6FDWAM6APnz3w1/
|
||||
IPb735qsT7oB3em6YP+CcH2cEekGtCQZ/G+IN/xfE2v8vzLahHQD6AQYGAAkI9iedfyIaQAAAABJRU5E
|
||||
rkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="btEdit.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAEvSURBVDhPpZI/S0JRGIed+i6Nbk0t0iCuSkuDi1MfIKfm
|
||||
+gAOQktTQkMggYtRkwgidKmgyQwMCgqz0CivvvK8cK7neG4KdeHhHs45v+c9/xLyz08Ft713OQ+6SqXV
|
||||
kfLlnXJw1lSK5VrERqGkMB4JCCLpvQ7lZfDlQJ+B4EnwI9nTkbYdAZMbjxOPq4eJPH1MvXC2sD8XsOzP
|
||||
0bcX/C3MXEfAfmzBsnCnP10uWBWu3IS+gJOm0w5fHCZiw0aQzu3GC0xYgm2R+poTRnh8HeqNOALu920w
|
||||
9MK0F8NGkMrs+ALewqrwUXss3ed+vKB6H+rh2OT3SjpO0IBgcyvnCjgDBGCq8mcMiQ3FHAGdLB/J4vMF
|
||||
KhoI83LXk6m5gCpmufbyOWlgv0BVIMx4JPj7JzIDGHRUPz2nxiQAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="btDel.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC
|
||||
DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC
|
||||
rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV
|
||||
i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG
|
||||
86CNhdrsX9a/uQZTPhQl4rMY4OLofbl3aX7I8uwPC7y/g1YdjyVJuEvT8e1tfwUYteHUxCCfHChDeHmG
|
||||
QQvokjlOU+PbWA0x3pZnILVVI3uvQyHsbiLnqnGmRCF1NYD8pDhpRxOH7HQoAKZGkFKjceszQbpSrumX
|
||||
bO+G80MFwKUTxgfgcO/b8D9IpXoFiiMDHIQm0skAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="btSave.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="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
|
||||
YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9
|
||||
0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
|
||||
bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc
|
||||
VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9
|
||||
c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32
|
||||
Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo
|
||||
mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+
|
||||
kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D
|
||||
TgDQASA1MVpwzwAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="btFind.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAE3SURBVDhPnZIxS8NQFEb7W/wLjh0Fl9a1SxBHBekkWFd1
|
||||
qYg4Ci5dndSCg2AHl4LQSaRSKDqoFUE7VAjUmvTKueWmL2mw2gunL7zmO+/mJhmZoTJusdF868vpXUfO
|
||||
b5/lpPEox9f3SvnsRtk8uojxHQ7HEgSEkXS6vrz3xqtdu+xdfUiheEBsJOGCk/mz/hROUHsIIrp+qIKY
|
||||
hB/a9r+CVAG4Auj5g7iA5/1NACaptgIVLHkb0wWVw13ZL60p2+uerqkCJs1mMgwUU6d1k/xJwI10RZj1
|
||||
9TPUN7Wam9dgTMC75QR7TjCBkRQs5Jd1jQS8c1ewtZLTPcQW/peADpC44cudgnjZOQ1OCGjTwkwaGBon
|
||||
GoSrpcVIQqmAj6LZftFBup9vWiUlUQdIDCbsQrsGZRJKBbOXyA++SlEsu6QjvQAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>83, 17</value>
|
||||
</metadata>
|
||||
<data name="btSearch.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAE4SURBVDhPtZPPasJAEMbzPn0FwWA92JtP4NGKB1/DP7ei
|
||||
QSsovkChh7ZBrCfpyR4sikopUgq9StFzM/UbZ5asSS4FfzAkO7vft5udiZMEnSBpk5dhFJmncjdHxXaG
|
||||
A+9K4SbFT1luEwQBbXavVO5d0nI3ovnW5yeiMriiu+kt5asXbABEdgRigAUQDr+aHLU3lxoLl/yPJhvF
|
||||
GsiYJ/vPdX5qPK3bVJ25VFukafztGQNsKHJ791I3w+8KcpNth8XDz5YxACI/gsR1J8sTYcO4UIzwv1gG
|
||||
cTshgJ5IT8hChTMHsHi+v+fvffmxywVwN2FDkdsGEOK2ceu4feQ0tDqKyKMGqDfqjvprLzyswuX7Tf4E
|
||||
dBo6zn/3OB7XHovRyuhQ6+hhYKA9DpL+A1keRebNAhkaJH0OHOcP031C4EjYr6wAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="toolStripButton2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADlSURBVEhL7dQxCsIwFMbxnMrZWatzUXRUCo5ewSs4ewZR
|
||||
DyDeQfEETsUbRL7YYNSXNC/UOiQP/kvzyE9KUcQ7y/VJtlHFvQYPjzf50xKsJsFmq81WHq538swMO9il
|
||||
zhALxkWd7kAOJwsnjjPsYNeGs2B14fR5YTYq5O5c1u7sL987iAUjF+6LIjaMKJyDoiAYmVAvn8lsXHij
|
||||
KBhGwDWof4APihqHqQ+OKhg2X3U/n7+9ah88CKY+pM9ndTgbplDbmQtnwS7UtmPDWfDf/jIRLnKhOuzY
|
||||
UMSGmyrBauKE26jiohshHicE2B3dbRrmAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="cm.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>371, 17</value>
|
||||
</metadata>
|
||||
<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>
|
||||
<metadata name="fpSpread1_Sheet1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>501, 17</value>
|
||||
</metadata>
|
||||
<metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>189, 17</value>
|
||||
</metadata>
|
||||
<metadata name="dSInventory.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>253, 17</value>
|
||||
</metadata>
|
||||
<metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>439, 17</value>
|
||||
</metadata>
|
||||
</root>
|
||||
527
SubProject/FCM0000/Inventory/fInventoryJagoList.Designer.cs
generated
Normal file
527
SubProject/FCM0000/Inventory/fInventoryJagoList.Designer.cs
generated
Normal file
@@ -0,0 +1,527 @@
|
||||
namespace FCM0000
|
||||
{
|
||||
partial class fInventoryJagoList
|
||||
{
|
||||
/// <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(fInventoryJagoList));
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType12 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType8 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType9 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType10 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType4 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType5 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType11 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType6 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.NoPrinterPrintInfo noPrinterPrintInfo2 = new FarPoint.Win.Spread.NoPrinterPrintInfo();
|
||||
this.bn = new System.Windows.Forms.BindingNavigator(this.components);
|
||||
this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
|
||||
this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox();
|
||||
this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.toolStripLabel3 = new System.Windows.Forms.ToolStripLabel();
|
||||
this.tbFind = new System.Windows.Forms.ToolStripTextBox();
|
||||
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
|
||||
this.btFind = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
|
||||
this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
|
||||
this.dtSD = new System.Windows.Forms.ToolStripTextBox();
|
||||
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.btSearch = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
|
||||
this.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
|
||||
this.cm = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||
this.columnSizeToolStripMenuItem = 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.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.dSReport = new FCM0000.DSReport();
|
||||
this.ta = new FCM0000.DSReportTableAdapters.jagosummaryPlaceTableAdapter();
|
||||
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
|
||||
this.인쇄ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
|
||||
this.bn.SuspendLayout();
|
||||
this.toolStrip1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit();
|
||||
this.cm.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dSReport)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// bn
|
||||
//
|
||||
this.bn.AddNewItem = null;
|
||||
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.toolStripLabel3,
|
||||
this.tbFind,
|
||||
this.toolStripButton1,
|
||||
this.btFind});
|
||||
this.bn.Location = new System.Drawing.Point(0, 554);
|
||||
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(979, 25);
|
||||
this.bn.TabIndex = 0;
|
||||
this.bn.Text = "bindingNavigator1";
|
||||
//
|
||||
// bindingNavigatorCountItem
|
||||
//
|
||||
this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
|
||||
this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22);
|
||||
this.bindingNavigatorCountItem.Text = "/{0}";
|
||||
this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수";
|
||||
//
|
||||
// bindingNavigatorMoveFirstItem
|
||||
//
|
||||
this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image")));
|
||||
this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
|
||||
this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동";
|
||||
//
|
||||
// bindingNavigatorMovePreviousItem
|
||||
//
|
||||
this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image")));
|
||||
this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
|
||||
this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동";
|
||||
//
|
||||
// bindingNavigatorSeparator
|
||||
//
|
||||
this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
|
||||
this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// bindingNavigatorPositionItem
|
||||
//
|
||||
this.bindingNavigatorPositionItem.AccessibleName = "위치";
|
||||
this.bindingNavigatorPositionItem.AutoSize = false;
|
||||
this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
|
||||
this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
|
||||
this.bindingNavigatorPositionItem.Text = "0";
|
||||
this.bindingNavigatorPositionItem.ToolTipText = "현재 위치";
|
||||
//
|
||||
// bindingNavigatorSeparator1
|
||||
//
|
||||
this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1";
|
||||
this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// bindingNavigatorMoveNextItem
|
||||
//
|
||||
this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image")));
|
||||
this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
|
||||
this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMoveNextItem.Text = "다음으로 이동";
|
||||
//
|
||||
// bindingNavigatorMoveLastItem
|
||||
//
|
||||
this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image")));
|
||||
this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
|
||||
this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동";
|
||||
//
|
||||
// bindingNavigatorSeparator2
|
||||
//
|
||||
this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
|
||||
this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// toolStripLabel3
|
||||
//
|
||||
this.toolStripLabel3.Name = "toolStripLabel3";
|
||||
this.toolStripLabel3.Size = new System.Drawing.Size(43, 22);
|
||||
this.toolStripLabel3.Text = "검색어";
|
||||
this.toolStripLabel3.Click += new System.EventHandler(this.toolStripLabel3_Click);
|
||||
//
|
||||
// tbFind
|
||||
//
|
||||
this.tbFind.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.tbFind.Name = "tbFind";
|
||||
this.tbFind.Size = new System.Drawing.Size(100, 25);
|
||||
this.tbFind.KeyDown += new System.Windows.Forms.KeyEventHandler(this.toolStripTextBox1_KeyDown);
|
||||
//
|
||||
// toolStripButton1
|
||||
//
|
||||
this.toolStripButton1.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
|
||||
this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
|
||||
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.toolStripButton1.Name = "toolStripButton1";
|
||||
this.toolStripButton1.Size = new System.Drawing.Size(87, 22);
|
||||
this.toolStripButton1.Text = "품목재고장";
|
||||
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
|
||||
//
|
||||
// btFind
|
||||
//
|
||||
this.btFind.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.btFind.Image = ((System.Drawing.Image)(resources.GetObject("btFind.Image")));
|
||||
this.btFind.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.btFind.Name = "btFind";
|
||||
this.btFind.Size = new System.Drawing.Size(23, 22);
|
||||
this.btFind.Text = "toolStripButton2";
|
||||
this.btFind.Click += new System.EventHandler(this.toolStripButton2_Click);
|
||||
//
|
||||
// toolStrip1
|
||||
//
|
||||
this.toolStrip1.ImageScalingSize = new System.Drawing.Size(30, 30);
|
||||
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.toolStripLabel1,
|
||||
this.dtSD,
|
||||
this.toolStripSeparator2,
|
||||
this.btSearch,
|
||||
this.toolStripButton2});
|
||||
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
|
||||
this.toolStrip1.Name = "toolStrip1";
|
||||
this.toolStrip1.Size = new System.Drawing.Size(979, 37);
|
||||
this.toolStrip1.TabIndex = 2;
|
||||
this.toolStrip1.Text = "toolStrip1";
|
||||
//
|
||||
// toolStripLabel1
|
||||
//
|
||||
this.toolStripLabel1.Name = "toolStripLabel1";
|
||||
this.toolStripLabel1.Size = new System.Drawing.Size(67, 34);
|
||||
this.toolStripLabel1.Text = "조사기준일";
|
||||
this.toolStripLabel1.Click += new System.EventHandler(this.toolStripLabel1_Click);
|
||||
//
|
||||
// dtSD
|
||||
//
|
||||
this.dtSD.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.dtSD.Name = "dtSD";
|
||||
this.dtSD.Size = new System.Drawing.Size(100, 37);
|
||||
this.dtSD.Text = "1982-11-23";
|
||||
this.dtSD.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// toolStripSeparator2
|
||||
//
|
||||
this.toolStripSeparator2.Name = "toolStripSeparator2";
|
||||
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 37);
|
||||
//
|
||||
// btSearch
|
||||
//
|
||||
this.btSearch.Image = ((System.Drawing.Image)(resources.GetObject("btSearch.Image")));
|
||||
this.btSearch.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.btSearch.Name = "btSearch";
|
||||
this.btSearch.Size = new System.Drawing.Size(104, 34);
|
||||
this.btSearch.Text = "새로고침(&R)";
|
||||
this.btSearch.Click += new System.EventHandler(this.btSearch_Click);
|
||||
//
|
||||
// toolStripButton2
|
||||
//
|
||||
this.toolStripButton2.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
|
||||
this.toolStripButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton2.Image")));
|
||||
this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.toolStripButton2.Name = "toolStripButton2";
|
||||
this.toolStripButton2.Size = new System.Drawing.Size(65, 34);
|
||||
this.toolStripButton2.Text = "닫기";
|
||||
this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click_1);
|
||||
//
|
||||
// fpSpread1
|
||||
//
|
||||
this.fpSpread1.AccessibleDescription = "";
|
||||
this.fpSpread1.ContextMenuStrip = this.cm;
|
||||
this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.fpSpread1.Location = new System.Drawing.Point(0, 37);
|
||||
this.fpSpread1.Name = "fpSpread1";
|
||||
this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
|
||||
this.fpSpread1_Sheet1});
|
||||
this.fpSpread1.Size = new System.Drawing.Size(979, 517);
|
||||
this.fpSpread1.TabIndex = 3;
|
||||
this.fpSpread1.TitleInfo.CellType = textCellType12;
|
||||
this.fpSpread1.TitleInfo.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.fpSpread1.TitleInfo.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.fpSpread1.TitleInfo.Text = "재고 현황";
|
||||
this.fpSpread1.TitleInfo.Value = "재고 현황";
|
||||
this.fpSpread1.TitleInfo.VerticalAlign = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
//
|
||||
// cm
|
||||
//
|
||||
this.cm.Font = new System.Drawing.Font("맑은 고딕", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.cm.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.columnSizeToolStripMenuItem,
|
||||
this.exportListToolStripMenuItem,
|
||||
this.인쇄ToolStripMenuItem,
|
||||
this.toolStripMenuItem2});
|
||||
this.cm.Name = "contextMenuStrip1";
|
||||
this.cm.Size = new System.Drawing.Size(243, 140);
|
||||
//
|
||||
// columnSizeToolStripMenuItem
|
||||
//
|
||||
this.columnSizeToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.saveToolStripMenuItem,
|
||||
this.loadToolStripMenuItem});
|
||||
this.columnSizeToolStripMenuItem.Name = "columnSizeToolStripMenuItem";
|
||||
this.columnSizeToolStripMenuItem.Size = new System.Drawing.Size(242, 36);
|
||||
this.columnSizeToolStripMenuItem.Text = "열 크기";
|
||||
//
|
||||
// saveToolStripMenuItem
|
||||
//
|
||||
this.saveToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("saveToolStripMenuItem.Image")));
|
||||
this.saveToolStripMenuItem.Name = "saveToolStripMenuItem";
|
||||
this.saveToolStripMenuItem.Size = new System.Drawing.Size(266, 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(266, 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);
|
||||
//
|
||||
// toolStripMenuItem2
|
||||
//
|
||||
this.toolStripMenuItem2.Name = "toolStripMenuItem2";
|
||||
this.toolStripMenuItem2.Size = new System.Drawing.Size(239, 6);
|
||||
//
|
||||
// bs
|
||||
//
|
||||
this.bs.DataMember = "jagosummaryPlace";
|
||||
this.bs.DataSource = this.dSReport;
|
||||
//
|
||||
// dSReport
|
||||
//
|
||||
this.dSReport.DataSetName = "DSReport";
|
||||
this.dSReport.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
||||
//
|
||||
// ta
|
||||
//
|
||||
this.ta.ClearBeforeFill = true;
|
||||
//
|
||||
// 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 = 8;
|
||||
this.fpSpread1_Sheet1.ActiveColumnIndex = -1;
|
||||
this.fpSpread1_Sheet1.ActiveRowIndex = -1;
|
||||
this.fpSpread1_Sheet1.AutoGenerateColumns = false;
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "최종등록일";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "품명";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "모델명";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "SID";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "수량";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "금액";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).Value = "보관소";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 30F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType7;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).DataField = "lastDate";
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).Label = "최종등록일";
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).Width = 89F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType8;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).DataField = "name";
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).Label = "품명";
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).Width = 146F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType9;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).DataField = "model";
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).Label = "모델명";
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).Width = 77F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType10;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).DataField = "sid";
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).Label = "SID";
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).Width = 77F;
|
||||
numberCellType4.DecimalPlaces = 0;
|
||||
numberCellType4.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
||||
numberCellType4.MaximumValue = 2147483647D;
|
||||
numberCellType4.MinimumValue = -2147483648D;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).CellType = numberCellType4;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).DataField = "Qty";
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).ForeColor = System.Drawing.Color.Blue;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).Label = "수량";
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).Width = 77F;
|
||||
numberCellType5.DecimalPlaces = 0;
|
||||
numberCellType5.MaximumValue = 999999999999999D;
|
||||
numberCellType5.MinimumValue = -999999999999999D;
|
||||
numberCellType5.NegativeRed = true;
|
||||
numberCellType5.NullDisplay = "--";
|
||||
numberCellType5.Separator = ",";
|
||||
numberCellType5.ShowSeparator = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).CellType = numberCellType5;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).DataField = "Amt";
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).ForeColor = System.Drawing.Color.Blue;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).Label = "금액";
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).Width = 75F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType11;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).DataField = "place";
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).Label = "보관소";
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
numberCellType6.DecimalPlaces = 0;
|
||||
numberCellType6.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
||||
numberCellType6.MaximumValue = 2147483647D;
|
||||
numberCellType6.MinimumValue = -2147483648D;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).CellType = numberCellType6;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).DataField = "idx";
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).Visible = false;
|
||||
this.fpSpread1_Sheet1.DataAutoCellTypes = false;
|
||||
this.fpSpread1_Sheet1.DataAutoSizeColumns = false;
|
||||
this.fpSpread1_Sheet1.DataSource = this.bs;
|
||||
this.fpSpread1_Sheet1.OperationMode = FarPoint.Win.Spread.OperationMode.ReadOnly;
|
||||
this.fpSpread1_Sheet1.PrintInfo.AbortMessage = "취소";
|
||||
this.fpSpread1_Sheet1.PrintInfo.BestFitCols = true;
|
||||
this.fpSpread1_Sheet1.PrintInfo.BestFitRows = true;
|
||||
this.fpSpread1_Sheet1.PrintInfo.Centering = FarPoint.Win.Spread.Centering.Horizontal;
|
||||
this.fpSpread1_Sheet1.PrintInfo.EnhancePreview = true;
|
||||
this.fpSpread1_Sheet1.PrintInfo.JobName = "재고현황";
|
||||
this.fpSpread1_Sheet1.PrintInfo.Margin.Bottom = 3;
|
||||
this.fpSpread1_Sheet1.PrintInfo.Margin.Footer = 3;
|
||||
this.fpSpread1_Sheet1.PrintInfo.Margin.Header = 3;
|
||||
this.fpSpread1_Sheet1.PrintInfo.Margin.Left = 3;
|
||||
this.fpSpread1_Sheet1.PrintInfo.Margin.Right = 3;
|
||||
this.fpSpread1_Sheet1.PrintInfo.Margin.Top = 3;
|
||||
noPrinterPrintInfo2.Bounds = new System.Drawing.Rectangle(0, 0, 816, 1148);
|
||||
noPrinterPrintInfo2.HardMarginX = 0F;
|
||||
noPrinterPrintInfo2.HardMarginY = 0F;
|
||||
noPrinterPrintInfo2.SupportColor = true;
|
||||
this.fpSpread1_Sheet1.PrintInfo.NoPrinterSetting = noPrinterPrintInfo2;
|
||||
this.fpSpread1_Sheet1.PrintInfo.Orientation = FarPoint.Win.Spread.PrintOrientation.Portrait;
|
||||
this.fpSpread1_Sheet1.PrintInfo.PdfFileName = "재고현황";
|
||||
this.fpSpread1_Sheet1.PrintInfo.PdfSecurity = null;
|
||||
this.fpSpread1_Sheet1.PrintInfo.Preview = true;
|
||||
this.fpSpread1_Sheet1.PrintInfo.UseSmartPrint = true;
|
||||
this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false;
|
||||
this.fpSpread1_Sheet1.TitleInfo.Text = "재고현황";
|
||||
this.fpSpread1_Sheet1.TitleInfo.Value = "재고현황";
|
||||
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
|
||||
//
|
||||
// 인쇄ToolStripMenuItem
|
||||
//
|
||||
this.인쇄ToolStripMenuItem.Name = "인쇄ToolStripMenuItem";
|
||||
this.인쇄ToolStripMenuItem.Size = new System.Drawing.Size(242, 36);
|
||||
this.인쇄ToolStripMenuItem.Text = "인쇄";
|
||||
this.인쇄ToolStripMenuItem.Click += new System.EventHandler(this.인쇄ToolStripMenuItem_Click);
|
||||
//
|
||||
// fInventoryJagoList
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(979, 579);
|
||||
this.Controls.Add(this.fpSpread1);
|
||||
this.Controls.Add(this.toolStrip1);
|
||||
this.Controls.Add(this.bn);
|
||||
this.Name = "fInventoryJagoList";
|
||||
this.Text = "재고현황";
|
||||
this.Load += new System.EventHandler(this.@__Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit();
|
||||
this.bn.ResumeLayout(false);
|
||||
this.bn.PerformLayout();
|
||||
this.toolStrip1.ResumeLayout(false);
|
||||
this.toolStrip1.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit();
|
||||
this.cm.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dSReport)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.BindingNavigator bn;
|
||||
private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator;
|
||||
private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2;
|
||||
private System.Windows.Forms.ToolStrip toolStrip1;
|
||||
private System.Windows.Forms.ToolStripLabel toolStripLabel1;
|
||||
private System.Windows.Forms.ToolStripTextBox dtSD;
|
||||
private System.Windows.Forms.ToolStripButton btSearch;
|
||||
private System.Windows.Forms.ToolStripLabel toolStripLabel3;
|
||||
private System.Windows.Forms.ToolStripTextBox tbFind;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton1;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
|
||||
private FarPoint.Win.Spread.FpSpread fpSpread1;
|
||||
private System.Windows.Forms.BindingSource bs;
|
||||
private System.Windows.Forms.ContextMenuStrip cm;
|
||||
private System.Windows.Forms.ToolStripMenuItem columnSizeToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem saveToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem loadToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem exportListToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem2;
|
||||
private System.Windows.Forms.ToolStripButton btFind;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton2;
|
||||
private DSReport dSReport;
|
||||
private DSReportTableAdapters.jagosummaryPlaceTableAdapter ta;
|
||||
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
|
||||
private System.Windows.Forms.ToolStripMenuItem 인쇄ToolStripMenuItem;
|
||||
}
|
||||
}
|
||||
208
SubProject/FCM0000/Inventory/fInventoryJagoList.cs
Normal file
208
SubProject/FCM0000/Inventory/fInventoryJagoList.cs
Normal file
@@ -0,0 +1,208 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace FCM0000
|
||||
{
|
||||
public partial class fInventoryJagoList : Form
|
||||
{
|
||||
string fn_fpcolsize = "";
|
||||
public fInventoryJagoList()
|
||||
{
|
||||
InitializeComponent();
|
||||
this.FormClosed += __Closed;
|
||||
this.dtSD.KeyDown += dtSD_KeyDown;
|
||||
fn_fpcolsize = System.IO.Path.Combine(FCOMMON.Util.CurrentPath, "formSetting", "fp_" + this.Name + ".ini");
|
||||
this.tbFind.KeyDown += (s1, e1) => { if (e1.KeyCode == Keys.Enter) btFind.PerformClick(); };
|
||||
}
|
||||
|
||||
void dtSD_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Enter)
|
||||
{
|
||||
ToolStripTextBox tb = sender as ToolStripTextBox;
|
||||
var vale = tb.Text.Trim();
|
||||
var datestring = string.Empty;
|
||||
if (FCOMMON.Util.MakeDateString(vale, out datestring))
|
||||
{
|
||||
tb.Text = datestring;
|
||||
if (e.KeyCode == Keys.Enter)
|
||||
SendKeys.Send("{TAB}");
|
||||
}
|
||||
else
|
||||
{
|
||||
FCOMMON.Util.MsgE("날짜형식으로 입력하세요.\n\n18-01-01");
|
||||
tb.SelectAll();
|
||||
tb.Focus();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void __Closed(object sender, FormClosedEventArgs e)
|
||||
{
|
||||
var form = this as Form;
|
||||
FCOMMON.Util.SetFormStatus(ref form, this.Name, false);
|
||||
}
|
||||
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
var form = this as Form;
|
||||
FCOMMON.Util.SetFormStatus(ref form, this.Name, true);
|
||||
this.Show();
|
||||
Application.DoEvents();
|
||||
|
||||
dtSD.Text = DateTime.Now.ToShortDateString();
|
||||
RefreshData();
|
||||
|
||||
}
|
||||
private void btSearch_Click(object sender, EventArgs e)
|
||||
{
|
||||
RefreshData();
|
||||
}
|
||||
void RefreshData()
|
||||
{
|
||||
try
|
||||
{
|
||||
string sd = dtSD.Text;
|
||||
this.ta.Fill(this.dSReport.jagosummaryPlace, FCOMMON.info.Login.gcode, sd);
|
||||
this.dSReport.jagosummaryPlace.AcceptChanges();
|
||||
FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
FCOMMON.Util.MsgE(ex.Message);
|
||||
}
|
||||
}
|
||||
|
||||
private void toolStripButton2_Click(object sender, EventArgs e)
|
||||
{
|
||||
findData();
|
||||
}
|
||||
void findData()
|
||||
{
|
||||
var search = tbFind.Text.Trim();
|
||||
search = search.Replace("*", "x");
|
||||
if (tbFind.Text != search) tbFind.Text = search;
|
||||
try
|
||||
{
|
||||
if (search.Trim() == "")
|
||||
{
|
||||
this.bs.Filter = "";
|
||||
tbFind.BackColor = Color.White;
|
||||
}
|
||||
else
|
||||
{
|
||||
var collist = new string[] { "place", "name", "sid", "model", "supply" };
|
||||
search = search.Replace("'", "''");
|
||||
string filter = ""; // "itemna like ? or package like ? or projectname like ? or process like ? or [type] like ? or description like ?";
|
||||
foreach (var col in collist)
|
||||
{
|
||||
if (filter != "") filter += " or ";
|
||||
filter += col + " like ?";
|
||||
}
|
||||
filter = filter.Replace("?", "'%" + search + "%'");
|
||||
this.bs.Filter = filter;
|
||||
tbFind.BackColor = Color.Lime;
|
||||
}
|
||||
tbFind.SelectAll();
|
||||
tbFind.Focus();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
this.tbFind.BackColor = Color.Tomato;
|
||||
FCOMMON.Util.MsgE(ex.Message);
|
||||
}
|
||||
}
|
||||
|
||||
private void toolStripTextBox1_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Enter)
|
||||
{
|
||||
findData();
|
||||
}
|
||||
}
|
||||
|
||||
private void toolStripLabel1_Click(object sender, EventArgs e)
|
||||
{
|
||||
//시작일(inventory 에 uid 가 내것인 데이터)
|
||||
var dataList = FCOMMON.DBM.getDateList("inventory", "", true);
|
||||
var f = new FCOMMON.fLovDateList(dataList);
|
||||
if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||
{
|
||||
dtSD.Text = f.selectedDate;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private void toolStripButton1_Click(object sender, EventArgs e)
|
||||
{
|
||||
var f = new Inventory.RepInvStock();
|
||||
f.ShowDialog();
|
||||
}
|
||||
|
||||
private void toolStripLabel3_Click(object sender, EventArgs e)
|
||||
{
|
||||
tbFind.Text = string.Empty;
|
||||
btFind.PerformClick();
|
||||
}
|
||||
|
||||
|
||||
private void saveToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
FPUtil.ColsizeSave(this.fpSpread1, fn_fpcolsize);
|
||||
}
|
||||
|
||||
private void loadToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize);
|
||||
}
|
||||
|
||||
private void exportListToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
SaveFileDialog sd = new SaveFileDialog();
|
||||
sd.Filter = "excel|*.xls";
|
||||
sd.FileName = "inventoryjagolist.xls";
|
||||
if (sd.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||
{
|
||||
fpSpread1.SaveExcel(sd.FileName,
|
||||
FarPoint.Excel.ExcelSaveFlags.SaveAsViewed
|
||||
| FarPoint.Excel.ExcelSaveFlags.SaveAsFiltered
|
||||
| FarPoint.Excel.ExcelSaveFlags.NoFormulas
|
||||
| FarPoint.Excel.ExcelSaveFlags.SaveCustomColumnHeaders);
|
||||
FCOMMON.Util.MsgI("다음 파일이 생성 되었습니다.\n\n" + sd.FileName);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
private void toolStripButton2_Click_1(object sender, EventArgs e)
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void 보관소별재고확인ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
var drv = this.bs.Current as DataRowView;
|
||||
if (drv == null) return;
|
||||
var dr = drv.Row as DSInventory.vInventoryRow;
|
||||
var f = new Inventory.fInventoryJagoPlace(dr.item,dr.itemName);
|
||||
f.ShowDialog();
|
||||
}
|
||||
|
||||
private void toolStripButton3_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void 인쇄ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
FPUtil.printsheet(this.fpSpread1, "재고현황");
|
||||
}
|
||||
}
|
||||
}
|
||||
252
SubProject/FCM0000/Inventory/fInventoryJagoList.resx
Normal file
252
SubProject/FCM0000/Inventory/fInventoryJagoList.resx
Normal file
@@ -0,0 +1,252 @@
|
||||
<?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>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>
|
||||
<data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
|
||||
YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9
|
||||
0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
|
||||
bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc
|
||||
VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9
|
||||
c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32
|
||||
Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo
|
||||
mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+
|
||||
kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D
|
||||
TgDQASA1MVpwzwAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="btFind.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAE3SURBVDhPnZIxS8NQFEb7W/wLjh0Fl9a1SxBHBekkWFd1
|
||||
qYg4Ci5dndSCg2AHl4LQSaRSKDqoFUE7VAjUmvTKueWmL2mw2gunL7zmO+/mJhmZoTJusdF868vpXUfO
|
||||
b5/lpPEox9f3SvnsRtk8uojxHQ7HEgSEkXS6vrz3xqtdu+xdfUiheEBsJOGCk/mz/hROUHsIIrp+qIKY
|
||||
hB/a9r+CVAG4Auj5g7iA5/1NACaptgIVLHkb0wWVw13ZL60p2+uerqkCJs1mMgwUU6d1k/xJwI10RZj1
|
||||
9TPUN7Wam9dgTMC75QR7TjCBkRQs5Jd1jQS8c1ewtZLTPcQW/peADpC44cudgnjZOQ1OCGjTwkwaGBon
|
||||
GoSrpcVIQqmAj6LZftFBup9vWiUlUQdIDCbsQrsGZRJKBbOXyA++SlEsu6QjvQAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>83, 17</value>
|
||||
</metadata>
|
||||
<data name="btSearch.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAE4SURBVDhPtZPPasJAEMbzPn0FwWA92JtP4NGKB1/DP7ei
|
||||
QSsovkChh7ZBrCfpyR4sikopUgq9StFzM/UbZ5asSS4FfzAkO7vft5udiZMEnSBpk5dhFJmncjdHxXaG
|
||||
A+9K4SbFT1luEwQBbXavVO5d0nI3ovnW5yeiMriiu+kt5asXbABEdgRigAUQDr+aHLU3lxoLl/yPJhvF
|
||||
GsiYJ/vPdX5qPK3bVJ25VFukafztGQNsKHJ791I3w+8KcpNth8XDz5YxACI/gsR1J8sTYcO4UIzwv1gG
|
||||
cTshgJ5IT8hChTMHsHi+v+fvffmxywVwN2FDkdsGEOK2ceu4feQ0tDqKyKMGqDfqjvprLzyswuX7Tf4E
|
||||
dBo6zn/3OB7XHovRyuhQ6+hhYKA9DpL+A1keRebNAhkaJH0OHOcP031C4EjYr6wAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="toolStripButton2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADlSURBVEhL7dQxCsIwFMbxnMrZWatzUXRUCo5ewSs4ewZR
|
||||
DyDeQfEETsUbRL7YYNSXNC/UOiQP/kvzyE9KUcQ7y/VJtlHFvQYPjzf50xKsJsFmq81WHq538swMO9il
|
||||
zhALxkWd7kAOJwsnjjPsYNeGs2B14fR5YTYq5O5c1u7sL987iAUjF+6LIjaMKJyDoiAYmVAvn8lsXHij
|
||||
KBhGwDWof4APihqHqQ+OKhg2X3U/n7+9ah88CKY+pM9ndTgbplDbmQtnwS7UtmPDWfDf/jIRLnKhOuzY
|
||||
UMSGmyrBauKE26jiohshHicE2B3dbRrmAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="cm.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>253, 17</value>
|
||||
</metadata>
|
||||
<metadata name="fpSpread1_Sheet1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>486, 17</value>
|
||||
</metadata>
|
||||
<metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>189, 17</value>
|
||||
</metadata>
|
||||
<metadata name="dSReport.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>321, 17</value>
|
||||
</metadata>
|
||||
<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>
|
||||
<metadata name="dSReport.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>321, 17</value>
|
||||
</metadata>
|
||||
<metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>424, 17</value>
|
||||
</metadata>
|
||||
</root>
|
||||
204
SubProject/FCM0000/Inventory/fInventoryJagoPlace.Designer.cs
generated
Normal file
204
SubProject/FCM0000/Inventory/fInventoryJagoPlace.Designer.cs
generated
Normal file
@@ -0,0 +1,204 @@
|
||||
namespace FCM0000.Inventory
|
||||
{
|
||||
partial class fInventoryJagoPlace
|
||||
{
|
||||
/// <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();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType2 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
this.linkLabel5 = new System.Windows.Forms.LinkLabel();
|
||||
this.tbPumIDX = new System.Windows.Forms.TextBox();
|
||||
this.tbPumName = new System.Windows.Forms.TextBox();
|
||||
this.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
|
||||
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
|
||||
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.dSReport = new FCM0000.DSReport();
|
||||
this.ta = new FCM0000.DSReportTableAdapters.jagosummaryPlaceTableAdapter();
|
||||
this.panel1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dSReport)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.BackColor = System.Drawing.Color.LightGray;
|
||||
this.panel1.Controls.Add(this.button1);
|
||||
this.panel1.Controls.Add(this.linkLabel5);
|
||||
this.panel1.Controls.Add(this.tbPumIDX);
|
||||
this.panel1.Controls.Add(this.tbPumName);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel1.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(611, 48);
|
||||
this.panel1.TabIndex = 0;
|
||||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.Location = new System.Drawing.Point(396, 13);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(54, 21);
|
||||
this.button1.TabIndex = 12;
|
||||
this.button1.Text = "조회";
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||
//
|
||||
// linkLabel5
|
||||
//
|
||||
this.linkLabel5.AutoSize = true;
|
||||
this.linkLabel5.Location = new System.Drawing.Point(14, 19);
|
||||
this.linkLabel5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.linkLabel5.Name = "linkLabel5";
|
||||
this.linkLabel5.Size = new System.Drawing.Size(29, 12);
|
||||
this.linkLabel5.TabIndex = 9;
|
||||
this.linkLabel5.TabStop = true;
|
||||
this.linkLabel5.Text = "품명";
|
||||
this.linkLabel5.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel5_LinkClicked);
|
||||
//
|
||||
// tbPumIDX
|
||||
//
|
||||
this.tbPumIDX.Location = new System.Drawing.Point(313, 13);
|
||||
this.tbPumIDX.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.tbPumIDX.Name = "tbPumIDX";
|
||||
this.tbPumIDX.ReadOnly = true;
|
||||
this.tbPumIDX.Size = new System.Drawing.Size(76, 21);
|
||||
this.tbPumIDX.TabIndex = 11;
|
||||
this.tbPumIDX.TabStop = false;
|
||||
this.tbPumIDX.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// tbPumName
|
||||
//
|
||||
this.tbPumName.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
||||
this.tbPumName.ImeMode = System.Windows.Forms.ImeMode.Hangul;
|
||||
this.tbPumName.Location = new System.Drawing.Point(51, 13);
|
||||
this.tbPumName.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.tbPumName.Name = "tbPumName";
|
||||
this.tbPumName.Size = new System.Drawing.Size(258, 21);
|
||||
this.tbPumName.TabIndex = 10;
|
||||
//
|
||||
// fpSpread1
|
||||
//
|
||||
this.fpSpread1.AccessibleDescription = "";
|
||||
this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.fpSpread1.Location = new System.Drawing.Point(0, 48);
|
||||
this.fpSpread1.Name = "fpSpread1";
|
||||
this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
|
||||
this.fpSpread1_Sheet1});
|
||||
this.fpSpread1.Size = new System.Drawing.Size(611, 551);
|
||||
this.fpSpread1.TabIndex = 1;
|
||||
//
|
||||
// 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 = 4;
|
||||
this.fpSpread1_Sheet1.ActiveColumnIndex = -1;
|
||||
this.fpSpread1_Sheet1.ActiveRowIndex = -1;
|
||||
this.fpSpread1_Sheet1.AutoGenerateColumns = false;
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "보관소";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "최종등록일";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "수량";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "금액";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 40F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType1;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).DataField = "place";
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).Label = "보관소";
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType2;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).DataField = "lastDate";
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).Label = "최종등록일";
|
||||
numberCellType1.DecimalPlaces = 0;
|
||||
numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
||||
numberCellType1.MaximumValue = 2147483647D;
|
||||
numberCellType1.MinimumValue = -2147483648D;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).CellType = numberCellType1;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).DataField = "Qty";
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).Label = "수량";
|
||||
numberCellType2.MaximumValue = 999999999999999D;
|
||||
numberCellType2.MinimumValue = -999999999999999D;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).CellType = numberCellType2;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).DataField = "Amt";
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).Label = "금액";
|
||||
this.fpSpread1_Sheet1.DataSource = this.bs;
|
||||
this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false;
|
||||
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
|
||||
//
|
||||
// bs
|
||||
//
|
||||
this.bs.DataMember = "jagosummaryPlace";
|
||||
this.bs.DataSource = this.dSReport;
|
||||
//
|
||||
// dSReport
|
||||
//
|
||||
this.dSReport.DataSetName = "DSReport";
|
||||
this.dSReport.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
||||
//
|
||||
// ta
|
||||
//
|
||||
this.ta.ClearBeforeFill = true;
|
||||
//
|
||||
// fInventoryJagoPlace
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(611, 599);
|
||||
this.Controls.Add(this.fpSpread1);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Name = "fInventoryJagoPlace";
|
||||
this.Text = "보관소별 재고 현황";
|
||||
this.Load += new System.EventHandler(this.fInventoryJagoPlace_Load);
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel1.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dSReport)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.LinkLabel linkLabel5;
|
||||
private System.Windows.Forms.TextBox tbPumIDX;
|
||||
private System.Windows.Forms.TextBox tbPumName;
|
||||
private System.Windows.Forms.Button button1;
|
||||
private FarPoint.Win.Spread.FpSpread fpSpread1;
|
||||
private System.Windows.Forms.BindingSource bs;
|
||||
private DSReport dSReport;
|
||||
private DSReportTableAdapters.jagosummaryPlaceTableAdapter ta;
|
||||
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
|
||||
}
|
||||
}
|
||||
80
SubProject/FCM0000/Inventory/fInventoryJagoPlace.cs
Normal file
80
SubProject/FCM0000/Inventory/fInventoryJagoPlace.cs
Normal file
@@ -0,0 +1,80 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace FCM0000.Inventory
|
||||
{
|
||||
public partial class fInventoryJagoPlace : FCOMMON.fBase
|
||||
{
|
||||
public fInventoryJagoPlace(int itemIndex,string itemname)
|
||||
{
|
||||
|
||||
InitializeComponent();
|
||||
this.tbPumIDX.Text = itemIndex.ToString();
|
||||
this.tbPumName.Text = itemname;
|
||||
this.tbPumName.Tag = itemname;
|
||||
this.tbPumName.KeyDown += (s1, e1) => { if (e1.KeyCode == Keys.Enter) Lov_Item(tbPumName.Text, false); };
|
||||
}
|
||||
|
||||
private void fInventoryJagoPlace_Load(object sender, EventArgs e)
|
||||
{
|
||||
this.Show();
|
||||
Application.DoEvents();
|
||||
button1.PerformClick();
|
||||
}
|
||||
|
||||
private void linkLabel5_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
||||
{
|
||||
Lov_Item("", true);
|
||||
}
|
||||
void Lov_Item(string search, Boolean allowAll)
|
||||
{
|
||||
if (search == "" && allowAll == false)
|
||||
{
|
||||
FCOMMON.Util.MsgE("품명은 필수 값 입니다");
|
||||
tbPumName.Focus();
|
||||
return;
|
||||
}
|
||||
else if (search.ToLower() != tbPumName.Tag.ToString().ToLower() || tbPumIDX.Text == "-1" || tbPumIDX.Text == "") //값이 바뀌엇다면 검색을 해준다.
|
||||
{
|
||||
var f = new FCM0000.fLovItem(search);
|
||||
if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||
{
|
||||
//인덱스값이 다르면 모델 및 가격을 업데이트 한다.
|
||||
tbPumName.Text = f.itemName;
|
||||
tbPumName.Tag = f.itemName;
|
||||
|
||||
this.tbPumIDX.Text = f.item.ToString();
|
||||
//this.tbPumModel.Text = f.itemmodel;
|
||||
//this.tbPumPrice.Text = f.itemprice.ToString();
|
||||
//this.tbSID.Text = f.SID;
|
||||
//this.tbSID.Tag = f.SID;
|
||||
//this.tbPumModel.Enabled = false;
|
||||
//if (tbSID.Text != "") tbSID.Enabled = false;
|
||||
//else tbSID.Enabled = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
void refreshData()
|
||||
{
|
||||
var itmidx = 0;
|
||||
if(!int.TryParse(tbPumIDX.Text,out itmidx))
|
||||
{
|
||||
FCOMMON.Util.MsgE("품목을 먼저 선택하세요");
|
||||
return;
|
||||
}
|
||||
this.ta.FillByItemIdx(this.dSReport.jagosummaryPlace, FCOMMON.info.Login.gcode, DateTime.Now.ToShortDateString(), itmidx);
|
||||
}
|
||||
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
refreshData();
|
||||
}
|
||||
}
|
||||
}
|
||||
132
SubProject/FCM0000/Inventory/fInventoryJagoPlace.resx
Normal file
132
SubProject/FCM0000/Inventory/fInventoryJagoPlace.resx
Normal file
@@ -0,0 +1,132 @@
|
||||
<?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="fpSpread1_Sheet1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>518, 17</value>
|
||||
</metadata>
|
||||
<metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>272, 17</value>
|
||||
</metadata>
|
||||
<metadata name="dSReport.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>169, 17</value>
|
||||
</metadata>
|
||||
<metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>456, 17</value>
|
||||
</metadata>
|
||||
</root>
|
||||
583
SubProject/FCM0000/Inventory/fInventoryUser.Designer.cs
generated
Normal file
583
SubProject/FCM0000/Inventory/fInventoryUser.Designer.cs
generated
Normal file
@@ -0,0 +1,583 @@
|
||||
namespace FCM0000
|
||||
{
|
||||
partial class fInventoryUser
|
||||
{
|
||||
/// <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(fInventoryUser));
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.bn = new System.Windows.Forms.BindingNavigator(this.components);
|
||||
this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.dsMSSQL = new FCM0000.dsMSSQL();
|
||||
this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
|
||||
this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton();
|
||||
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.inventoryBindingNavigatorSaveItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.toolStripLabel3 = new System.Windows.Forms.ToolStripLabel();
|
||||
this.tbFind = new System.Windows.Forms.ToolStripTextBox();
|
||||
this.btFind = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
|
||||
this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||
this.autoColumnsSizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
|
||||
this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
|
||||
this.dtSD = new System.Windows.Forms.ToolStripTextBox();
|
||||
this.toolStripLabel4 = new System.Windows.Forms.ToolStripLabel();
|
||||
this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel();
|
||||
this.dtED = new System.Windows.Forms.ToolStripTextBox();
|
||||
this.toolStripLabel5 = new System.Windows.Forms.ToolStripLabel();
|
||||
this.tbName = new System.Windows.Forms.ToolStripTextBox();
|
||||
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.btSearch = new System.Windows.Forms.ToolStripButton();
|
||||
this.tam = new FCM0000.dsMSSQLTableAdapters.TableAdapterManager();
|
||||
this.taItem = new FCM0000.dsMSSQLTableAdapters.ItemsTableAdapter();
|
||||
this.taPrj = new FCM0000.dsMSSQLTableAdapters.ProjectsTableAdapter();
|
||||
this.dv1 = new arCtl.arDatagridView();
|
||||
this.dvc_iffnvtype = new System.Windows.Forms.DataGridViewComboBoxColumn();
|
||||
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dvc_projectname = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dvc_project = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dvc_itemName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dvc_item = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.ta = new FCM0000.dsMSSQLTableAdapters.InventoryUserTableAdapter();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
|
||||
this.bn.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit();
|
||||
this.cm1.SuspendLayout();
|
||||
this.toolStrip1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dv1)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// bn
|
||||
//
|
||||
this.bn.AddNewItem = this.bindingNavigatorAddNewItem;
|
||||
this.bn.BindingSource = this.bs;
|
||||
this.bn.CountItem = this.bindingNavigatorCountItem;
|
||||
this.bn.DeleteItem = this.bindingNavigatorDeleteItem;
|
||||
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.bindingNavigatorAddNewItem,
|
||||
this.bindingNavigatorDeleteItem,
|
||||
this.inventoryBindingNavigatorSaveItem,
|
||||
this.toolStripSeparator1,
|
||||
this.toolStripLabel3,
|
||||
this.tbFind,
|
||||
this.btFind,
|
||||
this.toolStripButton1});
|
||||
this.bn.Location = new System.Drawing.Point(0, 554);
|
||||
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(979, 25);
|
||||
this.bn.TabIndex = 0;
|
||||
this.bn.Text = "bindingNavigator1";
|
||||
//
|
||||
// bindingNavigatorAddNewItem
|
||||
//
|
||||
this.bindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image")));
|
||||
this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem";
|
||||
this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(65, 22);
|
||||
this.bindingNavigatorAddNewItem.Text = "Add(&A)";
|
||||
//
|
||||
// bs
|
||||
//
|
||||
this.bs.DataMember = "InventoryUser";
|
||||
this.bs.DataSource = this.dsMSSQL;
|
||||
this.bs.Sort = "";
|
||||
//
|
||||
// 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 = "전체 항목 수";
|
||||
//
|
||||
// bindingNavigatorDeleteItem
|
||||
//
|
||||
this.bindingNavigatorDeleteItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image")));
|
||||
this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem";
|
||||
this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(78, 22);
|
||||
this.bindingNavigatorDeleteItem.Text = "Delete(&D)";
|
||||
//
|
||||
// bindingNavigatorMoveFirstItem
|
||||
//
|
||||
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);
|
||||
//
|
||||
// inventoryBindingNavigatorSaveItem
|
||||
//
|
||||
this.inventoryBindingNavigatorSaveItem.Image = ((System.Drawing.Image)(resources.GetObject("inventoryBindingNavigatorSaveItem.Image")));
|
||||
this.inventoryBindingNavigatorSaveItem.Name = "inventoryBindingNavigatorSaveItem";
|
||||
this.inventoryBindingNavigatorSaveItem.Size = new System.Drawing.Size(67, 22);
|
||||
this.inventoryBindingNavigatorSaveItem.Text = "Save(&S)";
|
||||
this.inventoryBindingNavigatorSaveItem.Click += new System.EventHandler(this.inventoryBindingNavigatorSaveItem_Click);
|
||||
//
|
||||
// toolStripSeparator1
|
||||
//
|
||||
this.toolStripSeparator1.Name = "toolStripSeparator1";
|
||||
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// toolStripLabel3
|
||||
//
|
||||
this.toolStripLabel3.Name = "toolStripLabel3";
|
||||
this.toolStripLabel3.Size = new System.Drawing.Size(28, 22);
|
||||
this.toolStripLabel3.Text = "find";
|
||||
this.toolStripLabel3.Click += new System.EventHandler(this.toolStripLabel3_Click);
|
||||
//
|
||||
// tbFind
|
||||
//
|
||||
this.tbFind.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.tbFind.Name = "tbFind";
|
||||
this.tbFind.Size = new System.Drawing.Size(100, 25);
|
||||
this.tbFind.KeyDown += new System.Windows.Forms.KeyEventHandler(this.toolStripTextBox1_KeyDown);
|
||||
//
|
||||
// btFind
|
||||
//
|
||||
this.btFind.Image = ((System.Drawing.Image)(resources.GetObject("btFind.Image")));
|
||||
this.btFind.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.btFind.Name = "btFind";
|
||||
this.btFind.Size = new System.Drawing.Size(50, 22);
|
||||
this.btFind.Text = "Find";
|
||||
//
|
||||
// toolStripButton1
|
||||
//
|
||||
this.toolStripButton1.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
|
||||
this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
|
||||
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.toolStripButton1.Name = "toolStripButton1";
|
||||
this.toolStripButton1.Size = new System.Drawing.Size(63, 22);
|
||||
this.toolStripButton1.Text = "재고장";
|
||||
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
|
||||
//
|
||||
// cm1
|
||||
//
|
||||
this.cm1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.autoColumnsSizeToolStripMenuItem});
|
||||
this.cm1.Name = "cm1";
|
||||
this.cm1.Size = new System.Drawing.Size(175, 26);
|
||||
//
|
||||
// autoColumnsSizeToolStripMenuItem
|
||||
//
|
||||
this.autoColumnsSizeToolStripMenuItem.Name = "autoColumnsSizeToolStripMenuItem";
|
||||
this.autoColumnsSizeToolStripMenuItem.Size = new System.Drawing.Size(174, 22);
|
||||
this.autoColumnsSizeToolStripMenuItem.Text = "AutoColumns Size";
|
||||
this.autoColumnsSizeToolStripMenuItem.Click += new System.EventHandler(this.autoColumnsSizeToolStripMenuItem_Click);
|
||||
//
|
||||
// toolStrip1
|
||||
//
|
||||
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.toolStripLabel1,
|
||||
this.dtSD,
|
||||
this.toolStripLabel4,
|
||||
this.toolStripLabel2,
|
||||
this.dtED,
|
||||
this.toolStripLabel5,
|
||||
this.tbName,
|
||||
this.toolStripSeparator2,
|
||||
this.btSearch});
|
||||
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
|
||||
this.toolStrip1.Name = "toolStrip1";
|
||||
this.toolStrip1.Size = new System.Drawing.Size(979, 25);
|
||||
this.toolStrip1.TabIndex = 2;
|
||||
this.toolStrip1.Text = "toolStrip1";
|
||||
//
|
||||
// toolStripLabel1
|
||||
//
|
||||
this.toolStripLabel1.Name = "toolStripLabel1";
|
||||
this.toolStripLabel1.Size = new System.Drawing.Size(32, 22);
|
||||
this.toolStripLabel1.Text = "Start";
|
||||
this.toolStripLabel1.Click += new System.EventHandler(this.toolStripLabel1_Click);
|
||||
//
|
||||
// dtSD
|
||||
//
|
||||
this.dtSD.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.dtSD.Name = "dtSD";
|
||||
this.dtSD.Size = new System.Drawing.Size(100, 25);
|
||||
//
|
||||
// toolStripLabel4
|
||||
//
|
||||
this.toolStripLabel4.Name = "toolStripLabel4";
|
||||
this.toolStripLabel4.Size = new System.Drawing.Size(15, 22);
|
||||
this.toolStripLabel4.Text = "~";
|
||||
//
|
||||
// toolStripLabel2
|
||||
//
|
||||
this.toolStripLabel2.Name = "toolStripLabel2";
|
||||
this.toolStripLabel2.Size = new System.Drawing.Size(27, 22);
|
||||
this.toolStripLabel2.Text = "End";
|
||||
this.toolStripLabel2.Click += new System.EventHandler(this.toolStripLabel2_Click);
|
||||
//
|
||||
// dtED
|
||||
//
|
||||
this.dtED.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.dtED.Name = "dtED";
|
||||
this.dtED.Size = new System.Drawing.Size(100, 25);
|
||||
//
|
||||
// toolStripLabel5
|
||||
//
|
||||
this.toolStripLabel5.Name = "toolStripLabel5";
|
||||
this.toolStripLabel5.Size = new System.Drawing.Size(30, 22);
|
||||
this.toolStripLabel5.Text = "User";
|
||||
//
|
||||
// tbName
|
||||
//
|
||||
this.tbName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.tbName.Name = "tbName";
|
||||
this.tbName.Size = new System.Drawing.Size(100, 25);
|
||||
this.tbName.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// toolStripSeparator2
|
||||
//
|
||||
this.toolStripSeparator2.Name = "toolStripSeparator2";
|
||||
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// btSearch
|
||||
//
|
||||
this.btSearch.Image = ((System.Drawing.Image)(resources.GetObject("btSearch.Image")));
|
||||
this.btSearch.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.btSearch.Name = "btSearch";
|
||||
this.btSearch.Size = new System.Drawing.Size(81, 22);
|
||||
this.btSearch.Text = "Refresh(&R)";
|
||||
this.btSearch.Click += new System.EventHandler(this.btSearch_Click);
|
||||
//
|
||||
// tam
|
||||
//
|
||||
this.tam.BackupDataSetBeforeUpdate = false;
|
||||
this.tam.BoardTableAdapter = null;
|
||||
this.tam.CommonTableAdapter = null;
|
||||
this.tam.CustomsTableAdapter = null;
|
||||
this.tam.HolidayLIstTableAdapter = null;
|
||||
this.tam.InventoryUserTableAdapter = this.ta;
|
||||
this.tam.ItemsTableAdapter = null;
|
||||
this.tam.MailDataTableAdapter = null;
|
||||
this.tam.MailFormTableAdapter = null;
|
||||
this.tam.ProjectsTableAdapter = null;
|
||||
this.tam.PurchaseTableAdapter = null;
|
||||
this.tam.RequestItemTableAdapter = null;
|
||||
this.tam.StaffTableAdapter = null;
|
||||
this.tam.UpdateOrder = FCM0000.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
|
||||
//
|
||||
// taItem
|
||||
//
|
||||
this.taItem.ClearBeforeFill = true;
|
||||
//
|
||||
// taPrj
|
||||
//
|
||||
this.taPrj.ClearBeforeFill = true;
|
||||
//
|
||||
// dv1
|
||||
//
|
||||
this.dv1.A_DelCurrentCell = true;
|
||||
this.dv1.A_EnterToTab = true;
|
||||
this.dv1.A_KoreanField = null;
|
||||
this.dv1.A_UpperField = null;
|
||||
this.dv1.A_ViewRownumOnHeader = true;
|
||||
this.dv1.AllowUserToAddRows = false;
|
||||
this.dv1.AutoGenerateColumns = false;
|
||||
this.dv1.ColumnHeadersHeight = 30;
|
||||
this.dv1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
|
||||
this.dv1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.dvc_iffnvtype,
|
||||
this.dataGridViewTextBoxColumn2,
|
||||
this.dvc_projectname,
|
||||
this.dvc_project,
|
||||
this.dvc_itemName,
|
||||
this.dvc_item,
|
||||
this.dataGridViewTextBoxColumn5,
|
||||
this.dataGridViewTextBoxColumn6,
|
||||
this.dataGridViewTextBoxColumn7,
|
||||
this.dataGridViewTextBoxColumn10});
|
||||
this.dv1.ContextMenuStrip = this.cm1;
|
||||
this.dv1.DataSource = this.bs;
|
||||
this.dv1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.dv1.Location = new System.Drawing.Point(0, 25);
|
||||
this.dv1.Name = "dv1";
|
||||
this.dv1.RowTemplate.Height = 23;
|
||||
this.dv1.Size = new System.Drawing.Size(979, 529);
|
||||
this.dv1.TabIndex = 1;
|
||||
this.dv1.CellEndEdit += new System.Windows.Forms.DataGridViewCellEventHandler(this.dv1_CellEndEdit);
|
||||
//
|
||||
// dvc_iffnvtype
|
||||
//
|
||||
this.dvc_iffnvtype.DataPropertyName = "invtype";
|
||||
this.dvc_iffnvtype.HeaderText = "Type";
|
||||
this.dvc_iffnvtype.Name = "dvc_iffnvtype";
|
||||
this.dvc_iffnvtype.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dvc_iffnvtype.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
this.dvc_iffnvtype.Width = 70;
|
||||
//
|
||||
// dataGridViewTextBoxColumn2
|
||||
//
|
||||
this.dataGridViewTextBoxColumn2.DataPropertyName = "pdate";
|
||||
this.dataGridViewTextBoxColumn2.HeaderText = "PDate";
|
||||
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
|
||||
this.dataGridViewTextBoxColumn2.Width = 61;
|
||||
//
|
||||
// dvc_projectname
|
||||
//
|
||||
this.dvc_projectname.DataPropertyName = "projectName";
|
||||
dataGridViewCellStyle7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
|
||||
this.dvc_projectname.DefaultCellStyle = dataGridViewCellStyle7;
|
||||
this.dvc_projectname.HeaderText = "Project";
|
||||
this.dvc_projectname.Name = "dvc_projectname";
|
||||
this.dvc_projectname.Width = 69;
|
||||
//
|
||||
// dvc_project
|
||||
//
|
||||
this.dvc_project.DataPropertyName = "project";
|
||||
dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle8.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.dvc_project.DefaultCellStyle = dataGridViewCellStyle8;
|
||||
this.dvc_project.HeaderText = "idx";
|
||||
this.dvc_project.Name = "dvc_project";
|
||||
this.dvc_project.Width = 47;
|
||||
//
|
||||
// dvc_itemName
|
||||
//
|
||||
this.dvc_itemName.DataPropertyName = "itemName";
|
||||
dataGridViewCellStyle9.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
|
||||
this.dvc_itemName.DefaultCellStyle = dataGridViewCellStyle9;
|
||||
this.dvc_itemName.HeaderText = "Item";
|
||||
this.dvc_itemName.Name = "dvc_itemName";
|
||||
this.dvc_itemName.Width = 54;
|
||||
//
|
||||
// dvc_item
|
||||
//
|
||||
this.dvc_item.DataPropertyName = "item";
|
||||
dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle10.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.dvc_item.DefaultCellStyle = dataGridViewCellStyle10;
|
||||
this.dvc_item.HeaderText = "idx";
|
||||
this.dvc_item.Name = "dvc_item";
|
||||
this.dvc_item.Width = 47;
|
||||
//
|
||||
// dataGridViewTextBoxColumn5
|
||||
//
|
||||
this.dataGridViewTextBoxColumn5.DataPropertyName = "serial";
|
||||
this.dataGridViewTextBoxColumn5.HeaderText = "Serial N/O";
|
||||
this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
|
||||
this.dataGridViewTextBoxColumn5.Width = 61;
|
||||
//
|
||||
// dataGridViewTextBoxColumn6
|
||||
//
|
||||
this.dataGridViewTextBoxColumn6.DataPropertyName = "dr_qty";
|
||||
dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.dataGridViewTextBoxColumn6.DefaultCellStyle = dataGridViewCellStyle11;
|
||||
this.dataGridViewTextBoxColumn6.HeaderText = "Qty";
|
||||
this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
|
||||
this.dataGridViewTextBoxColumn6.Width = 64;
|
||||
//
|
||||
// dataGridViewTextBoxColumn7
|
||||
//
|
||||
this.dataGridViewTextBoxColumn7.DataPropertyName = "dr_amt";
|
||||
dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
|
||||
this.dataGridViewTextBoxColumn7.DefaultCellStyle = dataGridViewCellStyle12;
|
||||
this.dataGridViewTextBoxColumn7.HeaderText = "Amt";
|
||||
this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
|
||||
this.dataGridViewTextBoxColumn7.Width = 68;
|
||||
//
|
||||
// dataGridViewTextBoxColumn10
|
||||
//
|
||||
this.dataGridViewTextBoxColumn10.DataPropertyName = "memo";
|
||||
this.dataGridViewTextBoxColumn10.HeaderText = "Memo";
|
||||
this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10";
|
||||
this.dataGridViewTextBoxColumn10.Width = 66;
|
||||
//
|
||||
// ta
|
||||
//
|
||||
this.ta.ClearBeforeFill = true;
|
||||
//
|
||||
// fInventoryUser
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(979, 579);
|
||||
this.Controls.Add(this.dv1);
|
||||
this.Controls.Add(this.toolStrip1);
|
||||
this.Controls.Add(this.bn);
|
||||
this.Name = "fInventoryUser";
|
||||
this.Text = "개인별 품목 관리";
|
||||
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();
|
||||
this.cm1.ResumeLayout(false);
|
||||
this.toolStrip1.ResumeLayout(false);
|
||||
this.toolStrip1.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dv1)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private dsMSSQL dsMSSQL;
|
||||
private System.Windows.Forms.BindingSource bs;
|
||||
private dsMSSQLTableAdapters.TableAdapterManager tam;
|
||||
private System.Windows.Forms.BindingNavigator bn;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem;
|
||||
private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator;
|
||||
private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2;
|
||||
private System.Windows.Forms.ToolStripButton inventoryBindingNavigatorSaveItem;
|
||||
private arCtl.arDatagridView dv1;
|
||||
private System.Windows.Forms.ToolStrip toolStrip1;
|
||||
private System.Windows.Forms.ToolStripLabel toolStripLabel1;
|
||||
private System.Windows.Forms.ToolStripTextBox dtSD;
|
||||
private System.Windows.Forms.ToolStripLabel toolStripLabel2;
|
||||
private System.Windows.Forms.ToolStripTextBox dtED;
|
||||
private System.Windows.Forms.ToolStripButton btSearch;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
|
||||
private System.Windows.Forms.ToolStripLabel toolStripLabel3;
|
||||
private System.Windows.Forms.ToolStripButton btFind;
|
||||
private System.Windows.Forms.ToolStripTextBox tbFind;
|
||||
private System.Windows.Forms.ContextMenuStrip cm1;
|
||||
private System.Windows.Forms.ToolStripMenuItem autoColumnsSizeToolStripMenuItem;
|
||||
private dsMSSQLTableAdapters.ItemsTableAdapter taItem;
|
||||
private dsMSSQLTableAdapters.ProjectsTableAdapter taPrj;
|
||||
private System.Windows.Forms.DataGridViewComboBoxColumn dvc_iffnvtype;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dvc_projectname;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dvc_project;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dvc_itemName;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dvc_item;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn6;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn7;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn10;
|
||||
private System.Windows.Forms.ToolStripLabel toolStripLabel4;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton1;
|
||||
private System.Windows.Forms.ToolStripLabel toolStripLabel5;
|
||||
private System.Windows.Forms.ToolStripTextBox tbName;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
|
||||
private dsMSSQLTableAdapters.InventoryUserTableAdapter ta;
|
||||
}
|
||||
}
|
||||
326
SubProject/FCM0000/Inventory/fInventoryUser.cs
Normal file
326
SubProject/FCM0000/Inventory/fInventoryUser.cs
Normal file
@@ -0,0 +1,326 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace FCM0000
|
||||
{
|
||||
public partial class fInventoryUser : Form
|
||||
{
|
||||
public fInventoryUser()
|
||||
{
|
||||
InitializeComponent();
|
||||
this.FormClosed += __Closed;
|
||||
this.dsMSSQL.InventoryUser.TableNewRow += Inventory_TableNewRow;
|
||||
|
||||
var invtypeList = new FCOMMON.keyValuedataTable();
|
||||
invtypeList.Add("I1", "입고");
|
||||
invtypeList.Add("I2", "입고(대여)");
|
||||
invtypeList.Add("O1", "출고");
|
||||
invtypeList.Add("O2", "출고(대여)");
|
||||
invtypeList.Add("ET", "기타");
|
||||
dvc_iffnvtype.DataSource = invtypeList.DataTable;
|
||||
dvc_iffnvtype.ValueMember = "key";
|
||||
dvc_iffnvtype.DisplayMember = "Value";
|
||||
this.dtSD.KeyDown += dtSD_KeyDown;
|
||||
this.dtED.KeyDown += dtSD_KeyDown;
|
||||
}
|
||||
|
||||
void dtSD_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Enter)
|
||||
{
|
||||
ToolStripTextBox tb = sender as ToolStripTextBox;
|
||||
var vale = tb.Text.Trim();
|
||||
var datestring = string.Empty;
|
||||
if (FCOMMON.Util.MakeDateString(vale, out datestring))
|
||||
{
|
||||
tb.Text = datestring;
|
||||
if (e.KeyCode == Keys.Enter)
|
||||
SendKeys.Send("{TAB}");
|
||||
}
|
||||
else
|
||||
{
|
||||
FCOMMON.Util.MsgE("날짜형식으로 입력하세요.\n\n18-01-01");
|
||||
tb.SelectAll();
|
||||
tb.Focus();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void __Closed(object sender, FormClosedEventArgs e)
|
||||
{
|
||||
var form = this as Form;
|
||||
FCOMMON.Util.SetFormStatus(ref form, this.Name, false);
|
||||
}
|
||||
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
// TODO: 이 코드는 데이터를 'dsMSSQL.InventoryUser' 테이블에 로드합니다. 필요한 경우 이 코드를 이동하거나 제거할 수 있습니다.
|
||||
|
||||
var form = this as Form;
|
||||
FCOMMON.Util.SetFormStatus(ref form, this.Name, true);
|
||||
this.Show();
|
||||
Application.DoEvents();
|
||||
|
||||
//사용자이름 181030
|
||||
this.tbName.Text = FCOMMON.info.Login.nameK;
|
||||
|
||||
//마지막 자료를 가져온날을 찾는다.
|
||||
var dateList = FCOMMON.DBM.getDateList("InventoryUser", "uid='" + FCOMMON.info.Login.no + "'");
|
||||
dtED.Text = DateTime.Now.ToShortDateString();
|
||||
|
||||
if (dateList.Count > 0) dtSD.Text = dateList[dateList.Count - 1];
|
||||
else dtSD.Text = DateTime.Now.AddDays(-7).ToShortDateString();
|
||||
|
||||
btSearch.PerformClick();
|
||||
|
||||
}
|
||||
private void btSearch_Click(object sender, EventArgs e)
|
||||
{
|
||||
try
|
||||
{
|
||||
string sd = dtSD.Text;
|
||||
string ed = dtED.Text;
|
||||
string name = "%";
|
||||
if (tbName.Text != "") name = tbName.Text.Trim();
|
||||
this.ta.FillByName(this.dsMSSQL.InventoryUser, sd, ed, name);
|
||||
this.dsMSSQL.InventoryUser.AcceptChanges();
|
||||
dv1.AutoResizeColumns();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
FCOMMON.Util.MsgE(ex.Message);
|
||||
}
|
||||
|
||||
}
|
||||
private void inventoryBindingNavigatorSaveItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Validate();
|
||||
this.bs.EndEdit();
|
||||
|
||||
var dlg = FCOMMON.Util.MsgQ("변경된 사항을 저장 하시겠습니까?");
|
||||
if (dlg != System.Windows.Forms.DialogResult.Yes) return;
|
||||
|
||||
try
|
||||
{
|
||||
this.tam.UpdateAll(this.dsMSSQL);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
FCOMMON.Util.MsgE(ex.Message);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
void Inventory_TableNewRow(object sender, DataTableNewRowEventArgs e)
|
||||
{
|
||||
|
||||
e.Row["wuid"] = FCOMMON.info.Login.no;
|
||||
e.Row["uid"] = FCOMMON.info.Login.no;
|
||||
e.Row["wdate"] = DateTime.Now;
|
||||
e.Row["pdate"] = DateTime.Now.ToShortDateString();
|
||||
e.Row["dr_qty"] = 0;
|
||||
e.Row["dr_amt"] = 0;
|
||||
e.Row["invtype"] = "I1";
|
||||
}
|
||||
|
||||
private void toolStripTextBox1_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Enter)
|
||||
{
|
||||
string inputstr = tbFind.Text.Trim();
|
||||
if (inputstr == "")
|
||||
{
|
||||
bs.Filter = "";
|
||||
tbFind.BackColor = Color.White;
|
||||
}
|
||||
else
|
||||
{
|
||||
string[] collist = new string[] { "projectName", "itemName", "memo", "serial" };
|
||||
System.Text.StringBuilder filter = new StringBuilder();
|
||||
foreach (var col in collist)
|
||||
{
|
||||
if (filter.Length > 0) filter.Append(" or ");
|
||||
filter.Append(col + " like '%" + inputstr + "%'");
|
||||
}
|
||||
try
|
||||
{
|
||||
bs.Filter = filter.ToString();
|
||||
tbFind.BackColor = Color.Lime;
|
||||
tbFind.SelectAll();
|
||||
tbFind.Focus();
|
||||
}
|
||||
catch (Exception eX)
|
||||
{
|
||||
tbFind.BackColor = Color.Red;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void autoColumnsSizeToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
dv1.AutoResizeColumns();
|
||||
}
|
||||
|
||||
private void dv1_CellEndEdit(object sender, DataGridViewCellEventArgs e)
|
||||
{
|
||||
if (e.ColumnIndex < 0 || e.RowIndex < 0) return;
|
||||
var col = dv1.Columns[e.ColumnIndex];
|
||||
switch (col.DataPropertyName)
|
||||
{
|
||||
case "itemName":
|
||||
var valuen = dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Value;
|
||||
if (valuen != null)
|
||||
{
|
||||
string inputtext = valuen.ToString().Trim();
|
||||
if (inputtext.isEmpty())
|
||||
{
|
||||
dv1.Rows[e.RowIndex].Cells["dvc_itemName"].Value = inputtext;
|
||||
}
|
||||
else
|
||||
{
|
||||
//검색을 실행해서 보여준다.
|
||||
var SearchDT = taItem.GetSearch("%" + inputtext + "%", FCOMMON.info.Login.gcode);
|
||||
if (SearchDT == null || SearchDT.Rows.Count < 1)
|
||||
{
|
||||
FCOMMON.Util.MsgE("검색 결과가 없습니다.");
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
//검색된 결과를 표시해서 보여준다.
|
||||
var f = new fLovItem("%" + inputtext + "%");
|
||||
if(f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||
{
|
||||
dv1.Rows[e.RowIndex].Cells["dvc_item"].Value = f.item;
|
||||
dv1.Rows[e.RowIndex].Cells["dvc_itemName"].Value = f.itemName;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
case "item":
|
||||
var value = dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Value;
|
||||
if (value != null)
|
||||
{
|
||||
int idx = (int)value;
|
||||
if (idx != -1)
|
||||
{
|
||||
var item = this.taItem.GetbyIDX(idx);
|
||||
if (item.Count == 1)
|
||||
{
|
||||
//1개만 찾았다면 그것을 사용한다.
|
||||
var itemnameValue = item[0]["name"];
|
||||
if (itemnameValue != null)
|
||||
dv1.Rows[e.RowIndex].Cells["dvc_itemName"].Value = itemnameValue.ToString();
|
||||
}
|
||||
else
|
||||
{
|
||||
FCOMMON.Util.MsgE("해당 아이템이 존재하지 않습니다.");
|
||||
dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Value = DBNull.Value;
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
case "project":
|
||||
var valuep = dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Value;
|
||||
if (valuep != null)
|
||||
{
|
||||
int idx = (int)valuep;
|
||||
if (idx != -1)
|
||||
{
|
||||
var item = this.taPrj.GetData(idx);
|
||||
if (item.Count == 1)
|
||||
{
|
||||
//1개만 찾았다면 그것을 사용한다.
|
||||
var itemnameValue = item[0]["name"];
|
||||
if (itemnameValue != null)
|
||||
dv1.Rows[e.RowIndex].Cells["dvc_projectName"].Value = itemnameValue.ToString();
|
||||
}
|
||||
else
|
||||
{
|
||||
FCOMMON.Util.MsgE("해당 프로젝트가 존재하지 않습니다.");
|
||||
dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Value = DBNull.Value;
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
case "projectName":
|
||||
var valuepn = dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Value;
|
||||
if (valuepn != null)
|
||||
{
|
||||
string inputtext = valuepn.ToString().Trim();
|
||||
if (inputtext.isEmpty())
|
||||
{
|
||||
dv1.Rows[e.RowIndex].Cells["dvc_projectname"].Value = inputtext;
|
||||
}
|
||||
else
|
||||
{
|
||||
//검색을 실행해서 보여준다.
|
||||
var SearchDT = this.taPrj.GetSearch("%" + inputtext + "%",FCOMMON.info.Login.gcode);
|
||||
if (SearchDT == null || SearchDT.Rows.Count < 1)
|
||||
{
|
||||
FCOMMON.Util.MsgE("검색 결과가 없습니다.");
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
//검색된 결과를 표시해서 보여준다.
|
||||
var f = new fLovProject("%" + inputtext + "%");
|
||||
if(f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||
{
|
||||
dv1.Rows[e.RowIndex].Cells["dvc_project"].Value = f.Index;
|
||||
dv1.Rows[e.RowIndex].Cells["dvc_projectname"].Value = f.Title;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
private void toolStripLabel1_Click(object sender, EventArgs e)
|
||||
{
|
||||
//시작일(inventory 에 uid 가 내것인 데이터)
|
||||
var dataList = FCOMMON.DBM.getDateList("inventoryUser", "uid='" + FCOMMON.info.Login.no + "'", true);
|
||||
var f = new FCOMMON.fLovDateList(dataList);
|
||||
if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||
{
|
||||
dtSD.Text = f.selectedDate;
|
||||
}
|
||||
}
|
||||
|
||||
private void toolStripLabel2_Click(object sender, EventArgs e)
|
||||
{
|
||||
var dataList = FCOMMON.DBM.getDateList("inventoryUser", "uid='" + FCOMMON.info.Login.no + "'", true);
|
||||
var f = new FCOMMON.fLovDateList(dataList);
|
||||
if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||
{
|
||||
dtED.Text = f.selectedDate;
|
||||
btSearch.PerformClick();
|
||||
}
|
||||
}
|
||||
|
||||
private void toolStripButton1_Click(object sender, EventArgs e)
|
||||
{
|
||||
var f = new Inventory.RepInvStockUser(this.tbName.Text.Trim());
|
||||
f.MdiParent = this.MdiParent;
|
||||
f.Show();
|
||||
}
|
||||
|
||||
private void toolStripLabel3_Click(object sender, EventArgs e)
|
||||
{
|
||||
tbFind.Text = string.Empty;
|
||||
btFind.PerformClick();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
281
SubProject/FCM0000/Inventory/fInventoryUser.resx
Normal file
281
SubProject/FCM0000/Inventory/fInventoryUser.resx
Normal file
@@ -0,0 +1,281 @@
|
||||
<?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>259, 17</value>
|
||||
</metadata>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="bindingNavigatorAddNewItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC
|
||||
pBtwfjov3ICDPSKkG3B8kiBQc93/Pw+q/u9oFydswKWZPP/PTuX7fxKo8Ui/0P993SJAzeX//94r+r++
|
||||
Qeb/qhq5/0srFf/PL1X+P6tIFdPAU0B//nlYD9RUC8SV///cKwHivP9/72b+/3sn+f/f23H//92MAOKQ
|
||||
/5NyNDENONQrDHbu3/ulQI0FQI3ZQI2pQI0J///digZqDPv/70bQ/3/X/f53peliGrCzXeL/lmap/+vA
|
||||
zpX/v6RC8f/fWzFAjeH/p+Zp/J+QpfW/O0P3f3uq/v/mREPCYTIb6E+Qc//dCPjfk6FDWAM6APnz3w1/
|
||||
IPb735qsT7oB3em6YP+CcH2cEekGtCQZ/G+IN/xfE2v8vzLahHQD6AQYGAAkI9iedfyIaQAAAABJRU5E
|
||||
rkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<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>
|
||||
<data name="bindingNavigatorDeleteItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC
|
||||
DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC
|
||||
rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV
|
||||
i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG
|
||||
86CNhdrsX9a/uQZTPhQl4rMY4OLofbl3aX7I8uwPC7y/g1YdjyVJuEvT8e1tfwUYteHUxCCfHChDeHmG
|
||||
QQvokjlOU+PbWA0x3pZnILVVI3uvQyHsbiLnqnGmRCF1NYD8pDhpRxOH7HQoAKZGkFKjceszQbpSrumX
|
||||
bO+G80MFwKUTxgfgcO/b8D9IpXoFiiMDHIQm0skAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77
|
||||
wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0
|
||||
v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg
|
||||
UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA
|
||||
Iu/O/9T+11gVGSSd+C+b9vW/bvA83AYYZt3+H9byEqci/dTL/zV8p+E2QCftxn+/6od4Fal4TMBtgFPu
|
||||
lf8gBXgVDULAwAAA8HbAq6XlmnAAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMovePreviousItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w
|
||||
5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f
|
||||
Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+
|
||||
08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMoveNextItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
|
||||
n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI
|
||||
N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f
|
||||
oAc0QjgAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMoveLastItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+//
|
||||
h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B
|
||||
twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA
|
||||
kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG
|
||||
WOTd+W9TcAVDMwiA5FL7X8O9hBUYZt3GqhkEQHJhLS//6wbPw22ATtoNnJIgOb/qh/81fKfhNgAfcMq9
|
||||
8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="inventoryBindingNavigatorSaveItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo
|
||||
dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="btFind.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
|
||||
YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9
|
||||
0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
|
||||
bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc
|
||||
VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9
|
||||
c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32
|
||||
Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo
|
||||
mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+
|
||||
kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D
|
||||
TgDQASA1MVpwzwAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
|
||||
YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9
|
||||
0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
|
||||
bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc
|
||||
VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9
|
||||
c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32
|
||||
Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo
|
||||
mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+
|
||||
kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D
|
||||
TgDQASA1MVpwzwAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="cm1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>431, 17</value>
|
||||
</metadata>
|
||||
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>325, 17</value>
|
||||
</metadata>
|
||||
<data name="btSearch.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAE4SURBVDhPtZPPasJAEMbzPn0FwWA92JtP4NGKB1/DP7ei
|
||||
QSsovkChh7ZBrCfpyR4sikopUgq9StFzM/UbZ5asSS4FfzAkO7vft5udiZMEnSBpk5dhFJmncjdHxXaG
|
||||
A+9K4SbFT1luEwQBbXavVO5d0nI3ovnW5yeiMriiu+kt5asXbABEdgRigAUQDr+aHLU3lxoLl/yPJhvF
|
||||
GsiYJ/vPdX5qPK3bVJ25VFukafztGQNsKHJ791I3w+8KcpNth8XDz5YxACI/gsR1J8sTYcO4UIzwv1gG
|
||||
cTshgJ5IT8hChTMHsHi+v+fvffmxywVwN2FDkdsGEOK2ceu4feQ0tDqKyKMGqDfqjvprLzyswuX7Tf4E
|
||||
dBo6zn/3OB7XHovRyuhQ6+hhYKA9DpL+A1keRebNAhkaJH0OHOcP031C4EjYr6wAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="tam.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>186, 17</value>
|
||||
</metadata>
|
||||
<metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 56</value>
|
||||
</metadata>
|
||||
<metadata name="taItem.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>506, 17</value>
|
||||
</metadata>
|
||||
<metadata name="taPrj.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>593, 17</value>
|
||||
</metadata>
|
||||
<metadata name="dvc_iffnvtype.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="dvc_projectname.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="dvc_project.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="dvc_itemName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="dvc_item.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>118</value>
|
||||
</metadata>
|
||||
</root>
|
||||
497
SubProject/FCM0000/Inventory/finventoryAdd.Designer.cs
generated
Normal file
497
SubProject/FCM0000/Inventory/finventoryAdd.Designer.cs
generated
Normal file
@@ -0,0 +1,497 @@
|
||||
namespace FCM0000
|
||||
{
|
||||
partial class finventoryAdd
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.Windows.Forms.Label sidLabel;
|
||||
System.Windows.Forms.Label pumscaleLabel;
|
||||
System.Windows.Forms.Label pumqtyLabel;
|
||||
System.Windows.Forms.Label pumpriceLabel;
|
||||
System.Windows.Forms.Label pumamtLabel;
|
||||
System.Windows.Forms.Label deptLabel;
|
||||
System.Windows.Forms.Label label1;
|
||||
System.Windows.Forms.Label label3;
|
||||
System.Windows.Forms.Label label6;
|
||||
System.Windows.Forms.Label label2;
|
||||
System.Windows.Forms.Label label4;
|
||||
this.tbSID = new System.Windows.Forms.TextBox();
|
||||
this.tbPumName = new System.Windows.Forms.TextBox();
|
||||
this.tbPumModel = new System.Windows.Forms.TextBox();
|
||||
this.tbPumQty = new System.Windows.Forms.TextBox();
|
||||
this.tbPumPrice = new System.Windows.Forms.TextBox();
|
||||
this.tbPumAmt = new System.Windows.Forms.TextBox();
|
||||
this.tbProject = new System.Windows.Forms.TextBox();
|
||||
this.tbProjectIndex = new System.Windows.Forms.TextBox();
|
||||
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.dsPurchase = new FCM0000.DSInventory();
|
||||
this.tbBigo = new System.Windows.Forms.TextBox();
|
||||
this.dtPdate = new System.Windows.Forms.DateTimePicker();
|
||||
this.btSave = new System.Windows.Forms.Button();
|
||||
this.cmbState = new System.Windows.Forms.ComboBox();
|
||||
this.cmbRequest = new System.Windows.Forms.ComboBox();
|
||||
this.tbPumIDX = new System.Windows.Forms.TextBox();
|
||||
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
||||
this.tbPlace = new System.Windows.Forms.TextBox();
|
||||
this.tbSN = new System.Windows.Forms.TextBox();
|
||||
this.linkLabel7 = new System.Windows.Forms.LinkLabel();
|
||||
this.linkLabel5 = new System.Windows.Forms.LinkLabel();
|
||||
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
|
||||
this.ta = new FCM0000.DSInventoryTableAdapters.vInventoryTableAdapter();
|
||||
sidLabel = new System.Windows.Forms.Label();
|
||||
pumscaleLabel = new System.Windows.Forms.Label();
|
||||
pumqtyLabel = new System.Windows.Forms.Label();
|
||||
pumpriceLabel = new System.Windows.Forms.Label();
|
||||
pumamtLabel = new System.Windows.Forms.Label();
|
||||
deptLabel = new System.Windows.Forms.Label();
|
||||
label1 = new System.Windows.Forms.Label();
|
||||
label3 = new System.Windows.Forms.Label();
|
||||
label6 = new System.Windows.Forms.Label();
|
||||
label2 = new System.Windows.Forms.Label();
|
||||
label4 = new System.Windows.Forms.Label();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit();
|
||||
this.groupBox1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// sidLabel
|
||||
//
|
||||
sidLabel.AutoSize = true;
|
||||
sidLabel.Location = new System.Drawing.Point(288, 213);
|
||||
sidLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
sidLabel.Name = "sidLabel";
|
||||
sidLabel.Size = new System.Drawing.Size(32, 20);
|
||||
sidLabel.TabIndex = 17;
|
||||
sidLabel.Text = "SID";
|
||||
//
|
||||
// pumscaleLabel
|
||||
//
|
||||
pumscaleLabel.AutoSize = true;
|
||||
pumscaleLabel.Location = new System.Drawing.Point(9, 142);
|
||||
pumscaleLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
pumscaleLabel.Name = "pumscaleLabel";
|
||||
pumscaleLabel.Size = new System.Drawing.Size(75, 20);
|
||||
pumscaleLabel.TabIndex = 9;
|
||||
pumscaleLabel.Text = "모델/규격";
|
||||
//
|
||||
// pumqtyLabel
|
||||
//
|
||||
pumqtyLabel.AutoSize = true;
|
||||
pumqtyLabel.Location = new System.Drawing.Point(45, 178);
|
||||
pumqtyLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
pumqtyLabel.Name = "pumqtyLabel";
|
||||
pumqtyLabel.Size = new System.Drawing.Size(39, 20);
|
||||
pumqtyLabel.TabIndex = 11;
|
||||
pumqtyLabel.Text = "수량";
|
||||
//
|
||||
// pumpriceLabel
|
||||
//
|
||||
pumpriceLabel.AutoSize = true;
|
||||
pumpriceLabel.Location = new System.Drawing.Point(280, 178);
|
||||
pumpriceLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
pumpriceLabel.Name = "pumpriceLabel";
|
||||
pumpriceLabel.Size = new System.Drawing.Size(39, 20);
|
||||
pumpriceLabel.TabIndex = 13;
|
||||
pumpriceLabel.Text = "단가";
|
||||
//
|
||||
// pumamtLabel
|
||||
//
|
||||
pumamtLabel.AutoSize = true;
|
||||
pumamtLabel.Location = new System.Drawing.Point(45, 213);
|
||||
pumamtLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
pumamtLabel.Name = "pumamtLabel";
|
||||
pumamtLabel.Size = new System.Drawing.Size(39, 20);
|
||||
pumamtLabel.TabIndex = 15;
|
||||
pumamtLabel.Text = "합계";
|
||||
//
|
||||
// deptLabel
|
||||
//
|
||||
deptLabel.AutoSize = true;
|
||||
deptLabel.Location = new System.Drawing.Point(45, 318);
|
||||
deptLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
deptLabel.Name = "deptLabel";
|
||||
deptLabel.Size = new System.Drawing.Size(39, 20);
|
||||
deptLabel.TabIndex = 26;
|
||||
deptLabel.Text = "비고";
|
||||
//
|
||||
// label1
|
||||
//
|
||||
label1.AutoSize = true;
|
||||
label1.Location = new System.Drawing.Point(30, 32);
|
||||
label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
label1.Name = "label1";
|
||||
label1.Size = new System.Drawing.Size(54, 20);
|
||||
label1.TabIndex = 0;
|
||||
label1.Text = "입력일";
|
||||
//
|
||||
// label3
|
||||
//
|
||||
label3.AutoSize = true;
|
||||
label3.Location = new System.Drawing.Point(45, 70);
|
||||
label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
label3.Name = "label3";
|
||||
label3.Size = new System.Drawing.Size(39, 20);
|
||||
label3.TabIndex = 2;
|
||||
label3.Text = "담당";
|
||||
//
|
||||
// label6
|
||||
//
|
||||
label6.AutoSize = true;
|
||||
label6.Location = new System.Drawing.Point(280, 69);
|
||||
label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
label6.Name = "label6";
|
||||
label6.Size = new System.Drawing.Size(39, 20);
|
||||
label6.TabIndex = 4;
|
||||
label6.Text = "상태";
|
||||
//
|
||||
// label2
|
||||
//
|
||||
label2.AutoSize = true;
|
||||
label2.Location = new System.Drawing.Point(50, 248);
|
||||
label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
label2.Name = "label2";
|
||||
label2.Size = new System.Drawing.Size(34, 20);
|
||||
label2.TabIndex = 22;
|
||||
label2.Text = "S/N";
|
||||
//
|
||||
// label4
|
||||
//
|
||||
label4.AutoSize = true;
|
||||
label4.Location = new System.Drawing.Point(30, 283);
|
||||
label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
label4.Name = "label4";
|
||||
label4.Size = new System.Drawing.Size(54, 20);
|
||||
label4.TabIndex = 24;
|
||||
label4.Text = "보관소";
|
||||
//
|
||||
// tbSID
|
||||
//
|
||||
this.tbSID.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
|
||||
this.tbSID.Location = new System.Drawing.Point(327, 210);
|
||||
this.tbSID.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.tbSID.Name = "tbSID";
|
||||
this.tbSID.Size = new System.Drawing.Size(148, 27);
|
||||
this.tbSID.TabIndex = 18;
|
||||
//
|
||||
// tbPumName
|
||||
//
|
||||
this.tbPumName.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
||||
this.tbPumName.ImeMode = System.Windows.Forms.ImeMode.Hangul;
|
||||
this.tbPumName.Location = new System.Drawing.Point(93, 102);
|
||||
this.tbPumName.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.tbPumName.Name = "tbPumName";
|
||||
this.tbPumName.Size = new System.Drawing.Size(311, 27);
|
||||
this.tbPumName.TabIndex = 7;
|
||||
//
|
||||
// tbPumModel
|
||||
//
|
||||
this.tbPumModel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
||||
this.tbPumModel.ImeMode = System.Windows.Forms.ImeMode.Alpha;
|
||||
this.tbPumModel.Location = new System.Drawing.Point(93, 139);
|
||||
this.tbPumModel.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.tbPumModel.Name = "tbPumModel";
|
||||
this.tbPumModel.Size = new System.Drawing.Size(381, 27);
|
||||
this.tbPumModel.TabIndex = 10;
|
||||
//
|
||||
// tbPumQty
|
||||
//
|
||||
this.tbPumQty.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
||||
this.tbPumQty.Location = new System.Drawing.Point(94, 175);
|
||||
this.tbPumQty.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.tbPumQty.Name = "tbPumQty";
|
||||
this.tbPumQty.Size = new System.Drawing.Size(178, 27);
|
||||
this.tbPumQty.TabIndex = 12;
|
||||
this.tbPumQty.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
this.tbPumQty.TextChanged += new System.EventHandler(this.tbPumQty_TextChanged);
|
||||
//
|
||||
// tbPumPrice
|
||||
//
|
||||
this.tbPumPrice.Location = new System.Drawing.Point(327, 175);
|
||||
this.tbPumPrice.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.tbPumPrice.Name = "tbPumPrice";
|
||||
this.tbPumPrice.Size = new System.Drawing.Size(148, 27);
|
||||
this.tbPumPrice.TabIndex = 14;
|
||||
this.tbPumPrice.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
|
||||
this.tbPumPrice.TextChanged += new System.EventHandler(this.tbPumQty_TextChanged);
|
||||
//
|
||||
// tbPumAmt
|
||||
//
|
||||
this.tbPumAmt.Location = new System.Drawing.Point(93, 210);
|
||||
this.tbPumAmt.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.tbPumAmt.Name = "tbPumAmt";
|
||||
this.tbPumAmt.ReadOnly = true;
|
||||
this.tbPumAmt.Size = new System.Drawing.Size(179, 27);
|
||||
this.tbPumAmt.TabIndex = 16;
|
||||
this.tbPumAmt.TabStop = false;
|
||||
this.tbPumAmt.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
|
||||
//
|
||||
// tbProject
|
||||
//
|
||||
this.tbProject.BackColor = System.Drawing.SystemColors.Window;
|
||||
this.tbProject.ImeMode = System.Windows.Forms.ImeMode.Hangul;
|
||||
this.tbProject.Location = new System.Drawing.Point(92, 352);
|
||||
this.tbProject.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.tbProject.Name = "tbProject";
|
||||
this.tbProject.Size = new System.Drawing.Size(311, 27);
|
||||
this.tbProject.TabIndex = 20;
|
||||
//
|
||||
// tbProjectIndex
|
||||
//
|
||||
this.tbProjectIndex.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "project", true));
|
||||
this.tbProjectIndex.Location = new System.Drawing.Point(409, 352);
|
||||
this.tbProjectIndex.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.tbProjectIndex.Name = "tbProjectIndex";
|
||||
this.tbProjectIndex.ReadOnly = true;
|
||||
this.tbProjectIndex.Size = new System.Drawing.Size(64, 27);
|
||||
this.tbProjectIndex.TabIndex = 21;
|
||||
this.tbProjectIndex.TabStop = false;
|
||||
this.tbProjectIndex.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
this.toolTip1.SetToolTip(this.tbProjectIndex, "Database ID");
|
||||
//
|
||||
// bs
|
||||
//
|
||||
this.bs.DataMember = "vInventory";
|
||||
this.bs.DataSource = this.dsPurchase;
|
||||
//
|
||||
// dsPurchase
|
||||
//
|
||||
this.dsPurchase.DataSetName = "dsPurchase";
|
||||
this.dsPurchase.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
||||
//
|
||||
// tbBigo
|
||||
//
|
||||
this.tbBigo.ImeMode = System.Windows.Forms.ImeMode.Hangul;
|
||||
this.tbBigo.Location = new System.Drawing.Point(93, 315);
|
||||
this.tbBigo.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.tbBigo.MaxLength = 500;
|
||||
this.tbBigo.Name = "tbBigo";
|
||||
this.tbBigo.Size = new System.Drawing.Size(381, 27);
|
||||
this.tbBigo.TabIndex = 27;
|
||||
this.tbBigo.TabStop = false;
|
||||
//
|
||||
// dtPdate
|
||||
//
|
||||
this.dtPdate.Location = new System.Drawing.Point(93, 29);
|
||||
this.dtPdate.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.dtPdate.Name = "dtPdate";
|
||||
this.dtPdate.Size = new System.Drawing.Size(381, 27);
|
||||
this.dtPdate.TabIndex = 1;
|
||||
//
|
||||
// btSave
|
||||
//
|
||||
this.btSave.Location = new System.Drawing.Point(11, 406);
|
||||
this.btSave.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.btSave.Name = "btSave";
|
||||
this.btSave.Size = new System.Drawing.Size(490, 49);
|
||||
this.btSave.TabIndex = 1;
|
||||
this.btSave.Text = "저장(&S)";
|
||||
this.btSave.UseVisualStyleBackColor = true;
|
||||
this.btSave.Click += new System.EventHandler(this.button1_Click);
|
||||
//
|
||||
// cmbState
|
||||
//
|
||||
this.cmbState.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
||||
this.cmbState.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cmbState.FormattingEnabled = true;
|
||||
this.cmbState.Items.AddRange(new object[] {
|
||||
"입고",
|
||||
"출고",
|
||||
"정정"});
|
||||
this.cmbState.Location = new System.Drawing.Point(327, 66);
|
||||
this.cmbState.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.cmbState.Name = "cmbState";
|
||||
this.cmbState.Size = new System.Drawing.Size(148, 28);
|
||||
this.cmbState.TabIndex = 5;
|
||||
this.cmbState.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
|
||||
//
|
||||
// cmbRequest
|
||||
//
|
||||
this.cmbRequest.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
|
||||
this.cmbRequest.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
|
||||
this.cmbRequest.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cmbRequest.FormattingEnabled = true;
|
||||
this.cmbRequest.ImeMode = System.Windows.Forms.ImeMode.Hangul;
|
||||
this.cmbRequest.Location = new System.Drawing.Point(93, 66);
|
||||
this.cmbRequest.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.cmbRequest.Name = "cmbRequest";
|
||||
this.cmbRequest.Size = new System.Drawing.Size(179, 28);
|
||||
this.cmbRequest.TabIndex = 3;
|
||||
//
|
||||
// tbPumIDX
|
||||
//
|
||||
this.tbPumIDX.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "item", true));
|
||||
this.tbPumIDX.Location = new System.Drawing.Point(410, 102);
|
||||
this.tbPumIDX.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.tbPumIDX.Name = "tbPumIDX";
|
||||
this.tbPumIDX.ReadOnly = true;
|
||||
this.tbPumIDX.Size = new System.Drawing.Size(64, 27);
|
||||
this.tbPumIDX.TabIndex = 8;
|
||||
this.tbPumIDX.TabStop = false;
|
||||
this.tbPumIDX.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
this.toolTip1.SetToolTip(this.tbPumIDX, "Database ID");
|
||||
//
|
||||
// groupBox1
|
||||
//
|
||||
this.groupBox1.Controls.Add(this.tbPlace);
|
||||
this.groupBox1.Controls.Add(label4);
|
||||
this.groupBox1.Controls.Add(this.tbSN);
|
||||
this.groupBox1.Controls.Add(label2);
|
||||
this.groupBox1.Controls.Add(this.linkLabel7);
|
||||
this.groupBox1.Controls.Add(this.linkLabel5);
|
||||
this.groupBox1.Controls.Add(label6);
|
||||
this.groupBox1.Controls.Add(label3);
|
||||
this.groupBox1.Controls.Add(this.dtPdate);
|
||||
this.groupBox1.Controls.Add(this.tbPumAmt);
|
||||
this.groupBox1.Controls.Add(this.tbBigo);
|
||||
this.groupBox1.Controls.Add(deptLabel);
|
||||
this.groupBox1.Controls.Add(pumamtLabel);
|
||||
this.groupBox1.Controls.Add(this.tbPumIDX);
|
||||
this.groupBox1.Controls.Add(this.cmbState);
|
||||
this.groupBox1.Controls.Add(this.tbSID);
|
||||
this.groupBox1.Controls.Add(this.tbPumQty);
|
||||
this.groupBox1.Controls.Add(pumqtyLabel);
|
||||
this.groupBox1.Controls.Add(sidLabel);
|
||||
this.groupBox1.Controls.Add(this.tbProject);
|
||||
this.groupBox1.Controls.Add(this.tbProjectIndex);
|
||||
this.groupBox1.Controls.Add(this.tbPumPrice);
|
||||
this.groupBox1.Controls.Add(pumpriceLabel);
|
||||
this.groupBox1.Controls.Add(label1);
|
||||
this.groupBox1.Controls.Add(this.tbPumName);
|
||||
this.groupBox1.Controls.Add(this.cmbRequest);
|
||||
this.groupBox1.Controls.Add(pumscaleLabel);
|
||||
this.groupBox1.Controls.Add(this.tbPumModel);
|
||||
this.groupBox1.Location = new System.Drawing.Point(11, 6);
|
||||
this.groupBox1.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.groupBox1.Name = "groupBox1";
|
||||
this.groupBox1.Padding = new System.Windows.Forms.Padding(4);
|
||||
this.groupBox1.Size = new System.Drawing.Size(490, 392);
|
||||
this.groupBox1.TabIndex = 0;
|
||||
this.groupBox1.TabStop = false;
|
||||
this.groupBox1.Text = "필수입력";
|
||||
//
|
||||
// tbPlace
|
||||
//
|
||||
this.tbPlace.ImeMode = System.Windows.Forms.ImeMode.Hangul;
|
||||
this.tbPlace.Location = new System.Drawing.Point(93, 280);
|
||||
this.tbPlace.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.tbPlace.MaxLength = 500;
|
||||
this.tbPlace.Name = "tbPlace";
|
||||
this.tbPlace.Size = new System.Drawing.Size(381, 27);
|
||||
this.tbPlace.TabIndex = 25;
|
||||
this.tbPlace.TabStop = false;
|
||||
//
|
||||
// tbSN
|
||||
//
|
||||
this.tbSN.ImeMode = System.Windows.Forms.ImeMode.Hangul;
|
||||
this.tbSN.Location = new System.Drawing.Point(93, 245);
|
||||
this.tbSN.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.tbSN.MaxLength = 500;
|
||||
this.tbSN.Name = "tbSN";
|
||||
this.tbSN.Size = new System.Drawing.Size(381, 27);
|
||||
this.tbSN.TabIndex = 23;
|
||||
this.tbSN.TabStop = false;
|
||||
//
|
||||
// linkLabel7
|
||||
//
|
||||
this.linkLabel7.AutoSize = true;
|
||||
this.linkLabel7.Location = new System.Drawing.Point(13, 355);
|
||||
this.linkLabel7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.linkLabel7.Name = "linkLabel7";
|
||||
this.linkLabel7.Size = new System.Drawing.Size(69, 20);
|
||||
this.linkLabel7.TabIndex = 19;
|
||||
this.linkLabel7.TabStop = true;
|
||||
this.linkLabel7.Text = "프로젝트";
|
||||
this.linkLabel7.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel7_LinkClicked);
|
||||
//
|
||||
// linkLabel5
|
||||
//
|
||||
this.linkLabel5.AutoSize = true;
|
||||
this.linkLabel5.Location = new System.Drawing.Point(45, 105);
|
||||
this.linkLabel5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.linkLabel5.Name = "linkLabel5";
|
||||
this.linkLabel5.Size = new System.Drawing.Size(39, 20);
|
||||
this.linkLabel5.TabIndex = 6;
|
||||
this.linkLabel5.TabStop = true;
|
||||
this.linkLabel5.Text = "품명";
|
||||
this.linkLabel5.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel5_LinkClicked);
|
||||
//
|
||||
// ta
|
||||
//
|
||||
this.ta.ClearBeforeFill = true;
|
||||
//
|
||||
// finventoryAdd
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(511, 462);
|
||||
this.Controls.Add(this.groupBox1);
|
||||
this.Controls.Add(this.btSave);
|
||||
this.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||
this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "finventoryAdd";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "품목재고 등록/변경";
|
||||
this.Load += new System.EventHandler(this.@__Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).EndInit();
|
||||
this.groupBox1.ResumeLayout(false);
|
||||
this.groupBox1.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.TextBox tbSID;
|
||||
private System.Windows.Forms.TextBox tbPumName;
|
||||
private System.Windows.Forms.TextBox tbPumModel;
|
||||
private System.Windows.Forms.TextBox tbPumQty;
|
||||
private System.Windows.Forms.TextBox tbPumPrice;
|
||||
private System.Windows.Forms.TextBox tbPumAmt;
|
||||
private System.Windows.Forms.TextBox tbProject;
|
||||
private System.Windows.Forms.TextBox tbProjectIndex;
|
||||
private System.Windows.Forms.TextBox tbBigo;
|
||||
private System.Windows.Forms.DateTimePicker dtPdate;
|
||||
private System.Windows.Forms.Button btSave;
|
||||
private System.Windows.Forms.ComboBox cmbState;
|
||||
private System.Windows.Forms.ComboBox cmbRequest;
|
||||
private System.Windows.Forms.TextBox tbPumIDX;
|
||||
private System.Windows.Forms.GroupBox groupBox1;
|
||||
private DSInventory dsPurchase;
|
||||
private System.Windows.Forms.BindingSource bs;
|
||||
private DSInventoryTableAdapters.vInventoryTableAdapter ta;
|
||||
private System.Windows.Forms.ToolTip toolTip1;
|
||||
private System.Windows.Forms.LinkLabel linkLabel5;
|
||||
private System.Windows.Forms.LinkLabel linkLabel7;
|
||||
private System.Windows.Forms.TextBox tbPlace;
|
||||
private System.Windows.Forms.TextBox tbSN;
|
||||
}
|
||||
}
|
||||
314
SubProject/FCM0000/Inventory/finventoryAdd.cs
Normal file
314
SubProject/FCM0000/Inventory/finventoryAdd.cs
Normal file
@@ -0,0 +1,314 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace FCM0000
|
||||
{
|
||||
public partial class finventoryAdd : Form
|
||||
{
|
||||
BindingSource bsManu;
|
||||
BindingSource bsModel;
|
||||
DSInventory.vInventoryRow dr;
|
||||
public Boolean repeatAdd = false;
|
||||
|
||||
public finventoryAdd(DSInventory.vInventoryRow dr_)
|
||||
{
|
||||
InitializeComponent();
|
||||
bsManu = new BindingSource();
|
||||
bsModel = new BindingSource();
|
||||
this.dr = dr_;
|
||||
this.KeyPreview = true;
|
||||
this.StartPosition = FormStartPosition.CenterScreen;
|
||||
this.KeyDown += (s1, e1) =>
|
||||
{
|
||||
if (e1.KeyCode == Keys.Escape) this.Close();
|
||||
};
|
||||
this.tbPumName.Leave += tbPumName_Leave;
|
||||
this.tbProject.Leave += tbProject_Leave;
|
||||
foreach (Control ctl in groupBox1.Controls)
|
||||
{
|
||||
if (ctl.GetType() == typeof(TextBox) || ctl.GetType() == typeof(ComboBox))
|
||||
{
|
||||
ctl.KeyDown += ctl_KeyDown;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
//담당자목록
|
||||
var userList = FCOMMON.DBM.getUserList();//.getGroupList("name", "Users", "[level] > 0 and [level] < 10");
|
||||
foreach (var user in userList)
|
||||
{
|
||||
this.cmbRequest.Items.Add(string.Format("[{0}] {1}",user.Key,user.Value));
|
||||
}
|
||||
|
||||
//사현재사용자의 데이터를 찾는다.
|
||||
if (cmbRequest.Items.Count > 0)
|
||||
{
|
||||
for (int i = 0; i < cmbRequest.Items.Count; i++)
|
||||
{
|
||||
if (cmbRequest.Items[i].ToString().StartsWith("[" + dr.uid + "]"))
|
||||
{
|
||||
cmbRequest.SelectedIndex = i;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
else cmbRequest.Text = dr.uid;
|
||||
|
||||
|
||||
///입력된 데이터를 적용한다.
|
||||
dtPdate.Value = DateTime.Parse(dr.pdate);
|
||||
dtPdate.Value = DateTime.Parse(dr.pdate);
|
||||
// cmbRequest.Text = dr.userName;
|
||||
tbSID.Text = dr.sid;
|
||||
tbSID.Tag = tbSID.Text;
|
||||
tbPumIDX.Text = dr.item.ToString();
|
||||
tbPumName.Text = dr.itemName;
|
||||
tbPumName.Tag = tbPumName.Text;
|
||||
tbPumModel.Text = dr.itemModel;
|
||||
tbPumQty.Text = dr.dr_qty.ToString("N0");
|
||||
if (dr.dr_qty == 0 || dr.dr_amt == 0) tbPumPrice.Text = "0";
|
||||
else tbPumPrice.Text = string.Format("{0}",dr.dr_amt / dr.dr_qty);
|
||||
tbPumAmt.Text = dr.dr_amt.ToString("N0");
|
||||
|
||||
tbSN.Text = dr.serial;
|
||||
tbPlace.Text = dr.place;
|
||||
tbProject.Text = dr.projectName;
|
||||
tbProject.Tag = tbProject.Text;
|
||||
tbProjectIndex.Text = dr.project.ToString();
|
||||
|
||||
cmbState.Text = dr.invtype; //입고/출고/정정
|
||||
tbBigo.Text = dr.memo;
|
||||
|
||||
this.Show();
|
||||
Application.DoEvents();
|
||||
tbPumName.Focus();
|
||||
}
|
||||
|
||||
string sidTrim(string sid)
|
||||
{
|
||||
return sid.Replace(" ", "").Replace("-", "").Replace("_", "").Trim();
|
||||
}
|
||||
|
||||
void ctl_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Enter)
|
||||
{
|
||||
Control ctl = sender as Control;
|
||||
string nm = ctl.Name.ToLower();
|
||||
string search = ctl.Text.Trim();
|
||||
|
||||
Console.WriteLine("inner keydown " + nm + ":" + search);
|
||||
|
||||
switch (nm)
|
||||
{
|
||||
case "cmbrequest":
|
||||
tbSID.Focus();
|
||||
break;
|
||||
case "tbpumname":
|
||||
Lov_Item(search, false);
|
||||
break;
|
||||
case "tbproject":
|
||||
Lov_Project(search, false);
|
||||
break;
|
||||
default:
|
||||
SendKeys.Send("{TAB}");
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
private void linkLabel5_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
||||
{
|
||||
Lov_Item("",true);
|
||||
}
|
||||
|
||||
void Lov_Item( string search,Boolean allowAll)
|
||||
{
|
||||
if (search == "" && allowAll==false)
|
||||
{
|
||||
FCOMMON.Util.MsgE("품명은 필수 값 입니다");
|
||||
tbPumName.Focus();
|
||||
return;
|
||||
}
|
||||
else if (search.ToLower() != tbPumName.Tag.ToString().ToLower() || tbPumIDX.Text == "-1" || tbPumIDX.Text == "") //값이 바뀌엇다면 검색을 해준다.
|
||||
{
|
||||
var f = new FCM0000.fLovItem(search);
|
||||
if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||
{
|
||||
//인덱스값이 다르면 모델 및 가격을 업데이트 한다.
|
||||
tbPumName.Text = f.itemName;
|
||||
tbPumName.Tag = f.itemName;
|
||||
|
||||
this.tbPumIDX.Text = f.item.ToString();
|
||||
this.tbPumModel.Text = f.itemmodel;
|
||||
this.tbPumPrice.Text = f.itemprice.ToString();
|
||||
this.tbSID.Text = f.SID;
|
||||
this.tbSID.Tag = f.SID;
|
||||
this.tbPumModel.Enabled = false;
|
||||
if (tbSID.Text != "") tbSID.Enabled = false;
|
||||
else tbSID.Enabled = true;
|
||||
}
|
||||
}
|
||||
this.tbPumQty.Focus();
|
||||
}
|
||||
void Lov_Project(string search, Boolean allowAll)
|
||||
{
|
||||
if (search != "" || allowAll == true)
|
||||
{
|
||||
var f = new FCM0000.fLovProject(search);
|
||||
if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||
{
|
||||
this.tbProject.Text = f.Title;
|
||||
this.tbProject.Tag = f.Title;
|
||||
this.tbProjectIndex.Text = f.Index.ToString();
|
||||
btSave.Focus();
|
||||
}
|
||||
else
|
||||
{
|
||||
tbProject.SelectAll();
|
||||
tbProject.Focus();
|
||||
}
|
||||
}
|
||||
else this.btSave.Focus();
|
||||
}
|
||||
|
||||
private Boolean saveData()
|
||||
{
|
||||
this.Validate();
|
||||
|
||||
tbSID.Text = sidTrim(tbSID.Text);
|
||||
|
||||
if (tbPumName.Text.isEmpty())
|
||||
{
|
||||
FCOMMON.Util.MsgE("품명이 없습니다.");
|
||||
tbPumName.Focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
if (tbPumModel.Text == "")
|
||||
{
|
||||
FCOMMON.Util.MsgE("제품 규격을 입력하세요.");
|
||||
tbPumModel.Focus();
|
||||
return false;
|
||||
}
|
||||
if (tbPumQty.Text == "")
|
||||
{
|
||||
FCOMMON.Util.MsgE("수량을 입력하세요.");
|
||||
tbPumQty.Focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
//품목정보에 없는 데이터이므로 자료를 추가한다.
|
||||
if(tbPumIDX.Text == "-1")
|
||||
{
|
||||
var newidx = FCOMMON.DBM.addItem(tbPumName.Text, tbSID.Text, tbPumModel.Text.Trim(), decimal.Parse(tbPumPrice.Text), "", -1, null);
|
||||
if (newidx > 0) tbPumIDX.Text = newidx.ToString();
|
||||
}
|
||||
else if(tbSID.Text != "" && tbSID.Text != tbSID.Tag.ToString())
|
||||
{
|
||||
//SID가 변경되었으므로 업데이트 해주낟.
|
||||
FCOMMON.DBM.UpdateItemSID(int.Parse(tbPumIDX.Text), tbSID.Text);
|
||||
}
|
||||
|
||||
dr.itemName = tbPumName.Text;
|
||||
dr.itemModel = tbPumModel.Text;
|
||||
dr.item = int.Parse( tbPumIDX.Text );
|
||||
dr.place = tbPlace.Text;
|
||||
dr.serial = tbSN.Text;
|
||||
if (tbPumQty.Text.isEmpty()) tbPumQty.Text = "0";
|
||||
if (tbPumPrice.Text.isEmpty()) tbPumPrice.Text = "0";
|
||||
dr.dr_qty = int.Parse(tbPumQty.Text);
|
||||
dr.dr_amt = dr.dr_qty * int.Parse(tbPumPrice.Text);
|
||||
if (tbPumIDX.Text == "" || tbPumIDX.Text == "-1") dr.SetitemNull();
|
||||
else dr.item = int.Parse(tbPumIDX.Text);
|
||||
dr.sid = tbSID.Text.Trim();
|
||||
dr.pdate = this.dtPdate.Value.ToShortDateString();
|
||||
dr.gcode = FCOMMON.info.Login.gcode;
|
||||
if (cmbRequest.Text.IndexOf("]") != -1)
|
||||
{
|
||||
dr.uid = cmbRequest.Text.Substring(1, cmbRequest.Text.IndexOf("]") - 1);
|
||||
dr.userName = cmbRequest.Text.Substring(cmbRequest.Text.IndexOf("]") + 2);
|
||||
}
|
||||
else
|
||||
{
|
||||
dr.uid = cmbRequest.Text;
|
||||
dr.userName = string.Empty;
|
||||
}
|
||||
dr.sid = tbSID.Text;
|
||||
dr.projectName = tbProject.Text;
|
||||
if (tbProjectIndex.Text == "") dr.SetprojectNull();
|
||||
else dr.project = int.Parse(tbProjectIndex.Text);
|
||||
dr.invtype = cmbState.Text.Trim();
|
||||
dr.memo = tbBigo.Text.Trim();
|
||||
if(cmbState.Text == "입고")
|
||||
{
|
||||
if (dr.dr_qty < 0) dr.dr_qty *= -1;
|
||||
if (dr.dr_amt < 0) dr.dr_amt *= -1;
|
||||
} else if(cmbState.Text =="출고")
|
||||
{
|
||||
if (dr.dr_qty > 0) dr.dr_qty *= -1;
|
||||
if (dr.dr_amt > 0) dr.dr_amt *= -1;
|
||||
}
|
||||
dr.EndEdit();
|
||||
return true;
|
||||
}
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (!saveData()) return;
|
||||
DialogResult = System.Windows.Forms.DialogResult.OK;
|
||||
}
|
||||
|
||||
private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
}
|
||||
|
||||
private void tbPumQty_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
var strQty = this.tbPumQty.Text;
|
||||
var strPrice = this.tbPumPrice.Text;
|
||||
|
||||
int qty = 0;
|
||||
double price = 0;
|
||||
if (strQty.IsNumeric()) qty = int.Parse(strQty);
|
||||
if (strPrice.IsNumeric()) price = double.Parse(strPrice);
|
||||
double amt = price * qty;
|
||||
tbPumAmt.Text = amt.ToString("N0");
|
||||
}
|
||||
|
||||
|
||||
private void linkLabel7_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
||||
{
|
||||
//lov 프로젝트
|
||||
Lov_Project("", true);
|
||||
}
|
||||
|
||||
void tbProject_Leave(object sender, EventArgs e)
|
||||
{
|
||||
//커서를 빠져나갈떄 사용자가 이름만 변경했다면 선택 idx를 제거해준다.
|
||||
var tb = sender as TextBox;
|
||||
if (tb.Text == "") tbProjectIndex.Text = "-1";
|
||||
else if (tb.Text != tb.Tag.ToString()) tbProjectIndex.Text = "-1";
|
||||
}
|
||||
|
||||
void tbPumName_Leave(object sender, EventArgs e)
|
||||
{
|
||||
//커서를 빠져나갈떄 사용자가 이름만 변경했다면 선택 idx를 제거해준다.
|
||||
var tb = sender as TextBox;
|
||||
if (tb.Text == "") tbPumIDX.Text = "-1";
|
||||
else if (tb.Text != tb.Tag.ToString()) tbPumIDX.Text = "-1";
|
||||
if(tbPumIDX.Text =="-1")
|
||||
{
|
||||
tbPumModel.Enabled = true;
|
||||
// tbPumUnit.Enabled = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
168
SubProject/FCM0000/Inventory/finventoryAdd.resx
Normal file
168
SubProject/FCM0000/Inventory/finventoryAdd.resx
Normal file
@@ -0,0 +1,168 @@
|
||||
<?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="sidLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="pumscaleLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="pumqtyLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="pumpriceLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="pumamtLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="deptLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="label1.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="label3.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="label6.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="label2.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="label4.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>131, 17</value>
|
||||
</metadata>
|
||||
<metadata name="dsPurchase.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>490, 17</value>
|
||||
</metadata>
|
||||
<metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>313, 17</value>
|
||||
</metadata>
|
||||
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>58</value>
|
||||
</metadata>
|
||||
</root>
|
||||
297
SubProject/FCM0000/Item/fItemAdd.Designer.cs
generated
Normal file
297
SubProject/FCM0000/Item/fItemAdd.Designer.cs
generated
Normal file
@@ -0,0 +1,297 @@
|
||||
namespace FCM0000.Item
|
||||
{
|
||||
partial class fItemAdd
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.Windows.Forms.Label nameLabel;
|
||||
System.Windows.Forms.Label sidLabel;
|
||||
System.Windows.Forms.Label modelLabel;
|
||||
System.Windows.Forms.Label manuLabel;
|
||||
System.Windows.Forms.Label supplyLabel;
|
||||
System.Windows.Forms.Label memoLabel;
|
||||
System.Windows.Forms.Label priceLabel;
|
||||
System.Windows.Forms.Label label1;
|
||||
this.ta = new FCM0000.dsMSSQLTableAdapters.ItemsTableAdapter();
|
||||
this.tbName = new System.Windows.Forms.TextBox();
|
||||
this.tbSid = new System.Windows.Forms.TextBox();
|
||||
this.tbModel = new System.Windows.Forms.TextBox();
|
||||
this.tbManu = new System.Windows.Forms.TextBox();
|
||||
this.tbSupply = new System.Windows.Forms.TextBox();
|
||||
this.tbMemo = new System.Windows.Forms.TextBox();
|
||||
this.tbPrice = new System.Windows.Forms.TextBox();
|
||||
this.tbSupplyIdx = new System.Windows.Forms.TextBox();
|
||||
this.tbUnit = new System.Windows.Forms.TextBox();
|
||||
this.btOK = new System.Windows.Forms.Button();
|
||||
this.dsMSSQL = new FCM0000.dsMSSQL();
|
||||
nameLabel = new System.Windows.Forms.Label();
|
||||
sidLabel = new System.Windows.Forms.Label();
|
||||
modelLabel = new System.Windows.Forms.Label();
|
||||
manuLabel = new System.Windows.Forms.Label();
|
||||
supplyLabel = new System.Windows.Forms.Label();
|
||||
memoLabel = new System.Windows.Forms.Label();
|
||||
priceLabel = new System.Windows.Forms.Label();
|
||||
label1 = new System.Windows.Forms.Label();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// nameLabel
|
||||
//
|
||||
nameLabel.AutoSize = true;
|
||||
nameLabel.Location = new System.Drawing.Point(34, 17);
|
||||
nameLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
|
||||
nameLabel.Name = "nameLabel";
|
||||
nameLabel.Size = new System.Drawing.Size(55, 30);
|
||||
nameLabel.TabIndex = 0;
|
||||
nameLabel.Text = "품명";
|
||||
//
|
||||
// sidLabel
|
||||
//
|
||||
sidLabel.AutoSize = true;
|
||||
sidLabel.Location = new System.Drawing.Point(44, 231);
|
||||
sidLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
|
||||
sidLabel.Name = "sidLabel";
|
||||
sidLabel.Size = new System.Drawing.Size(45, 30);
|
||||
sidLabel.TabIndex = 10;
|
||||
sidLabel.Text = "SID";
|
||||
//
|
||||
// modelLabel
|
||||
//
|
||||
modelLabel.AutoSize = true;
|
||||
modelLabel.Location = new System.Drawing.Point(13, 63);
|
||||
modelLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
|
||||
modelLabel.Name = "modelLabel";
|
||||
modelLabel.Size = new System.Drawing.Size(76, 30);
|
||||
modelLabel.TabIndex = 8;
|
||||
modelLabel.Text = "모델명";
|
||||
//
|
||||
// manuLabel
|
||||
//
|
||||
manuLabel.AutoSize = true;
|
||||
manuLabel.Location = new System.Drawing.Point(13, 147);
|
||||
manuLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
|
||||
manuLabel.Name = "manuLabel";
|
||||
manuLabel.Size = new System.Drawing.Size(76, 30);
|
||||
manuLabel.TabIndex = 6;
|
||||
manuLabel.Text = "제조사";
|
||||
//
|
||||
// supplyLabel
|
||||
//
|
||||
supplyLabel.AutoSize = true;
|
||||
supplyLabel.Location = new System.Drawing.Point(13, 273);
|
||||
supplyLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
|
||||
supplyLabel.Name = "supplyLabel";
|
||||
supplyLabel.Size = new System.Drawing.Size(76, 30);
|
||||
supplyLabel.TabIndex = 12;
|
||||
supplyLabel.Text = "공급처";
|
||||
//
|
||||
// memoLabel
|
||||
//
|
||||
memoLabel.AutoSize = true;
|
||||
memoLabel.Location = new System.Drawing.Point(34, 318);
|
||||
memoLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
|
||||
memoLabel.Name = "memoLabel";
|
||||
memoLabel.Size = new System.Drawing.Size(55, 30);
|
||||
memoLabel.TabIndex = 15;
|
||||
memoLabel.Text = "비고";
|
||||
//
|
||||
// priceLabel
|
||||
//
|
||||
priceLabel.AutoSize = true;
|
||||
priceLabel.Location = new System.Drawing.Point(34, 188);
|
||||
priceLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
|
||||
priceLabel.Name = "priceLabel";
|
||||
priceLabel.Size = new System.Drawing.Size(55, 30);
|
||||
priceLabel.TabIndex = 8;
|
||||
priceLabel.Text = "단가";
|
||||
//
|
||||
// ta
|
||||
//
|
||||
this.ta.ClearBeforeFill = true;
|
||||
//
|
||||
// tbName
|
||||
//
|
||||
this.tbName.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
||||
this.tbName.Location = new System.Drawing.Point(97, 17);
|
||||
this.tbName.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8);
|
||||
this.tbName.Name = "tbName";
|
||||
this.tbName.Size = new System.Drawing.Size(561, 35);
|
||||
this.tbName.TabIndex = 2;
|
||||
//
|
||||
// tbSid
|
||||
//
|
||||
this.tbSid.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||||
this.tbSid.Location = new System.Drawing.Point(97, 228);
|
||||
this.tbSid.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8);
|
||||
this.tbSid.Name = "tbSid";
|
||||
this.tbSid.Size = new System.Drawing.Size(561, 35);
|
||||
this.tbSid.TabIndex = 11;
|
||||
this.tbSid.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// tbModel
|
||||
//
|
||||
this.tbModel.BackColor = System.Drawing.SystemColors.Window;
|
||||
this.tbModel.Location = new System.Drawing.Point(97, 58);
|
||||
this.tbModel.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8);
|
||||
this.tbModel.Name = "tbModel";
|
||||
this.tbModel.Size = new System.Drawing.Size(561, 35);
|
||||
this.tbModel.TabIndex = 3;
|
||||
//
|
||||
// tbManu
|
||||
//
|
||||
this.tbManu.Location = new System.Drawing.Point(97, 144);
|
||||
this.tbManu.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8);
|
||||
this.tbManu.Name = "tbManu";
|
||||
this.tbManu.Size = new System.Drawing.Size(561, 35);
|
||||
this.tbManu.TabIndex = 7;
|
||||
//
|
||||
// tbSupply
|
||||
//
|
||||
this.tbSupply.Location = new System.Drawing.Point(97, 270);
|
||||
this.tbSupply.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8);
|
||||
this.tbSupply.Name = "tbSupply";
|
||||
this.tbSupply.Size = new System.Drawing.Size(449, 35);
|
||||
this.tbSupply.TabIndex = 13;
|
||||
//
|
||||
// tbMemo
|
||||
//
|
||||
this.tbMemo.Location = new System.Drawing.Point(97, 311);
|
||||
this.tbMemo.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8);
|
||||
this.tbMemo.Name = "tbMemo";
|
||||
this.tbMemo.Size = new System.Drawing.Size(561, 35);
|
||||
this.tbMemo.TabIndex = 16;
|
||||
this.tbMemo.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// tbPrice
|
||||
//
|
||||
this.tbPrice.Location = new System.Drawing.Point(97, 185);
|
||||
this.tbPrice.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8);
|
||||
this.tbPrice.Name = "tbPrice";
|
||||
this.tbPrice.Size = new System.Drawing.Size(561, 35);
|
||||
this.tbPrice.TabIndex = 9;
|
||||
this.tbPrice.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// tbSupplyIdx
|
||||
//
|
||||
this.tbSupplyIdx.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.tbSupplyIdx.Enabled = false;
|
||||
this.tbSupplyIdx.Location = new System.Drawing.Point(556, 270);
|
||||
this.tbSupplyIdx.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8);
|
||||
this.tbSupplyIdx.Name = "tbSupplyIdx";
|
||||
this.tbSupplyIdx.Size = new System.Drawing.Size(102, 35);
|
||||
this.tbSupplyIdx.TabIndex = 14;
|
||||
this.tbSupplyIdx.Text = "-1";
|
||||
this.tbSupplyIdx.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// tbUnit
|
||||
//
|
||||
this.tbUnit.Location = new System.Drawing.Point(97, 100);
|
||||
this.tbUnit.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8);
|
||||
this.tbUnit.Name = "tbUnit";
|
||||
this.tbUnit.Size = new System.Drawing.Size(561, 35);
|
||||
this.tbUnit.TabIndex = 5;
|
||||
this.tbUnit.Text = "EA";
|
||||
this.tbUnit.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
label1.AutoSize = true;
|
||||
label1.Location = new System.Drawing.Point(34, 101);
|
||||
label1.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
|
||||
label1.Name = "label1";
|
||||
label1.Size = new System.Drawing.Size(55, 30);
|
||||
label1.TabIndex = 4;
|
||||
label1.Text = "단위";
|
||||
//
|
||||
// btOK
|
||||
//
|
||||
this.btOK.Location = new System.Drawing.Point(97, 357);
|
||||
this.btOK.Name = "btOK";
|
||||
this.btOK.Size = new System.Drawing.Size(561, 40);
|
||||
this.btOK.TabIndex = 17;
|
||||
this.btOK.Text = "확인";
|
||||
this.btOK.UseVisualStyleBackColor = true;
|
||||
this.btOK.Click += new System.EventHandler(this.btOK_Click);
|
||||
//
|
||||
// dsMSSQL
|
||||
//
|
||||
this.dsMSSQL.DataSetName = "dsMSSQL";
|
||||
this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
||||
//
|
||||
// fItemAdd
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 30F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(669, 409);
|
||||
this.Controls.Add(this.btOK);
|
||||
this.Controls.Add(nameLabel);
|
||||
this.Controls.Add(this.tbName);
|
||||
this.Controls.Add(sidLabel);
|
||||
this.Controls.Add(this.tbSid);
|
||||
this.Controls.Add(label1);
|
||||
this.Controls.Add(modelLabel);
|
||||
this.Controls.Add(this.tbModel);
|
||||
this.Controls.Add(manuLabel);
|
||||
this.Controls.Add(this.tbManu);
|
||||
this.Controls.Add(supplyLabel);
|
||||
this.Controls.Add(this.tbSupply);
|
||||
this.Controls.Add(memoLabel);
|
||||
this.Controls.Add(this.tbMemo);
|
||||
this.Controls.Add(priceLabel);
|
||||
this.Controls.Add(this.tbPrice);
|
||||
this.Controls.Add(this.tbSupplyIdx);
|
||||
this.Controls.Add(this.tbUnit);
|
||||
this.Font = new System.Drawing.Font("맑은 고딕", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||
this.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8);
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "fItemAdd";
|
||||
this.Text = "품목 추가";
|
||||
this.Load += new System.EventHandler(this.fItemAdd_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private dsMSSQLTableAdapters.ItemsTableAdapter ta;
|
||||
private System.Windows.Forms.Button btOK;
|
||||
private dsMSSQL dsMSSQL;
|
||||
public System.Windows.Forms.TextBox tbName;
|
||||
public System.Windows.Forms.TextBox tbSid;
|
||||
public System.Windows.Forms.TextBox tbModel;
|
||||
public System.Windows.Forms.TextBox tbManu;
|
||||
public System.Windows.Forms.TextBox tbSupply;
|
||||
public System.Windows.Forms.TextBox tbMemo;
|
||||
public System.Windows.Forms.TextBox tbPrice;
|
||||
public System.Windows.Forms.TextBox tbSupplyIdx;
|
||||
public System.Windows.Forms.TextBox tbUnit;
|
||||
}
|
||||
}
|
||||
102
SubProject/FCM0000/Item/fItemAdd.cs
Normal file
102
SubProject/FCM0000/Item/fItemAdd.cs
Normal file
@@ -0,0 +1,102 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace FCM0000.Item
|
||||
{
|
||||
public partial class fItemAdd : FCOMMON.fBase
|
||||
{
|
||||
public int newIDX = -1;
|
||||
public fItemAdd()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
foreach (Control ctl in this.Controls)
|
||||
{
|
||||
if (ctl.GetType() == typeof(TextBox) || ctl.GetType() == typeof(ComboBox))
|
||||
{
|
||||
ctl.KeyDown += ctl_KeyDown;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void ctl_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Enter)
|
||||
{
|
||||
Control ctl = sender as Control;
|
||||
string nm = ctl.Name.ToLower();
|
||||
string search = ctl.Text.Trim();
|
||||
SendKeys.Send("{TAB}");
|
||||
}
|
||||
}
|
||||
|
||||
private void fItemAdd_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void btOK_Click(object sender, EventArgs e)
|
||||
{
|
||||
if(tbName.Text.Trim()=="")
|
||||
{
|
||||
FCOMMON.Util.MsgE("품명은 필수 입니다");
|
||||
return;
|
||||
}
|
||||
var pumName = tbName.Text.Trim();
|
||||
var pumModel = tbModel.Text.Trim();
|
||||
var searchKey = pumName + pumModel;
|
||||
var cnt = (int)(ta.ExistCheck(FCOMMON.info.Login.gcode, searchKey));
|
||||
if(cnt > 0)
|
||||
{
|
||||
FCOMMON.Util.MsgE("동일 품명 모델의 정보가 존재 합니다");
|
||||
return;
|
||||
}
|
||||
if (tbSupplyIdx.Text == "") tbSupplyIdx.Text = "-1";
|
||||
var newdr = this.dsMSSQL.Items.NewItemsRow();
|
||||
newdr.gcode = FCOMMON.info.Login.gcode;
|
||||
newdr.wdate = DateTime.Now;
|
||||
newdr.wuid = FCOMMON.info.Login.no;
|
||||
newdr.name = tbName.Text.Trim();
|
||||
newdr.sid = tbSid.Text.Trim();
|
||||
newdr.model = tbModel.Text.Trim();
|
||||
newdr.manu = tbManu.Text.Trim();
|
||||
newdr.supply = tbSupply.Text.Trim();
|
||||
newdr.supplyidx = int.Parse(tbSupplyIdx.Text.Trim());
|
||||
newdr.memo = tbMemo.Text.Trim();
|
||||
newdr.cate = "--";
|
||||
int price;
|
||||
int.TryParse(tbPrice.Text, out price);
|
||||
newdr.price = price;
|
||||
newdr.scale = 1;
|
||||
newdr.unit = tbUnit.Text.Trim();
|
||||
if (newdr.unit == "") newdr.unit = "EA";
|
||||
newdr.disable = false;
|
||||
newdr.import = "";
|
||||
this.dsMSSQL.Items.AddItemsRow(newdr);
|
||||
try
|
||||
{
|
||||
var cnt2 = ta.Update(dsMSSQL.Items);
|
||||
if (cnt2 == 0)
|
||||
{
|
||||
FCOMMON.Util.MsgE("추가 실패");
|
||||
}
|
||||
else
|
||||
{
|
||||
newIDX = (int)(ta.ReadIDX(FCOMMON.info.Login.gcode, searchKey));
|
||||
DialogResult = System.Windows.Forms.DialogResult.OK;
|
||||
}
|
||||
}
|
||||
catch (Exception eX)
|
||||
{
|
||||
FCOMMON.Util.MsgE(eX.Message);
|
||||
newIDX = -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
150
SubProject/FCM0000/Item/fItemAdd.resx
Normal file
150
SubProject/FCM0000/Item/fItemAdd.resx
Normal file
@@ -0,0 +1,150 @@
|
||||
<?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="nameLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="sidLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="modelLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="manuLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="supplyLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="memoLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="priceLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>122, 17</value>
|
||||
</metadata>
|
||||
<metadata name="label1.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
</root>
|
||||
870
SubProject/FCM0000/Item/fItems.Designer.cs
generated
Normal file
870
SubProject/FCM0000/Item/fItems.Designer.cs
generated
Normal file
@@ -0,0 +1,870 @@
|
||||
namespace FCM0000
|
||||
{
|
||||
partial class fItems
|
||||
{
|
||||
/// <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(fItems));
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType3 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType8 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType9 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType10 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.CurrencyCellType currencyCellType2 = new FarPoint.Win.Spread.CellType.CurrencyCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType11 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType4 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType12 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
this.bn = new System.Windows.Forms.BindingNavigator(this.components);
|
||||
this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.dsMSSQL = new FCM0000.dsMSSQL();
|
||||
this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
|
||||
this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton();
|
||||
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.itemsBindingNavigatorSaveItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.toolStripLabel3 = new System.Windows.Forms.ToolStripLabel();
|
||||
this.tbFind = new System.Windows.Forms.ToolStripTextBox();
|
||||
this.btFind = new System.Windows.Forms.ToolStripButton();
|
||||
this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||
this.columnSizeToolStripMenuItem = 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.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.viewPurchaseListToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.ta = new FCM0000.dsMSSQLTableAdapters.ItemsTableAdapter();
|
||||
this.tam = new FCM0000.dsMSSQLTableAdapters.TableAdapterManager();
|
||||
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
|
||||
this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel();
|
||||
this.cmbCate = new System.Windows.Forms.ToolStripComboBox();
|
||||
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
|
||||
this.cmbMode = new System.Windows.Forms.ToolStripComboBox();
|
||||
this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
|
||||
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
||||
this.lvOrder = new System.Windows.Forms.ListView();
|
||||
this.columnHeader5 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.columnHeader6 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.columnHeader7 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.columnHeader8 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.columnHeader10 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.lvInDate = new System.Windows.Forms.ListView();
|
||||
this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.columnHeader4 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.columnHeader9 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.memoTextBox = new System.Windows.Forms.TextBox();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
||||
this.cmImage = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||
this.파일섡택ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.이미지붙여넣기ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.촬영ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.taPurchase = new FCM0000.dsMSSQLTableAdapters.PurchaseTableAdapter();
|
||||
this.toolStripLabel4 = new System.Windows.Forms.ToolStripLabel();
|
||||
this.cmbSort = new System.Windows.Forms.ToolStripComboBox();
|
||||
this.toolStripButton1 = 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();
|
||||
this.cm1.SuspendLayout();
|
||||
this.toolStrip1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit();
|
||||
this.groupBox1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
||||
this.cmImage.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// bn
|
||||
//
|
||||
this.bn.AddNewItem = this.bindingNavigatorAddNewItem;
|
||||
this.bn.BindingSource = this.bs;
|
||||
this.bn.CountItem = this.bindingNavigatorCountItem;
|
||||
this.bn.DeleteItem = this.bindingNavigatorDeleteItem;
|
||||
this.bn.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.bn.ImageScalingSize = new System.Drawing.Size(30, 30);
|
||||
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.bindingNavigatorAddNewItem,
|
||||
this.bindingNavigatorDeleteItem,
|
||||
this.itemsBindingNavigatorSaveItem,
|
||||
this.toolStripSeparator2,
|
||||
this.toolStripLabel3,
|
||||
this.tbFind,
|
||||
this.btFind});
|
||||
this.bn.Location = new System.Drawing.Point(0, 588);
|
||||
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(877, 37);
|
||||
this.bn.TabIndex = 0;
|
||||
this.bn.Text = "bindingNavigator1";
|
||||
//
|
||||
// bindingNavigatorAddNewItem
|
||||
//
|
||||
this.bindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image")));
|
||||
this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem";
|
||||
this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(81, 34);
|
||||
this.bindingNavigatorAddNewItem.Text = "추가(&A)";
|
||||
//
|
||||
// bs
|
||||
//
|
||||
this.bs.DataMember = "Items";
|
||||
this.bs.DataSource = this.dsMSSQL;
|
||||
this.bs.Sort = "sid,name";
|
||||
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, 34);
|
||||
this.bindingNavigatorCountItem.Text = "/{0}";
|
||||
this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수";
|
||||
//
|
||||
// bindingNavigatorDeleteItem
|
||||
//
|
||||
this.bindingNavigatorDeleteItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image")));
|
||||
this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem";
|
||||
this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(82, 34);
|
||||
this.bindingNavigatorDeleteItem.Text = "삭제(&D)";
|
||||
//
|
||||
// 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(34, 34);
|
||||
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(34, 34);
|
||||
this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동";
|
||||
//
|
||||
// bindingNavigatorSeparator
|
||||
//
|
||||
this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
|
||||
this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 37);
|
||||
//
|
||||
// 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, 37);
|
||||
//
|
||||
// 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(34, 34);
|
||||
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(34, 34);
|
||||
this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동";
|
||||
//
|
||||
// bindingNavigatorSeparator2
|
||||
//
|
||||
this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
|
||||
this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 37);
|
||||
//
|
||||
// itemsBindingNavigatorSaveItem
|
||||
//
|
||||
this.itemsBindingNavigatorSaveItem.Image = ((System.Drawing.Image)(resources.GetObject("itemsBindingNavigatorSaveItem.Image")));
|
||||
this.itemsBindingNavigatorSaveItem.Name = "itemsBindingNavigatorSaveItem";
|
||||
this.itemsBindingNavigatorSaveItem.Size = new System.Drawing.Size(80, 34);
|
||||
this.itemsBindingNavigatorSaveItem.Text = "저장(&S)";
|
||||
this.itemsBindingNavigatorSaveItem.Click += new System.EventHandler(this.itemsBindingNavigatorSaveItem_Click);
|
||||
//
|
||||
// toolStripSeparator2
|
||||
//
|
||||
this.toolStripSeparator2.Name = "toolStripSeparator2";
|
||||
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 37);
|
||||
//
|
||||
// toolStripLabel3
|
||||
//
|
||||
this.toolStripLabel3.Name = "toolStripLabel3";
|
||||
this.toolStripLabel3.Size = new System.Drawing.Size(31, 34);
|
||||
this.toolStripLabel3.Text = "검색";
|
||||
//
|
||||
// tbFind
|
||||
//
|
||||
this.tbFind.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.tbFind.Name = "tbFind";
|
||||
this.tbFind.Size = new System.Drawing.Size(100, 37);
|
||||
this.tbFind.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
this.tbFind.KeyDown += new System.Windows.Forms.KeyEventHandler(this.btFind_KeyDown);
|
||||
//
|
||||
// btFind
|
||||
//
|
||||
this.btFind.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.btFind.Image = ((System.Drawing.Image)(resources.GetObject("btFind.Image")));
|
||||
this.btFind.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.btFind.Name = "btFind";
|
||||
this.btFind.Size = new System.Drawing.Size(34, 34);
|
||||
this.btFind.Text = "toolStripButton1";
|
||||
this.btFind.Click += new System.EventHandler(this.toolStripButton1_Click_1);
|
||||
//
|
||||
// cm1
|
||||
//
|
||||
this.cm1.Font = new System.Drawing.Font("맑은 고딕", 20F);
|
||||
this.cm1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.columnSizeToolStripMenuItem,
|
||||
this.toolStripMenuItem1,
|
||||
this.viewPurchaseListToolStripMenuItem});
|
||||
this.cm1.Name = "cm1";
|
||||
this.cm1.Size = new System.Drawing.Size(318, 94);
|
||||
//
|
||||
// columnSizeToolStripMenuItem
|
||||
//
|
||||
this.columnSizeToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.resetToolStripMenuItem,
|
||||
this.saveToolStripMenuItem,
|
||||
this.loadToolStripMenuItem});
|
||||
this.columnSizeToolStripMenuItem.Name = "columnSizeToolStripMenuItem";
|
||||
this.columnSizeToolStripMenuItem.Size = new System.Drawing.Size(317, 42);
|
||||
this.columnSizeToolStripMenuItem.Text = "열 너비";
|
||||
//
|
||||
// resetToolStripMenuItem
|
||||
//
|
||||
this.resetToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("resetToolStripMenuItem.Image")));
|
||||
this.resetToolStripMenuItem.Name = "resetToolStripMenuItem";
|
||||
this.resetToolStripMenuItem.Size = new System.Drawing.Size(159, 42);
|
||||
this.resetToolStripMenuItem.Text = "Reset";
|
||||
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(159, 42);
|
||||
this.saveToolStripMenuItem.Text = "Save";
|
||||
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(159, 42);
|
||||
this.loadToolStripMenuItem.Text = "Load";
|
||||
this.loadToolStripMenuItem.Click += new System.EventHandler(this.loadToolStripMenuItem_Click);
|
||||
//
|
||||
// toolStripMenuItem1
|
||||
//
|
||||
this.toolStripMenuItem1.Name = "toolStripMenuItem1";
|
||||
this.toolStripMenuItem1.Size = new System.Drawing.Size(314, 6);
|
||||
//
|
||||
// viewPurchaseListToolStripMenuItem
|
||||
//
|
||||
this.viewPurchaseListToolStripMenuItem.Enabled = false;
|
||||
this.viewPurchaseListToolStripMenuItem.Name = "viewPurchaseListToolStripMenuItem";
|
||||
this.viewPurchaseListToolStripMenuItem.Size = new System.Drawing.Size(317, 42);
|
||||
this.viewPurchaseListToolStripMenuItem.Text = "view Purchase List";
|
||||
//
|
||||
// ta
|
||||
//
|
||||
this.ta.ClearBeforeFill = true;
|
||||
//
|
||||
// tam
|
||||
//
|
||||
this.tam.BackupDataSetBeforeUpdate = false;
|
||||
this.tam.BoardTableAdapter = null;
|
||||
this.tam.CommonTableAdapter = null;
|
||||
this.tam.CustomsTableAdapter = null;
|
||||
this.tam.HolidayLIstTableAdapter = null;
|
||||
this.tam.InventoryUserTableAdapter = null;
|
||||
this.tam.ItemsTableAdapter = this.ta;
|
||||
this.tam.MailDataTableAdapter = null;
|
||||
this.tam.MailFormTableAdapter = null;
|
||||
this.tam.ProjectsTableAdapter = null;
|
||||
this.tam.PurchaseTableAdapter = null;
|
||||
this.tam.RequestItemTableAdapter = null;
|
||||
this.tam.StaffTableAdapter = null;
|
||||
this.tam.UpdateOrder = FCM0000.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
|
||||
//
|
||||
// toolStrip1
|
||||
//
|
||||
this.toolStrip1.ImageScalingSize = new System.Drawing.Size(30, 30);
|
||||
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.toolStripLabel2,
|
||||
this.cmbCate,
|
||||
this.toolStripSeparator1,
|
||||
this.toolStripLabel1,
|
||||
this.cmbMode,
|
||||
this.toolStripLabel4,
|
||||
this.cmbSort,
|
||||
this.toolStripSeparator3,
|
||||
this.toolStripButton2,
|
||||
this.toolStripButton1});
|
||||
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
|
||||
this.toolStrip1.Name = "toolStrip1";
|
||||
this.toolStrip1.Size = new System.Drawing.Size(1272, 37);
|
||||
this.toolStrip1.TabIndex = 2;
|
||||
this.toolStrip1.Text = "toolStrip1";
|
||||
//
|
||||
// toolStripLabel2
|
||||
//
|
||||
this.toolStripLabel2.Name = "toolStripLabel2";
|
||||
this.toolStripLabel2.Size = new System.Drawing.Size(31, 34);
|
||||
this.toolStripLabel2.Text = "분류";
|
||||
//
|
||||
// cmbCate
|
||||
//
|
||||
this.cmbCate.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cmbCate.Items.AddRange(new object[] {
|
||||
"Normal",
|
||||
"Duplication"});
|
||||
this.cmbCate.Name = "cmbCate";
|
||||
this.cmbCate.Size = new System.Drawing.Size(100, 37);
|
||||
//
|
||||
// toolStripSeparator1
|
||||
//
|
||||
this.toolStripSeparator1.Name = "toolStripSeparator1";
|
||||
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 37);
|
||||
//
|
||||
// toolStripLabel1
|
||||
//
|
||||
this.toolStripLabel1.Name = "toolStripLabel1";
|
||||
this.toolStripLabel1.Size = new System.Drawing.Size(68, 34);
|
||||
this.toolStripLabel1.Text = "Query Type";
|
||||
//
|
||||
// cmbMode
|
||||
//
|
||||
this.cmbMode.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cmbMode.Items.AddRange(new object[] {
|
||||
"Normal",
|
||||
"Duplication"});
|
||||
this.cmbMode.Name = "cmbMode";
|
||||
this.cmbMode.Size = new System.Drawing.Size(120, 37);
|
||||
//
|
||||
// toolStripButton2
|
||||
//
|
||||
this.toolStripButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton2.Image")));
|
||||
this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.toolStripButton2.Name = "toolStripButton2";
|
||||
this.toolStripButton2.Size = new System.Drawing.Size(104, 34);
|
||||
this.toolStripButton2.Text = "새고로침(&R)";
|
||||
this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click);
|
||||
//
|
||||
// toolStripSeparator3
|
||||
//
|
||||
this.toolStripSeparator3.Name = "toolStripSeparator3";
|
||||
this.toolStripSeparator3.Size = new System.Drawing.Size(6, 37);
|
||||
//
|
||||
// fpSpread1
|
||||
//
|
||||
this.fpSpread1.AccessibleDescription = "";
|
||||
this.fpSpread1.ContextMenuStrip = this.cm1;
|
||||
this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.fpSpread1.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.fpSpread1.Location = new System.Drawing.Point(0, 37);
|
||||
this.fpSpread1.Name = "fpSpread1";
|
||||
this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
|
||||
this.fpSpread1_Sheet1});
|
||||
this.fpSpread1.Size = new System.Drawing.Size(877, 551);
|
||||
this.fpSpread1.TabIndex = 3;
|
||||
//
|
||||
// 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 = 9;
|
||||
this.fpSpread1_Sheet1.ActiveColumnIndex = -1;
|
||||
this.fpSpread1_Sheet1.ActiveRowIndex = -1;
|
||||
this.fpSpread1_Sheet1.AutoGenerateColumns = false;
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "IDX";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "분류";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "품명";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "SID#";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "모델명";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "매입가";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).Value = "제조사";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 7).Value = "규격";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 8).Value = "단위";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 42F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
numberCellType3.DecimalPlaces = 0;
|
||||
numberCellType3.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
||||
numberCellType3.MaximumValue = 2147483647D;
|
||||
numberCellType3.MinimumValue = -2147483648D;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).CellType = numberCellType3;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).DataField = "idx";
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).Label = "IDX";
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).Width = 88F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType7;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).DataField = "cate";
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).Label = "분류";
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).Width = 113F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType8;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).DataField = "name";
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).Label = "품명";
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).Width = 113F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType9;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).DataField = "sid";
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).Label = "SID#";
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).Width = 113F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType10;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).DataField = "model";
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).Label = "모델명";
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).Width = 113F;
|
||||
currencyCellType2.DecimalPlaces = 0;
|
||||
currencyCellType2.MaximumValue = new decimal(new int[] {
|
||||
10000000,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
currencyCellType2.MinimumValue = new decimal(new int[] {
|
||||
10000000,
|
||||
0,
|
||||
0,
|
||||
-2147483648});
|
||||
currencyCellType2.NegativeRed = true;
|
||||
currencyCellType2.NullDisplay = "--";
|
||||
currencyCellType2.Separator = ",";
|
||||
currencyCellType2.ShowSeparator = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).CellType = currencyCellType2;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).DataField = "price";
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).Label = "매입가";
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).Width = 123F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType11;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).DataField = "manu";
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).Label = "제조사";
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).Width = 113F;
|
||||
numberCellType4.MaximumValue = 999999999999999D;
|
||||
numberCellType4.MinimumValue = -999999999999999D;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).CellType = numberCellType4;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).DataField = "scale";
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).Label = "규격";
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).Width = 84F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType12;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).DataField = "unit";
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).Label = "단위";
|
||||
this.fpSpread1_Sheet1.DataAutoCellTypes = false;
|
||||
this.fpSpread1_Sheet1.DataAutoSizeColumns = false;
|
||||
this.fpSpread1_Sheet1.DataSource = this.bs;
|
||||
this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false;
|
||||
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.panel1.Location = new System.Drawing.Point(877, 37);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(13, 588);
|
||||
this.panel1.TabIndex = 4;
|
||||
//
|
||||
// groupBox1
|
||||
//
|
||||
this.groupBox1.Controls.Add(this.lvOrder);
|
||||
this.groupBox1.Controls.Add(this.label3);
|
||||
this.groupBox1.Controls.Add(this.lvInDate);
|
||||
this.groupBox1.Controls.Add(this.label2);
|
||||
this.groupBox1.Controls.Add(this.memoTextBox);
|
||||
this.groupBox1.Controls.Add(this.label1);
|
||||
this.groupBox1.Controls.Add(this.pictureBox1);
|
||||
this.groupBox1.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.groupBox1.Location = new System.Drawing.Point(890, 37);
|
||||
this.groupBox1.Name = "groupBox1";
|
||||
this.groupBox1.Size = new System.Drawing.Size(382, 588);
|
||||
this.groupBox1.TabIndex = 5;
|
||||
this.groupBox1.TabStop = false;
|
||||
this.groupBox1.Text = "기타 정보";
|
||||
//
|
||||
// lvOrder
|
||||
//
|
||||
this.lvOrder.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
|
||||
this.columnHeader5,
|
||||
this.columnHeader6,
|
||||
this.columnHeader7,
|
||||
this.columnHeader8,
|
||||
this.columnHeader10});
|
||||
this.lvOrder.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.lvOrder.Location = new System.Drawing.Point(3, 467);
|
||||
this.lvOrder.Name = "lvOrder";
|
||||
this.lvOrder.Size = new System.Drawing.Size(376, 120);
|
||||
this.lvOrder.TabIndex = 7;
|
||||
this.lvOrder.UseCompatibleStateImageBehavior = false;
|
||||
this.lvOrder.View = System.Windows.Forms.View.Details;
|
||||
//
|
||||
// columnHeader5
|
||||
//
|
||||
this.columnHeader5.Text = "등록일";
|
||||
this.columnHeader5.Width = 80;
|
||||
//
|
||||
// columnHeader6
|
||||
//
|
||||
this.columnHeader6.Text = "담당";
|
||||
//
|
||||
// columnHeader7
|
||||
//
|
||||
this.columnHeader7.Text = "수량";
|
||||
this.columnHeader7.Width = 50;
|
||||
//
|
||||
// columnHeader8
|
||||
//
|
||||
this.columnHeader8.Text = "금액";
|
||||
this.columnHeader8.Width = 80;
|
||||
//
|
||||
// columnHeader10
|
||||
//
|
||||
this.columnHeader10.Text = "상태";
|
||||
this.columnHeader10.Width = 70;
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.label3.Location = new System.Drawing.Point(3, 445);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(376, 22);
|
||||
this.label3.TabIndex = 6;
|
||||
this.label3.Text = "최근 주문 내역";
|
||||
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// lvInDate
|
||||
//
|
||||
this.lvInDate.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
|
||||
this.columnHeader1,
|
||||
this.columnHeader2,
|
||||
this.columnHeader3,
|
||||
this.columnHeader4,
|
||||
this.columnHeader9});
|
||||
this.lvInDate.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.lvInDate.Location = new System.Drawing.Point(3, 325);
|
||||
this.lvInDate.Name = "lvInDate";
|
||||
this.lvInDate.Size = new System.Drawing.Size(376, 120);
|
||||
this.lvInDate.TabIndex = 5;
|
||||
this.lvInDate.UseCompatibleStateImageBehavior = false;
|
||||
this.lvInDate.View = System.Windows.Forms.View.Details;
|
||||
//
|
||||
// columnHeader1
|
||||
//
|
||||
this.columnHeader1.Text = "입고일";
|
||||
this.columnHeader1.Width = 80;
|
||||
//
|
||||
// columnHeader2
|
||||
//
|
||||
this.columnHeader2.Text = "담당";
|
||||
//
|
||||
// columnHeader3
|
||||
//
|
||||
this.columnHeader3.Text = "수량";
|
||||
this.columnHeader3.Width = 50;
|
||||
//
|
||||
// columnHeader4
|
||||
//
|
||||
this.columnHeader4.Text = "금액";
|
||||
this.columnHeader4.Width = 80;
|
||||
//
|
||||
// columnHeader9
|
||||
//
|
||||
this.columnHeader9.Text = "상태";
|
||||
this.columnHeader9.Width = 70;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.label2.Location = new System.Drawing.Point(3, 303);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(376, 22);
|
||||
this.label2.TabIndex = 4;
|
||||
this.label2.Text = "최근 입고 내역";
|
||||
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// memoTextBox
|
||||
//
|
||||
this.memoTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "memo", true));
|
||||
this.memoTextBox.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.memoTextBox.Location = new System.Drawing.Point(3, 238);
|
||||
this.memoTextBox.Multiline = true;
|
||||
this.memoTextBox.Name = "memoTextBox";
|
||||
this.memoTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Both;
|
||||
this.memoTextBox.Size = new System.Drawing.Size(376, 65);
|
||||
this.memoTextBox.TabIndex = 3;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.label1.Location = new System.Drawing.Point(3, 216);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(376, 22);
|
||||
this.label1.TabIndex = 1;
|
||||
this.label1.Text = "비고";
|
||||
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// pictureBox1
|
||||
//
|
||||
this.pictureBox1.BackColor = System.Drawing.Color.DimGray;
|
||||
this.pictureBox1.ContextMenuStrip = this.cmImage;
|
||||
this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.pictureBox1.Location = new System.Drawing.Point(3, 17);
|
||||
this.pictureBox1.Name = "pictureBox1";
|
||||
this.pictureBox1.Size = new System.Drawing.Size(376, 199);
|
||||
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
||||
this.pictureBox1.TabIndex = 0;
|
||||
this.pictureBox1.TabStop = false;
|
||||
//
|
||||
// cmImage
|
||||
//
|
||||
this.cmImage.Font = new System.Drawing.Font("맑은 고딕", 20F);
|
||||
this.cmImage.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.파일섡택ToolStripMenuItem,
|
||||
this.이미지붙여넣기ToolStripMenuItem,
|
||||
this.촬영ToolStripMenuItem});
|
||||
this.cmImage.Name = "cm1";
|
||||
this.cmImage.Size = new System.Drawing.Size(293, 130);
|
||||
//
|
||||
// 파일섡택ToolStripMenuItem
|
||||
//
|
||||
this.파일섡택ToolStripMenuItem.Name = "파일섡택ToolStripMenuItem";
|
||||
this.파일섡택ToolStripMenuItem.Size = new System.Drawing.Size(292, 42);
|
||||
this.파일섡택ToolStripMenuItem.Text = "파일 선택";
|
||||
this.파일섡택ToolStripMenuItem.Click += new System.EventHandler(this.파일섡택ToolStripMenuItem_Click);
|
||||
//
|
||||
// 이미지붙여넣기ToolStripMenuItem
|
||||
//
|
||||
this.이미지붙여넣기ToolStripMenuItem.Name = "이미지붙여넣기ToolStripMenuItem";
|
||||
this.이미지붙여넣기ToolStripMenuItem.Size = new System.Drawing.Size(292, 42);
|
||||
this.이미지붙여넣기ToolStripMenuItem.Text = "이미지 붙여넣기";
|
||||
this.이미지붙여넣기ToolStripMenuItem.Click += new System.EventHandler(this.이미지붙여넣기ToolStripMenuItem_Click);
|
||||
//
|
||||
// 촬영ToolStripMenuItem
|
||||
//
|
||||
this.촬영ToolStripMenuItem.Name = "촬영ToolStripMenuItem";
|
||||
this.촬영ToolStripMenuItem.Size = new System.Drawing.Size(292, 42);
|
||||
this.촬영ToolStripMenuItem.Text = "촬영";
|
||||
this.촬영ToolStripMenuItem.Click += new System.EventHandler(this.촬영ToolStripMenuItem_Click);
|
||||
//
|
||||
// taPurchase
|
||||
//
|
||||
this.taPurchase.ClearBeforeFill = true;
|
||||
//
|
||||
// toolStripLabel4
|
||||
//
|
||||
this.toolStripLabel4.Name = "toolStripLabel4";
|
||||
this.toolStripLabel4.Size = new System.Drawing.Size(31, 34);
|
||||
this.toolStripLabel4.Text = "정렬";
|
||||
//
|
||||
// cmbSort
|
||||
//
|
||||
this.cmbSort.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cmbSort.Items.AddRange(new object[] {
|
||||
"idx",
|
||||
"sid",
|
||||
"sid,name",
|
||||
"name",
|
||||
"cate"});
|
||||
this.cmbSort.Name = "cmbSort";
|
||||
this.cmbSort.Size = new System.Drawing.Size(100, 37);
|
||||
this.cmbSort.SelectedIndexChanged += new System.EventHandler(this.cmbSort_SelectedIndexChanged);
|
||||
this.cmbSort.Click += new System.EventHandler(this.cmbSort_Click);
|
||||
//
|
||||
// toolStripButton1
|
||||
//
|
||||
this.toolStripButton1.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
|
||||
this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
|
||||
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.toolStripButton1.Name = "toolStripButton1";
|
||||
this.toolStripButton1.Size = new System.Drawing.Size(65, 34);
|
||||
this.toolStripButton1.Text = "닫기";
|
||||
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
|
||||
//
|
||||
// fItems
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1272, 625);
|
||||
this.Controls.Add(this.fpSpread1);
|
||||
this.Controls.Add(this.bn);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Controls.Add(this.groupBox1);
|
||||
this.Controls.Add(this.toolStrip1);
|
||||
this.Name = "fItems";
|
||||
this.Text = "품목 정보";
|
||||
this.Load += new System.EventHandler(this.fItems_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();
|
||||
this.cm1.ResumeLayout(false);
|
||||
this.toolStrip1.ResumeLayout(false);
|
||||
this.toolStrip1.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit();
|
||||
this.groupBox1.ResumeLayout(false);
|
||||
this.groupBox1.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
||||
this.cmImage.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private dsMSSQL dsMSSQL;
|
||||
private System.Windows.Forms.BindingSource bs;
|
||||
private dsMSSQLTableAdapters.ItemsTableAdapter ta;
|
||||
private dsMSSQLTableAdapters.TableAdapterManager tam;
|
||||
private System.Windows.Forms.BindingNavigator bn;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem;
|
||||
private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator;
|
||||
private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2;
|
||||
private System.Windows.Forms.ToolStripButton itemsBindingNavigatorSaveItem;
|
||||
private System.Windows.Forms.ContextMenuStrip cm1;
|
||||
private System.Windows.Forms.ToolStrip toolStrip1;
|
||||
private System.Windows.Forms.ToolStripComboBox cmbMode;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton2;
|
||||
private System.Windows.Forms.ToolStripLabel toolStripLabel1;
|
||||
private System.Windows.Forms.ToolStripLabel toolStripLabel2;
|
||||
private System.Windows.Forms.ToolStripComboBox cmbCate;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
|
||||
private System.Windows.Forms.ToolStripLabel toolStripLabel3;
|
||||
private System.Windows.Forms.ToolStripTextBox tbFind;
|
||||
private System.Windows.Forms.ToolStripButton btFind;
|
||||
private FarPoint.Win.Spread.FpSpread fpSpread1;
|
||||
private System.Windows.Forms.ToolStripMenuItem columnSizeToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem resetToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem saveToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem loadToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1;
|
||||
private System.Windows.Forms.ToolStripMenuItem viewPurchaseListToolStripMenuItem;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.GroupBox groupBox1;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
|
||||
private System.Windows.Forms.PictureBox pictureBox1;
|
||||
private System.Windows.Forms.ContextMenuStrip cmImage;
|
||||
private System.Windows.Forms.ToolStripMenuItem 파일섡택ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 이미지붙여넣기ToolStripMenuItem;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.TextBox memoTextBox;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.ListView lvInDate;
|
||||
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
|
||||
private System.Windows.Forms.ColumnHeader columnHeader1;
|
||||
private System.Windows.Forms.ColumnHeader columnHeader2;
|
||||
private System.Windows.Forms.ColumnHeader columnHeader3;
|
||||
private System.Windows.Forms.ColumnHeader columnHeader4;
|
||||
private System.Windows.Forms.ListView lvOrder;
|
||||
private System.Windows.Forms.ColumnHeader columnHeader5;
|
||||
private System.Windows.Forms.ColumnHeader columnHeader6;
|
||||
private System.Windows.Forms.ColumnHeader columnHeader7;
|
||||
private System.Windows.Forms.ColumnHeader columnHeader8;
|
||||
private dsMSSQLTableAdapters.PurchaseTableAdapter taPurchase;
|
||||
private System.Windows.Forms.ColumnHeader columnHeader10;
|
||||
private System.Windows.Forms.ColumnHeader columnHeader9;
|
||||
private System.Windows.Forms.ToolStripMenuItem 촬영ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripLabel toolStripLabel4;
|
||||
private System.Windows.Forms.ToolStripComboBox cmbSort;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton1;
|
||||
}
|
||||
}
|
||||
339
SubProject/FCM0000/Item/fItems.cs
Normal file
339
SubProject/FCM0000/Item/fItems.cs
Normal file
@@ -0,0 +1,339 @@
|
||||
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;
|
||||
using util = FCOMMON.Util;
|
||||
|
||||
namespace FCM0000
|
||||
{
|
||||
public partial class fItems : FCOMMON.fBase
|
||||
{
|
||||
string fn_fpcolsize = "";
|
||||
public fItems()
|
||||
{
|
||||
InitializeComponent();
|
||||
fn_fpcolsize = System.IO.Path.Combine(FCOMMON.Util.CurrentPath, "formSetting", "fp_" + this.Name + ".ini");
|
||||
this.FormClosed += fItems_FormClosed;
|
||||
this.dsMSSQL.Items.TableNewRow += Items_TableNewRow;
|
||||
}
|
||||
|
||||
void fItems_FormClosed(object sender, FormClosedEventArgs e)
|
||||
{
|
||||
}
|
||||
private void fItems_Load(object sender, EventArgs e)
|
||||
{
|
||||
//get catelist
|
||||
var cateList = FCOMMON.DBM.getGroupTable("cate", "Items", "isnull(cate,'') <> ''");
|
||||
this.cmbCate.Items.Clear();
|
||||
this.cmbCate.Items.Add("-- All --");
|
||||
foreach (var item in cateList)
|
||||
cmbCate.Items.Add(item.Key);
|
||||
this.cmbCate.SelectedIndex = 0;
|
||||
this.cmbMode.SelectedIndex = 0;
|
||||
//this.Show();
|
||||
//Application.DoEvents();
|
||||
|
||||
this.cmbSort.SelectedIndex = 2;
|
||||
refreshData();
|
||||
}
|
||||
|
||||
void refreshData()
|
||||
{
|
||||
//refresh data
|
||||
string cateSearch = "%";
|
||||
if (cmbCate.SelectedIndex > 0) cateSearch = cmbCate.Text;
|
||||
if (cmbMode.SelectedIndex == 0)
|
||||
this.ta.FillNoImage(this.dsMSSQL.Items, FCOMMON.info.Login.gcode,cateSearch);
|
||||
else
|
||||
this.ta.FillDupCheck(this.dsMSSQL.Items, FCOMMON.info.Login.gcode,cateSearch);
|
||||
|
||||
FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize);
|
||||
}
|
||||
|
||||
void Items_TableNewRow(object sender, DataTableNewRowEventArgs e)
|
||||
{
|
||||
e.Row["wuid"] = FCOMMON.info.Login.no;
|
||||
e.Row["wdate"] = DateTime.Now;
|
||||
e.Row["gcode"] = FCOMMON.info.Login.gcode;
|
||||
}
|
||||
private void itemsBindingNavigatorSaveItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Validate();
|
||||
this.bs.EndEdit();
|
||||
|
||||
|
||||
var dlg = FCOMMON.Util.MsgQ("변경된 사항을 저장 하시겠습니까?");
|
||||
if (dlg != System.Windows.Forms.DialogResult.Yes) return;
|
||||
|
||||
try
|
||||
{
|
||||
this.tam.UpdateAll(this.dsMSSQL);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
FCOMMON.Util.MsgE(ex.Message);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
private void toolStripButton2_Click(object sender, EventArgs e)
|
||||
{
|
||||
refreshData();
|
||||
}
|
||||
|
||||
private void dv1_CellEndEdit(object sender, DataGridViewCellEventArgs e)
|
||||
{
|
||||
//var col = this.dv1.Columns[e.ColumnIndex];
|
||||
//var value = this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Value;
|
||||
|
||||
//switch (col.DataPropertyName.ToLower())
|
||||
//{
|
||||
// case "supply": //공급처는 검색하게 한다.
|
||||
// if (value == null) return;
|
||||
// var search = value.ToString();
|
||||
// if (search.isEmpty()) return;
|
||||
|
||||
// FCM0000.fLovSupply f = new fLovSupply(search);
|
||||
// if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||
// {
|
||||
// var name = f.Title;
|
||||
// var idx = f.Index;
|
||||
// dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Value = name;
|
||||
// dv1.Rows[e.RowIndex].Cells[e.ColumnIndex + 1].Value = idx;
|
||||
// }
|
||||
// break;
|
||||
//}
|
||||
}
|
||||
|
||||
private void toolStripButton1_Click_1(object sender, EventArgs e)
|
||||
{
|
||||
Find();
|
||||
}
|
||||
|
||||
void Find()
|
||||
{
|
||||
var search = tbFind.Text.Trim();
|
||||
if (search.isEmpty())
|
||||
{
|
||||
bs.Filter = "";
|
||||
tbFind.BackColor = Color.White;
|
||||
}
|
||||
else
|
||||
{
|
||||
string filter = "isnull(namem,'') like '' or isnull(sid,'') like '' or isnull(model,'') like '' or isnull(supply,'') like ''";
|
||||
filter = filter.Replace("''", "'%" + search.Replace("'","''") + "%'");
|
||||
try
|
||||
{
|
||||
bs.Filter = filter;
|
||||
tbFind.BackColor = Color.Lime;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
tbFind.BackColor = Color.Pink;
|
||||
}
|
||||
}
|
||||
tbFind.SelectAll();
|
||||
tbFind.Focus();
|
||||
|
||||
}
|
||||
|
||||
private void btFind_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Enter) Find();
|
||||
|
||||
}
|
||||
|
||||
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 bs_CurrentChanged(object sender, EventArgs e)
|
||||
{
|
||||
var drv = this.bs.Current as DataRowView;
|
||||
var img = this.pictureBox1.Image;
|
||||
if(drv == null)
|
||||
{
|
||||
this.pictureBox1.Image = null;
|
||||
}
|
||||
else
|
||||
{
|
||||
var dr = drv.Row as dsMSSQL.ItemsRow;
|
||||
|
||||
//이미지 확인
|
||||
try {
|
||||
var img1 = FCOMMON.DBM.GetImageData("Items", "image", dr.idx);
|
||||
if (img1 != null) this.pictureBox1.Image = img1;
|
||||
else this.pictureBox1.Image = null;
|
||||
} catch (Exception ex)
|
||||
{
|
||||
this.pictureBox1.Image = null;
|
||||
}
|
||||
|
||||
//최근 입고 데이터 확인 (일자,담당,수량,금액,상태)
|
||||
var inData = taPurchase.GetInDate(dr.idx);
|
||||
lvInDate.Items.Clear();
|
||||
if(inData != null && inData.Rows.Count > 0)
|
||||
{
|
||||
foreach( dsMSSQL.PurchaseRow drP in inData.Rows)
|
||||
{
|
||||
string date = drP.indate;
|
||||
if (date.Length > 9) date = date.Substring(2);
|
||||
var lv = this.lvInDate.Items.Add(date);
|
||||
lv.SubItems.Add(drP.request);
|
||||
lv.SubItems.Add(drP.pumqty.ToString("N0"));
|
||||
lv.SubItems.Add(drP.pumprice.ToString("N0"));
|
||||
lv.SubItems.Add(drP.state);
|
||||
}
|
||||
}
|
||||
|
||||
var odData = taPurchase.GetOrderDate(dr.idx);
|
||||
lvOrder.Items.Clear();
|
||||
if (odData != null && odData.Rows.Count > 0)
|
||||
{
|
||||
foreach (dsMSSQL.PurchaseRow drP in odData.Rows)
|
||||
{
|
||||
string date = drP.pdate;
|
||||
if (date.Length > 9) date = date.Substring(2);
|
||||
var lv = this.lvOrder.Items.Add(date);
|
||||
lv.SubItems.Add(drP.request);
|
||||
lv.SubItems.Add(drP.pumqty.ToString("N0"));
|
||||
lv.SubItems.Add(drP.pumprice.ToString("N0"));
|
||||
lv.SubItems.Add(drP.state);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (img != null) img.Dispose();
|
||||
}
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void 파일섡택ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
var drv = this.bs.Current as DataRowView;
|
||||
if (drv == null) return;
|
||||
var dr = drv.Row as dsMSSQL.ItemsRow;
|
||||
if (dr.RowState == DataRowState.Deleted || dr.RowState == DataRowState.Detached ||
|
||||
dr.RowState == DataRowState.Added)
|
||||
{
|
||||
FCOMMON.Util.MsgE("이미지는 등록 완료된 아이템만 가능합니다. 먼저 저장한 후 다시 시도하세요.");
|
||||
return;
|
||||
}
|
||||
OpenFileDialog od = new OpenFileDialog();
|
||||
if (od.ShowDialog() != System.Windows.Forms.DialogResult.OK) return;
|
||||
var image = Image.FromFile(od.FileName);
|
||||
if (!FCOMMON.DBM.setImageData(image, "Items", "image", dr.idx))
|
||||
{
|
||||
FCOMMON.Util.MsgE("등록 실패");
|
||||
}
|
||||
else this.pictureBox1.Image = Image.FromFile(od.FileName); //181208
|
||||
}
|
||||
|
||||
private void 이미지붙여넣기ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
if(!Clipboard.ContainsImage())
|
||||
{
|
||||
FCOMMON.Util.MsgE("이미지를 먼저 클립보드에 복사 하세요.");
|
||||
return;
|
||||
}
|
||||
|
||||
var drv = this.bs.Current as DataRowView;
|
||||
if (drv == null) return;
|
||||
var dr = drv.Row as dsMSSQL.ItemsRow;
|
||||
if (dr.RowState == DataRowState.Deleted || dr.RowState == DataRowState.Detached ||
|
||||
dr.RowState == DataRowState.Added)
|
||||
{
|
||||
FCOMMON.Util.MsgE("이미지는 등록 완료된 아이템만 가능합니다. 먼저 저장한 후 다시 시도하세요.");
|
||||
return;
|
||||
}
|
||||
|
||||
var image = Clipboard.GetImage();
|
||||
if(!FCOMMON.DBM.setImageData(image, "Items", "image", dr.idx))
|
||||
{
|
||||
FCOMMON.Util.MsgE("등록 실패");
|
||||
}
|
||||
else this.pictureBox1.Image = image; //181208
|
||||
}
|
||||
|
||||
private void 촬영ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
var drv = this.bs.Current as DataRowView;
|
||||
if (drv == null) return;
|
||||
var dr = drv.Row as dsMSSQL.ItemsRow;
|
||||
if (dr.RowState == DataRowState.Deleted || dr.RowState == DataRowState.Detached ||
|
||||
dr.RowState == DataRowState.Added)
|
||||
{
|
||||
FCOMMON.Util.MsgE("이미지는 등록 완료된 아이템만 가능합니다. 먼저 저장한 후 다시 시도하세요.");
|
||||
return;
|
||||
}
|
||||
|
||||
FCOMMON.fWebCamera f = new FCOMMON.fWebCamera(FCOMMON.info.camIndex);
|
||||
if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||
{
|
||||
System.Drawing.Bitmap bmp = f.bmp.Clone() as System.Drawing.Bitmap;
|
||||
Application.DoEvents();
|
||||
|
||||
if (!FCOMMON.DBM.setImageData(bmp, "Items", "image", dr.idx))
|
||||
{
|
||||
FCOMMON.Util.MsgE("등록 실패");
|
||||
}
|
||||
else
|
||||
{
|
||||
var oimag = this.pictureBox1.Image;
|
||||
this.pictureBox1.Image = (Image)bmp;
|
||||
if (oimag != null) oimag.Dispose();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void bindingNavigatorAddNewItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void cmbSort_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void toolStripButton1_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void cmbSort_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
this.bs.Sort = cmbSort.Text;
|
||||
}
|
||||
}
|
||||
}
|
||||
328
SubProject/FCM0000/Item/fItems.resx
Normal file
328
SubProject/FCM0000/Item/fItems.resx
Normal file
@@ -0,0 +1,328 @@
|
||||
<?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>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="bindingNavigatorAddNewItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABGdBTUEAALGPC/xhBQAAAvlJREFUaEPV
|
||||
mT1v01AUhiu+BkY+Jj7+BKKiWzdUxZbjSlER7MxsIKZMhb0gqPgHQXEshbIw8BuKyg9oy0Qb5oQFzmvF
|
||||
kn38JvExjsm90iPlvjn33NexfX18s/bwmec0VHQJKroEFV2CilY6vc5FLwo3WnHw0h+0+61B+7s3aP+S
|
||||
z78BPsv3R8l3iOlvP+h2uxdYLitULEsQB3f8KHwt5n6IyT9GTr04eLXV377NcpeFiovY6nVuyq+5LyYm
|
||||
ylQVJnIg7/yhf4PNtQgqzsOPg8cy6UiZqIPzVhQ+YnPOg4qMe/tPL8ul8oFMXCtyEO8xF/PAoKJGTu9V
|
||||
Sf5ZT7ZEDjAn86KhYpbkl2/WfMoXWd2uME9ZqJilictmJnJzM09ZqJgi5p/QxE0SBzvMWwoVQRiF1yXB
|
||||
WSFh84zmLbFUBNN1niVsHHmyv2UeARXxdJSB//SQ0o3FGJjIWbjLvBYEkJQHPFFpdGMxJqTsYF4LAoos
|
||||
GXBaSGBENxZjQuotFI3ab64DJHCDJjCiG4upwLr2m+sAlLtkoBndWIwVubRfaL+5DpAzELHBVnRjMWai
|
||||
8KP2m+sACTqig43oxmKsyNL+TfvNdYAEli6V62os9wzOtN9cB0hQ6fW/rsZyz2Cs/eY6QIKcPwDHLyHn
|
||||
b2LXl9FVfpCJt+fab64DsOnEBlvRjcVYEW/3td9cB0yLuRM92IpuLMbIMdvNy3VSULqSBCZ0YzFGdpnX
|
||||
ggBW8IVm7A29W8xrQUjBjgBJ9L/YYx4BFRN6nWsycBVe6s8rvdQD7FWShI0iHjrMWwoVs2CvkiVuhDh4
|
||||
wzxloWKW5M+LQXtQSL5k/Dj4tPl18xLzlIWKmunm7oGeZIkMa9vcTUk2eZtYmeSyKfPLp1BxHjLBjky0
|
||||
jNXp56IblkHFRWDfFNt9MulYmagCcuxh2WZzLYKKZcHTUc4Iyo4qtRPG7M56wpaFilamBeA69m1Qs+PF
|
||||
Q/p4s0M5AkaiH+I7lMSoKlfib9ZVgIouQUWXoKI7eGt/AYmjTGkFRQnyAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<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>
|
||||
<data name="bindingNavigatorDeleteItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAABGdBTUEAALGPC/xhBQAAAUtJREFUSEvF
|
||||
lrFuwjAURfmxVkKqxMIUQfwLRWpFgBW+IV8GQ8PY0gWxAGJkpL1VbxQ7j8TPBDIcKb72e0eOHCudXtJv
|
||||
BTF8BGL4YczbOoq60pwG9EAvaa4UZMPhaD+fH3fT6fcqjl/ceV9WUfS8nUy+DovFaW1M4s5bA0rPaXoB
|
||||
oXJK2UeS5w+ZMe9YwMVkN5ttNK8da1Hj9kFvOLguL1gOBk/bJPl0C4Dvzt2dVvWwCm+Ra6TAKgYhcq0U
|
||||
WAOikYdIQSkgPvJQKRBDcu2E/jX+zavm6r4EMSxStXOJup0SMXTxlftKgRhK1Mk1UiCGElUHCdxFXCcl
|
||||
jb5qXylp5HC18jn5XA6aG85FDDU3Uqi8FGikJERuDUKkRCvPH26REo08L2rt1wdkcfzaxM+eu/N/6bi4
|
||||
xioAlIdKCeWSFFgD0soP/aMQw/vT7/wA+Cfoo4+ZtZkAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77
|
||||
wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0
|
||||
v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg
|
||||
UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA
|
||||
Iu/O/9T+11gVGSSd+C+b9vW/bvA83AYYZt3+H9byEqci/dTL/zV8p+E2QCftxn+/6od4Fal4TMBtgFPu
|
||||
lf8gBXgVDULAwAAA8HbAq6XlmnAAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMovePreviousItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w
|
||||
5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f
|
||||
Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+
|
||||
08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMoveNextItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
|
||||
n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI
|
||||
N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f
|
||||
oAc0QjgAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMoveLastItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+//
|
||||
h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B
|
||||
twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA
|
||||
kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG
|
||||
WOTd+W9TcAVDMwiA5FL7X8O9hBUYZt3GqhkEQHJhLS//6wbPw22ATtoNnJIgOb/qh/81fKfhNgAfcMq9
|
||||
8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="itemsBindingNavigatorSaveItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAABGdBTUEAALGPC/xhBQAABBBJREFUeF7t
|
||||
mLtuFEEQRf0R/BOJeYkcQYJTHgGCLyDgFQIRCAIeOb+AZSNswJIFQoIAE5MgrRMvO6W5s1vVNfad7fba
|
||||
LrqkE9zu6aq6F5BWLJ2+tlzJwD2s8LiHFR73sMKTHt59Pw7M5pl7H04lnjNID/3BkSgaYnrYDvrxZ28u
|
||||
ZhYVVp5vj998GY3ffd87ErDHp9+74ytPNqGLhZgetgO9cBjwHhxleA3Yo9ntMEJMD2cGzgPeA8/UIsEe
|
||||
2K90iOmhGTgUvAeeqUWCPWZ3LBlieugMHALeA89UCdg5uLd7lgoxPewZyIL3wDNVAnYO7r1dS4SYHu4z
|
||||
kAHvgWeqBOwc3Hu7NuSGmB4eMPAg8B54pkrAzsG9tytoQrz8dL4Q00Ni4H7gPfBMlYCdg3tv11nmDTE9
|
||||
JAf2gffAM1UCdg7uvV0t84SYHg4Y6IH3wDNVAnYO7r1dPYaGmB4OHGjBe+CZKgE7B/fern0MCTE9nGPg
|
||||
LHgPPFMlYOfg3tt1P9gQk4N5BwK8B56pErBzcO/tehBMiEoIGQMb8B54pkrAzsG9tyvD5s7u+NJjhLi6
|
||||
YfNSQsgciPfAM1UCdg7uvV1ZmhC7WSYvJYTMgd2gFs/UIsEe3q5D6DyZvJQQMgd2g1o8U4sEe3i7DqHz
|
||||
ZPJSQsgcePb+2nTYhKP8D9XXn0eyw/kHa+6uQ+g8mbyUENoPvSYMt159nQ6bsPJsW4x4Bg+TZubVyexm
|
||||
hztvv7m7DqHzZPJSQmg/9JowrP78O77wcH068Ii5+Gh9vLEzcncdQtfT5KWE0H7oNWH5+Gs0vj35U7f/
|
||||
nBfJuck/2+ZvXonwGrreJi8lhPZDr8n/TA0wkxpgJjXATGqAmdQAM6kBZlIDzKQGmEkNMJNiAXaNguJ5
|
||||
bui+MXkpIbCNguJ5bui+MXkpIZCNohXr2+alhEA2ilasb5uXEgLZKFqxvm1eSghko2jF+rZ5KSGQjaIV
|
||||
69vmpYRANopWrG+blxIC2Shasb5tXkoIZKNoxfq2eSkhkI366vqLremwY8aNl1vtlmnhG89zQ9fH5KWE
|
||||
QDbqq2ZJfHPcuHkSAjypxfq2eSkhkI2iFevb5qWEQDaKVqxvm5cSAtkoWrG+bV5KCGSjaMX6tnkpIZCN
|
||||
ohXr2+alhEA26qv6O5Bs1Ff1dyDZKFqxvm1eSghko2jF+rZ5KSGQjaIV69vmpYRANopWrG+blxIC2Sha
|
||||
sb5tXkoIZKNoxfq2eSkhkI36qv4OJBv1Vf0dSDaKVqxvm5cSAtkoWrG+bV5KCGSjaMX6tnkpIZCNohXr
|
||||
2+alhEA2ilasb5uXEgLZKFqxvm1eSghko2jF+rZ5KSGQjaIV69vmpYSADys+Ji8lBO9RZYrJS4nKcNzD
|
||||
Co97WOFxDyssy0v/AKeZ0X65+LeDAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="btFind.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAL7SURBVEhLtVZbTxNBFCZeYrxEjY8++KKiMfHFRAgviv4H
|
||||
o/4Bn9RoDBETzcQgRmjLtrZYVuwFSgsFW0q3uwulEMOlu9s+iKEXsSq0mJQXEwwmJRGy7mmmiSYD3YX2
|
||||
S75Mdnbm+zLnzDm7NZXAQ4P34BM9ff5558A1GOEZv6o8bgwO7qVc3AMnJ/K+2XQuksyvzyz+kmGEZ5sy
|
||||
T/WF7iOE9uAtu0d7j7/BOSoJUu73xqefsrwVpdzahp0Voi97gg14685Bufjbwfi3HMloKwakL1mjm7uF
|
||||
JbRDZw9eHolllkji5RiIff3R7t7BySGnEF6SqFpC2DXnHC5SuZyWo5hd24ALhyXVwcEKoyQxrXSyIo8l
|
||||
y+ORrvewfza9TBLSyvdKqamu86a2d+cmUivrJCGtDCfzhaY2+1ksvT3QG8/1mcVVopBWTn9flZG5vxFL
|
||||
b49m/dva8eRKgSSkleH5fKHZ0H0GS28PhOhDkBuSkFb6oumspl4OvZckpJUOXmSxpDpA/UHvJYmppVLH
|
||||
f4y97F0sqQ7QcWz87jqXgxNmNXcuZcM+vWNkfERcIIqWo9KrlzX36nsm04GO3gDDROdlbyQuB2MZovhW
|
||||
HBYXslQ/exPLqQPcaJ1zmGeEeZmTUjITTcjtjsC0LRQVoPeSjEqEnEJ4dbZAPZZTB0Q5jisnnQ4JiaIp
|
||||
jHp7YAwiALmCC2fnRQ5KJJzIF+APBEa/kF6CngwXSXtODd0nzG52KiQmi6askJQ7XEyYVIMwB00GWfsb
|
||||
YdzxPxcye06aPazElUylpGx0h6aQxXIEL6k8WkzO0xYvO8cqhmAK5sY+Jg4RwEsqj1ar64LVO5YoGhZP
|
||||
mpItHnYOIoCXVB4vugYudQ1FUiVToHWI/4iMPafwksqjpavvCu0bz/xvOppSPl+1eEnl8fgVfUw56cK/
|
||||
pt3+SPqp2XsRL6kOnlG2+qHJ+GbJ1OafyKDX7jr8unq4Q9P7KRfzYXAytkn7wp9bO91X8avqA8yRwVmH
|
||||
TK6jeKrKqKn5C/a5W1rSJpvaAAAAAElFTkSuQmCC
|
||||
</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="cm1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>389, 10</value>
|
||||
</metadata>
|
||||
<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>
|
||||
<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="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>462, 17</value>
|
||||
</metadata>
|
||||
<data name="toolStripButton2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAQoSURBVEhLtVdbT1NZFD7RMeNPmBljotHRwXcvyTzMq1Ej
|
||||
opjKCMXSKvV+q2UKNgerAu0BWrVYUXEUKlUUNahUig0wtKWljoA+SBSkYGF0ohTw8qb1fGVveoSqVI5f
|
||||
stOTrG+vr3uvvddam4kX69dXTV994MYv67R1S9dq635PzLkz+w+24QdiFhcStn6BrMjDbbN0OPeWPepV
|
||||
l3cPsleCHw5VD4TV5x+/S9E5VxCqOJCwDXPkx/y2vyq6XhlqQ2HOPjRhHLn+Ivynrn4VmTJ1SA1ulerC
|
||||
4yBnjy1Ix3hhqb7Zufv0w8D4kVrg6luntScS2kQghhkGT2lu1cBboQBWrLH1Du8sfejZam6zKUytZxQm
|
||||
X9lmk7cmmb27hExntls66oTzMLKsgedpnDuNUGIDonk1L97TSYZafuKFrv6MIl+pJK9+AaF9FhOFQ2Fp
|
||||
YUsNMccGtle4Uv3twXDmcX9TKtc0l1C+ilgr1lY9e5te4N5FKJ8CB2k0plFRubH12vKdtT8SyqRAhTW2
|
||||
QKjg1uCYuOp8Z1/MBShM3kv0IGF7M0/ca4xXFIAwYppa0CxXmts8VBg+FcX+CkIbxUadcyGuDCUhpvFs
|
||||
rxAb812NqZx7A77X6BoT4GvMb/nT5yk6x68RIiDjPBy9p/iVFftOEVPcSMyyzyGfESiMvnPRK8n75hMR
|
||||
MTEMMhL9VzmVPSNrhf9qisBN0FT2DFP/W0vaHRED7i3SIDXssnS4IwYRscPywEv9QyuS21dm35ylsT4d
|
||||
ogal+f4lwhcNyuP3L1P/GmvPEIoMk8Q6lh2q7h9LGBlGfynhiwb4pP5RXJKyHcsYlLfc6uB3Fd5saj1N
|
||||
/edeDb5P0tYuHt1qQfAzzX7xt7qk7Qr1ry7vGlyhuvUTs2XLvRnCw4WDQPiiQXi49p3t7MGBjhiUJ9vu
|
||||
UoOmMjAs5nVKYRt+y7H1jlD/2yzt9cTEB7/QWyi85Lj0xBTB+KQQD+TFvrPC5CTl3HpiYpjkg86F6oru
|
||||
/+m/QppLPvrPItiQ/pAGI8Q4gZYpq+LJf9TvAWv3y+S8O/OJeRRyo8+GRE5JfJFwp+Q3StXWrgEkfkKb
|
||||
NPgkMRM+oj5DqHZWYo5CYnDO2/935zMqjJLGxzuE73iFISozemtQWqk/3nefhO9ICeVTpOtdytzq/teU
|
||||
TEc8wthepflfl1CUvRp8Iy1s3k0osZFe1HIzetAmLyzRORLkRb4yxFQYMrRR6Zzry9UuTd8kybI+GRCK
|
||||
YgiF0dihwUOjh4ZPWdJ+ecfJB96DlYERenrpwEohOnZvYwGtJ1rQWK0pWlZCY9DKoqUVCkwcobCKj2ma
|
||||
oXkPmTZ1fEkYK8aVkRlbL372IH0r8FzBswXPF1Qa5N49ZY8CyH6buBa95LBzHqGKCxRxPNTwYENlS8q2
|
||||
/8yy7DRiniQY5iNkDvUqhTGFCAAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADlSURBVEhL7dQxCsIwFMbxnMrZWatzUXRUCo5ewSs4ewZR
|
||||
DyDeQfEETsUbRL7YYNSXNC/UOiQP/kvzyE9KUcQ7y/VJtlHFvQYPjzf50xKsJsFmq81WHq538swMO9il
|
||||
zhALxkWd7kAOJwsnjjPsYNeGs2B14fR5YTYq5O5c1u7sL987iAUjF+6LIjaMKJyDoiAYmVAvn8lsXHij
|
||||
KBhGwDWof4APihqHqQ+OKhg2X3U/n7+9ah88CKY+pM9ndTgbplDbmQtnwS7UtmPDWfDf/jIRLnKhOuzY
|
||||
UMSGmyrBauKE26jiohshHicE2B3dbRrmAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="fpSpread1_Sheet1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 56</value>
|
||||
</metadata>
|
||||
<metadata name="cmImage.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>568, 17</value>
|
||||
</metadata>
|
||||
<metadata name="taPurchase.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>169, 56</value>
|
||||
</metadata>
|
||||
</root>
|
||||
622
SubProject/FCM0000/Item/fLovItem.Designer.cs
generated
Normal file
622
SubProject/FCM0000/Item/fLovItem.Designer.cs
generated
Normal file
@@ -0,0 +1,622 @@
|
||||
namespace FCM0000
|
||||
{
|
||||
partial class fLovItem
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.Windows.Forms.Label manuLabel;
|
||||
System.Windows.Forms.Label supplyLabel;
|
||||
System.Windows.Forms.Label memoLabel;
|
||||
System.Windows.Forms.Label priceLabel;
|
||||
System.Windows.Forms.Label label1;
|
||||
System.Windows.Forms.Label label2;
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fLovItem));
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType3 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType8 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType9 = 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 FCM0000.dsMSSQL();
|
||||
this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
|
||||
this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox();
|
||||
this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.btOK = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
|
||||
this.tbFind = new System.Windows.Forms.ToolStripTextBox();
|
||||
this.btFind = new System.Windows.Forms.ToolStripButton();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.linkLabel1 = new System.Windows.Forms.LinkLabel();
|
||||
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
||||
this.textBox3 = new System.Windows.Forms.TextBox();
|
||||
this.textBox2 = new System.Windows.Forms.TextBox();
|
||||
this.textBox1 = new System.Windows.Forms.TextBox();
|
||||
this.manuTextBox = new System.Windows.Forms.TextBox();
|
||||
this.supplyTextBox = new System.Windows.Forms.TextBox();
|
||||
this.memoTextBox = new System.Windows.Forms.TextBox();
|
||||
this.priceTextBox = new System.Windows.Forms.TextBox();
|
||||
this.ta = new FCM0000.dsMSSQLTableAdapters.ItemsTableAdapter();
|
||||
this.tam = new FCM0000.dsMSSQLTableAdapters.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.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.loadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.resetToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
|
||||
this.btAdd = new System.Windows.Forms.ToolStripButton();
|
||||
manuLabel = new System.Windows.Forms.Label();
|
||||
supplyLabel = new System.Windows.Forms.Label();
|
||||
memoLabel = new System.Windows.Forms.Label();
|
||||
priceLabel = new System.Windows.Forms.Label();
|
||||
label1 = new System.Windows.Forms.Label();
|
||||
label2 = new System.Windows.Forms.Label();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
|
||||
this.bn.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit();
|
||||
this.panel1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit();
|
||||
this.cm1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// manuLabel
|
||||
//
|
||||
manuLabel.AutoSize = true;
|
||||
manuLabel.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
manuLabel.ForeColor = System.Drawing.Color.White;
|
||||
manuLabel.Location = new System.Drawing.Point(11, 15);
|
||||
manuLabel.Name = "manuLabel";
|
||||
manuLabel.Size = new System.Drawing.Size(58, 21);
|
||||
manuLabel.TabIndex = 8;
|
||||
manuLabel.Text = "제조사";
|
||||
//
|
||||
// supplyLabel
|
||||
//
|
||||
supplyLabel.AutoSize = true;
|
||||
supplyLabel.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
supplyLabel.ForeColor = System.Drawing.Color.White;
|
||||
supplyLabel.Location = new System.Drawing.Point(11, 47);
|
||||
supplyLabel.Name = "supplyLabel";
|
||||
supplyLabel.Size = new System.Drawing.Size(58, 21);
|
||||
supplyLabel.TabIndex = 10;
|
||||
supplyLabel.Text = "공급처";
|
||||
//
|
||||
// memoLabel
|
||||
//
|
||||
memoLabel.AutoSize = true;
|
||||
memoLabel.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
memoLabel.ForeColor = System.Drawing.Color.White;
|
||||
memoLabel.Location = new System.Drawing.Point(24, 81);
|
||||
memoLabel.Name = "memoLabel";
|
||||
memoLabel.Size = new System.Drawing.Size(42, 21);
|
||||
memoLabel.TabIndex = 12;
|
||||
memoLabel.Text = "비고";
|
||||
//
|
||||
// priceLabel
|
||||
//
|
||||
priceLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
priceLabel.AutoSize = true;
|
||||
priceLabel.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
priceLabel.ForeColor = System.Drawing.Color.White;
|
||||
priceLabel.Location = new System.Drawing.Point(24, 514);
|
||||
priceLabel.Name = "priceLabel";
|
||||
priceLabel.Size = new System.Drawing.Size(42, 21);
|
||||
priceLabel.TabIndex = 18;
|
||||
priceLabel.Text = "단가";
|
||||
//
|
||||
// label1
|
||||
//
|
||||
label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
label1.AutoSize = true;
|
||||
label1.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
label1.ForeColor = System.Drawing.Color.White;
|
||||
label1.Location = new System.Drawing.Point(24, 545);
|
||||
label1.Name = "label1";
|
||||
label1.Size = new System.Drawing.Size(42, 21);
|
||||
label1.TabIndex = 20;
|
||||
label1.Text = "종류";
|
||||
//
|
||||
// label2
|
||||
//
|
||||
label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
label2.AutoSize = true;
|
||||
label2.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
label2.ForeColor = System.Drawing.Color.White;
|
||||
label2.Location = new System.Drawing.Point(24, 483);
|
||||
label2.Name = "label2";
|
||||
label2.Size = new System.Drawing.Size(42, 21);
|
||||
label2.TabIndex = 22;
|
||||
label2.Text = "규격";
|
||||
//
|
||||
// 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.ImageScalingSize = new System.Drawing.Size(30, 30);
|
||||
this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.bindingNavigatorMoveFirstItem,
|
||||
this.bindingNavigatorMovePreviousItem,
|
||||
this.bindingNavigatorSeparator,
|
||||
this.bindingNavigatorPositionItem,
|
||||
this.bindingNavigatorCountItem,
|
||||
this.bindingNavigatorSeparator1,
|
||||
this.bindingNavigatorMoveNextItem,
|
||||
this.bindingNavigatorMoveLastItem,
|
||||
this.bindingNavigatorSeparator2,
|
||||
this.btOK,
|
||||
this.toolStripLabel1,
|
||||
this.tbFind,
|
||||
this.btFind,
|
||||
this.btAdd});
|
||||
this.bn.Location = new System.Drawing.Point(0, 581);
|
||||
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(1017, 37);
|
||||
this.bn.TabIndex = 0;
|
||||
this.bn.Text = "bindingNavigator1";
|
||||
//
|
||||
// bs
|
||||
//
|
||||
this.bs.DataMember = "Items";
|
||||
this.bs.DataSource = this.dsMSSQL;
|
||||
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, 34);
|
||||
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(34, 34);
|
||||
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(34, 34);
|
||||
this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동";
|
||||
//
|
||||
// bindingNavigatorSeparator
|
||||
//
|
||||
this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
|
||||
this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 37);
|
||||
//
|
||||
// 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, 37);
|
||||
//
|
||||
// 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(34, 34);
|
||||
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(34, 34);
|
||||
this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동";
|
||||
//
|
||||
// bindingNavigatorSeparator2
|
||||
//
|
||||
this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
|
||||
this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 37);
|
||||
//
|
||||
// btOK
|
||||
//
|
||||
this.btOK.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
|
||||
this.btOK.Image = ((System.Drawing.Image)(resources.GetObject("btOK.Image")));
|
||||
this.btOK.Name = "btOK";
|
||||
this.btOK.Size = new System.Drawing.Size(82, 34);
|
||||
this.btOK.Text = "선택(&O)";
|
||||
this.btOK.Click += new System.EventHandler(this.itemsBindingNavigatorSaveItem_Click);
|
||||
//
|
||||
// toolStripLabel1
|
||||
//
|
||||
this.toolStripLabel1.Name = "toolStripLabel1";
|
||||
this.toolStripLabel1.Size = new System.Drawing.Size(31, 34);
|
||||
this.toolStripLabel1.Text = "검색";
|
||||
//
|
||||
// tbFind
|
||||
//
|
||||
this.tbFind.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.tbFind.Name = "tbFind";
|
||||
this.tbFind.Size = new System.Drawing.Size(150, 37);
|
||||
this.tbFind.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// btFind
|
||||
//
|
||||
this.btFind.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.btFind.Image = ((System.Drawing.Image)(resources.GetObject("btFind.Image")));
|
||||
this.btFind.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.btFind.Name = "btFind";
|
||||
this.btFind.Size = new System.Drawing.Size(34, 34);
|
||||
this.btFind.Text = "toolStripButton1";
|
||||
this.btFind.Click += new System.EventHandler(this.btFind_Click);
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.BackColor = System.Drawing.Color.Gray;
|
||||
this.panel1.Controls.Add(this.linkLabel1);
|
||||
this.panel1.Controls.Add(this.pictureBox1);
|
||||
this.panel1.Controls.Add(this.textBox3);
|
||||
this.panel1.Controls.Add(label2);
|
||||
this.panel1.Controls.Add(this.textBox2);
|
||||
this.panel1.Controls.Add(label1);
|
||||
this.panel1.Controls.Add(this.textBox1);
|
||||
this.panel1.Controls.Add(manuLabel);
|
||||
this.panel1.Controls.Add(this.manuTextBox);
|
||||
this.panel1.Controls.Add(supplyLabel);
|
||||
this.panel1.Controls.Add(this.supplyTextBox);
|
||||
this.panel1.Controls.Add(memoLabel);
|
||||
this.panel1.Controls.Add(this.memoTextBox);
|
||||
this.panel1.Controls.Add(priceLabel);
|
||||
this.panel1.Controls.Add(this.priceTextBox);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.panel1.Location = new System.Drawing.Point(727, 0);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(290, 581);
|
||||
this.panel1.TabIndex = 2;
|
||||
//
|
||||
// linkLabel1
|
||||
//
|
||||
this.linkLabel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.linkLabel1.AutoSize = true;
|
||||
this.linkLabel1.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.linkLabel1.ForeColor = System.Drawing.Color.White;
|
||||
this.linkLabel1.Location = new System.Drawing.Point(11, 327);
|
||||
this.linkLabel1.Name = "linkLabel1";
|
||||
this.linkLabel1.Size = new System.Drawing.Size(58, 21);
|
||||
this.linkLabel1.TabIndex = 27;
|
||||
this.linkLabel1.TabStop = true;
|
||||
this.linkLabel1.Text = "이미지";
|
||||
this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
|
||||
//
|
||||
// pictureBox1
|
||||
//
|
||||
this.pictureBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.pictureBox1.BackColor = System.Drawing.Color.Black;
|
||||
this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.pictureBox1.Location = new System.Drawing.Point(74, 327);
|
||||
this.pictureBox1.Name = "pictureBox1";
|
||||
this.pictureBox1.Size = new System.Drawing.Size(202, 146);
|
||||
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
||||
this.pictureBox1.TabIndex = 26;
|
||||
this.pictureBox1.TabStop = false;
|
||||
//
|
||||
// textBox3
|
||||
//
|
||||
this.textBox3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.textBox3.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "unit", true));
|
||||
this.textBox3.Location = new System.Drawing.Point(237, 480);
|
||||
this.textBox3.Name = "textBox3";
|
||||
this.textBox3.ReadOnly = true;
|
||||
this.textBox3.Size = new System.Drawing.Size(38, 25);
|
||||
this.textBox3.TabIndex = 24;
|
||||
//
|
||||
// textBox2
|
||||
//
|
||||
this.textBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.textBox2.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "scale", true));
|
||||
this.textBox2.Location = new System.Drawing.Point(75, 480);
|
||||
this.textBox2.Name = "textBox2";
|
||||
this.textBox2.ReadOnly = true;
|
||||
this.textBox2.Size = new System.Drawing.Size(156, 25);
|
||||
this.textBox2.TabIndex = 23;
|
||||
//
|
||||
// textBox1
|
||||
//
|
||||
this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.textBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "cate", true));
|
||||
this.textBox1.Location = new System.Drawing.Point(75, 543);
|
||||
this.textBox1.Name = "textBox1";
|
||||
this.textBox1.ReadOnly = true;
|
||||
this.textBox1.Size = new System.Drawing.Size(200, 25);
|
||||
this.textBox1.TabIndex = 21;
|
||||
//
|
||||
// manuTextBox
|
||||
//
|
||||
this.manuTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "manu", true));
|
||||
this.manuTextBox.Location = new System.Drawing.Point(75, 13);
|
||||
this.manuTextBox.Name = "manuTextBox";
|
||||
this.manuTextBox.ReadOnly = true;
|
||||
this.manuTextBox.Size = new System.Drawing.Size(200, 25);
|
||||
this.manuTextBox.TabIndex = 9;
|
||||
//
|
||||
// supplyTextBox
|
||||
//
|
||||
this.supplyTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "supply", true));
|
||||
this.supplyTextBox.Location = new System.Drawing.Point(75, 45);
|
||||
this.supplyTextBox.Name = "supplyTextBox";
|
||||
this.supplyTextBox.ReadOnly = true;
|
||||
this.supplyTextBox.Size = new System.Drawing.Size(200, 25);
|
||||
this.supplyTextBox.TabIndex = 11;
|
||||
//
|
||||
// memoTextBox
|
||||
//
|
||||
this.memoTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.memoTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "memo", true));
|
||||
this.memoTextBox.Location = new System.Drawing.Point(75, 79);
|
||||
this.memoTextBox.Multiline = true;
|
||||
this.memoTextBox.Name = "memoTextBox";
|
||||
this.memoTextBox.ReadOnly = true;
|
||||
this.memoTextBox.Size = new System.Drawing.Size(200, 237);
|
||||
this.memoTextBox.TabIndex = 13;
|
||||
//
|
||||
// priceTextBox
|
||||
//
|
||||
this.priceTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.priceTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "price", true));
|
||||
this.priceTextBox.Location = new System.Drawing.Point(75, 512);
|
||||
this.priceTextBox.Name = "priceTextBox";
|
||||
this.priceTextBox.ReadOnly = true;
|
||||
this.priceTextBox.Size = new System.Drawing.Size(200, 25);
|
||||
this.priceTextBox.TabIndex = 19;
|
||||
//
|
||||
// ta
|
||||
//
|
||||
this.ta.ClearBeforeFill = true;
|
||||
//
|
||||
// tam
|
||||
//
|
||||
this.tam.BackupDataSetBeforeUpdate = false;
|
||||
this.tam.BoardTableAdapter = null;
|
||||
this.tam.CommonTableAdapter = null;
|
||||
this.tam.CustomsTableAdapter = null;
|
||||
this.tam.HolidayLIstTableAdapter = null;
|
||||
this.tam.InventoryUserTableAdapter = null;
|
||||
this.tam.ItemsTableAdapter = this.ta;
|
||||
this.tam.MailDataTableAdapter = null;
|
||||
this.tam.MailFormTableAdapter = null;
|
||||
this.tam.ProjectsTableAdapter = null;
|
||||
this.tam.PurchaseTableAdapter = null;
|
||||
this.tam.RequestItemTableAdapter = null;
|
||||
this.tam.StaffTableAdapter = null;
|
||||
this.tam.UpdateOrder = FCM0000.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
|
||||
//
|
||||
// fpSpread1
|
||||
//
|
||||
this.fpSpread1.AccessibleDescription = "";
|
||||
this.fpSpread1.ContextMenuStrip = this.cm1;
|
||||
this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.fpSpread1.Location = new System.Drawing.Point(0, 0);
|
||||
this.fpSpread1.Name = "fpSpread1";
|
||||
this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
|
||||
this.fpSpread1_Sheet1});
|
||||
this.fpSpread1.Size = new System.Drawing.Size(727, 581);
|
||||
this.fpSpread1.TabIndex = 4;
|
||||
//
|
||||
// cm1
|
||||
//
|
||||
this.cm1.Font = new System.Drawing.Font("맑은 고딕", 20F);
|
||||
this.cm1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.columnSizeToolStripMenuItem});
|
||||
this.cm1.Name = "cm1";
|
||||
this.cm1.Size = new System.Drawing.Size(185, 46);
|
||||
//
|
||||
// columnSizeToolStripMenuItem
|
||||
//
|
||||
this.columnSizeToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.saveToolStripMenuItem,
|
||||
this.loadToolStripMenuItem,
|
||||
this.resetToolStripMenuItem});
|
||||
this.columnSizeToolStripMenuItem.Name = "columnSizeToolStripMenuItem";
|
||||
this.columnSizeToolStripMenuItem.Size = new System.Drawing.Size(184, 42);
|
||||
this.columnSizeToolStripMenuItem.Text = "열 너비";
|
||||
//
|
||||
// saveToolStripMenuItem
|
||||
//
|
||||
this.saveToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("saveToolStripMenuItem.Image")));
|
||||
this.saveToolStripMenuItem.Name = "saveToolStripMenuItem";
|
||||
this.saveToolStripMenuItem.Size = new System.Drawing.Size(202, 42);
|
||||
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(202, 42);
|
||||
this.loadToolStripMenuItem.Text = "불러오기";
|
||||
this.loadToolStripMenuItem.Click += new System.EventHandler(this.loadToolStripMenuItem_Click);
|
||||
//
|
||||
// resetToolStripMenuItem
|
||||
//
|
||||
this.resetToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("resetToolStripMenuItem.Image")));
|
||||
this.resetToolStripMenuItem.Name = "resetToolStripMenuItem";
|
||||
this.resetToolStripMenuItem.Size = new System.Drawing.Size(202, 42);
|
||||
this.resetToolStripMenuItem.Text = "초기화";
|
||||
this.resetToolStripMenuItem.Click += new System.EventHandler(this.resetToolStripMenuItem_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 = 4;
|
||||
this.fpSpread1_Sheet1.ActiveColumnIndex = -1;
|
||||
this.fpSpread1_Sheet1.ActiveRowIndex = -1;
|
||||
this.fpSpread1_Sheet1.AutoGenerateColumns = false;
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "IDX";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "품명";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "모델";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "SID";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 27F;
|
||||
numberCellType3.DecimalPlaces = 0;
|
||||
numberCellType3.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
||||
numberCellType3.MaximumValue = 2147483647D;
|
||||
numberCellType3.MinimumValue = -2147483648D;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).CellType = numberCellType3;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).DataField = "idx";
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).Label = "IDX";
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).Width = 99F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType7;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).DataField = "name";
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).Label = "품명";
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).Width = 154F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType8;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).DataField = "model";
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).Label = "모델";
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).Width = 154F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType9;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).DataField = "sid";
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).Label = "SID";
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).Width = 154F;
|
||||
this.fpSpread1_Sheet1.DataAutoSizeColumns = false;
|
||||
this.fpSpread1_Sheet1.DataSource = this.bs;
|
||||
this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false;
|
||||
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
|
||||
//
|
||||
// btAdd
|
||||
//
|
||||
this.btAdd.Image = ((System.Drawing.Image)(resources.GetObject("btAdd.Image")));
|
||||
this.btAdd.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.btAdd.Name = "btAdd";
|
||||
this.btAdd.Size = new System.Drawing.Size(89, 34);
|
||||
this.btAdd.Text = "품목추가";
|
||||
this.btAdd.Click += new System.EventHandler(this.btAdd_Click);
|
||||
//
|
||||
// fLovItem
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
this.ClientSize = new System.Drawing.Size(1017, 618);
|
||||
this.Controls.Add(this.fpSpread1);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Controls.Add(this.bn);
|
||||
this.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.Name = "fLovItem";
|
||||
this.Text = "품목 선택";
|
||||
this.Load += new System.EventHandler(this.fLovItem_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();
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel1.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit();
|
||||
this.cm1.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private dsMSSQL dsMSSQL;
|
||||
private System.Windows.Forms.BindingSource bs;
|
||||
private dsMSSQLTableAdapters.ItemsTableAdapter ta;
|
||||
private dsMSSQLTableAdapters.TableAdapterManager tam;
|
||||
private System.Windows.Forms.BindingNavigator bn;
|
||||
private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator;
|
||||
private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2;
|
||||
private System.Windows.Forms.ToolStripButton btOK;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.TextBox manuTextBox;
|
||||
private System.Windows.Forms.TextBox supplyTextBox;
|
||||
private System.Windows.Forms.TextBox memoTextBox;
|
||||
private System.Windows.Forms.TextBox priceTextBox;
|
||||
private System.Windows.Forms.TextBox textBox1;
|
||||
private System.Windows.Forms.TextBox textBox3;
|
||||
private System.Windows.Forms.TextBox textBox2;
|
||||
private System.Windows.Forms.PictureBox pictureBox1;
|
||||
private System.Windows.Forms.LinkLabel linkLabel1;
|
||||
private FarPoint.Win.Spread.FpSpread fpSpread1;
|
||||
private System.Windows.Forms.ContextMenuStrip cm1;
|
||||
private System.Windows.Forms.ToolStripMenuItem columnSizeToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem saveToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem loadToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem resetToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripLabel toolStripLabel1;
|
||||
private System.Windows.Forms.ToolStripButton btFind;
|
||||
private System.Windows.Forms.ToolStripTextBox tbFind;
|
||||
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
|
||||
private System.Windows.Forms.ToolStripButton btAdd;
|
||||
|
||||
}
|
||||
}
|
||||
223
SubProject/FCM0000/Item/fLovItem.cs
Normal file
223
SubProject/FCM0000/Item/fLovItem.cs
Normal file
@@ -0,0 +1,223 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace FCM0000
|
||||
{
|
||||
public partial class fLovItem : Form
|
||||
{
|
||||
string fn_fpcolsize = "";
|
||||
|
||||
public string itemName { get; set; }
|
||||
public int item { get; set; }
|
||||
public string itemmodel { get; set; }
|
||||
public decimal itemprice { get; set; }
|
||||
public string SID { get; set; }
|
||||
public string itemUnit { get; set; }
|
||||
public string itemSupply { get; set; }
|
||||
public int itemSupplyidx { get; set; }
|
||||
|
||||
public fLovItem(string search_)
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
fn_fpcolsize = System.IO.Path.Combine(FCOMMON.Util.CurrentPath, "formSetting", "fp_" + this.Name + ".ini");
|
||||
|
||||
//initial value
|
||||
itemName = string.Empty;
|
||||
item = -1;
|
||||
itemmodel = string.Empty;
|
||||
itemprice = 0;
|
||||
SID = string.Empty;
|
||||
itemUnit = "EA";
|
||||
itemSupply = string.Empty;
|
||||
itemSupplyidx = -1;
|
||||
|
||||
this.KeyPreview = true;
|
||||
this.KeyDown += (s1, e1) =>
|
||||
{
|
||||
if (e1.KeyCode == Keys.Escape) this.Close();
|
||||
};
|
||||
this.tbFind.KeyDown += (s1, e1) => { if (e1.KeyCode == Keys.Enter) Find(); };
|
||||
this.fpSpread1.KeyDown += (s1, e1) => { btOK.PerformClick(); };
|
||||
this.fpSpread1.CellDoubleClick += (s1, e1) => { btOK.PerformClick(); };
|
||||
this.tbFind.Text = search_;
|
||||
}
|
||||
|
||||
private void fLovItem_Load(object sender, EventArgs e)
|
||||
{
|
||||
refreshData(this.tbFind.Text);
|
||||
this.Show();
|
||||
Application.DoEvents();
|
||||
if (this.bs.Count >0) fpSpread1.Focus();
|
||||
else
|
||||
{
|
||||
tbFind.Focus();
|
||||
tbFind.SelectAll();
|
||||
}
|
||||
}
|
||||
void refreshData(string search)
|
||||
{
|
||||
//search data
|
||||
this.ta.FillSearch(this.dsMSSQL.Items, "%" + search + "%", FCOMMON.info.Login.gcode);
|
||||
FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize);
|
||||
}
|
||||
|
||||
private void itemsBindingNavigatorSaveItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
var drv = bs.Current as DataRowView;
|
||||
if (drv == null)
|
||||
{
|
||||
itemName = string.Empty;
|
||||
item = -1;
|
||||
itemmodel = string.Empty;
|
||||
itemprice = 0;
|
||||
itemSupply = string.Empty;
|
||||
itemSupplyidx = -1;
|
||||
itemUnit = "EA";
|
||||
SID = string.Empty;
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
var dr = drv.Row as dsMSSQL.ItemsRow;
|
||||
item = dr.idx;
|
||||
if (dr.IsnameNull()) itemName = string.Empty;
|
||||
else itemName = dr.name;
|
||||
if (dr.IsmodelNull()) itemmodel = string.Empty;
|
||||
else itemmodel = dr.model;
|
||||
if (dr.IspriceNull()) itemprice = 0;
|
||||
else itemprice = dr.price;
|
||||
if (dr.IssupplyNull()) itemSupply = string.Empty;
|
||||
else itemSupply = dr.supply;
|
||||
if (dr.IssupplyidxNull()) itemSupplyidx = -1;
|
||||
else itemSupplyidx = dr.supplyidx;
|
||||
if (dr.IsunitNull()) itemUnit = "EA";
|
||||
else itemUnit = dr.unit;
|
||||
SID = dr.sid;
|
||||
}
|
||||
|
||||
if (itemName.isEmpty() || item == -1) DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||||
else DialogResult = System.Windows.Forms.DialogResult.OK;
|
||||
}
|
||||
|
||||
private void bs_CurrentChanged(object sender, EventArgs e)
|
||||
{
|
||||
var drv = this.bs.Current as DataRowView;
|
||||
var img = this.pictureBox1.Image;
|
||||
if (drv == null)
|
||||
{
|
||||
this.pictureBox1.Image = null;
|
||||
}
|
||||
else
|
||||
{
|
||||
try
|
||||
{
|
||||
var dr = drv.Row as dsMSSQL.ItemsRow;
|
||||
var img1 = FCOMMON.DBM.GetImageData("Items", "image", dr.idx);
|
||||
if (img1 != null) this.pictureBox1.Image = img1;
|
||||
else this.pictureBox1.Image = null;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
this.pictureBox1.Image = null;
|
||||
}
|
||||
|
||||
}
|
||||
if (img != null) img.Dispose();
|
||||
}
|
||||
|
||||
private void dv_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Enter)
|
||||
{
|
||||
|
||||
btOK.PerformClick();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void dv_DoubleClick(object sender, EventArgs e)
|
||||
{
|
||||
btOK.PerformClick();
|
||||
}
|
||||
|
||||
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
||||
{
|
||||
var drv = this.bs.Current as DataRowView;
|
||||
if (drv == null) return;
|
||||
var dr = drv.Row as dsMSSQL.ItemsRow;
|
||||
if (dr.RowState == DataRowState.Deleted || dr.RowState == DataRowState.Detached ||
|
||||
dr.RowState == DataRowState.Added)
|
||||
{
|
||||
FCOMMON.Util.MsgE("이미지는 등록 완료된 아이템만 가능합니다. 먼저 저장한 후 다시 시도하세요.");
|
||||
return;
|
||||
}
|
||||
OpenFileDialog od = new OpenFileDialog();
|
||||
if (od.ShowDialog() != System.Windows.Forms.DialogResult.OK) return;
|
||||
var image = Image.FromFile(od.FileName);
|
||||
if (!FCOMMON.DBM.setImageData(image, "Items", "image", dr.idx))
|
||||
{
|
||||
FCOMMON.Util.MsgE("등록 실패");
|
||||
}
|
||||
else
|
||||
{
|
||||
this.pictureBox1.Image = Image.FromFile(od.FileName);
|
||||
}
|
||||
}
|
||||
|
||||
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 btFind_Click(object sender, EventArgs e)
|
||||
{
|
||||
Find();
|
||||
}
|
||||
void Find()
|
||||
{
|
||||
var search = tbFind.Text.Trim();
|
||||
refreshData(search);
|
||||
tbFind.SelectAll();
|
||||
tbFind.Focus();
|
||||
}
|
||||
|
||||
private void btAdd_Click(object sender, EventArgs e)
|
||||
{
|
||||
var f = new Item.fItemAdd();
|
||||
if(f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||
{
|
||||
itemName = f.tbName.Text.Trim();
|
||||
item = f.newIDX;
|
||||
itemmodel = f.tbModel.Text.Trim();
|
||||
decimal price;
|
||||
decimal.TryParse(f.tbPrice.Text.Replace(",",""),out price);
|
||||
itemprice =price;// decimal.Parse(f.tbPrice.Text.Trim().Replace(",",""));
|
||||
SID = f.tbSid.Text.Trim();
|
||||
itemUnit = f.tbUnit.Text.Trim();
|
||||
itemSupply = f.tbSupply.Text.Trim();
|
||||
itemSupplyidx = int.Parse(f.tbSupplyIdx.Text);
|
||||
DialogResult = System.Windows.Forms.DialogResult.OK;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
293
SubProject/FCM0000/Item/fLovItem.resx
Normal file
293
SubProject/FCM0000/Item/fLovItem.resx
Normal file
@@ -0,0 +1,293 @@
|
||||
<?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="manuLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="supplyLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="memoLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="priceLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="label1.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="label2.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="bn.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>321, 17</value>
|
||||
</metadata>
|
||||
<metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>216, 17</value>
|
||||
</metadata>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77
|
||||
wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0
|
||||
v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg
|
||||
UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA
|
||||
Iu/O/9T+11gVGSSd+C+b9vW/bvA83AYYZt3+H9byEqci/dTL/zV8p+E2QCftxn+/6od4Fal4TMBtgFPu
|
||||
lf8gBXgVDULAwAAA8HbAq6XlmnAAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMovePreviousItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w
|
||||
5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f
|
||||
Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+
|
||||
08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMoveNextItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
|
||||
n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI
|
||||
N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f
|
||||
oAc0QjgAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMoveLastItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+//
|
||||
h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B
|
||||
twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA
|
||||
kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG
|
||||
WOTd+W9TcAVDMwiA5FL7X8O9hBUYZt3GqhkEQHJhLS//6wbPw22ATtoNnJIgOb/qh/81fKfhNgAfcMq9
|
||||
8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="btOK.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAYGSURBVGhD1ZhbU1tVFMc76otvXp68fAxv38AXvJXSi6MQKIrOoKNlRrklxmqhuZSEAaatY5/s
|
||||
iOXSYtqOjVogdVQYQEcLVSCVhgJNIKH6VPRlu/6nOene+6wkJwde8vCb5Kxz9tr/fV977Xr+vYqyhjWW
|
||||
E6yxnGCN5QRrLBWv13ufq+3Ycy63v9XlDgy73MFZ+t0k/stC/w3bUG17oKXWHXgWZThfpcIa7VLv9T1J
|
||||
wjpJ2AohSqHGHbhZ4wl0VLd1PcH5tgtrLEZ1S8ej1NvHSci/ujAHbBF9B71dj3B1FYM1FoIq20+ks5Xv
|
||||
GDQiG8Rers5CsEYOmrMPZHudFdDwSViET58VF69Mil//iIvEalKk0rcN8P+Xa4vGO3yDbzkfBp5gL+ri
|
||||
NHCwRp2q97serHEHz3MVvnu0T5yPTYhbGxmRvv2PLfAtGtN07KTFX5YI6uS06LBGGfQGJ/7gx12i/5sx
|
||||
sbZuX7gORmcwesXwpfsnInZGgjXKcNPmnc4+MX1tgRXlhOm5BdF4tFepA9Ca6OE0ybBGE3KCBas4bQ6f
|
||||
EvHlNVbIfPIv0T87JFpiblEffVtUfr3PAP9h+2p2WCwkl9iyi8urhm+9vtr24B5OmwlrBNjWsDPIztBL
|
||||
nPjF1JIITobFiyO7RcW5lwvywsgr4vCPR8Sft65b/VAjmJFIY9vmNALWCPSpU+8NsdPm28VRURnZx4ot
|
||||
xJ7IfvFdfMzib2pu3rImCk0l1nj3hFUPKSxYvbIvrw4aPcoJtAPKXpq/bPE7EI0pDSC26ry+xzmtFgPI
|
||||
hgc5B9gq9d0GPb8d8eDQ6AdiNb2u+AXJ9KY4FDwhN4DwH+G0WgxVVQP3UwEltsE+L1ewkLzhaNrINI01
|
||||
i9WMVbzJhdikJN4gwQWAygO4G1XeK4hTUz+kfD93saLskq/nZTDibx4OyQ0Q1W2+Z3S9ygOgoUJInCuE
|
||||
o192jK3Szm6Tj3ziT86cMkZWtoVPDysNcLUHPtT1Kg+APqR4/l4hHPmy0/6rQ6wwO+QTf2Lmc+P9mVm1
|
||||
sy6MTygNoN1oUNerPIDsxSNXCIGZ7LSVDiRdmElDtJG1g3xzvnf6s9w3rbGPlHcIAGUtNDt+1/UqD4A+
|
||||
zMiFEmspxWndpQZFmAnWxcbm38ZU0N8V63kTnNjy+xsUxcpacLDqepUHQB8q+z+2NNkpt/uY4s1v5EbY
|
||||
FQ/gW/4mtbGpNIDY0vUqD4A+KqkBBy6+LlbS6igBTA0700amKnJA+c5pAwpOofroW5aK8wlNZtIWWz7x
|
||||
4I2dmULqIsZCkp3mW8SYKtxIyHDTRkZfxDMOF3HBbRQhMVc5KNSIYuLBwNw5pYyjbRR5G7mQfpAhni90
|
||||
kHGNsCP+pZFKy0EW+sLBQYakk1yICyX8EyFWhIncCDviQXCyW6mDCyXq2nxP6XqVB4CAiYbqplxQn0a4
|
||||
wCCe54SYYGH3TB1n3+lg94mnEkodjoM5gIyZXBjZA1zA5QpGr/+wrZjIBCH59/FxxTe2zyYtnK71BD7l
|
||||
tFoMAOk+KoSMWc4BsgdyJQBx0XYvNLhD637PRMcV8cSdki40gAr1yU5wzUP2QK8M18Ji04kD0+ZyPGbx
|
||||
NzU7T9dX9UpJ67Kb0whYI8Clngqvy45w4cbFW690KbUiuqf6jJ2EEyuDXu/4KWCZ8yDPpT71anPnw5xG
|
||||
wBpNaDHv1ZwZqQ+uEQDbIELi1pjHOFURdgD8xyE1MHfWslWa5EuruNqDuzltJqxRBrlK3Sl6CdkDTogT
|
||||
MG0aO62JLZfHH+Y0ybBGGaT3yFlEd441geyBHuyVAspiwepzPssI7uecJhnWqINEKzm0NAIge4A9u5Qc
|
||||
Kb5FGX2rlBjZseSuCUaC1kQPU5kBTk3cYRG/IABEJIkeBvgPG7IbCA/0E1YGO46dnjdhjYVArpIqSukV
|
||||
bx9/stiC5WCNxcC2lh0N5bBzyB30ussbeoirqxis0S44HZExIxHLmig7JBAevNYaeozzbRfWWCoIspB0
|
||||
osY0I2bHxYME4maH6ynIUCj8m/GOQmK6ND3NBWZOYI3lBGssJ1hjOcEay4eKXf8DEq1Ek5YKoVUAAAAA
|
||||
SUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="btFind.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAE3SURBVDhPnZIxS8NQFEb7W/wLjh0Fl9a1SxBHBekkWFd1
|
||||
qYg4Ci5dndSCg2AHl4LQSaRSKDqoFUE7VAjUmvTKueWmL2mw2gunL7zmO+/mJhmZoTJusdF868vpXUfO
|
||||
b5/lpPEox9f3SvnsRtk8uojxHQ7HEgSEkXS6vrz3xqtdu+xdfUiheEBsJOGCk/mz/hROUHsIIrp+qIKY
|
||||
hB/a9r+CVAG4Auj5g7iA5/1NACaptgIVLHkb0wWVw13ZL60p2+uerqkCJs1mMgwUU6d1k/xJwI10RZj1
|
||||
9TPUN7Wam9dgTMC75QR7TjCBkRQs5Jd1jQS8c1ewtZLTPcQW/peADpC44cudgnjZOQ1OCGjTwkwaGBon
|
||||
GoSrpcVIQqmAj6LZftFBup9vWiUlUQdIDCbsQrsGZRJKBbOXyA++SlEsu6QjvQAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="btAdd.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAK9SURBVGhD7Zm7btRAFIZX3ApKLhWXl0BEpEqHImw0Yymr
|
||||
IOh5BSKa7bL0IUoiniBEHksJoaHIMxDBA3CpIKEGGviPOWlGZ4iPL5O15E/6pU32+Mw/Y8/M8exoYGCg
|
||||
OePX4/Ops/NJYZ6nhckTZz/i7x/4/LsUPuN/H8rvEPMwz+5NJpNzfPnZYQpzC+ZeQF/Twv7RyXxBZ6aL
|
||||
eXaT08VjcXvpeurMFgz8ks1VF+WANtLd9Bqn7xaM3GPoWDLTROjEUZJnj7iZ9rmz9fQinuNXUuNtCm1s
|
||||
UlvcbDvg9l7GCL2VGuxEzu5Tm9x8M8qRj2n+RM6+w+p2iW3UJ8ZjExJNbrZRD0yqJ1LiuDLLbEeHdfYq
|
||||
Rv+7nDSmsOLVWWJpnZcTxhcGcp1tVYN2Rzx/jTYpHymmqkovu+lttnc6ZXkgJNLIR4rRCJ2Ysr3/Q0UW
|
||||
1SlSEo18pBiVUG9R0cg2wyBwXkyglI8UoxXmwhzbDINbhZJYTqCRjxSjlrMrbDMMgpx4sVI+Uoxazu6w
|
||||
zTC4TXjxEC5WykeKUcvZQ7YZRlMqt4WUWxJtrGwzjGb9bwsptyhnf7LNML3vQP8fod5P4t4vozO8kT0o
|
||||
zDO2GYYOnaSLtfKRYtTKs7tsMwwVc5gHn8UECvlIMRrB06fKp3lUukpJNPKRYnQyq2zvdGbthYbW/2Qv
|
||||
ucH2qoEObIjJzkRmjW1V5/720hXaOOSE8YSBPKp9bkpnlVLSmEpcNmY79cBd2JQSxxBG/yXbqA+9h6IT
|
||||
hdRAtzJvFg4WLrCNZtBBK1aCfbmh9oWR32vtcPcEPuTtfGWix6a1kZfArV3uZnUy3xpP2Krwuek6bTCy
|
||||
GYXKHGaNlm1OHw/aHXHLp+iMunb6d41ZVe+wXcAF4BxGcwXagQ5h7hidox/wUJLgs7Pv6TsqiamqnImf
|
||||
WQcGes9o9BfCYWu7q2s5swAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>216, 17</value>
|
||||
</metadata>
|
||||
<metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>81, 17</value>
|
||||
</metadata>
|
||||
<metadata name="tam.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>143, 17</value>
|
||||
</metadata>
|
||||
<metadata name="cm1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>539, 17</value>
|
||||
</metadata>
|
||||
<metadata name="fpSpread1_Sheet1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>614, 17</value>
|
||||
</metadata>
|
||||
<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>
|
||||
<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>
|
||||
</root>
|
||||
234
SubProject/FCM0000/Item/fLovOneItem.Designer.cs
generated
Normal file
234
SubProject/FCM0000/Item/fLovOneItem.Designer.cs
generated
Normal file
@@ -0,0 +1,234 @@
|
||||
namespace FCM0000
|
||||
{
|
||||
partial class fLovOneItem
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fLovOneItem));
|
||||
this.bn = new System.Windows.Forms.BindingNavigator(this.components);
|
||||
this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
|
||||
this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox();
|
||||
this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.dv = new System.Windows.Forms.DataGridView();
|
||||
this.ta = new FCM0000.dsMSSQLTableAdapters.CustomsTableAdapter();
|
||||
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.btOK = new System.Windows.Forms.ToolStripButton();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
|
||||
this.bn.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dv)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||
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.btOK});
|
||||
this.bn.Location = new System.Drawing.Point(0, 564);
|
||||
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(402, 25);
|
||||
this.bn.TabIndex = 0;
|
||||
this.bn.Text = "bindingNavigator1";
|
||||
//
|
||||
// bindingNavigatorCountItem
|
||||
//
|
||||
this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
|
||||
this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22);
|
||||
this.bindingNavigatorCountItem.Text = "/{0}";
|
||||
this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수";
|
||||
//
|
||||
// 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);
|
||||
//
|
||||
// bindingNavigatorSeparator2
|
||||
//
|
||||
this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
|
||||
this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// dv
|
||||
//
|
||||
this.dv.AllowUserToAddRows = false;
|
||||
this.dv.AllowUserToDeleteRows = false;
|
||||
this.dv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
|
||||
this.dv.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells;
|
||||
this.dv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dv.ColumnHeadersVisible = false;
|
||||
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
|
||||
dataGridViewCellStyle1.Font = new System.Drawing.Font("Tahoma", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
dataGridViewCellStyle1.Padding = new System.Windows.Forms.Padding(1, 3, 1, 3);
|
||||
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dv.DefaultCellStyle = dataGridViewCellStyle1;
|
||||
this.dv.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.dv.Location = new System.Drawing.Point(0, 0);
|
||||
this.dv.Name = "dv";
|
||||
this.dv.ReadOnly = true;
|
||||
this.dv.RowHeadersVisible = false;
|
||||
this.dv.RowTemplate.Height = 23;
|
||||
this.dv.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
||||
this.dv.Size = new System.Drawing.Size(402, 564);
|
||||
this.dv.TabIndex = 1;
|
||||
this.dv.DoubleClick += new System.EventHandler(this.dv_DoubleClick);
|
||||
this.dv.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dv_KeyDown);
|
||||
//
|
||||
// ta
|
||||
//
|
||||
this.ta.ClearBeforeFill = true;
|
||||
//
|
||||
// bs
|
||||
//
|
||||
this.bs.CurrentChanged += new System.EventHandler(this.bs_CurrentChanged);
|
||||
//
|
||||
// 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 = "이전으로 이동";
|
||||
//
|
||||
// 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 = "마지막으로 이동";
|
||||
//
|
||||
// btOK
|
||||
//
|
||||
this.btOK.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
|
||||
this.btOK.Image = ((System.Drawing.Image)(resources.GetObject("btOK.Image")));
|
||||
this.btOK.Name = "btOK";
|
||||
this.btOK.Size = new System.Drawing.Size(76, 22);
|
||||
this.btOK.Text = "Select(&O)";
|
||||
this.btOK.Click += new System.EventHandler(this.itemsBindingNavigatorSaveItem_Click);
|
||||
//
|
||||
// fLovOneItem
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
this.ClientSize = new System.Drawing.Size(402, 589);
|
||||
this.Controls.Add(this.dv);
|
||||
this.Controls.Add(this.bn);
|
||||
this.Font = new System.Drawing.Font("Tahoma", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.Name = "fLovOneItem";
|
||||
this.Text = "Select Item";
|
||||
this.Load += new System.EventHandler(this.fLovItem_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit();
|
||||
this.bn.ResumeLayout(false);
|
||||
this.bn.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dv)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.BindingSource bs;
|
||||
private System.Windows.Forms.BindingNavigator bn;
|
||||
private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator;
|
||||
private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2;
|
||||
private System.Windows.Forms.ToolStripButton btOK;
|
||||
private System.Windows.Forms.DataGridView dv;
|
||||
private dsMSSQLTableAdapters.CustomsTableAdapter ta;
|
||||
|
||||
}
|
||||
}
|
||||
100
SubProject/FCM0000/Item/fLovOneItem.cs
Normal file
100
SubProject/FCM0000/Item/fLovOneItem.cs
Normal file
@@ -0,0 +1,100 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace FCM0000
|
||||
{
|
||||
public partial class fLovOneItem : Form
|
||||
{
|
||||
public string Title { get; set; }
|
||||
DataTable dt;
|
||||
|
||||
public fLovOneItem(List<string> lists)
|
||||
{
|
||||
InitializeComponent();
|
||||
this.StartPosition = FormStartPosition.CenterScreen;
|
||||
Title = string.Empty;
|
||||
dt = new DataTable();
|
||||
dt.Columns.Add("item");
|
||||
foreach (var item in lists)
|
||||
dt.Rows.Add(new string[] { item });
|
||||
|
||||
this.KeyPreview = true;
|
||||
this.KeyDown += (s1, e1) => {
|
||||
if (e1.KeyCode == Keys.Escape) this.Close();
|
||||
};
|
||||
|
||||
}
|
||||
public fLovOneItem(Dictionary<string,string> lists)
|
||||
{
|
||||
InitializeComponent();
|
||||
Title = string.Empty;
|
||||
dt = new DataTable();
|
||||
dt.Columns.Add("item");
|
||||
dt.Columns.Add("Desc");
|
||||
foreach (var item in lists)
|
||||
dt.Rows.Add(new string[] { item.Key ,item.Value});
|
||||
|
||||
this.KeyPreview = true;
|
||||
this.KeyDown += (s1, e1) =>
|
||||
{
|
||||
if (e1.KeyCode == Keys.Escape) this.Close();
|
||||
};
|
||||
|
||||
}
|
||||
private void fLovItem_Load(object sender, EventArgs e)
|
||||
{
|
||||
this.bs.DataSource = this.dt;
|
||||
this.bn.BindingSource = this.bs;
|
||||
this.dv.DataSource = this.bs;
|
||||
|
||||
if(dv.Columns.Count > 1)
|
||||
this.dv.Columns[1].AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
|
||||
else
|
||||
this.dv.Columns[0].AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
|
||||
}
|
||||
|
||||
|
||||
private void bs_CurrentChanged(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void dv_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Enter)
|
||||
{
|
||||
|
||||
btOK.PerformClick();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void itemsBindingNavigatorSaveItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
var drv = bs.Current as DataRowView;
|
||||
if (drv == null)
|
||||
{
|
||||
Title = string.Empty;
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
Title = drv[0].ToString();
|
||||
}
|
||||
|
||||
if (Title.isEmpty()) DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||||
else DialogResult = System.Windows.Forms.DialogResult.OK;
|
||||
}
|
||||
|
||||
private void dv_DoubleClick(object sender, EventArgs e)
|
||||
{
|
||||
btOK.PerformClick();
|
||||
}
|
||||
}
|
||||
}
|
||||
180
SubProject/FCM0000/Item/fLovOneItem.resx
Normal file
180
SubProject/FCM0000/Item/fLovOneItem.resx
Normal file
@@ -0,0 +1,180 @@
|
||||
<?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>81, 17</value>
|
||||
</metadata>
|
||||
<metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77
|
||||
wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0
|
||||
v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg
|
||||
UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA
|
||||
Iu/O/9T+11gVGSSd+C+b9vW/bvA83AYYZt3+H9byEqci/dTL/zV8p+E2QCftxn+/6od4Fal4TMBtgFPu
|
||||
lf8gBXgVDULAwAAA8HbAq6XlmnAAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMovePreviousItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w
|
||||
5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f
|
||||
Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+
|
||||
08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMoveNextItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
|
||||
n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI
|
||||
N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f
|
||||
oAc0QjgAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMoveLastItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+//
|
||||
h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B
|
||||
twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA
|
||||
kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG
|
||||
WOTd+W9TcAVDMwiA5FL7X8O9hBUYZt3GqhkEQHJhLS//6wbPw22ATtoNnJIgOb/qh/81fKfhNgAfcMq9
|
||||
8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="btOK.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo
|
||||
dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>147, 17</value>
|
||||
</metadata>
|
||||
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>82</value>
|
||||
</metadata>
|
||||
</root>
|
||||
430
SubProject/FCM0000/User/fLovUser.Designer.cs
generated
Normal file
430
SubProject/FCM0000/User/fLovUser.Designer.cs
generated
Normal file
@@ -0,0 +1,430 @@
|
||||
namespace FCM0000
|
||||
{
|
||||
partial class fLovUser
|
||||
{
|
||||
/// <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(fLovUser));
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType2 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType3 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType4 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType5 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType6 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType8 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType9 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType10 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType11 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType12 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType13 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType14 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType15 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType16 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType17 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.DateTimeCellType dateTimeCellType1 = new FarPoint.Win.Spread.CellType.DateTimeCellType();
|
||||
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.dSUser = new FCM0000.DSUser();
|
||||
this.bn = new System.Windows.Forms.BindingNavigator(this.components);
|
||||
this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
|
||||
this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox();
|
||||
this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.btOK = new System.Windows.Forms.ToolStripButton();
|
||||
this.ta = new FCM0000.DSUserTableAdapters.UsersTableAdapter();
|
||||
this.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
|
||||
this.cm = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||
this.columnSizeToolStripMenuItem = 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();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dSUser)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
|
||||
this.bn.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit();
|
||||
this.cm.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// bs
|
||||
//
|
||||
this.bs.DataMember = "Users";
|
||||
this.bs.DataSource = this.dSUser;
|
||||
//
|
||||
// dSUser
|
||||
//
|
||||
this.dSUser.DataSetName = "DSUser";
|
||||
this.dSUser.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
||||
//
|
||||
// bn
|
||||
//
|
||||
this.bn.AddNewItem = null;
|
||||
this.bn.BindingSource = this.bs;
|
||||
this.bn.CountItem = this.bindingNavigatorCountItem;
|
||||
this.bn.DeleteItem = null;
|
||||
this.bn.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.bindingNavigatorMoveFirstItem,
|
||||
this.bindingNavigatorMovePreviousItem,
|
||||
this.bindingNavigatorSeparator,
|
||||
this.bindingNavigatorPositionItem,
|
||||
this.bindingNavigatorCountItem,
|
||||
this.bindingNavigatorSeparator1,
|
||||
this.bindingNavigatorMoveNextItem,
|
||||
this.bindingNavigatorMoveLastItem,
|
||||
this.bindingNavigatorSeparator2,
|
||||
this.btOK});
|
||||
this.bn.Location = new System.Drawing.Point(0, 457);
|
||||
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(759, 25);
|
||||
this.bn.TabIndex = 0;
|
||||
this.bn.Text = "bindingNavigator1";
|
||||
//
|
||||
// bindingNavigatorCountItem
|
||||
//
|
||||
this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
|
||||
this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22);
|
||||
this.bindingNavigatorCountItem.Text = "/{0}";
|
||||
this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수";
|
||||
//
|
||||
// bindingNavigatorMoveFirstItem
|
||||
//
|
||||
this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image")));
|
||||
this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
|
||||
this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동";
|
||||
//
|
||||
// bindingNavigatorMovePreviousItem
|
||||
//
|
||||
this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image")));
|
||||
this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
|
||||
this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동";
|
||||
//
|
||||
// bindingNavigatorSeparator
|
||||
//
|
||||
this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
|
||||
this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// bindingNavigatorPositionItem
|
||||
//
|
||||
this.bindingNavigatorPositionItem.AccessibleName = "위치";
|
||||
this.bindingNavigatorPositionItem.AutoSize = false;
|
||||
this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
|
||||
this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
|
||||
this.bindingNavigatorPositionItem.Text = "0";
|
||||
this.bindingNavigatorPositionItem.ToolTipText = "현재 위치";
|
||||
//
|
||||
// bindingNavigatorSeparator1
|
||||
//
|
||||
this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1";
|
||||
this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// bindingNavigatorMoveNextItem
|
||||
//
|
||||
this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image")));
|
||||
this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
|
||||
this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMoveNextItem.Text = "다음으로 이동";
|
||||
//
|
||||
// bindingNavigatorMoveLastItem
|
||||
//
|
||||
this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image")));
|
||||
this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
|
||||
this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동";
|
||||
//
|
||||
// bindingNavigatorSeparator2
|
||||
//
|
||||
this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
|
||||
this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// btOK
|
||||
//
|
||||
this.btOK.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
|
||||
this.btOK.Image = ((System.Drawing.Image)(resources.GetObject("btOK.Image")));
|
||||
this.btOK.Name = "btOK";
|
||||
this.btOK.Size = new System.Drawing.Size(68, 22);
|
||||
this.btOK.Text = "선택(&O)";
|
||||
this.btOK.Click += new System.EventHandler(this.btSelect_Cliock);
|
||||
//
|
||||
// ta
|
||||
//
|
||||
this.ta.ClearBeforeFill = true;
|
||||
//
|
||||
// fpSpread1
|
||||
//
|
||||
this.fpSpread1.AccessibleDescription = "";
|
||||
this.fpSpread1.ContextMenuStrip = this.cm;
|
||||
this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.fpSpread1.Font = new System.Drawing.Font("맑은 고딕", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.fpSpread1.Location = new System.Drawing.Point(0, 0);
|
||||
this.fpSpread1.Name = "fpSpread1";
|
||||
this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
|
||||
this.fpSpread1_Sheet1});
|
||||
this.fpSpread1.Size = new System.Drawing.Size(759, 457);
|
||||
this.fpSpread1.TabIndex = 1;
|
||||
//
|
||||
// cm
|
||||
//
|
||||
this.cm.Font = new System.Drawing.Font("맑은 고딕", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.cm.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.columnSizeToolStripMenuItem,
|
||||
this.exportListToolStripMenuItem});
|
||||
this.cm.Name = "contextMenuStrip1";
|
||||
this.cm.Size = new System.Drawing.Size(243, 76);
|
||||
//
|
||||
// columnSizeToolStripMenuItem
|
||||
//
|
||||
this.columnSizeToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.saveToolStripMenuItem,
|
||||
this.loadToolStripMenuItem});
|
||||
this.columnSizeToolStripMenuItem.Name = "columnSizeToolStripMenuItem";
|
||||
this.columnSizeToolStripMenuItem.Size = new System.Drawing.Size(242, 36);
|
||||
this.columnSizeToolStripMenuItem.Text = "열 크기";
|
||||
//
|
||||
// saveToolStripMenuItem
|
||||
//
|
||||
this.saveToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("saveToolStripMenuItem.Image")));
|
||||
this.saveToolStripMenuItem.Name = "saveToolStripMenuItem";
|
||||
this.saveToolStripMenuItem.Size = new System.Drawing.Size(266, 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(266, 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 = 19;
|
||||
this.fpSpread1_Sheet1.ActiveColumnIndex = -1;
|
||||
this.fpSpread1_Sheet1.ActiveRowIndex = -1;
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "사용자번호";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "성명";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "부서";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "직책";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).Value = "이메일";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).Value = "전화";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 34F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType1;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).DataField = "id";
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).Label = "사용자번호";
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).Width = 135F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType2;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).DataField = "password";
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).Visible = false;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).Width = 135F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType3;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).DataField = "nameE";
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).Visible = false;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).Width = 135F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType4;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).DataField = "name";
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).Label = "성명";
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).Width = 135F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType5;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).DataField = "dept";
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).Label = "부서";
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).Width = 135F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType6;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).DataField = "grade";
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).Label = "직책";
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).Width = 135F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType7;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).DataField = "email";
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).Label = "이메일";
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).Width = 135F;
|
||||
numberCellType1.DecimalPlaces = 0;
|
||||
numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
||||
numberCellType1.MaximumValue = 32767D;
|
||||
numberCellType1.MinimumValue = -32768D;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).CellType = numberCellType1;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).DataField = "level";
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).Visible = false;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).Width = 61F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType8;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).DataField = "indate";
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).Visible = false;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).Width = 135F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType9;
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).DataField = "outdate";
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).Visible = false;
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).Width = 135F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType10;
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).DataField = "tel";
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).Label = "전화";
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).Width = 135F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType11;
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).DataField = "hp";
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).Visible = false;
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).Width = 135F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType12;
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).DataField = "place";
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).Visible = false;
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).Width = 135F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType13;
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).DataField = "ads_employNo";
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).Visible = false;
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).Width = 135F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).CellType = textCellType14;
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).DataField = "ads_title";
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).Visible = false;
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).Width = 135F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).CellType = textCellType15;
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).DataField = "ads_created";
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).Visible = false;
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).Width = 135F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).CellType = textCellType16;
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).DataField = "memo";
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).Visible = false;
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).Width = 135F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(17).CellType = textCellType17;
|
||||
this.fpSpread1_Sheet1.Columns.Get(17).DataField = "wuid";
|
||||
this.fpSpread1_Sheet1.Columns.Get(17).Visible = false;
|
||||
this.fpSpread1_Sheet1.Columns.Get(17).Width = 135F;
|
||||
dateTimeCellType1.Calendar = new System.Globalization.GregorianCalendar(System.Globalization.GregorianCalendarTypes.Localized);
|
||||
dateTimeCellType1.CalendarSurroundingDaysColor = System.Drawing.SystemColors.GrayText;
|
||||
dateTimeCellType1.MaximumTime = System.TimeSpan.Parse("23:59:59.9999999");
|
||||
dateTimeCellType1.TimeDefault = new System.DateTime(2019, 7, 23, 10, 27, 21, 386);
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).CellType = dateTimeCellType1;
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).DataField = "wdate";
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).Visible = false;
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).Width = 91F;
|
||||
this.fpSpread1_Sheet1.DataAutoSizeColumns = false;
|
||||
this.fpSpread1_Sheet1.DataSource = this.bs;
|
||||
this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false;
|
||||
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
|
||||
//
|
||||
// fLovUser
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
this.ClientSize = new System.Drawing.Size(759, 482);
|
||||
this.Controls.Add(this.fpSpread1);
|
||||
this.Controls.Add(this.bn);
|
||||
this.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.Name = "fLovUser";
|
||||
this.Text = "사용자 선택";
|
||||
this.Load += new System.EventHandler(this.fLovItem_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dSUser)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit();
|
||||
this.bn.ResumeLayout(false);
|
||||
this.bn.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit();
|
||||
this.cm.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.BindingSource bs;
|
||||
private System.Windows.Forms.BindingNavigator bn;
|
||||
private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator;
|
||||
private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2;
|
||||
private System.Windows.Forms.ToolStripButton btOK;
|
||||
private DSUser dSUser;
|
||||
private DSUserTableAdapters.UsersTableAdapter ta;
|
||||
private FarPoint.Win.Spread.FpSpread fpSpread1;
|
||||
private System.Windows.Forms.ContextMenuStrip cm;
|
||||
private System.Windows.Forms.ToolStripMenuItem columnSizeToolStripMenuItem;
|
||||
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;
|
||||
|
||||
}
|
||||
}
|
||||
117
SubProject/FCM0000/User/fLovUser.cs
Normal file
117
SubProject/FCM0000/User/fLovUser.cs
Normal file
@@ -0,0 +1,117 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace FCM0000
|
||||
{
|
||||
public partial class fLovUser : FCOMMON.fBase
|
||||
{
|
||||
string fn_fpcolsize = "";
|
||||
string keyword = string.Empty;
|
||||
|
||||
public string userEmail { get; set; }
|
||||
public string userID { get; set; }
|
||||
public string userName { get; set; }
|
||||
public string userTel { get; set; }
|
||||
|
||||
|
||||
public fLovUser(string search_)
|
||||
{
|
||||
InitializeComponent();
|
||||
fn_fpcolsize = System.IO.Path.Combine(FCOMMON.Util.CurrentPath, "formSetting", "fp_" + this.Name + ".ini");
|
||||
this.keyword = search_;
|
||||
this.fpSpread1.KeyDown += fpSpread1_KeyDown;
|
||||
this.fpSpread1.CellDoubleClick += fpSpread1_CellDoubleClick;
|
||||
|
||||
//clear data
|
||||
userEmail = string.Empty;
|
||||
userID = string.Empty;
|
||||
userName = string.Empty;
|
||||
userTel = string.Empty;
|
||||
}
|
||||
|
||||
void fpSpread1_CellDoubleClick(object sender, FarPoint.Win.Spread.CellClickEventArgs e)
|
||||
{
|
||||
btOK.PerformClick();
|
||||
}
|
||||
|
||||
void fpSpread1_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Enter)
|
||||
{
|
||||
btOK.PerformClick();
|
||||
}
|
||||
}
|
||||
|
||||
private void fLovItem_Load(object sender, EventArgs e)
|
||||
{
|
||||
this.Text = string.Format("사용자선택({0})",this.keyword);
|
||||
this.Show();
|
||||
Application.DoEvents();
|
||||
refreshData();
|
||||
}
|
||||
|
||||
void refreshData()
|
||||
{
|
||||
|
||||
try
|
||||
{
|
||||
if (keyword == "" || keyword == "%" || keyword == "%%") this.ta.Fill(this.dSUser.Users);
|
||||
else this.ta.FillBySearch(this.dSUser.Users, keyword );
|
||||
FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize);
|
||||
}
|
||||
catch (Exception eX)
|
||||
{
|
||||
FCOMMON.Util.MsgE(eX.Message);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private void btSelect_Cliock(object sender, EventArgs e)
|
||||
{
|
||||
var drv = bs.Current as DataRowView;
|
||||
if (drv == null) return;
|
||||
else
|
||||
{
|
||||
var dr = drv.Row as DSUser.UsersRow;//.CustomsRow;
|
||||
userID = dr.id;
|
||||
userName = dr.name;
|
||||
userEmail = dr.email;
|
||||
userTel = dr.tel;
|
||||
}
|
||||
DialogResult = System.Windows.Forms.DialogResult.OK;
|
||||
}
|
||||
|
||||
|
||||
private void saveToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
FPUtil.ColsizeSave(this.fpSpread1, fn_fpcolsize);
|
||||
}
|
||||
|
||||
private void loadToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize);
|
||||
}
|
||||
|
||||
private void exportListToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
SaveFileDialog sd = new SaveFileDialog();
|
||||
sd.Filter = "excel|*.xls";
|
||||
sd.FileName = "userlist.xls";
|
||||
if (sd.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||
{
|
||||
fpSpread1.SaveExcel(sd.FileName,
|
||||
FarPoint.Excel.ExcelSaveFlags.SaveAsViewed
|
||||
| FarPoint.Excel.ExcelSaveFlags.SaveAsFiltered
|
||||
| FarPoint.Excel.ExcelSaveFlags.NoFormulas
|
||||
| FarPoint.Excel.ExcelSaveFlags.SaveCustomColumnHeaders);
|
||||
FCOMMON.Util.MsgI("다음 파일이 생성 되었습니다.\n\n" + sd.FileName);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
219
SubProject/FCM0000/User/fLovUser.resx
Normal file
219
SubProject/FCM0000/User/fLovUser.resx
Normal file
@@ -0,0 +1,219 @@
|
||||
<?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="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="dSUser.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>147, 17</value>
|
||||
</metadata>
|
||||
<metadata name="bn.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>81, 17</value>
|
||||
</metadata>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77
|
||||
wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0
|
||||
v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg
|
||||
UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA
|
||||
Iu/O/9T+11gVGSSd+C+b9vW/bvA83AYYZt3+H9byEqci/dTL/zV8p+E2QCftxn+/6od4Fal4TMBtgFPu
|
||||
lf8gBXgVDULAwAAA8HbAq6XlmnAAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMovePreviousItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w
|
||||
5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f
|
||||
Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+
|
||||
08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMoveNextItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
|
||||
n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI
|
||||
N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f
|
||||
oAc0QjgAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMoveLastItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+//
|
||||
h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B
|
||||
twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA
|
||||
kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG
|
||||
WOTd+W9TcAVDMwiA5FL7X8O9hBUYZt3GqhkEQHJhLS//6wbPw22ATtoNnJIgOb/qh/81fKfhNgAfcMq9
|
||||
8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="btOK.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo
|
||||
dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>238, 17</value>
|
||||
</metadata>
|
||||
<metadata name="cm.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>439, 17</value>
|
||||
</metadata>
|
||||
<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>
|
||||
<metadata name="fpSpread1_Sheet1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>507, 17</value>
|
||||
</metadata>
|
||||
<data name="dateTimeCellType1.Calendar" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>
|
||||
AAEAAAD/////AQAAAAAAAAAEAQAAACZTeXN0ZW0uR2xvYmFsaXphdGlvbi5HcmVnb3JpYW5DYWxlbmRh
|
||||
cgYAAAAGbV90eXBlEW1fY3VycmVudEVyYVZhbHVlD3R3b0RpZ2l0WWVhck1heBpDYWxlbmRhcittX2N1
|
||||
cnJlbnRFcmFWYWx1ZRVDYWxlbmRhcittX2lzUmVhZE9ubHkYQ2FsZW5kYXIrdHdvRGlnaXRZZWFyTWF4
|
||||
AwAAAAAAK1N5c3RlbS5HbG9iYWxpemF0aW9uLkdyZWdvcmlhbkNhbGVuZGFyVHlwZXMICAgBCAT+////
|
||||
K1N5c3RlbS5HbG9iYWxpemF0aW9uLkdyZWdvcmlhbkNhbGVuZGFyVHlwZXMBAAAAB3ZhbHVlX18ACAEA
|
||||
AAD/////7QcAAP////8A7QcAAAs=
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>82</value>
|
||||
</metadata>
|
||||
</root>
|
||||
@@ -36,6 +36,8 @@
|
||||
this.checkBox1 = new System.Windows.Forms.CheckBox();
|
||||
this.checkBox2 = new System.Windows.Forms.CheckBox();
|
||||
this.checkBox3 = new System.Windows.Forms.CheckBox();
|
||||
this.checkBox4 = new System.Windows.Forms.CheckBox();
|
||||
this.checkBox5 = new System.Windows.Forms.CheckBox();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// c0
|
||||
@@ -125,11 +127,35 @@
|
||||
this.checkBox3.Text = "(구매)상세입력";
|
||||
this.checkBox3.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// checkBox4
|
||||
//
|
||||
this.checkBox4.AutoSize = true;
|
||||
this.checkBox4.Location = new System.Drawing.Point(142, 54);
|
||||
this.checkBox4.Name = "checkBox4";
|
||||
this.checkBox4.Size = new System.Drawing.Size(74, 34);
|
||||
this.checkBox4.TabIndex = 5;
|
||||
this.checkBox4.Tag = "7";
|
||||
this.checkBox4.Text = "문서";
|
||||
this.checkBox4.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// checkBox5
|
||||
//
|
||||
this.checkBox5.AutoSize = true;
|
||||
this.checkBox5.Location = new System.Drawing.Point(142, 88);
|
||||
this.checkBox5.Name = "checkBox5";
|
||||
this.checkBox5.Size = new System.Drawing.Size(116, 34);
|
||||
this.checkBox5.TabIndex = 6;
|
||||
this.checkBox5.Tag = "8";
|
||||
this.checkBox5.Text = "운영기록";
|
||||
this.checkBox5.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// fUserGroupPermission
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 30F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(313, 297);
|
||||
this.Controls.Add(this.checkBox5);
|
||||
this.Controls.Add(this.checkBox4);
|
||||
this.Controls.Add(this.checkBox3);
|
||||
this.Controls.Add(this.checkBox2);
|
||||
this.Controls.Add(this.checkBox1);
|
||||
@@ -160,5 +186,7 @@
|
||||
private System.Windows.Forms.CheckBox checkBox1;
|
||||
private System.Windows.Forms.CheckBox checkBox2;
|
||||
private System.Windows.Forms.CheckBox checkBox3;
|
||||
private System.Windows.Forms.CheckBox checkBox4;
|
||||
private System.Windows.Forms.CheckBox checkBox5;
|
||||
}
|
||||
}
|
||||
96
SubProject/FCM0000/dsMSSQL.Designer.cs
generated
96
SubProject/FCM0000/dsMSSQL.Designer.cs
generated
@@ -11367,18 +11367,25 @@ SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supp
|
||||
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@search", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[3].Connection = this.Connection;
|
||||
this._commandCollection[3].CommandText = @"SELECT bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid FROM Items WHERE (sid IN (SELECT sid FROM Items AS Items_1 GROUP BY sid HAVING (COUNT(*) > 1))) AND (ISNULL(sid, '') <> '') AND (cate LIKE @cate) AND (gcode = @gcode) ORDER BY sid, name, idx";
|
||||
this._commandCollection[3].CommandText = @"SELECT bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid
|
||||
FROM Items
|
||||
WHERE (sid IN
|
||||
(SELECT sid
|
||||
FROM Items AS Items_1
|
||||
GROUP BY sid
|
||||
HAVING (COUNT(*) > 1))) AND (ISNULL(sid, '') <> '') AND (gcode = @gcode) AND (ISNULL(cate, '') LIKE @cate)
|
||||
ORDER BY sid, name, idx";
|
||||
this._commandCollection[3].CommandType = global::System.Data.CommandType.Text;
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cate", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cate", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[4].Connection = this.Connection;
|
||||
this._commandCollection[4].CommandText = "SELECT bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, na" +
|
||||
"me, price, scale, sid, supply, supplyidx, unit, wdate, wuid FROM Items WHERE (ca" +
|
||||
"te LIKE @cate) AND (gcode = @code) ORDER BY name, idx";
|
||||
this._commandCollection[4].CommandText = "SELECT bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, n" +
|
||||
"ame, price, scale, sid, supply, supplyidx, unit, wdate, wuid\r\nFROM Items\r\nWH" +
|
||||
"ERE (gcode = @code) AND (ISNULL(cate, \'\') LIKE @cate)\r\nORDER BY name, idx";
|
||||
this._commandCollection[4].CommandType = global::System.Data.CommandType.Text;
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cate", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@code", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cate", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[5].Connection = this.Connection;
|
||||
this._commandCollection[5].CommandText = @"SELECT bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid FROM Items WHERE (ISNULL(name, N'') LIKE @search OR ISNULL(sid, N'') LIKE @search OR ISNULL(manu, N'') LIKE @search OR ISNULL(supply, N'') LIKE @search OR ISNULL(model, N'') LIKE @search OR ISNULL(memo, N'') LIKE @search) AND (gcode = @gcode) ORDER BY name, idx";
|
||||
@@ -11441,19 +11448,19 @@ SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supp
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
|
||||
public virtual int FillDupCheck(dsMSSQL.ItemsDataTable dataTable, string cate, string gcode) {
|
||||
public virtual int FillDupCheck(dsMSSQL.ItemsDataTable dataTable, string gcode, string cate) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[3];
|
||||
if ((cate == null)) {
|
||||
if ((gcode == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[0].Value = ((string)(cate));
|
||||
this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode));
|
||||
}
|
||||
if ((gcode == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
||||
if ((cate == null)) {
|
||||
throw new global::System.ArgumentNullException("cate");
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(gcode));
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(cate));
|
||||
}
|
||||
if ((this.ClearBeforeFill == true)) {
|
||||
dataTable.Clear();
|
||||
@@ -11466,19 +11473,19 @@ SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supp
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
||||
public virtual dsMSSQL.ItemsDataTable GetDupCheck(string cate, string gcode) {
|
||||
public virtual dsMSSQL.ItemsDataTable GetDupCheck(string gcode, string cate) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[3];
|
||||
if ((cate == null)) {
|
||||
if ((gcode == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[0].Value = ((string)(cate));
|
||||
this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode));
|
||||
}
|
||||
if ((gcode == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
||||
if ((cate == null)) {
|
||||
throw new global::System.ArgumentNullException("cate");
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(gcode));
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(cate));
|
||||
}
|
||||
dsMSSQL.ItemsDataTable dataTable = new dsMSSQL.ItemsDataTable();
|
||||
this.Adapter.Fill(dataTable);
|
||||
@@ -11489,19 +11496,19 @@ SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supp
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
|
||||
public virtual int FillNoImage(dsMSSQL.ItemsDataTable dataTable, string cate, string code) {
|
||||
public virtual int FillNoImage(dsMSSQL.ItemsDataTable dataTable, string code, string cate) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[4];
|
||||
if ((cate == null)) {
|
||||
if ((code == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[0].Value = ((string)(cate));
|
||||
this.Adapter.SelectCommand.Parameters[0].Value = ((string)(code));
|
||||
}
|
||||
if ((code == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
||||
if ((cate == null)) {
|
||||
throw new global::System.ArgumentNullException("cate");
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(code));
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(cate));
|
||||
}
|
||||
if ((this.ClearBeforeFill == true)) {
|
||||
dataTable.Clear();
|
||||
@@ -11514,19 +11521,19 @@ SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supp
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
||||
public virtual dsMSSQL.ItemsDataTable GetNoImage(string cate, string code) {
|
||||
public virtual dsMSSQL.ItemsDataTable GetNoImage(string code, string cate) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[4];
|
||||
if ((cate == null)) {
|
||||
if ((code == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[0].Value = ((string)(cate));
|
||||
this.Adapter.SelectCommand.Parameters[0].Value = ((string)(code));
|
||||
}
|
||||
if ((code == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
||||
if ((cate == null)) {
|
||||
throw new global::System.ArgumentNullException("cate");
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(code));
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(cate));
|
||||
}
|
||||
dsMSSQL.ItemsDataTable dataTable = new dsMSSQL.ItemsDataTable();
|
||||
this.Adapter.Fill(dataTable);
|
||||
@@ -12199,17 +12206,20 @@ SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supp
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._adapter.InsertCommand.Connection = this.Connection;
|
||||
this._adapter.InsertCommand.CommandText = @"INSERT INTO [Common] ([grp], [code], [svalue], [ivalue], [fvalue], [memo], [wuid], [wdate]) VALUES (@grp, @code, @svalue, @ivalue, @fvalue, @memo, @wuid, @wdate);
|
||||
this._adapter.InsertCommand.CommandText = @"INSERT INTO Common
|
||||
(grp, code, svalue, ivalue, fvalue, memo, wuid, wdate, gcode)
|
||||
VALUES (@grp,@code,@svalue,@ivalue,@fvalue,@memo,@wuid,@wdate,@gcode);
|
||||
SELECT idx, grp, code, svalue, ivalue, fvalue, memo, wuid, wdate FROM Common WHERE (idx = SCOPE_IDENTITY()) ORDER BY grp, memo";
|
||||
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@grp", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@code", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "code", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@svalue", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "svalue", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ivalue", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ivalue", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@fvalue", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "fvalue", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@memo", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@grp", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "grp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@code", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "code", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@svalue", global::System.Data.SqlDbType.VarChar, 2147483647, global::System.Data.ParameterDirection.Input, 0, 0, "svalue", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ivalue", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "ivalue", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@fvalue", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "fvalue", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@memo", global::System.Data.SqlDbType.VarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._adapter.UpdateCommand.Connection = this.Connection;
|
||||
this._adapter.UpdateCommand.CommandText = @"UPDATE [Common] SET [grp] = @grp, [code] = @code, [svalue] = @svalue, [ivalue] = @ivalue, [fvalue] = @fvalue, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate, [gcode] = @gcode WHERE (([idx] = @Original_idx) AND ((@IsNull_grp = 1 AND [grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@IsNull_code = 1 AND [code] IS NULL) OR ([code] = @Original_code)) AND ((@IsNull_ivalue = 1 AND [ivalue] IS NULL) OR ([ivalue] = @Original_ivalue)) AND ((@IsNull_fvalue = 1 AND [fvalue] IS NULL) OR ([fvalue] = @Original_fvalue)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ([gcode] = @Original_gcode));
|
||||
@@ -12417,7 +12427,7 @@ SELECT idx, grp, code, svalue, ivalue, fvalue, memo, wuid, wdate, gcode FROM Com
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
|
||||
public virtual int Insert(string grp, string code, string svalue, global::System.Nullable<int> ivalue, global::System.Nullable<double> fvalue, string memo, string wuid, System.DateTime wdate) {
|
||||
public virtual int Insert(string grp, string code, string svalue, global::System.Nullable<int> ivalue, global::System.Nullable<double> fvalue, string memo, string wuid, System.DateTime wdate, string gcode) {
|
||||
if ((grp == null)) {
|
||||
this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
|
||||
}
|
||||
@@ -12461,6 +12471,12 @@ SELECT idx, grp, code, svalue, ivalue, fvalue, memo, wuid, wdate, gcode FROM Com
|
||||
this.Adapter.InsertCommand.Parameters[6].Value = ((string)(wuid));
|
||||
}
|
||||
this.Adapter.InsertCommand.Parameters[7].Value = ((System.DateTime)(wdate));
|
||||
if ((gcode == null)) {
|
||||
throw new global::System.ArgumentNullException("gcode");
|
||||
}
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[8].Value = ((string)(gcode));
|
||||
}
|
||||
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)) {
|
||||
|
||||
@@ -147,10 +147,17 @@ where gcode = @gcode and isnull(replace(name,' ','') + replace(model,' ',''),'')
|
||||
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Items" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillDupCheck" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDupCheck" GeneratorSourceName="FillDupCheck" GetMethodModifier="Public" GetMethodName="GetDupCheck" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDupCheck" UserSourceName="FillDupCheck">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>SELECT bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid FROM Items WHERE (sid IN (SELECT sid FROM Items AS Items_1 GROUP BY sid HAVING (COUNT(*) > 1))) AND (ISNULL(sid, '') <> '') AND (cate LIKE @cate) AND (gcode = @gcode) ORDER BY sid, name, idx</CommandText>
|
||||
<CommandText>SELECT bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid
|
||||
FROM Items
|
||||
WHERE (sid IN
|
||||
(SELECT sid
|
||||
FROM Items AS Items_1
|
||||
GROUP BY sid
|
||||
HAVING (COUNT(*) > 1))) AND (ISNULL(sid, '') <> '') AND (gcode = @gcode) AND (ISNULL(cate, '') LIKE @cate)
|
||||
ORDER BY sid, name, idx</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="cate" ColumnName="cate" DataSourceName="GroupWare.dbo.Items" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@cate" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="cate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="gcode" ColumnName="gcode" DataSourceName="GroupWare.dbo.Items" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="cate" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="AnsiString" Direction="Input" ParameterName="@cate" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
@@ -158,10 +165,13 @@ where gcode = @gcode and isnull(replace(name,' ','') + replace(model,' ',''),'')
|
||||
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Items" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillNoImage" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetNoImage" GeneratorSourceName="FillNoImage" GetMethodModifier="Public" GetMethodName="GetNoImage" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetNoImage" UserSourceName="FillNoImage">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>SELECT bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid FROM Items WHERE (cate LIKE @cate) AND (gcode = @code) ORDER BY name, idx</CommandText>
|
||||
<CommandText>SELECT bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid
|
||||
FROM Items
|
||||
WHERE (gcode = @code) AND (ISNULL(cate, '') LIKE @cate)
|
||||
ORDER BY name, idx</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="cate" ColumnName="cate" DataSourceName="GroupWare.dbo.Items" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@cate" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="cate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="code" ColumnName="gcode" DataSourceName="GroupWare.dbo.Items" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@code" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="cate" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="AnsiString" Direction="Input" ParameterName="@cate" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
@@ -227,18 +237,21 @@ WHERE (gcode = @gcode) AND (ISNULL(REPLACE(name, ' ', '') + REPLACE(model, ' ',
|
||||
</DbCommand>
|
||||
</DeleteCommand>
|
||||
<InsertCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>INSERT INTO [Common] ([grp], [code], [svalue], [ivalue], [fvalue], [memo], [wuid], [wdate]) VALUES (@grp, @code, @svalue, @ivalue, @fvalue, @memo, @wuid, @wdate);
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>INSERT INTO Common
|
||||
(grp, code, svalue, ivalue, fvalue, memo, wuid, wdate, gcode)
|
||||
VALUES (@grp,@code,@svalue,@ivalue,@fvalue,@memo,@wuid,@wdate,@gcode);
|
||||
SELECT idx, grp, code, svalue, ivalue, fvalue, memo, wuid, wdate FROM Common WHERE (idx = SCOPE_IDENTITY()) ORDER BY grp, memo</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@grp" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="grp" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@code" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="code" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@svalue" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="svalue" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ivalue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ivalue" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@fvalue" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="fvalue" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@memo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="grp" ColumnName="grp" DataSourceName="GroupWare.dbo.Common" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@grp" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="grp" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="code" ColumnName="code" DataSourceName="GroupWare.dbo.Common" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@code" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="code" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="svalue" ColumnName="svalue" DataSourceName="GroupWare.dbo.Common" DataTypeServer="varchar(MAX)" DbType="AnsiString" Direction="Input" ParameterName="@svalue" Precision="0" ProviderType="VarChar" Scale="0" Size="2147483647" SourceColumn="svalue" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="ivalue" ColumnName="ivalue" DataSourceName="GroupWare.dbo.Common" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ivalue" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ivalue" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="fvalue" ColumnName="fvalue" DataSourceName="GroupWare.dbo.Common" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@fvalue" Precision="0" ProviderType="Float" Scale="0" Size="8" SourceColumn="fvalue" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="memo" ColumnName="memo" DataSourceName="GroupWare.dbo.Common" DataTypeServer="varchar(250)" DbType="AnsiString" Direction="Input" ParameterName="@memo" Precision="0" ProviderType="VarChar" Scale="0" Size="250" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="wuid" ColumnName="wuid" DataSourceName="GroupWare.dbo.Common" 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="GroupWare.dbo.Common" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="gcode" ColumnName="gcode" DataSourceName="GroupWare.dbo.Common" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</InsertCommand>
|
||||
|
||||
100
SubProject/FCM0000/fCode.Designer.cs
generated
100
SubProject/FCM0000/fCode.Designer.cs
generated
@@ -32,14 +32,13 @@
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fCode));
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.cmbList = new System.Windows.Forms.ComboBox();
|
||||
this.dsMSSQL = new FCM0000.dsMSSQL();
|
||||
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.ta = new FCM0000.dsMSSQLTableAdapters.CommonTableAdapter();
|
||||
this.tam = new FCM0000.dsMSSQLTableAdapters.TableAdapterManager();
|
||||
this.bn = new System.Windows.Forms.BindingNavigator(this.components);
|
||||
this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.dsMSSQL = new FCM0000.dsMSSQL();
|
||||
this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
|
||||
this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStripLabel6 = 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();
|
||||
@@ -58,11 +57,13 @@
|
||||
this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.ta = new FCM0000.dsMSSQLTableAdapters.CommonTableAdapter();
|
||||
this.tam = new FCM0000.dsMSSQLTableAdapters.TableAdapterManager();
|
||||
this.panel1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
|
||||
this.bn.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.commonDataGridView)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
@@ -90,37 +91,6 @@
|
||||
this.cmbList.TabIndex = 0;
|
||||
this.cmbList.SelectedIndexChanged += new System.EventHandler(this.cmbList_SelectedIndexChanged);
|
||||
//
|
||||
// dsMSSQL
|
||||
//
|
||||
this.dsMSSQL.DataSetName = "dsMSSQL";
|
||||
this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
||||
//
|
||||
// bs
|
||||
//
|
||||
this.bs.DataMember = "Common";
|
||||
this.bs.DataSource = this.dsMSSQL;
|
||||
//
|
||||
// ta
|
||||
//
|
||||
this.ta.ClearBeforeFill = true;
|
||||
//
|
||||
// tam
|
||||
//
|
||||
this.tam.BackupDataSetBeforeUpdate = false;
|
||||
this.tam.BoardTableAdapter = null;
|
||||
this.tam.CommonTableAdapter = this.ta;
|
||||
this.tam.CustomsTableAdapter = null;
|
||||
this.tam.HolidayLIstTableAdapter = null;
|
||||
this.tam.InventoryUserTableAdapter = null;
|
||||
this.tam.ItemsTableAdapter = null;
|
||||
this.tam.MailDataTableAdapter = null;
|
||||
this.tam.MailFormTableAdapter = null;
|
||||
this.tam.ProjectsTableAdapter = null;
|
||||
this.tam.PurchaseTableAdapter = null;
|
||||
this.tam.RequestItemTableAdapter = null;
|
||||
this.tam.StaffTableAdapter = null;
|
||||
this.tam.UpdateOrder = FCM0000.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
|
||||
//
|
||||
// bn
|
||||
//
|
||||
this.bn.AddNewItem = this.bindingNavigatorAddNewItem;
|
||||
@@ -129,6 +99,7 @@
|
||||
this.bn.DeleteItem = this.bindingNavigatorDeleteItem;
|
||||
this.bn.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.toolStripLabel6,
|
||||
this.bindingNavigatorMoveFirstItem,
|
||||
this.bindingNavigatorMovePreviousItem,
|
||||
this.bindingNavigatorSeparator,
|
||||
@@ -159,8 +130,18 @@
|
||||
this.bindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image")));
|
||||
this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem";
|
||||
this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(65, 22);
|
||||
this.bindingNavigatorAddNewItem.Text = "Add(&A)";
|
||||
this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(67, 22);
|
||||
this.bindingNavigatorAddNewItem.Text = "추가(&A)";
|
||||
//
|
||||
// bs
|
||||
//
|
||||
this.bs.DataMember = "Common";
|
||||
this.bs.DataSource = this.dsMSSQL;
|
||||
//
|
||||
// dsMSSQL
|
||||
//
|
||||
this.dsMSSQL.DataSetName = "dsMSSQL";
|
||||
this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
||||
//
|
||||
// bindingNavigatorCountItem
|
||||
//
|
||||
@@ -174,8 +155,15 @@
|
||||
this.bindingNavigatorDeleteItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image")));
|
||||
this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem";
|
||||
this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(78, 22);
|
||||
this.bindingNavigatorDeleteItem.Text = "Delete(&D)";
|
||||
this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(68, 22);
|
||||
this.bindingNavigatorDeleteItem.Text = "삭제(&D)";
|
||||
//
|
||||
// toolStripLabel6
|
||||
//
|
||||
this.toolStripLabel6.ForeColor = System.Drawing.Color.Gray;
|
||||
this.toolStripLabel6.Name = "toolStripLabel6";
|
||||
this.toolStripLabel6.Size = new System.Drawing.Size(62, 22);
|
||||
this.toolStripLabel6.Text = "[CM0000]";
|
||||
//
|
||||
// bindingNavigatorMoveFirstItem
|
||||
//
|
||||
@@ -241,8 +229,8 @@
|
||||
//
|
||||
this.commonBindingNavigatorSaveItem.Image = ((System.Drawing.Image)(resources.GetObject("commonBindingNavigatorSaveItem.Image")));
|
||||
this.commonBindingNavigatorSaveItem.Name = "commonBindingNavigatorSaveItem";
|
||||
this.commonBindingNavigatorSaveItem.Size = new System.Drawing.Size(67, 22);
|
||||
this.commonBindingNavigatorSaveItem.Text = "Save(&S)";
|
||||
this.commonBindingNavigatorSaveItem.Size = new System.Drawing.Size(66, 22);
|
||||
this.commonBindingNavigatorSaveItem.Text = "저장(&S)";
|
||||
this.commonBindingNavigatorSaveItem.Click += new System.EventHandler(this.commonBindingNavigatorSaveItem_Click);
|
||||
//
|
||||
// toolStripSeparator1
|
||||
@@ -324,6 +312,27 @@
|
||||
this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
|
||||
this.dataGridViewTextBoxColumn6.Width = 42;
|
||||
//
|
||||
// ta
|
||||
//
|
||||
this.ta.ClearBeforeFill = true;
|
||||
//
|
||||
// tam
|
||||
//
|
||||
this.tam.BackupDataSetBeforeUpdate = false;
|
||||
this.tam.BoardTableAdapter = null;
|
||||
this.tam.CommonTableAdapter = this.ta;
|
||||
this.tam.CustomsTableAdapter = null;
|
||||
this.tam.HolidayLIstTableAdapter = null;
|
||||
this.tam.InventoryUserTableAdapter = null;
|
||||
this.tam.ItemsTableAdapter = null;
|
||||
this.tam.MailDataTableAdapter = null;
|
||||
this.tam.MailFormTableAdapter = null;
|
||||
this.tam.ProjectsTableAdapter = null;
|
||||
this.tam.PurchaseTableAdapter = null;
|
||||
this.tam.RequestItemTableAdapter = null;
|
||||
this.tam.StaffTableAdapter = null;
|
||||
this.tam.UpdateOrder = FCM0000.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
|
||||
//
|
||||
// fCode
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 19F);
|
||||
@@ -341,11 +350,11 @@
|
||||
this.Text = "Common Code List";
|
||||
this.Load += new System.EventHandler(this.@__Load);
|
||||
this.panel1.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit();
|
||||
this.bn.ResumeLayout(false);
|
||||
this.bn.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.commonDataGridView)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
@@ -382,5 +391,6 @@
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
|
||||
private System.Windows.Forms.ToolStripDropDownButton toolStripButton1;
|
||||
private System.Windows.Forms.ToolStripMenuItem 코드일괄생성ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripLabel toolStripLabel6;
|
||||
}
|
||||
}
|
||||
@@ -117,18 +117,6 @@
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>122, 17</value>
|
||||
</metadata>
|
||||
<metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>186, 17</value>
|
||||
</metadata>
|
||||
<metadata name="tam.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>248, 17</value>
|
||||
</metadata>
|
||||
<metadata name="bn.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>321, 17</value>
|
||||
</metadata>
|
||||
@@ -145,6 +133,12 @@
|
||||
rkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<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>
|
||||
<data name="bindingNavigatorDeleteItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
@@ -219,4 +213,13 @@
|
||||
TgDQASA1MVpwzwAAAABJRU5ErkJggg==
|
||||
</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>
|
||||
</root>
|
||||
Reference in New Issue
Block a user