추석전 변경사항

This commit is contained in:
chikyun.kim
2018-09-26 08:20:12 +09:00
parent 6ddd4736a3
commit 30583ad369
260 changed files with 4266 additions and 404 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
</configSections>
<connectionStrings>
<add name="FEQ0000.Properties.Settings.gwcs" connectionString="Data Source=10.131.36.205;Initial Catalog=GroupWare;Persist Security Info=True;User ID=gw;Password=Amkor123!"
providerName="System.Data.SqlClient" />
</connectionStrings>
</configuration>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
</configSections>
<connectionStrings>
<add name="FEQ0000.Properties.Settings.gwcs" connectionString="Data Source=10.131.36.205;Initial Catalog=GroupWare;Persist Security Info=True;User ID=gw;Password=Amkor123!"
providerName="System.Data.SqlClient" />
</connectionStrings>
</configuration>

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<requestedExecutionLevel level="asInvoker" uiAccess="false"/>
</requestedPrivileges>
</security>
</trustInfo>
</assembly>

Binary file not shown.

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
</configSections>
<connectionStrings>
<add name="FEQ0000.Properties.Settings.gwcs" connectionString="Data Source=10.131.36.205;Initial Catalog=GroupWare;Persist Security Info=True;User ID=gw;Password=Amkor123!"
providerName="System.Data.SqlClient" />
</connectionStrings>
</configuration>

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
</configSections>
<connectionStrings>
<add name="FEQ0000.Properties.Settings.gwcs" connectionString="Data Source=10.131.36.205;Initial Catalog=GroupWare;Persist Security Info=True;User ID=gw;Password=Amkor123!"
providerName="System.Data.SqlClient" />
</connectionStrings>
</configuration>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1678,11 +1678,11 @@ namespace FCM0000 {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string name {
get {
try {
return ((string)(this[this.tableItems.nameColumn]));
if (this.IsnameNull()) {
return string.Empty;
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("\'Items\' 테이블의 \'name\' 열의 값이 DBNull입니다.", e);
else {
return ((string)(this[this.tableItems.nameColumn]));
}
}
set {
@@ -1694,11 +1694,11 @@ namespace FCM0000 {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string sid {
get {
try {
return ((string)(this[this.tableItems.sidColumn]));
if (this.IssidNull()) {
return string.Empty;
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("\'Items\' 테이블의 \'sid\' 열의 값이 DBNull입니다.", e);
else {
return ((string)(this[this.tableItems.sidColumn]));
}
}
set {
@@ -1710,11 +1710,11 @@ namespace FCM0000 {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string model {
get {
try {
return ((string)(this[this.tableItems.modelColumn]));
if (this.IsmodelNull()) {
return string.Empty;
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("\'Items\' 테이블의 \'model\' 열의 값이 DBNull입니다.", e);
else {
return ((string)(this[this.tableItems.modelColumn]));
}
}
set {
@@ -1726,11 +1726,11 @@ namespace FCM0000 {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string manu {
get {
try {
return ((string)(this[this.tableItems.manuColumn]));
if (this.IsmanuNull()) {
return string.Empty;
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("\'Items\' 테이블의 \'manu\' 열의 값이 DBNull입니다.", e);
else {
return ((string)(this[this.tableItems.manuColumn]));
}
}
set {
@@ -1742,11 +1742,11 @@ namespace FCM0000 {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string supply {
get {
try {
return ((string)(this[this.tableItems.supplyColumn]));
if (this.IssupplyNull()) {
return string.Empty;
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("\'Items\' 테이블의 \'supply\' 열의 값이 DBNull입니다.", e);
else {
return ((string)(this[this.tableItems.supplyColumn]));
}
}
set {
@@ -1758,11 +1758,11 @@ namespace FCM0000 {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string memo {
get {
try {
return ((string)(this[this.tableItems.memoColumn]));
if (this.IsmemoNull()) {
return string.Empty;
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("\'Items\' 테이블의 \'memo\' 열의 값이 DBNull입니다.", e);
else {
return ((string)(this[this.tableItems.memoColumn]));
}
}
set {
@@ -1812,11 +1812,11 @@ namespace FCM0000 {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string cate {
get {
try {
return ((string)(this[this.tableItems.cateColumn]));
if (this.IscateNull()) {
return string.Empty;
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("\'Items\' 테이블의 \'cate\' 열의 값이 DBNull입니다.", e);
else {
return ((string)(this[this.tableItems.cateColumn]));
}
}
set {
@@ -2014,11 +2014,11 @@ namespace FCM0000 {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public int dr_qty {
get {
try {
return ((int)(this[this.tableInventory.dr_qtyColumn]));
if (this.Isdr_qtyNull()) {
return 0;
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("\'Inventory\' 테이블의 \'dr_qty\' 열의 값이 DBNull입니다.", e);
else {
return ((int)(this[this.tableInventory.dr_qtyColumn]));
}
}
set {
@@ -2030,11 +2030,11 @@ namespace FCM0000 {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal dr_amt {
get {
try {
return ((decimal)(this[this.tableInventory.dr_amtColumn]));
if (this.Isdr_amtNull()) {
return 0m;
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("\'Inventory\' 테이블의 \'dr_amt\' 열의 값이 DBNull입니다.", e);
else {
return ((decimal)(this[this.tableInventory.dr_amtColumn]));
}
}
set {
@@ -2046,11 +2046,11 @@ namespace FCM0000 {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public int cr_qty {
get {
try {
return ((int)(this[this.tableInventory.cr_qtyColumn]));
if (this.Iscr_qtyNull()) {
return 0;
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("\'Inventory\' 테이블의 \'cr_qty\' 열의 값이 DBNull입니다.", e);
else {
return ((int)(this[this.tableInventory.cr_qtyColumn]));
}
}
set {

View File

@@ -452,49 +452,49 @@ WHERE (ISNULL(name, N'') LIKE @search) OR
<xs:complexType>
<xs:sequence>
<xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" />
<xs:element name="name" msprop:Generator_ColumnVarNameInTable="columnname" msprop:Generator_ColumnPropNameInRow="name" msprop:Generator_ColumnPropNameInTable="nameColumn" msprop:Generator_UserColumnName="name" minOccurs="0">
<xs:element name="name" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="name" msprop:Generator_ColumnVarNameInTable="columnname" msprop:Generator_ColumnPropNameInTable="nameColumn" msprop:Generator_UserColumnName="name" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</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:element name="sid" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="sid" msprop:Generator_ColumnVarNameInTable="columnsid" 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:element name="model" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="model" msprop:Generator_ColumnVarNameInTable="columnmodel" msprop:Generator_ColumnPropNameInTable="modelColumn" msprop:Generator_UserColumnName="model" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="manu" msprop:Generator_ColumnVarNameInTable="columnmanu" msprop:Generator_ColumnPropNameInRow="manu" msprop:Generator_ColumnPropNameInTable="manuColumn" msprop:Generator_UserColumnName="manu" minOccurs="0">
<xs:element name="manu" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="manu" msprop:Generator_ColumnVarNameInTable="columnmanu" msprop:Generator_ColumnPropNameInTable="manuColumn" msprop:Generator_UserColumnName="manu" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="supply" msprop:Generator_ColumnVarNameInTable="columnsupply" msprop:Generator_ColumnPropNameInRow="supply" msprop:Generator_ColumnPropNameInTable="supplyColumn" msprop:Generator_UserColumnName="supply" minOccurs="0">
<xs:element name="supply" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="supply" msprop:Generator_ColumnVarNameInTable="columnsupply" msprop:Generator_ColumnPropNameInTable="supplyColumn" msprop:Generator_UserColumnName="supply" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="memo" msprop:Generator_ColumnVarNameInTable="columnmemo" msprop:Generator_ColumnPropNameInRow="memo" msprop:Generator_ColumnPropNameInTable="memoColumn" msprop:Generator_UserColumnName="memo" minOccurs="0">
<xs:element name="memo" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="memo" msprop:Generator_ColumnVarNameInTable="columnmemo" msprop:Generator_ColumnPropNameInTable="memoColumn" msprop:Generator_UserColumnName="memo" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="255" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="wuid" msprop:Generator_ColumnVarNameInTable="columnwuid" msprop:Generator_ColumnPropNameInRow="wuid" msprop:Generator_ColumnPropNameInTable="wuidColumn" msprop:Generator_UserColumnName="wuid">
<xs:element name="wuid" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="wuid" msprop:Generator_ColumnVarNameInTable="columnwuid" msprop:Generator_ColumnPropNameInTable="wuidColumn" msprop:Generator_UserColumnName="wuid">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20" />
@@ -503,7 +503,7 @@ WHERE (ISNULL(name, N'') LIKE @search) OR
</xs:element>
<xs:element name="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_UserColumnName="wdate" type="xs:dateTime" />
<xs:element name="price" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="price" msprop:Generator_ColumnVarNameInTable="columnprice" msprop:Generator_ColumnPropNameInTable="priceColumn" msprop:Generator_UserColumnName="price" type="xs:decimal" minOccurs="0" />
<xs:element name="cate" msprop:Generator_ColumnVarNameInTable="columncate" msprop:Generator_ColumnPropNameInRow="cate" msprop:Generator_ColumnPropNameInTable="cateColumn" msprop:Generator_UserColumnName="cate" minOccurs="0">
<xs:element name="cate" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="cate" msprop:Generator_ColumnVarNameInTable="columncate" msprop:Generator_ColumnPropNameInTable="cateColumn" msprop:Generator_UserColumnName="cate" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20" />
@@ -539,9 +539,9 @@ WHERE (ISNULL(name, N'') LIKE @search) OR
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="dr_qty" msprop:Generator_ColumnVarNameInTable="columndr_qty" msprop:Generator_ColumnPropNameInRow="dr_qty" msprop:Generator_ColumnPropNameInTable="dr_qtyColumn" msprop:Generator_UserColumnName="dr_qty" type="xs:int" minOccurs="0" />
<xs:element name="dr_amt" msprop:Generator_ColumnVarNameInTable="columndr_amt" msprop:Generator_ColumnPropNameInRow="dr_amt" msprop:Generator_ColumnPropNameInTable="dr_amtColumn" msprop:Generator_UserColumnName="dr_amt" type="xs:decimal" minOccurs="0" />
<xs:element name="cr_qty" msprop:Generator_ColumnVarNameInTable="columncr_qty" msprop:Generator_ColumnPropNameInRow="cr_qty" msprop:Generator_ColumnPropNameInTable="cr_qtyColumn" msprop:Generator_UserColumnName="cr_qty" type="xs:int" minOccurs="0" />
<xs:element name="dr_qty" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="dr_qty" msprop:Generator_ColumnVarNameInTable="columndr_qty" msprop:Generator_ColumnPropNameInTable="dr_qtyColumn" msprop:Generator_UserColumnName="dr_qty" type="xs:int" minOccurs="0" />
<xs:element name="dr_amt" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="dr_amt" msprop:Generator_ColumnVarNameInTable="columndr_amt" msprop:Generator_ColumnPropNameInTable="dr_amtColumn" msprop:Generator_UserColumnName="dr_amt" type="xs:decimal" minOccurs="0" />
<xs:element name="cr_qty" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="cr_qty" msprop:Generator_ColumnVarNameInTable="columncr_qty" msprop:Generator_ColumnPropNameInTable="cr_qtyColumn" msprop:Generator_UserColumnName="cr_qty" type="xs:int" minOccurs="0" />
<xs:element name="cr_amt" msprop:Generator_ColumnVarNameInTable="columncr_amt" msprop:Generator_ColumnPropNameInRow="cr_amt" msprop:Generator_ColumnPropNameInTable="cr_amtColumn" msprop:Generator_UserColumnName="cr_amt" type="xs:decimal" minOccurs="0" />
<xs:element name="memo" msprop:Generator_ColumnVarNameInTable="columnmemo" msprop:Generator_ColumnPropNameInRow="memo" msprop:Generator_ColumnPropNameInTable="memoColumn" msprop:Generator_UserColumnName="memo" minOccurs="0">
<xs:simpleType>

View File

@@ -208,7 +208,7 @@ namespace FCM0000
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_item"].Value = f.item;
dv1.Rows[e.RowIndex].Cells["dvc_itemName"].Value = f.itemName;
}
}

View File

@@ -29,46 +29,46 @@
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fItems));
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = 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.itemsBindingNavigatorSaveItem = new System.Windows.Forms.ToolStripButton();
this.dv1 = new System.Windows.Forms.DataGridView();
this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components);
this.autoColumnSizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.cm1ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.cate = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.price = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.cate = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.price = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.bs = new System.Windows.Forms.BindingSource(this.components);
this.dsMSSQL = new FCM0000.dsMSSQL();
this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components);
this.autoColumnSizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.cm1ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ta = new FCM0000.dsMSSQLTableAdapters.ItemsTableAdapter();
this.tam = new FCM0000.dsMSSQLTableAdapters.TableAdapterManager();
this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton();
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.itemsBindingNavigatorSaveItem = new System.Windows.Forms.ToolStripButton();
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
this.bn.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dv1)).BeginInit();
this.cm1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dv1)).BeginInit();
this.cm1.SuspendLayout();
this.SuspendLayout();
//
// bn
@@ -103,13 +103,15 @@
this.bn.TabIndex = 0;
this.bn.Text = "bindingNavigator1";
//
// bindingNavigatorAddNewItem
// bs
//
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.bs.DataMember = "Items";
this.bs.DataSource = this.dsMSSQL;
//
// dsMSSQL
//
this.dsMSSQL.DataSetName = "dsMSSQL";
this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
//
// bindingNavigatorCountItem
//
@@ -118,32 +120,6 @@
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";
@@ -163,37 +139,11 @@
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);
//
// itemsBindingNavigatorSaveItem
//
this.itemsBindingNavigatorSaveItem.Image = ((System.Drawing.Image)(resources.GetObject("itemsBindingNavigatorSaveItem.Image")));
this.itemsBindingNavigatorSaveItem.Name = "itemsBindingNavigatorSaveItem";
this.itemsBindingNavigatorSaveItem.Size = new System.Drawing.Size(67, 22);
this.itemsBindingNavigatorSaveItem.Text = "Save(&S)";
this.itemsBindingNavigatorSaveItem.Click += new System.EventHandler(this.itemsBindingNavigatorSaveItem_Click);
//
// dv1
//
this.dv1.AllowUserToAddRows = false;
@@ -218,27 +168,18 @@
this.dv1.RowTemplate.Height = 23;
this.dv1.Size = new System.Drawing.Size(735, 481);
this.dv1.TabIndex = 1;
this.dv1.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dv1_DataError);
//
// cm1
// dataGridViewTextBoxColumn1
//
this.cm1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.autoColumnSizeToolStripMenuItem,
this.cm1ToolStripMenuItem});
this.cm1.Name = "cm1";
this.cm1.Size = new System.Drawing.Size(170, 48);
//
// autoColumnSizeToolStripMenuItem
//
this.autoColumnSizeToolStripMenuItem.Name = "autoColumnSizeToolStripMenuItem";
this.autoColumnSizeToolStripMenuItem.Size = new System.Drawing.Size(169, 22);
this.autoColumnSizeToolStripMenuItem.Text = "AutoColumn Size";
this.autoColumnSizeToolStripMenuItem.Click += new System.EventHandler(this.autoColumnSizeToolStripMenuItem_Click);
//
// cm1ToolStripMenuItem
//
this.cm1ToolStripMenuItem.Name = "cm1ToolStripMenuItem";
this.cm1ToolStripMenuItem.Size = new System.Drawing.Size(169, 22);
this.cm1ToolStripMenuItem.Text = "cm1";
this.dataGridViewTextBoxColumn1.DataPropertyName = "idx";
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle1;
this.dataGridViewTextBoxColumn1.HeaderText = "idx";
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
this.dataGridViewTextBoxColumn1.ReadOnly = true;
this.dataGridViewTextBoxColumn1.Width = 47;
//
// cate
//
@@ -246,25 +187,6 @@
this.cate.HeaderText = "Category";
this.cate.Name = "cate";
//
// price
//
this.price.DataPropertyName = "price";
dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
this.price.DefaultCellStyle = dataGridViewCellStyle6;
this.price.HeaderText = "price";
this.price.Name = "price";
//
// dataGridViewTextBoxColumn1
//
this.dataGridViewTextBoxColumn1.DataPropertyName = "idx";
dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle5;
this.dataGridViewTextBoxColumn1.HeaderText = "idx";
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
this.dataGridViewTextBoxColumn1.ReadOnly = true;
this.dataGridViewTextBoxColumn1.Width = 47;
//
// dataGridViewTextBoxColumn2
//
this.dataGridViewTextBoxColumn2.DataPropertyName = "name";
@@ -300,6 +222,14 @@
this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
this.dataGridViewTextBoxColumn6.Width = 68;
//
// price
//
this.price.DataPropertyName = "price";
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
this.price.DefaultCellStyle = dataGridViewCellStyle2;
this.price.HeaderText = "price";
this.price.Name = "price";
//
// dataGridViewTextBoxColumn7
//
this.dataGridViewTextBoxColumn7.DataPropertyName = "memo";
@@ -307,15 +237,26 @@
this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
this.dataGridViewTextBoxColumn7.Width = 66;
//
// bs
// cm1
//
this.bs.DataMember = "Items";
this.bs.DataSource = this.dsMSSQL;
this.cm1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.autoColumnSizeToolStripMenuItem,
this.cm1ToolStripMenuItem});
this.cm1.Name = "cm1";
this.cm1.Size = new System.Drawing.Size(170, 48);
//
// dsMSSQL
// autoColumnSizeToolStripMenuItem
//
this.dsMSSQL.DataSetName = "dsMSSQL";
this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
this.autoColumnSizeToolStripMenuItem.Name = "autoColumnSizeToolStripMenuItem";
this.autoColumnSizeToolStripMenuItem.Size = new System.Drawing.Size(169, 22);
this.autoColumnSizeToolStripMenuItem.Text = "AutoColumn Size";
this.autoColumnSizeToolStripMenuItem.Click += new System.EventHandler(this.autoColumnSizeToolStripMenuItem_Click);
//
// cm1ToolStripMenuItem
//
this.cm1ToolStripMenuItem.Name = "cm1ToolStripMenuItem";
this.cm1ToolStripMenuItem.Size = new System.Drawing.Size(169, 22);
this.cm1ToolStripMenuItem.Text = "cm1";
//
// ta
//
@@ -329,6 +270,66 @@
this.tam.ProjectsTableAdapter = null;
this.tam.UpdateOrder = FCM0000.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
//
// 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)";
//
// 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 = "이전으로 이동";
//
// 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 = "마지막으로 이동";
//
// itemsBindingNavigatorSaveItem
//
this.itemsBindingNavigatorSaveItem.Image = ((System.Drawing.Image)(resources.GetObject("itemsBindingNavigatorSaveItem.Image")));
this.itemsBindingNavigatorSaveItem.Name = "itemsBindingNavigatorSaveItem";
this.itemsBindingNavigatorSaveItem.Size = new System.Drawing.Size(67, 22);
this.itemsBindingNavigatorSaveItem.Text = "Save(&S)";
this.itemsBindingNavigatorSaveItem.Click += new System.EventHandler(this.itemsBindingNavigatorSaveItem_Click);
//
// toolStripButton1
//
this.toolStripButton1.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
@@ -352,10 +353,10 @@
((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit();
this.bn.ResumeLayout(false);
this.bn.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.dv1)).EndInit();
this.cm1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.dv1)).EndInit();
this.cm1.ResumeLayout(false);
this.ResumeLayout(false);
this.PerformLayout();

View File

@@ -74,6 +74,11 @@ namespace FCM0000
refreshData();
}
private void dv1_DataError(object sender, DataGridViewDataErrorEventArgs e)
{
}
}
}

View File

@@ -207,9 +207,6 @@
<metadata name="cm1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>387, 17</value>
</metadata>
<metadata name="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>

View File

@@ -11,6 +11,13 @@ namespace FCM0000
{
public partial class fLovItem : Form
{
public string itemName = string.Empty;
public int item = -1;
public string itemmodel = string.Empty;
public decimal itemprice = 0;
public string SID = string.Empty;
public string itemSupply = string.Empty;
string keyword = string.Empty;
public fLovItem(string search_)
{
@@ -31,12 +38,11 @@ namespace FCM0000
private void itemsBindingNavigatorSaveItem_Click(object sender, EventArgs e)
{
if (itemName.isEmpty() || Item == -1) DialogResult = System.Windows.Forms.DialogResult.Cancel;
if (itemName.isEmpty() || item == -1) DialogResult = System.Windows.Forms.DialogResult.Cancel;
else DialogResult = System.Windows.Forms.DialogResult.OK;
}
public string itemName = string.Empty;
public int Item = -1;
private void bs_CurrentChanged(object sender, EventArgs e)
{
@@ -50,14 +56,22 @@ namespace FCM0000
if (drv == null)
{
itemName = string.Empty;
Item = -1;
item = -1;
itemmodel = string.Empty;
itemprice = 0;
itemSupply = string.Empty;
SID = string.Empty;
return;
}
else
{
var dr = drv.Row as dsMSSQL.ItemsRow;
Item = dr.idx;
item = dr.idx;
itemName = dr.name;
itemmodel = dr.model;
itemprice = dr.price;
itemSupply = dr.supply;
SID = dr.sid;
}
btOK.PerformClick();
}

View File

@@ -29,9 +29,6 @@
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fLovProject));
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.Label pdateLabel;
System.Windows.Forms.Label requestLabel;
System.Windows.Forms.Label reqstaffLabel;
@@ -39,6 +36,9 @@
System.Windows.Forms.Label edateLabel;
System.Windows.Forms.Label odateLabel;
System.Windows.Forms.Label memoLabel;
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fLovProject));
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
this.dsMSSQL = new FCM0000.dsMSSQL();
this.bs = new System.Windows.Forms.BindingSource(this.components);
this.bn = new System.Windows.Forms.BindingNavigator(this.components);
@@ -56,8 +56,6 @@
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.panel1 = new System.Windows.Forms.Panel();
this.ta = new FCM0000.dsMSSQLTableAdapters.ProjectsTableAdapter();
this.tableAdapterManager = new FCM0000.dsMSSQLTableAdapters.TableAdapterManager();
this.pdateTextBox = new System.Windows.Forms.TextBox();
this.requestTextBox = new System.Windows.Forms.TextBox();
this.reqstaffTextBox = new System.Windows.Forms.TextBox();
@@ -65,6 +63,8 @@
this.edateTextBox = new System.Windows.Forms.TextBox();
this.odateTextBox = new System.Windows.Forms.TextBox();
this.memoTextBox = new System.Windows.Forms.TextBox();
this.ta = new FCM0000.dsMSSQLTableAdapters.ProjectsTableAdapter();
this.tableAdapterManager = new FCM0000.dsMSSQLTableAdapters.TableAdapterManager();
pdateLabel = new System.Windows.Forms.Label();
requestLabel = new System.Windows.Forms.Label();
reqstaffLabel = new System.Windows.Forms.Label();
@@ -80,6 +80,69 @@
this.panel1.SuspendLayout();
this.SuspendLayout();
//
// pdateLabel
//
pdateLabel.AutoSize = true;
pdateLabel.Location = new System.Drawing.Point(27, 15);
pdateLabel.Name = "pdateLabel";
pdateLabel.Size = new System.Drawing.Size(60, 22);
pdateLabel.TabIndex = 4;
pdateLabel.Text = "pdate:";
//
// requestLabel
//
requestLabel.AutoSize = true;
requestLabel.Location = new System.Drawing.Point(27, 49);
requestLabel.Name = "requestLabel";
requestLabel.Size = new System.Drawing.Size(74, 22);
requestLabel.TabIndex = 6;
requestLabel.Text = "request:";
//
// reqstaffLabel
//
reqstaffLabel.AutoSize = true;
reqstaffLabel.Location = new System.Drawing.Point(27, 83);
reqstaffLabel.Name = "reqstaffLabel";
reqstaffLabel.Size = new System.Drawing.Size(76, 22);
reqstaffLabel.TabIndex = 8;
reqstaffLabel.Text = "reqstaff:";
//
// sdateLabel
//
sdateLabel.AutoSize = true;
sdateLabel.Location = new System.Drawing.Point(27, 117);
sdateLabel.Name = "sdateLabel";
sdateLabel.Size = new System.Drawing.Size(58, 22);
sdateLabel.TabIndex = 10;
sdateLabel.Text = "sdate:";
//
// edateLabel
//
edateLabel.AutoSize = true;
edateLabel.Location = new System.Drawing.Point(27, 151);
edateLabel.Name = "edateLabel";
edateLabel.Size = new System.Drawing.Size(59, 22);
edateLabel.TabIndex = 12;
edateLabel.Text = "edate:";
//
// odateLabel
//
odateLabel.AutoSize = true;
odateLabel.Location = new System.Drawing.Point(27, 185);
odateLabel.Name = "odateLabel";
odateLabel.Size = new System.Drawing.Size(60, 22);
odateLabel.TabIndex = 14;
odateLabel.Text = "odate:";
//
// memoLabel
//
memoLabel.AutoSize = true;
memoLabel.Location = new System.Drawing.Point(27, 219);
memoLabel.Name = "memoLabel";
memoLabel.Size = new System.Drawing.Size(65, 22);
memoLabel.TabIndex = 16;
memoLabel.Text = "memo:";
//
// dsMSSQL
//
this.dsMSSQL.DataSetName = "dsMSSQL";
@@ -226,6 +289,7 @@
this.dv.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dv.Size = new System.Drawing.Size(450, 408);
this.dv.TabIndex = 1;
this.dv.DoubleClick += new System.EventHandler(this.dv_DoubleClick);
this.dv.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dv_KeyDown);
//
// dataGridViewTextBoxColumn1
@@ -269,6 +333,70 @@
this.panel1.Size = new System.Drawing.Size(321, 408);
this.panel1.TabIndex = 2;
//
// pdateTextBox
//
this.pdateTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "pdate", true));
this.pdateTextBox.Location = new System.Drawing.Point(109, 12);
this.pdateTextBox.Name = "pdateTextBox";
this.pdateTextBox.ReadOnly = true;
this.pdateTextBox.Size = new System.Drawing.Size(200, 28);
this.pdateTextBox.TabIndex = 5;
//
// requestTextBox
//
this.requestTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "request", true));
this.requestTextBox.Location = new System.Drawing.Point(109, 46);
this.requestTextBox.Name = "requestTextBox";
this.requestTextBox.ReadOnly = true;
this.requestTextBox.Size = new System.Drawing.Size(200, 28);
this.requestTextBox.TabIndex = 7;
//
// reqstaffTextBox
//
this.reqstaffTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "reqstaff", true));
this.reqstaffTextBox.Location = new System.Drawing.Point(109, 80);
this.reqstaffTextBox.Name = "reqstaffTextBox";
this.reqstaffTextBox.ReadOnly = true;
this.reqstaffTextBox.Size = new System.Drawing.Size(200, 28);
this.reqstaffTextBox.TabIndex = 9;
//
// sdateTextBox
//
this.sdateTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "sdate", true));
this.sdateTextBox.Location = new System.Drawing.Point(109, 114);
this.sdateTextBox.Name = "sdateTextBox";
this.sdateTextBox.ReadOnly = true;
this.sdateTextBox.Size = new System.Drawing.Size(200, 28);
this.sdateTextBox.TabIndex = 11;
//
// edateTextBox
//
this.edateTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "edate", true));
this.edateTextBox.Location = new System.Drawing.Point(109, 148);
this.edateTextBox.Name = "edateTextBox";
this.edateTextBox.ReadOnly = true;
this.edateTextBox.Size = new System.Drawing.Size(200, 28);
this.edateTextBox.TabIndex = 13;
//
// odateTextBox
//
this.odateTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "odate", true));
this.odateTextBox.Location = new System.Drawing.Point(109, 182);
this.odateTextBox.Name = "odateTextBox";
this.odateTextBox.ReadOnly = true;
this.odateTextBox.Size = new System.Drawing.Size(200, 28);
this.odateTextBox.TabIndex = 15;
//
// memoTextBox
//
this.memoTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "memo", true));
this.memoTextBox.Location = new System.Drawing.Point(109, 216);
this.memoTextBox.Multiline = true;
this.memoTextBox.Name = "memoTextBox";
this.memoTextBox.ReadOnly = true;
this.memoTextBox.Size = new System.Drawing.Size(200, 176);
this.memoTextBox.TabIndex = 17;
//
// ta
//
this.ta.ClearBeforeFill = true;
@@ -281,133 +409,6 @@
this.tableAdapterManager.ProjectsTableAdapter = this.ta;
this.tableAdapterManager.UpdateOrder = FCM0000.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
//
// pdateLabel
//
pdateLabel.AutoSize = true;
pdateLabel.Location = new System.Drawing.Point(27, 15);
pdateLabel.Name = "pdateLabel";
pdateLabel.Size = new System.Drawing.Size(60, 22);
pdateLabel.TabIndex = 4;
pdateLabel.Text = "pdate:";
//
// pdateTextBox
//
this.pdateTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "pdate", true));
this.pdateTextBox.Location = new System.Drawing.Point(109, 12);
this.pdateTextBox.Name = "pdateTextBox";
this.pdateTextBox.ReadOnly = true;
this.pdateTextBox.Size = new System.Drawing.Size(200, 28);
this.pdateTextBox.TabIndex = 5;
//
// requestLabel
//
requestLabel.AutoSize = true;
requestLabel.Location = new System.Drawing.Point(27, 49);
requestLabel.Name = "requestLabel";
requestLabel.Size = new System.Drawing.Size(74, 22);
requestLabel.TabIndex = 6;
requestLabel.Text = "request:";
//
// requestTextBox
//
this.requestTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "request", true));
this.requestTextBox.Location = new System.Drawing.Point(109, 46);
this.requestTextBox.Name = "requestTextBox";
this.requestTextBox.ReadOnly = true;
this.requestTextBox.Size = new System.Drawing.Size(200, 28);
this.requestTextBox.TabIndex = 7;
//
// reqstaffLabel
//
reqstaffLabel.AutoSize = true;
reqstaffLabel.Location = new System.Drawing.Point(27, 83);
reqstaffLabel.Name = "reqstaffLabel";
reqstaffLabel.Size = new System.Drawing.Size(76, 22);
reqstaffLabel.TabIndex = 8;
reqstaffLabel.Text = "reqstaff:";
//
// reqstaffTextBox
//
this.reqstaffTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "reqstaff", true));
this.reqstaffTextBox.Location = new System.Drawing.Point(109, 80);
this.reqstaffTextBox.Name = "reqstaffTextBox";
this.reqstaffTextBox.ReadOnly = true;
this.reqstaffTextBox.Size = new System.Drawing.Size(200, 28);
this.reqstaffTextBox.TabIndex = 9;
//
// sdateLabel
//
sdateLabel.AutoSize = true;
sdateLabel.Location = new System.Drawing.Point(27, 117);
sdateLabel.Name = "sdateLabel";
sdateLabel.Size = new System.Drawing.Size(58, 22);
sdateLabel.TabIndex = 10;
sdateLabel.Text = "sdate:";
//
// sdateTextBox
//
this.sdateTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "sdate", true));
this.sdateTextBox.Location = new System.Drawing.Point(109, 114);
this.sdateTextBox.Name = "sdateTextBox";
this.sdateTextBox.ReadOnly = true;
this.sdateTextBox.Size = new System.Drawing.Size(200, 28);
this.sdateTextBox.TabIndex = 11;
//
// edateLabel
//
edateLabel.AutoSize = true;
edateLabel.Location = new System.Drawing.Point(27, 151);
edateLabel.Name = "edateLabel";
edateLabel.Size = new System.Drawing.Size(59, 22);
edateLabel.TabIndex = 12;
edateLabel.Text = "edate:";
//
// edateTextBox
//
this.edateTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "edate", true));
this.edateTextBox.Location = new System.Drawing.Point(109, 148);
this.edateTextBox.Name = "edateTextBox";
this.edateTextBox.ReadOnly = true;
this.edateTextBox.Size = new System.Drawing.Size(200, 28);
this.edateTextBox.TabIndex = 13;
//
// odateLabel
//
odateLabel.AutoSize = true;
odateLabel.Location = new System.Drawing.Point(27, 185);
odateLabel.Name = "odateLabel";
odateLabel.Size = new System.Drawing.Size(60, 22);
odateLabel.TabIndex = 14;
odateLabel.Text = "odate:";
//
// odateTextBox
//
this.odateTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "odate", true));
this.odateTextBox.Location = new System.Drawing.Point(109, 182);
this.odateTextBox.Name = "odateTextBox";
this.odateTextBox.ReadOnly = true;
this.odateTextBox.Size = new System.Drawing.Size(200, 28);
this.odateTextBox.TabIndex = 15;
//
// memoLabel
//
memoLabel.AutoSize = true;
memoLabel.Location = new System.Drawing.Point(27, 219);
memoLabel.Name = "memoLabel";
memoLabel.Size = new System.Drawing.Size(65, 22);
memoLabel.TabIndex = 16;
memoLabel.Text = "memo:";
//
// memoTextBox
//
this.memoTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "memo", true));
this.memoTextBox.Location = new System.Drawing.Point(109, 216);
this.memoTextBox.Multiline = true;
this.memoTextBox.Name = "memoTextBox";
this.memoTextBox.ReadOnly = true;
this.memoTextBox.Size = new System.Drawing.Size(200, 176);
this.memoTextBox.TabIndex = 17;
//
// fLovProject
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;

View File

@@ -11,10 +11,16 @@ namespace FCM0000
{
public partial class fLovProject : Form
{
public string ProjectName { get; set; }
public int Project { get; set; }
string keyword = string.Empty;
public fLovProject(string search_)
{
InitializeComponent();
ProjectName = string.Empty;
Project = -1;
this.keyword = search_;
this.KeyPreview = true;
this.KeyDown += (s1, e1) => {
@@ -29,14 +35,7 @@ namespace FCM0000
this.ta.FillSearch(this.dsMSSQL.Projects,this.keyword);
}
private void itemsBindingNavigatorSaveItem_Click(object sender, EventArgs e)
{
if (ProjectName.isEmpty() || Project == -1) DialogResult = System.Windows.Forms.DialogResult.Cancel;
else DialogResult = System.Windows.Forms.DialogResult.OK;
}
public string ProjectName = string.Empty;
public int Project = -1;
private void bs_CurrentChanged(object sender, EventArgs e)
{
@@ -46,22 +45,35 @@ namespace FCM0000
{
if (e.KeyCode == Keys.Enter)
{
var drv = bs.Current as DataRowView;
if (drv == null)
{
ProjectName = string.Empty;
Project = -1;
return;
}
else
{
var dr = drv.Row as dsMSSQL.ProjectsRow;
Project = dr.idx;
ProjectName = dr.name;
}
btOK.PerformClick();
}
}
private void itemsBindingNavigatorSaveItem_Click(object sender, EventArgs e)
{
var drv = bs.Current as DataRowView;
if (drv == null)
{
ProjectName = string.Empty;
Project = -1;
return;
}
else
{
var dr = drv.Row as dsMSSQL.ProjectsRow;
Project = dr.idx;
ProjectName = dr.name;
}
if (ProjectName.isEmpty() || Project == -1) DialogResult = System.Windows.Forms.DialogResult.Cancel;
else DialogResult = System.Windows.Forms.DialogResult.OK;
}
private void dv_DoubleClick(object sender, EventArgs e)
{
btOK.PerformClick();
}
}
}

View File

@@ -117,6 +117,27 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="pdateLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="requestLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="reqstaffLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="sdateLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="edateLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="odateLabel.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="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>81, 17</value>
</metadata>
@@ -174,27 +195,6 @@
dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII=
</value>
</data>
<metadata name="pdateLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="requestLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="reqstaffLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="sdateLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="edateLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="odateLabel.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="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>252, 17</value>
</metadata>

View File

@@ -0,0 +1,19 @@
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FCM0000\obj\Debug\FCM0000.csprojResolveAssemblyReference.cache
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FCM0000\obj\Debug\FCM0000.Properties.Resources.resources
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FCM0000\obj\Debug\FCM0000.csproj.GenerateResource.Cache
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FCM0000\obj\Debug\FCM0000.fInventory.resources
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FCM0000\obj\Debug\FCM0000.fItems.resources
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FCM0000\bin\Debug\FCM0000.exe.config
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FCM0000\bin\Debug\FCM0000.exe
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FCM0000\bin\Debug\FCM0000.pdb
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FCM0000\bin\Debug\ArSetting.Net4.dll
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FCM0000\bin\Debug\FCOMMON.dll
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FCM0000\bin\Debug\libxl.net.dll
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FCM0000\bin\Debug\FCOMMON.pdb
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FCM0000\obj\Debug\FCM0000.exe
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FCM0000\obj\Debug\FCM0000.pdb
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FCM0000\bin\Debug\arControl.Net4.dll
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FCM0000\bin\Debug\CarlosAg.ExcelXmlWriter.dll
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FCM0000\bin\Debug\arControl.Net4.pdb
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FCM0000\obj\Debug\FCM0000.fLovItem.resources
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FCM0000\obj\Debug\FCM0000.fLovProject.resources

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,20 @@
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FEQ0000\bin\Debug\FEQ0000.exe.config
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FEQ0000\obj\Debug\FEQ0000.csprojResolveAssemblyReference.cache
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FEQ0000\obj\Debug\FEQ0000.Properties.Resources.resources
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FEQ0000\obj\Debug\FEQ0000.csproj.GenerateResource.Cache
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FEQ0000\obj\Debug\RdlCompile.cache
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FEQ0000\obj\Debug\RdlCompile.compiled
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FEQ0000\obj\Debug\FEQ0000.EQFilterApply.resources
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FEQ0000\obj\Debug\FEQ0000.EQfilterManager.resources
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FEQ0000\obj\Debug\FEQ0000.fEquipment.resources
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FEQ0000\obj\Debug\FEQ0000.fImpEquipment.resources
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FEQ0000\obj\Debug\FEQ0000.rpt_equipmentB.resources
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FEQ0000\bin\Debug\libxl.dll
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FEQ0000\bin\Debug\FEQ0000.exe
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FEQ0000\bin\Debug\FEQ0000.pdb
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FEQ0000\bin\Debug\ArSetting.Net4.dll
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FEQ0000\bin\Debug\FCOMMON.dll
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FEQ0000\bin\Debug\libxl.net.dll
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FEQ0000\bin\Debug\FCOMMON.pdb
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FEQ0000\obj\Debug\FEQ0000.exe
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FEQ0000\obj\Debug\FEQ0000.pdb

View File

@@ -0,0 +1,13 @@
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FPJ0000\bin\Debug\FPJ0000.exe.config
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FPJ0000\obj\Debug\FPJ0000.csprojResolveAssemblyReference.cache
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FPJ0000\obj\Debug\FPJ0000.Properties.Resources.resources
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FPJ0000\obj\Debug\FPJ0000.csproj.GenerateResource.Cache
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FPJ0000\bin\Debug\FPJ0000.exe
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FPJ0000\bin\Debug\FPJ0000.pdb
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FPJ0000\bin\Debug\ArSetting.Net4.dll
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FPJ0000\bin\Debug\FCOMMON.dll
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FPJ0000\bin\Debug\libxl.net.dll
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FPJ0000\bin\Debug\FCOMMON.pdb
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FPJ0000\obj\Debug\FPJ0000.exe
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FPJ0000\obj\Debug\FPJ0000.pdb
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FPJ0000\obj\Debug\FPJ0000.fProjectList.resources

Binary file not shown.

Binary file not shown.

Binary file not shown.