From a5135d85d22205d0170278a417f27f3034186aab Mon Sep 17 00:00:00 2001 From: lg <999544862qq.com> Date: 星期六, 14 九月 2024 11:49:04 +0800 Subject: [PATCH] 基础资料 --- DevApp/Gs.DevApp/DevFrm/BasicData/FrmCustomer.resx | 120 + DevApp/Gs.DevApp/DevFrm/BasicData/FrmDepartment.cs | 114 - DevApp/Gs.DevApp/DevFrm/BasicData/FrmItemType.Designer.cs | 539 +++++ DevApp/Gs.DevApp/DevFrm/BasicData/FrmDepartment.Designer.cs | 722 +++---- DevApp/Gs.DevApp/DevFrm/BasicData/FrmSupplier.resx | 120 + DevApp/Gs.DevApp/DevFrm/BasicData/FrmItemType.resx | 120 + DevApp/Gs.DevApp/DevFrm/BasicData/FrmItemType.cs | 158 + DevApp/Gs.DevApp/DevFrm/BasicData/FrmDictionary.Designer.cs | 1 DevApp/Gs.DevApp/DevFrm/BasicData/FrmSupplier.cs | 123 - DevApp/Gs.DevApp/DevFrm/BasicData/FrmCustomer.cs | 105 - DevApp/Gs.DevApp/DevFrm/BasicData/FrmPosition.cs | 162 + DevApp/Gs.DevApp/DevFrm/BasicData/FrmPosition.Designer.cs | 531 +++++ DevApp/Gs.DevApp/DevFrm/BasicData/FrmSupplier.Designer.cs | 1104 +++++------ DevApp/Gs.DevApp/DevFrm/BasicData/FrmDepartment.resx | 120 + DevApp/Gs.DevApp/DevFrm/BasicData/FrmPosition.resx | 120 + DevApp/Gs.DevApp/DevFrm/BasicData/FrmCustomer.Designer.cs | 1233 ++++++------ DevApp/Gs.DevApp/DevFrm/BasicData/FrmStaff.Designer.cs | 1 17 files changed, 3,422 insertions(+), 1,971 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/BasicData/FrmCustomer.Designer.cs b/DevApp/Gs.DevApp/DevFrm/BasicData/FrmCustomer.Designer.cs index 1305def..e6b218a 100644 --- a/DevApp/Gs.DevApp/DevFrm/BasicData/FrmCustomer.Designer.cs +++ b/DevApp/Gs.DevApp/DevFrm/BasicData/FrmCustomer.Designer.cs @@ -30,602 +30,52 @@ /// </summary> private void InitializeComponent() { - //BQSetControlObject this.lb_isStatus = new DevExpress.XtraEditors.LabelControl(); this.txt_isStatus = new DevExpress.XtraEditors.TextEdit(); this.gv_isStatus = new DevExpress.XtraGrid.Columns.GridColumn(); - this.lb_saleGuid = new DevExpress.XtraEditors.LabelControl(); this.txt_saleGuid = new DevExpress.XtraEditors.TextEdit(); this.gv_saleGuid = new DevExpress.XtraGrid.Columns.GridColumn(); - this.lb_remark = new DevExpress.XtraEditors.LabelControl(); this.txt_remark = new DevExpress.XtraEditors.TextEdit(); this.gv_remark = new DevExpress.XtraGrid.Columns.GridColumn(); - this.lb_lastUpdateBy = new DevExpress.XtraEditors.LabelControl(); this.txt_lastUpdateBy = new DevExpress.XtraEditors.TextEdit(); - this.gv_lastUpdateBy = new DevExpress.XtraGrid.Columns.GridColumn(); - this.lb_lastUpdateTime = new DevExpress.XtraEditors.LabelControl(); this.txt_lastUpdateTime = new DevExpress.XtraEditors.TextEdit(); - this.gv_lastUpdateTime = new DevExpress.XtraGrid.Columns.GridColumn(); - this.lb_createBy = new DevExpress.XtraEditors.LabelControl(); this.txt_createBy = new DevExpress.XtraEditors.TextEdit(); this.gv_createBy = new DevExpress.XtraGrid.Columns.GridColumn(); - this.lb_createTime = new DevExpress.XtraEditors.LabelControl(); this.txt_createTime = new DevExpress.XtraEditors.TextEdit(); this.gv_createTime = new DevExpress.XtraGrid.Columns.GridColumn(); - this.lb_conFax = new DevExpress.XtraEditors.LabelControl(); this.txt_conFax = new DevExpress.XtraEditors.TextEdit(); this.gv_conFax = new DevExpress.XtraGrid.Columns.GridColumn(); - this.lb_conTel = new DevExpress.XtraEditors.LabelControl(); this.txt_conTel = new DevExpress.XtraEditors.TextEdit(); this.gv_conTel = new DevExpress.XtraGrid.Columns.GridColumn(); - this.lb_conPeople = new DevExpress.XtraEditors.LabelControl(); this.txt_conPeople = new DevExpress.XtraEditors.TextEdit(); this.gv_conPeople = new DevExpress.XtraGrid.Columns.GridColumn(); - this.lb_land = new DevExpress.XtraEditors.LabelControl(); this.txt_land = new DevExpress.XtraEditors.TextEdit(); this.gv_land = new DevExpress.XtraGrid.Columns.GridColumn(); - this.lb_address = new DevExpress.XtraEditors.LabelControl(); this.txt_address = new DevExpress.XtraEditors.TextEdit(); this.gv_address = new DevExpress.XtraGrid.Columns.GridColumn(); - this.lb_engName = new DevExpress.XtraEditors.LabelControl(); this.txt_engName = new DevExpress.XtraEditors.TextEdit(); this.gv_engName = new DevExpress.XtraGrid.Columns.GridColumn(); - this.lb_simpleName = new DevExpress.XtraEditors.LabelControl(); this.txt_simpleName = new DevExpress.XtraEditors.TextEdit(); this.gv_simpleName = new DevExpress.XtraGrid.Columns.GridColumn(); - this.lb_fullName = new DevExpress.XtraEditors.LabelControl(); this.txt_fullName = new DevExpress.XtraEditors.TextEdit(); this.gv_fullName = new DevExpress.XtraGrid.Columns.GridColumn(); - - this.lb_factory = new DevExpress.XtraEditors.LabelControl(); - this.txt_factory = new DevExpress.XtraEditors.TextEdit(); - this.gv_factory = new DevExpress.XtraGrid.Columns.GridColumn(); - this.lb_itemNo = new DevExpress.XtraEditors.LabelControl(); this.txt_itemNo = new DevExpress.XtraEditors.TextEdit(); this.gv_itemNo = new DevExpress.XtraGrid.Columns.GridColumn(); - - this.lb_guid = new DevExpress.XtraEditors.LabelControl(); - this.txt_guid = new DevExpress.XtraEditors.TextEdit(); - this.gv_guid = new DevExpress.XtraGrid.Columns.GridColumn(); - - //BQSetControlInfo - // - //lb_isStatus - // - this.lb_isStatus.Location = new System.Drawing.Point(270, 148); - this.lb_isStatus.Name = "lb_isStatus"; - this.lb_isStatus.Size = new System.Drawing.Size(150, 21); - this.lb_isStatus.TabIndex = 267; - this.lb_isStatus.Tag = "isStatus"; - this.lb_isStatus.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.lb_isStatus.Text = "鐘舵�侊細"; - // - //txt_isStatus - // - this.txt_isStatus.Location = new System.Drawing.Point(330, 148); - this.txt_isStatus.Name = "lb_isStatus"; - this.txt_isStatus.Size = new System.Drawing.Size(150, 21); - this.txt_isStatus.TabIndex = 267; - this.txt_isStatus.Tag = "isStatus"; - this.txt_isStatus.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_isStatus.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_isStatus.AppearanceCell.Options.UseFont = true; - this.gv_isStatus.FieldName = "isStatus"; - this.gv_isStatus.Caption = "鐘舵��"; - this.gv_isStatus.MinWidth = 25; - this.gv_isStatus.Visible = true; - this.gv_isStatus.Width = 94; - this.gv_isStatus.OptionsColumn.AllowEdit = false; - this.gv_isStatus.VisibleIndex = 0; - - // - //lb_saleGuid - // - this.lb_saleGuid.Location = new System.Drawing.Point(20, 148); - this.lb_saleGuid.Name = "lb_saleGuid"; - this.lb_saleGuid.Size = new System.Drawing.Size(150, 21); - this.lb_saleGuid.TabIndex = 262; - this.lb_saleGuid.Tag = "saleGuid"; - this.lb_saleGuid.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.lb_saleGuid.Text = "閿�鍞憳锛�"; - // - //txt_saleGuid - // - this.txt_saleGuid.Location = new System.Drawing.Point(80, 148); - this.txt_saleGuid.Name = "lb_saleGuid"; - this.txt_saleGuid.Size = new System.Drawing.Size(150, 21); - this.txt_saleGuid.TabIndex = 262; - this.txt_saleGuid.Tag = "saleGuid"; - this.txt_saleGuid.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_saleGuid.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_saleGuid.AppearanceCell.Options.UseFont = true; - this.gv_saleGuid.FieldName = "saleGuid"; - this.gv_saleGuid.Caption = "閿�鍞憳"; - this.gv_saleGuid.MinWidth = 25; - this.gv_saleGuid.Visible = true; - this.gv_saleGuid.Width = 94; - this.gv_saleGuid.OptionsColumn.AllowEdit = false; - this.gv_saleGuid.VisibleIndex = 0; - - // - //lb_remark - // - this.lb_remark.Location = new System.Drawing.Point(770, 116); - this.lb_remark.Name = "lb_remark"; - this.lb_remark.Size = new System.Drawing.Size(150, 21); - this.lb_remark.TabIndex = 258; - this.lb_remark.Tag = "remark"; - this.lb_remark.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.lb_remark.Text = "澶囨敞锛�"; - // - //txt_remark - // - this.txt_remark.Location = new System.Drawing.Point(830, 116); - this.txt_remark.Name = "lb_remark"; - this.txt_remark.Size = new System.Drawing.Size(150, 21); - this.txt_remark.TabIndex = 258; - this.txt_remark.Tag = "remark"; - this.txt_remark.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_remark.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_remark.AppearanceCell.Options.UseFont = true; - this.gv_remark.FieldName = "remark"; - this.gv_remark.Caption = "澶囨敞"; - this.gv_remark.MinWidth = 25; - this.gv_remark.Visible = true; - this.gv_remark.Width = 94; - this.gv_remark.OptionsColumn.AllowEdit = false; - this.gv_remark.VisibleIndex = 0; - - // - //lb_lastUpdateBy - // - this.lb_lastUpdateBy.Location = new System.Drawing.Point(520, 116); - this.lb_lastUpdateBy.Name = "lb_lastUpdateBy"; - this.lb_lastUpdateBy.Size = new System.Drawing.Size(150, 21); - this.lb_lastUpdateBy.TabIndex = 252; - this.lb_lastUpdateBy.Tag = "lastUpdateBy"; - this.lb_lastUpdateBy.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.lb_lastUpdateBy.Text = "鏇存柊鑰咃細"; - // - //txt_lastUpdateBy - // - this.txt_lastUpdateBy.Location = new System.Drawing.Point(580, 116); - this.txt_lastUpdateBy.Name = "lb_lastUpdateBy"; - this.txt_lastUpdateBy.Size = new System.Drawing.Size(150, 21); - this.txt_lastUpdateBy.TabIndex = 252; - this.txt_lastUpdateBy.Tag = "lastUpdateBy"; - this.txt_lastUpdateBy.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_lastUpdateBy.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_lastUpdateBy.AppearanceCell.Options.UseFont = true; - this.gv_lastUpdateBy.FieldName = "lastUpdateBy"; - this.gv_lastUpdateBy.Caption = "鏇存柊鑰�"; - this.gv_lastUpdateBy.MinWidth = 25; - this.gv_lastUpdateBy.Visible = true; - this.gv_lastUpdateBy.Width = 94; - this.gv_lastUpdateBy.OptionsColumn.AllowEdit = false; - this.gv_lastUpdateBy.VisibleIndex = 0; - - // - //lb_lastUpdateTime - // - this.lb_lastUpdateTime.Location = new System.Drawing.Point(270, 116); - this.lb_lastUpdateTime.Name = "lb_lastUpdateTime"; - this.lb_lastUpdateTime.Size = new System.Drawing.Size(150, 21); - this.lb_lastUpdateTime.TabIndex = 247; - this.lb_lastUpdateTime.Tag = "lastUpdateTime"; - this.lb_lastUpdateTime.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.lb_lastUpdateTime.Text = "鏈�鍚庢洿鏂版椂闂达細"; - // - //txt_lastUpdateTime - // - this.txt_lastUpdateTime.Location = new System.Drawing.Point(330, 116); - this.txt_lastUpdateTime.Name = "lb_lastUpdateTime"; - this.txt_lastUpdateTime.Size = new System.Drawing.Size(150, 21); - this.txt_lastUpdateTime.TabIndex = 247; - this.txt_lastUpdateTime.Tag = "lastUpdateTime"; - this.txt_lastUpdateTime.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_lastUpdateTime.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_lastUpdateTime.AppearanceCell.Options.UseFont = true; - this.gv_lastUpdateTime.FieldName = "lastUpdateTime"; - this.gv_lastUpdateTime.Caption = "鏈�鍚庢洿鏂版椂闂�"; - this.gv_lastUpdateTime.MinWidth = 25; - this.gv_lastUpdateTime.Visible = true; - this.gv_lastUpdateTime.Width = 94; - this.gv_lastUpdateTime.OptionsColumn.AllowEdit = false; - this.gv_lastUpdateTime.VisibleIndex = 0; - - // - //lb_createBy - // - this.lb_createBy.Location = new System.Drawing.Point(20, 116); - this.lb_createBy.Name = "lb_createBy"; - this.lb_createBy.Size = new System.Drawing.Size(150, 21); - this.lb_createBy.TabIndex = 243; - this.lb_createBy.Tag = "createBy"; - this.lb_createBy.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.lb_createBy.Text = "寤虹珛鑰咃細"; - // - //txt_createBy - // - this.txt_createBy.Location = new System.Drawing.Point(80, 116); - this.txt_createBy.Name = "lb_createBy"; - this.txt_createBy.Size = new System.Drawing.Size(150, 21); - this.txt_createBy.TabIndex = 243; - this.txt_createBy.Tag = "createBy"; - this.txt_createBy.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_createBy.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_createBy.AppearanceCell.Options.UseFont = true; - this.gv_createBy.FieldName = "createBy"; - this.gv_createBy.Caption = "寤虹珛鑰�"; - this.gv_createBy.MinWidth = 25; - this.gv_createBy.Visible = true; - this.gv_createBy.Width = 94; - this.gv_createBy.OptionsColumn.AllowEdit = false; - this.gv_createBy.VisibleIndex = 0; - - // - //lb_createTime - // - this.lb_createTime.Location = new System.Drawing.Point(770, 84); - this.lb_createTime.Name = "lb_createTime"; - this.lb_createTime.Size = new System.Drawing.Size(150, 21); - this.lb_createTime.TabIndex = 240; - this.lb_createTime.Tag = "createTime"; - this.lb_createTime.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.lb_createTime.Text = "寤虹珛鏃堕棿锛�"; - // - //txt_createTime - // - this.txt_createTime.Location = new System.Drawing.Point(830, 84); - this.txt_createTime.Name = "lb_createTime"; - this.txt_createTime.Size = new System.Drawing.Size(150, 21); - this.txt_createTime.TabIndex = 240; - this.txt_createTime.Tag = "createTime"; - this.txt_createTime.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_createTime.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_createTime.AppearanceCell.Options.UseFont = true; - this.gv_createTime.FieldName = "createTime"; - this.gv_createTime.Caption = "寤虹珛鏃堕棿"; - this.gv_createTime.MinWidth = 25; - this.gv_createTime.Visible = true; - this.gv_createTime.Width = 94; - this.gv_createTime.OptionsColumn.AllowEdit = false; - this.gv_createTime.VisibleIndex = 0; - - // - //lb_conFax - // - this.lb_conFax.Location = new System.Drawing.Point(520, 84); - this.lb_conFax.Name = "lb_conFax"; - this.lb_conFax.Size = new System.Drawing.Size(150, 21); - this.lb_conFax.TabIndex = 235; - this.lb_conFax.Tag = "conFax"; - this.lb_conFax.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.lb_conFax.Text = "鑱旂郴浼犵湡锛�"; - // - //txt_conFax - // - this.txt_conFax.Location = new System.Drawing.Point(580, 84); - this.txt_conFax.Name = "lb_conFax"; - this.txt_conFax.Size = new System.Drawing.Size(150, 21); - this.txt_conFax.TabIndex = 235; - this.txt_conFax.Tag = "conFax"; - this.txt_conFax.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_conFax.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_conFax.AppearanceCell.Options.UseFont = true; - this.gv_conFax.FieldName = "conFax"; - this.gv_conFax.Caption = "鑱旂郴浼犵湡"; - this.gv_conFax.MinWidth = 25; - this.gv_conFax.Visible = true; - this.gv_conFax.Width = 94; - this.gv_conFax.OptionsColumn.AllowEdit = false; - this.gv_conFax.VisibleIndex = 0; - - // - //lb_conTel - // - this.lb_conTel.Location = new System.Drawing.Point(270, 84); - this.lb_conTel.Name = "lb_conTel"; - this.lb_conTel.Size = new System.Drawing.Size(150, 21); - this.lb_conTel.TabIndex = 231; - this.lb_conTel.Tag = "conTel"; - this.lb_conTel.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.lb_conTel.Text = "鑱旂郴浜虹數璇濓細"; - // - //txt_conTel - // - this.txt_conTel.Location = new System.Drawing.Point(330, 84); - this.txt_conTel.Name = "lb_conTel"; - this.txt_conTel.Size = new System.Drawing.Size(150, 21); - this.txt_conTel.TabIndex = 231; - this.txt_conTel.Tag = "conTel"; - this.txt_conTel.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_conTel.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_conTel.AppearanceCell.Options.UseFont = true; - this.gv_conTel.FieldName = "conTel"; - this.gv_conTel.Caption = "鑱旂郴浜虹數璇�"; - this.gv_conTel.MinWidth = 25; - this.gv_conTel.Visible = true; - this.gv_conTel.Width = 94; - this.gv_conTel.OptionsColumn.AllowEdit = false; - this.gv_conTel.VisibleIndex = 0; - - // - //lb_conPeople - // - this.lb_conPeople.Location = new System.Drawing.Point(20, 84); - this.lb_conPeople.Name = "lb_conPeople"; - this.lb_conPeople.Size = new System.Drawing.Size(150, 21); - this.lb_conPeople.TabIndex = 228; - this.lb_conPeople.Tag = "conPeople"; - this.lb_conPeople.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.lb_conPeople.Text = "鑱旂郴浜猴細"; - // - //txt_conPeople - // - this.txt_conPeople.Location = new System.Drawing.Point(80, 84); - this.txt_conPeople.Name = "lb_conPeople"; - this.txt_conPeople.Size = new System.Drawing.Size(150, 21); - this.txt_conPeople.TabIndex = 228; - this.txt_conPeople.Tag = "conPeople"; - this.txt_conPeople.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_conPeople.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_conPeople.AppearanceCell.Options.UseFont = true; - this.gv_conPeople.FieldName = "conPeople"; - this.gv_conPeople.Caption = "鑱旂郴浜�"; - this.gv_conPeople.MinWidth = 25; - this.gv_conPeople.Visible = true; - this.gv_conPeople.Width = 94; - this.gv_conPeople.OptionsColumn.AllowEdit = false; - this.gv_conPeople.VisibleIndex = 0; - - // - //lb_land - // - this.lb_land.Location = new System.Drawing.Point(770, 52); - this.lb_land.Name = "lb_land"; - this.lb_land.Size = new System.Drawing.Size(150, 21); - this.lb_land.TabIndex = 226; - this.lb_land.Tag = "land"; - this.lb_land.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.lb_land.Text = "鍦板尯锛�"; - // - //txt_land - // - this.txt_land.Location = new System.Drawing.Point(830, 52); - this.txt_land.Name = "lb_land"; - this.txt_land.Size = new System.Drawing.Size(150, 21); - this.txt_land.TabIndex = 226; - this.txt_land.Tag = "land"; - this.txt_land.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_land.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_land.AppearanceCell.Options.UseFont = true; - this.gv_land.FieldName = "land"; - this.gv_land.Caption = "鍦板尯"; - this.gv_land.MinWidth = 25; - this.gv_land.Visible = true; - this.gv_land.Width = 94; - this.gv_land.OptionsColumn.AllowEdit = false; - this.gv_land.VisibleIndex = 0; - - // - //lb_address - // - this.lb_address.Location = new System.Drawing.Point(520, 52); - this.lb_address.Name = "lb_address"; - this.lb_address.Size = new System.Drawing.Size(150, 21); - this.lb_address.TabIndex = 222; - this.lb_address.Tag = "address"; - this.lb_address.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.lb_address.Text = "鍦板潃锛�"; - // - //txt_address - // - this.txt_address.Location = new System.Drawing.Point(580, 52); - this.txt_address.Name = "lb_address"; - this.txt_address.Size = new System.Drawing.Size(150, 21); - this.txt_address.TabIndex = 222; - this.txt_address.Tag = "address"; - this.txt_address.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_address.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_address.AppearanceCell.Options.UseFont = true; - this.gv_address.FieldName = "address"; - this.gv_address.Caption = "鍦板潃"; - this.gv_address.MinWidth = 25; - this.gv_address.Visible = true; - this.gv_address.Width = 94; - this.gv_address.OptionsColumn.AllowEdit = false; - this.gv_address.VisibleIndex = 0; - - // - //lb_engName - // - this.lb_engName.Location = new System.Drawing.Point(270, 52); - this.lb_engName.Name = "lb_engName"; - this.lb_engName.Size = new System.Drawing.Size(150, 21); - this.lb_engName.TabIndex = 219; - this.lb_engName.Tag = "engName"; - this.lb_engName.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.lb_engName.Text = "瀹㈡埛鑻辨枃鍚嶏細"; - // - //txt_engName - // - this.txt_engName.Location = new System.Drawing.Point(330, 52); - this.txt_engName.Name = "lb_engName"; - this.txt_engName.Size = new System.Drawing.Size(150, 21); - this.txt_engName.TabIndex = 219; - this.txt_engName.Tag = "engName"; - this.txt_engName.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_engName.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_engName.AppearanceCell.Options.UseFont = true; - this.gv_engName.FieldName = "engName"; - this.gv_engName.Caption = "瀹㈡埛鑻辨枃鍚�"; - this.gv_engName.MinWidth = 25; - this.gv_engName.Visible = true; - this.gv_engName.Width = 94; - this.gv_engName.OptionsColumn.AllowEdit = false; - this.gv_engName.VisibleIndex = 0; - - // - //lb_simpleName - // - this.lb_simpleName.Location = new System.Drawing.Point(20, 52); - this.lb_simpleName.Name = "lb_simpleName"; - this.lb_simpleName.Size = new System.Drawing.Size(150, 21); - this.lb_simpleName.TabIndex = 217; - this.lb_simpleName.Tag = "simpleName"; - this.lb_simpleName.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.lb_simpleName.Text = "瀹㈡埛绠�绉帮細"; - // - //txt_simpleName - // - this.txt_simpleName.Location = new System.Drawing.Point(80, 52); - this.txt_simpleName.Name = "lb_simpleName"; - this.txt_simpleName.Size = new System.Drawing.Size(150, 21); - this.txt_simpleName.TabIndex = 217; - this.txt_simpleName.Tag = "simpleName"; - this.txt_simpleName.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_simpleName.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_simpleName.AppearanceCell.Options.UseFont = true; - this.gv_simpleName.FieldName = "simpleName"; - this.gv_simpleName.Caption = "瀹㈡埛绠�绉�"; - this.gv_simpleName.MinWidth = 25; - this.gv_simpleName.Visible = true; - this.gv_simpleName.Width = 94; - this.gv_simpleName.OptionsColumn.AllowEdit = false; - this.gv_simpleName.VisibleIndex = 0; - - // - //lb_fullName - // - this.lb_fullName.Location = new System.Drawing.Point(770, 20); - this.lb_fullName.Name = "lb_fullName"; - this.lb_fullName.Size = new System.Drawing.Size(150, 21); - this.lb_fullName.TabIndex = 216; - this.lb_fullName.Tag = "fullName"; - this.lb_fullName.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.lb_fullName.Text = "瀹㈡埛鍏ㄧО锛�"; - // - //txt_fullName - // - this.txt_fullName.Location = new System.Drawing.Point(830, 20); - this.txt_fullName.Name = "lb_fullName"; - this.txt_fullName.Size = new System.Drawing.Size(150, 21); - this.txt_fullName.TabIndex = 216; - this.txt_fullName.Tag = "fullName"; - this.txt_fullName.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_fullName.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_fullName.AppearanceCell.Options.UseFont = true; - this.gv_fullName.FieldName = "fullName"; - this.gv_fullName.Caption = "瀹㈡埛鍏ㄧО"; - this.gv_fullName.MinWidth = 25; - this.gv_fullName.Visible = true; - this.gv_fullName.Width = 94; - this.gv_fullName.OptionsColumn.AllowEdit = false; - this.gv_fullName.VisibleIndex = 0; - - // - //lb_factory - // - this.lb_factory.Location = new System.Drawing.Point(520, 20); - this.lb_factory.Name = "lb_factory"; - this.lb_factory.Size = new System.Drawing.Size(150, 21); - this.lb_factory.TabIndex = 213; - this.lb_factory.Tag = "factory"; - this.lb_factory.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.lb_factory.Text = "宸ュ巶缂栧彿锛�"; - // - //txt_factory - // - this.txt_factory.Location = new System.Drawing.Point(580, 20); - this.txt_factory.Name = "lb_factory"; - this.txt_factory.Size = new System.Drawing.Size(150, 21); - this.txt_factory.TabIndex = 213; - this.txt_factory.Tag = "factory"; - this.txt_factory.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_factory.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_factory.AppearanceCell.Options.UseFont = true; - this.gv_factory.FieldName = "factory"; - this.gv_factory.Caption = "宸ュ巶缂栧彿"; - this.gv_factory.MinWidth = 25; - this.gv_factory.Visible = true; - this.gv_factory.Width = 94; - this.gv_factory.OptionsColumn.AllowEdit = false; - this.gv_factory.VisibleIndex = 0; - - // - //lb_itemNo - // - this.lb_itemNo.Location = new System.Drawing.Point(270, 20); - this.lb_itemNo.Name = "lb_itemNo"; - this.lb_itemNo.Size = new System.Drawing.Size(150, 21); - this.lb_itemNo.TabIndex = 211; - this.lb_itemNo.Tag = "itemNo"; - this.lb_itemNo.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.lb_itemNo.Text = "瀹㈡埛缂栫爜锛�"; - // - //txt_itemNo - // - this.txt_itemNo.Location = new System.Drawing.Point(330, 20); - this.txt_itemNo.Name = "lb_itemNo"; - this.txt_itemNo.Size = new System.Drawing.Size(150, 21); - this.txt_itemNo.TabIndex = 211; - this.txt_itemNo.Tag = "itemNo"; - this.txt_itemNo.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_itemNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_itemNo.AppearanceCell.Options.UseFont = true; - this.gv_itemNo.FieldName = "itemNo"; - this.gv_itemNo.Caption = "瀹㈡埛缂栫爜"; - this.gv_itemNo.MinWidth = 25; - this.gv_itemNo.Visible = true; - this.gv_itemNo.Width = 94; - this.gv_itemNo.OptionsColumn.AllowEdit = false; - this.gv_itemNo.VisibleIndex = 0; - - // - //lb_guid - // - this.lb_guid.Location = new System.Drawing.Point(20, 20); - this.lb_guid.Name = "lb_guid"; - this.lb_guid.Size = new System.Drawing.Size(150, 21); - this.lb_guid.TabIndex = 210; - this.lb_guid.Tag = "guid"; - this.lb_guid.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.lb_guid.Text = "guid锛�"; - // - //txt_guid - // - this.txt_guid.Location = new System.Drawing.Point(80, 20); - this.txt_guid.Name = "lb_guid"; - this.txt_guid.Size = new System.Drawing.Size(150, 21); - this.txt_guid.TabIndex = 210; - this.txt_guid.Tag = "guid"; - this.txt_guid.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_guid.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_guid.AppearanceCell.Options.UseFont = true; - this.gv_guid.FieldName = "guid"; - this.gv_guid.Caption = "guid"; - this.gv_guid.MinWidth = 25; - this.gv_guid.Visible = true; - this.gv_guid.Width = 94; - this.gv_guid.OptionsColumn.AllowEdit = false; - this.gv_guid.VisibleIndex = 0; - this.toolBarMenu1 = new Gs.DevApp.UserControl.ToolBarMenu(); this.gcMain = new DevExpress.XtraGrid.GridControl(); this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); @@ -636,6 +86,22 @@ this.panel1 = new System.Windows.Forms.Panel(); this.labelControl11 = new DevExpress.XtraEditors.LabelControl(); this.lbGuid = new System.Windows.Forms.Label(); + ((System.ComponentModel.ISupportInitialize)(this.txt_isStatus.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_saleGuid.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_remark.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_lastUpdateBy.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_lastUpdateTime.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_createBy.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_createTime.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_conFax.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_conTel.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_conPeople.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_land.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_address.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_engName.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_simpleName.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_fullName.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_itemNo.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gcMain)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit(); @@ -645,14 +111,531 @@ this.panel1.SuspendLayout(); this.SuspendLayout(); // + // lb_isStatus + // + this.lb_isStatus.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_isStatus.Appearance.Options.UseFont = true; + this.lb_isStatus.Location = new System.Drawing.Point(340, 237); + this.lb_isStatus.Name = "lb_isStatus"; + this.lb_isStatus.Size = new System.Drawing.Size(51, 21); + this.lb_isStatus.TabIndex = 267; + this.lb_isStatus.Tag = "isStatus"; + this.lb_isStatus.Text = "鐘舵�侊細"; + // + // txt_isStatus + // + this.txt_isStatus.Location = new System.Drawing.Point(396, 237); + this.txt_isStatus.Name = "txt_isStatus"; + this.txt_isStatus.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_isStatus.Properties.Appearance.Options.UseFont = true; + this.txt_isStatus.Size = new System.Drawing.Size(150, 28); + this.txt_isStatus.TabIndex = 267; + this.txt_isStatus.Tag = "isStatus"; + // + // gv_isStatus + // + this.gv_isStatus.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_isStatus.AppearanceCell.Options.UseFont = true; + this.gv_isStatus.Caption = "鐘舵��"; + this.gv_isStatus.FieldName = "isStatusTxt"; + this.gv_isStatus.MinWidth = 25; + this.gv_isStatus.Name = "gv_isStatus"; + this.gv_isStatus.OptionsColumn.AllowEdit = false; + this.gv_isStatus.Visible = true; + this.gv_isStatus.VisibleIndex = 13; + this.gv_isStatus.Width = 94; + // + // lb_saleGuid + // + this.lb_saleGuid.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_saleGuid.Appearance.Options.UseFont = true; + this.lb_saleGuid.Location = new System.Drawing.Point(37, 237); + this.lb_saleGuid.Name = "lb_saleGuid"; + this.lb_saleGuid.Size = new System.Drawing.Size(68, 21); + this.lb_saleGuid.TabIndex = 262; + this.lb_saleGuid.Tag = "saleGuid"; + this.lb_saleGuid.Text = "閿�鍞憳锛�"; + // + // txt_saleGuid + // + this.txt_saleGuid.Location = new System.Drawing.Point(109, 237); + this.txt_saleGuid.Name = "txt_saleGuid"; + this.txt_saleGuid.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_saleGuid.Properties.Appearance.Options.UseFont = true; + this.txt_saleGuid.Size = new System.Drawing.Size(150, 28); + this.txt_saleGuid.TabIndex = 262; + this.txt_saleGuid.Tag = "saleGuid"; + // + // gv_saleGuid + // + this.gv_saleGuid.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_saleGuid.AppearanceCell.Options.UseFont = true; + this.gv_saleGuid.Caption = "閿�鍞憳"; + this.gv_saleGuid.FieldName = "saleGuid"; + this.gv_saleGuid.MinWidth = 25; + this.gv_saleGuid.Name = "gv_saleGuid"; + this.gv_saleGuid.OptionsColumn.AllowEdit = false; + this.gv_saleGuid.Visible = true; + this.gv_saleGuid.VisibleIndex = 12; + this.gv_saleGuid.Width = 94; + // + // lb_remark + // + this.lb_remark.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_remark.Appearance.Options.UseFont = true; + this.lb_remark.Location = new System.Drawing.Point(54, 196); + this.lb_remark.Name = "lb_remark"; + this.lb_remark.Size = new System.Drawing.Size(51, 21); + this.lb_remark.TabIndex = 258; + this.lb_remark.Tag = "remark"; + this.lb_remark.Text = "澶囨敞锛�"; + // + // txt_remark + // + this.txt_remark.Location = new System.Drawing.Point(109, 192); + this.txt_remark.Name = "txt_remark"; + this.txt_remark.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_remark.Properties.Appearance.Options.UseFont = true; + this.txt_remark.Size = new System.Drawing.Size(150, 28); + this.txt_remark.TabIndex = 258; + this.txt_remark.Tag = "remark"; + // + // gv_remark + // + this.gv_remark.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_remark.AppearanceCell.Options.UseFont = true; + this.gv_remark.Caption = "澶囨敞"; + this.gv_remark.FieldName = "remark"; + this.gv_remark.MinWidth = 25; + this.gv_remark.Name = "gv_remark"; + this.gv_remark.OptionsColumn.AllowEdit = false; + this.gv_remark.Visible = true; + this.gv_remark.VisibleIndex = 11; + this.gv_remark.Width = 94; + // + // lb_lastUpdateBy + // + this.lb_lastUpdateBy.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_lastUpdateBy.Appearance.Options.UseFont = true; + this.lb_lastUpdateBy.Location = new System.Drawing.Point(616, 151); + this.lb_lastUpdateBy.Name = "lb_lastUpdateBy"; + this.lb_lastUpdateBy.Size = new System.Drawing.Size(68, 21); + this.lb_lastUpdateBy.TabIndex = 252; + this.lb_lastUpdateBy.Tag = "lastUpdateBy"; + this.lb_lastUpdateBy.Text = "鏇存柊鑰咃細"; + // + // txt_lastUpdateBy + // + this.txt_lastUpdateBy.Location = new System.Drawing.Point(694, 147); + this.txt_lastUpdateBy.Name = "txt_lastUpdateBy"; + this.txt_lastUpdateBy.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_lastUpdateBy.Properties.Appearance.Options.UseFont = true; + this.txt_lastUpdateBy.Size = new System.Drawing.Size(150, 28); + this.txt_lastUpdateBy.TabIndex = 252; + this.txt_lastUpdateBy.Tag = "lastUpdateBy"; + // + // lb_lastUpdateTime + // + this.lb_lastUpdateTime.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_lastUpdateTime.Appearance.Options.UseFont = true; + this.lb_lastUpdateTime.Location = new System.Drawing.Point(565, 107); + this.lb_lastUpdateTime.Name = "lb_lastUpdateTime"; + this.lb_lastUpdateTime.Size = new System.Drawing.Size(119, 21); + this.lb_lastUpdateTime.TabIndex = 247; + this.lb_lastUpdateTime.Tag = "lastUpdateTime"; + this.lb_lastUpdateTime.Text = "鏈�鍚庢洿鏂版椂闂达細"; + // + // txt_lastUpdateTime + // + this.txt_lastUpdateTime.Location = new System.Drawing.Point(694, 103); + this.txt_lastUpdateTime.Name = "txt_lastUpdateTime"; + this.txt_lastUpdateTime.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_lastUpdateTime.Properties.Appearance.Options.UseFont = true; + this.txt_lastUpdateTime.Size = new System.Drawing.Size(150, 28); + this.txt_lastUpdateTime.TabIndex = 247; + this.txt_lastUpdateTime.Tag = "lastUpdateTime"; + // + // lb_createBy + // + this.lb_createBy.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_createBy.Appearance.Options.UseFont = true; + this.lb_createBy.Location = new System.Drawing.Point(616, 17); + this.lb_createBy.Name = "lb_createBy"; + this.lb_createBy.Size = new System.Drawing.Size(68, 21); + this.lb_createBy.TabIndex = 243; + this.lb_createBy.Tag = "createBy"; + this.lb_createBy.Text = "寤虹珛鑰咃細"; + // + // txt_createBy + // + this.txt_createBy.Location = new System.Drawing.Point(694, 13); + this.txt_createBy.Name = "txt_createBy"; + this.txt_createBy.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_createBy.Properties.Appearance.Options.UseFont = true; + this.txt_createBy.Size = new System.Drawing.Size(150, 28); + this.txt_createBy.TabIndex = 243; + this.txt_createBy.Tag = "createBy"; + // + // gv_createBy + // + this.gv_createBy.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_createBy.AppearanceCell.Options.UseFont = true; + this.gv_createBy.Caption = "寤虹珛鑰�"; + this.gv_createBy.FieldName = "createBy"; + this.gv_createBy.MinWidth = 25; + this.gv_createBy.Name = "gv_createBy"; + this.gv_createBy.OptionsColumn.AllowEdit = false; + this.gv_createBy.Visible = true; + this.gv_createBy.VisibleIndex = 10; + this.gv_createBy.Width = 94; + // + // lb_createTime + // + this.lb_createTime.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_createTime.Appearance.Options.UseFont = true; + this.lb_createTime.Location = new System.Drawing.Point(599, 60); + this.lb_createTime.Name = "lb_createTime"; + this.lb_createTime.Size = new System.Drawing.Size(85, 21); + this.lb_createTime.TabIndex = 240; + this.lb_createTime.Tag = "createTime"; + this.lb_createTime.Text = "寤虹珛鏃堕棿锛�"; + // + // txt_createTime + // + this.txt_createTime.Location = new System.Drawing.Point(694, 56); + this.txt_createTime.Name = "txt_createTime"; + this.txt_createTime.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_createTime.Properties.Appearance.Options.UseFont = true; + this.txt_createTime.Size = new System.Drawing.Size(150, 28); + this.txt_createTime.TabIndex = 240; + this.txt_createTime.Tag = "createTime"; + // + // gv_createTime + // + this.gv_createTime.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_createTime.AppearanceCell.Options.UseFont = true; + this.gv_createTime.Caption = "寤虹珛鏃堕棿"; + this.gv_createTime.FieldName = "createTime"; + this.gv_createTime.MinWidth = 25; + this.gv_createTime.Name = "gv_createTime"; + this.gv_createTime.OptionsColumn.AllowEdit = false; + this.gv_createTime.Visible = true; + this.gv_createTime.VisibleIndex = 9; + this.gv_createTime.Width = 94; + // + // lb_conFax + // + this.lb_conFax.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_conFax.Appearance.Options.UseFont = true; + this.lb_conFax.Location = new System.Drawing.Point(306, 107); + this.lb_conFax.Name = "lb_conFax"; + this.lb_conFax.Size = new System.Drawing.Size(85, 21); + this.lb_conFax.TabIndex = 235; + this.lb_conFax.Tag = "conFax"; + this.lb_conFax.Text = "鑱旂郴浼犵湡锛�"; + // + // txt_conFax + // + this.txt_conFax.Location = new System.Drawing.Point(396, 103); + this.txt_conFax.Name = "txt_conFax"; + this.txt_conFax.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_conFax.Properties.Appearance.Options.UseFont = true; + this.txt_conFax.Size = new System.Drawing.Size(150, 28); + this.txt_conFax.TabIndex = 235; + this.txt_conFax.Tag = "conFax"; + // + // gv_conFax + // + this.gv_conFax.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_conFax.AppearanceCell.Options.UseFont = true; + this.gv_conFax.Caption = "鑱旂郴浼犵湡"; + this.gv_conFax.FieldName = "conFax"; + this.gv_conFax.MinWidth = 25; + this.gv_conFax.Name = "gv_conFax"; + this.gv_conFax.OptionsColumn.AllowEdit = false; + this.gv_conFax.Visible = true; + this.gv_conFax.VisibleIndex = 8; + this.gv_conFax.Width = 94; + // + // lb_conTel + // + this.lb_conTel.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_conTel.Appearance.Options.UseFont = true; + this.lb_conTel.Location = new System.Drawing.Point(289, 60); + this.lb_conTel.Name = "lb_conTel"; + this.lb_conTel.Size = new System.Drawing.Size(102, 21); + this.lb_conTel.TabIndex = 231; + this.lb_conTel.Tag = "conTel"; + this.lb_conTel.Text = "鑱旂郴浜虹數璇濓細"; + // + // txt_conTel + // + this.txt_conTel.Location = new System.Drawing.Point(396, 56); + this.txt_conTel.Name = "txt_conTel"; + this.txt_conTel.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_conTel.Properties.Appearance.Options.UseFont = true; + this.txt_conTel.Size = new System.Drawing.Size(150, 28); + this.txt_conTel.TabIndex = 231; + this.txt_conTel.Tag = "conTel"; + // + // gv_conTel + // + this.gv_conTel.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_conTel.AppearanceCell.Options.UseFont = true; + this.gv_conTel.Caption = "鑱旂郴浜虹數璇�"; + this.gv_conTel.FieldName = "conTel"; + this.gv_conTel.MinWidth = 25; + this.gv_conTel.Name = "gv_conTel"; + this.gv_conTel.OptionsColumn.AllowEdit = false; + this.gv_conTel.Visible = true; + this.gv_conTel.VisibleIndex = 7; + this.gv_conTel.Width = 94; + // + // lb_conPeople + // + this.lb_conPeople.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_conPeople.Appearance.Options.UseFont = true; + this.lb_conPeople.Location = new System.Drawing.Point(323, 17); + this.lb_conPeople.Name = "lb_conPeople"; + this.lb_conPeople.Size = new System.Drawing.Size(68, 21); + this.lb_conPeople.TabIndex = 228; + this.lb_conPeople.Tag = "conPeople"; + this.lb_conPeople.Text = "鑱旂郴浜猴細"; + // + // txt_conPeople + // + this.txt_conPeople.Location = new System.Drawing.Point(396, 13); + this.txt_conPeople.Name = "txt_conPeople"; + this.txt_conPeople.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_conPeople.Properties.Appearance.Options.UseFont = true; + this.txt_conPeople.Size = new System.Drawing.Size(150, 28); + this.txt_conPeople.TabIndex = 228; + this.txt_conPeople.Tag = "conPeople"; + // + // gv_conPeople + // + this.gv_conPeople.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_conPeople.AppearanceCell.Options.UseFont = true; + this.gv_conPeople.Caption = "鑱旂郴浜�"; + this.gv_conPeople.FieldName = "conPeople"; + this.gv_conPeople.MinWidth = 25; + this.gv_conPeople.Name = "gv_conPeople"; + this.gv_conPeople.OptionsColumn.AllowEdit = false; + this.gv_conPeople.Visible = true; + this.gv_conPeople.VisibleIndex = 6; + this.gv_conPeople.Width = 94; + // + // lb_land + // + this.lb_land.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_land.Appearance.Options.UseFont = true; + this.lb_land.Location = new System.Drawing.Point(340, 151); + this.lb_land.Name = "lb_land"; + this.lb_land.Size = new System.Drawing.Size(51, 21); + this.lb_land.TabIndex = 226; + this.lb_land.Tag = "land"; + this.lb_land.Text = "鍦板尯锛�"; + // + // txt_land + // + this.txt_land.Location = new System.Drawing.Point(396, 147); + this.txt_land.Name = "txt_land"; + this.txt_land.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_land.Properties.Appearance.Options.UseFont = true; + this.txt_land.Size = new System.Drawing.Size(150, 28); + this.txt_land.TabIndex = 226; + this.txt_land.Tag = "land"; + // + // gv_land + // + this.gv_land.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_land.AppearanceCell.Options.UseFont = true; + this.gv_land.Caption = "鍦板尯"; + this.gv_land.FieldName = "land"; + this.gv_land.MinWidth = 25; + this.gv_land.Name = "gv_land"; + this.gv_land.OptionsColumn.AllowEdit = false; + this.gv_land.Visible = true; + this.gv_land.VisibleIndex = 5; + this.gv_land.Width = 94; + // + // lb_address + // + this.lb_address.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_address.Appearance.Options.UseFont = true; + this.lb_address.Location = new System.Drawing.Point(340, 196); + this.lb_address.Name = "lb_address"; + this.lb_address.Size = new System.Drawing.Size(51, 21); + this.lb_address.TabIndex = 222; + this.lb_address.Tag = "address"; + this.lb_address.Text = "鍦板潃锛�"; + // + // txt_address + // + this.txt_address.Location = new System.Drawing.Point(396, 192); + this.txt_address.Name = "txt_address"; + this.txt_address.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_address.Properties.Appearance.Options.UseFont = true; + this.txt_address.Size = new System.Drawing.Size(150, 28); + this.txt_address.TabIndex = 222; + this.txt_address.Tag = "address"; + // + // gv_address + // + this.gv_address.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_address.AppearanceCell.Options.UseFont = true; + this.gv_address.Caption = "鍦板潃"; + this.gv_address.FieldName = "address"; + this.gv_address.MinWidth = 25; + this.gv_address.Name = "gv_address"; + this.gv_address.OptionsColumn.AllowEdit = false; + this.gv_address.Visible = true; + this.gv_address.VisibleIndex = 4; + this.gv_address.Width = 94; + // + // lb_engName + // + this.lb_engName.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_engName.Appearance.Options.UseFont = true; + this.lb_engName.Location = new System.Drawing.Point(3, 151); + this.lb_engName.Name = "lb_engName"; + this.lb_engName.Size = new System.Drawing.Size(102, 21); + this.lb_engName.TabIndex = 219; + this.lb_engName.Tag = "engName"; + this.lb_engName.Text = "瀹㈡埛鑻辨枃鍚嶏細"; + // + // txt_engName + // + this.txt_engName.Location = new System.Drawing.Point(109, 147); + this.txt_engName.Name = "txt_engName"; + this.txt_engName.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_engName.Properties.Appearance.Options.UseFont = true; + this.txt_engName.Size = new System.Drawing.Size(150, 28); + this.txt_engName.TabIndex = 219; + this.txt_engName.Tag = "engName"; + // + // gv_engName + // + this.gv_engName.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_engName.AppearanceCell.Options.UseFont = true; + this.gv_engName.Caption = "瀹㈡埛鑻辨枃鍚�"; + this.gv_engName.FieldName = "engName"; + this.gv_engName.MinWidth = 25; + this.gv_engName.Name = "gv_engName"; + this.gv_engName.OptionsColumn.AllowEdit = false; + this.gv_engName.Visible = true; + this.gv_engName.VisibleIndex = 3; + this.gv_engName.Width = 94; + // + // lb_simpleName + // + this.lb_simpleName.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_simpleName.Appearance.Options.UseFont = true; + this.lb_simpleName.Location = new System.Drawing.Point(20, 107); + this.lb_simpleName.Name = "lb_simpleName"; + this.lb_simpleName.Size = new System.Drawing.Size(85, 21); + this.lb_simpleName.TabIndex = 217; + this.lb_simpleName.Tag = "simpleName"; + this.lb_simpleName.Text = "瀹㈡埛绠�绉帮細"; + // + // txt_simpleName + // + this.txt_simpleName.Location = new System.Drawing.Point(109, 103); + this.txt_simpleName.Name = "txt_simpleName"; + this.txt_simpleName.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_simpleName.Properties.Appearance.Options.UseFont = true; + this.txt_simpleName.Size = new System.Drawing.Size(150, 28); + this.txt_simpleName.TabIndex = 217; + this.txt_simpleName.Tag = "simpleName"; + // + // gv_simpleName + // + this.gv_simpleName.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_simpleName.AppearanceCell.Options.UseFont = true; + this.gv_simpleName.Caption = "瀹㈡埛绠�绉�"; + this.gv_simpleName.FieldName = "simpleName"; + this.gv_simpleName.MinWidth = 25; + this.gv_simpleName.Name = "gv_simpleName"; + this.gv_simpleName.OptionsColumn.AllowEdit = false; + this.gv_simpleName.Visible = true; + this.gv_simpleName.VisibleIndex = 2; + this.gv_simpleName.Width = 94; + // + // lb_fullName + // + this.lb_fullName.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_fullName.Appearance.Options.UseFont = true; + this.lb_fullName.Location = new System.Drawing.Point(20, 60); + this.lb_fullName.Name = "lb_fullName"; + this.lb_fullName.Size = new System.Drawing.Size(85, 21); + this.lb_fullName.TabIndex = 216; + this.lb_fullName.Tag = "fullName"; + this.lb_fullName.Text = "瀹㈡埛鍏ㄧО锛�"; + // + // txt_fullName + // + this.txt_fullName.Location = new System.Drawing.Point(109, 56); + this.txt_fullName.Name = "txt_fullName"; + this.txt_fullName.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_fullName.Properties.Appearance.Options.UseFont = true; + this.txt_fullName.Size = new System.Drawing.Size(150, 28); + this.txt_fullName.TabIndex = 216; + this.txt_fullName.Tag = "fullName"; + // + // gv_fullName + // + this.gv_fullName.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_fullName.AppearanceCell.Options.UseFont = true; + this.gv_fullName.Caption = "瀹㈡埛鍏ㄧО"; + this.gv_fullName.FieldName = "fullName"; + this.gv_fullName.MinWidth = 25; + this.gv_fullName.Name = "gv_fullName"; + this.gv_fullName.OptionsColumn.AllowEdit = false; + this.gv_fullName.Visible = true; + this.gv_fullName.VisibleIndex = 1; + this.gv_fullName.Width = 94; + // + // lb_itemNo + // + this.lb_itemNo.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_itemNo.Appearance.Options.UseFont = true; + this.lb_itemNo.Location = new System.Drawing.Point(20, 17); + this.lb_itemNo.Name = "lb_itemNo"; + this.lb_itemNo.Size = new System.Drawing.Size(85, 21); + this.lb_itemNo.TabIndex = 211; + this.lb_itemNo.Tag = "itemNo"; + this.lb_itemNo.Text = "瀹㈡埛缂栫爜锛�"; + // + // txt_itemNo + // + this.txt_itemNo.Location = new System.Drawing.Point(109, 13); + this.txt_itemNo.Name = "txt_itemNo"; + this.txt_itemNo.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_itemNo.Properties.Appearance.Options.UseFont = true; + this.txt_itemNo.Size = new System.Drawing.Size(150, 28); + this.txt_itemNo.TabIndex = 211; + this.txt_itemNo.Tag = "itemNo"; + // + // gv_itemNo + // + this.gv_itemNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_itemNo.AppearanceCell.Options.UseFont = true; + this.gv_itemNo.Caption = "瀹㈡埛缂栫爜"; + this.gv_itemNo.FieldName = "itemNo"; + this.gv_itemNo.MinWidth = 25; + this.gv_itemNo.Name = "gv_itemNo"; + this.gv_itemNo.OptionsColumn.AllowEdit = false; + this.gv_itemNo.Visible = true; + this.gv_itemNo.VisibleIndex = 0; + this.gv_itemNo.Width = 94; + // // toolBarMenu1 // - this.toolBarMenu1.actions = null; this.toolBarMenu1.Dock = System.Windows.Forms.DockStyle.Top; this.toolBarMenu1.isSetBtn = false; this.toolBarMenu1.Location = new System.Drawing.Point(0, 0); this.toolBarMenu1.Name = "toolBarMenu1"; - this.toolBarMenu1.Size = new System.Drawing.Size(1128, 80); + this.toolBarMenu1.Size = new System.Drawing.Size(1001, 80); this.toolBarMenu1.TabIndex = 0; // // gcMain @@ -672,7 +655,20 @@ this.gridView1.Appearance.Row.Font = new System.Drawing.Font("Tahoma", 10F); this.gridView1.Appearance.Row.Options.UseFont = true; this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { - this.gv_guid,this.gv_itemNo,this.gv_factory,this.gv_fullName,this.gv_simpleName,this.gv_engName,this.gv_address,this.gv_land,this.gv_conPeople,this.gv_conTel,this.gv_conFax,this.gv_createTime,this.gv_createBy,this.gv_lastUpdateTime,this.gv_lastUpdateBy,this.gv_remark,this.gv_saleGuid,this.gv_isStatus}); + this.gv_itemNo, + this.gv_fullName, + this.gv_simpleName, + this.gv_engName, + this.gv_address, + this.gv_land, + this.gv_conPeople, + this.gv_conTel, + this.gv_conFax, + this.gv_createTime, + this.gv_createBy, + this.gv_remark, + this.gv_saleGuid, + this.gv_isStatus}); this.gridView1.GridControl = this.gcMain; this.gridView1.Name = "gridView1"; this.gridView1.OptionsFind.ShowSearchNavButtons = false; @@ -685,7 +681,7 @@ this.xtraTabControl1.Location = new System.Drawing.Point(0, 80); this.xtraTabControl1.Name = "xtraTabControl1"; this.xtraTabControl1.SelectedTabPage = this.xtraTabPage1; - this.xtraTabControl1.Size = new System.Drawing.Size(1128, 602); + this.xtraTabControl1.Size = new System.Drawing.Size(1001, 602); this.xtraTabControl1.TabIndex = 3; this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { this.xtraTabPage1, @@ -717,7 +713,7 @@ this.xtraTabPage2.Controls.Add(this.panel1); this.xtraTabPage2.Name = "xtraTabPage2"; this.xtraTabPage2.PageEnabled = false; - this.xtraTabPage2.Size = new System.Drawing.Size(1126, 570); + this.xtraTabPage2.Size = new System.Drawing.Size(999, 570); this.xtraTabPage2.Text = "鏁版嵁缂栬緫"; // // panel1 @@ -725,15 +721,47 @@ this.panel1.BackColor = System.Drawing.Color.White; this.panel1.Controls.Add(this.labelControl11); this.panel1.Controls.Add(this.lbGuid); + this.panel1.Controls.Add(this.lb_isStatus); + this.panel1.Controls.Add(this.txt_isStatus); + this.panel1.Controls.Add(this.lb_saleGuid); + this.panel1.Controls.Add(this.txt_saleGuid); + this.panel1.Controls.Add(this.lb_remark); + this.panel1.Controls.Add(this.txt_remark); + this.panel1.Controls.Add(this.lb_lastUpdateBy); + this.panel1.Controls.Add(this.txt_lastUpdateBy); + this.panel1.Controls.Add(this.lb_lastUpdateTime); + this.panel1.Controls.Add(this.txt_lastUpdateTime); + this.panel1.Controls.Add(this.lb_createBy); + this.panel1.Controls.Add(this.txt_createBy); + this.panel1.Controls.Add(this.lb_createTime); + this.panel1.Controls.Add(this.txt_createTime); + this.panel1.Controls.Add(this.lb_conFax); + this.panel1.Controls.Add(this.txt_conFax); + this.panel1.Controls.Add(this.lb_conTel); + this.panel1.Controls.Add(this.txt_conTel); + this.panel1.Controls.Add(this.lb_conPeople); + this.panel1.Controls.Add(this.txt_conPeople); + this.panel1.Controls.Add(this.lb_land); + this.panel1.Controls.Add(this.txt_land); + this.panel1.Controls.Add(this.lb_address); + this.panel1.Controls.Add(this.txt_address); + this.panel1.Controls.Add(this.lb_engName); + this.panel1.Controls.Add(this.txt_engName); + this.panel1.Controls.Add(this.lb_simpleName); + this.panel1.Controls.Add(this.txt_simpleName); + this.panel1.Controls.Add(this.lb_fullName); + this.panel1.Controls.Add(this.txt_fullName); + this.panel1.Controls.Add(this.lb_itemNo); + this.panel1.Controls.Add(this.txt_itemNo); this.panel1.Font = new System.Drawing.Font("Tahoma", 10F); this.panel1.Location = new System.Drawing.Point(76, 20); this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(585, 426); + this.panel1.Size = new System.Drawing.Size(867, 426); this.panel1.TabIndex = 1; // // labelControl11 // - this.labelControl11.Location = new System.Drawing.Point(61, 388); + this.labelControl11.Location = new System.Drawing.Point(61, 333); this.labelControl11.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.labelControl11.Name = "labelControl11"; this.labelControl11.Size = new System.Drawing.Size(45, 18); @@ -743,75 +771,35 @@ // lbGuid // this.lbGuid.AutoSize = true; - this.lbGuid.Location = new System.Drawing.Point(112, 388); + this.lbGuid.Location = new System.Drawing.Point(112, 333); this.lbGuid.Name = "lbGuid"; this.lbGuid.Size = new System.Drawing.Size(0, 21); this.lbGuid.TabIndex = 1; // - // category1 + // FrmCustomer // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(1128, 682); + this.ClientSize = new System.Drawing.Size(1001, 682); this.Controls.Add(this.xtraTabControl1); this.Controls.Add(this.toolBarMenu1); - //BQAddControltoMContainer - this.panel1.Controls.Add(this.lb_isStatus); - this.panel1.Controls.Add(this.txt_isStatus); - - this.panel1.Controls.Add(this.lb_saleGuid); - this.panel1.Controls.Add(this.txt_saleGuid); - - this.panel1.Controls.Add(this.lb_remark); - this.panel1.Controls.Add(this.txt_remark); - - this.panel1.Controls.Add(this.lb_lastUpdateBy); - this.panel1.Controls.Add(this.txt_lastUpdateBy); - - this.panel1.Controls.Add(this.lb_lastUpdateTime); - this.panel1.Controls.Add(this.txt_lastUpdateTime); - - this.panel1.Controls.Add(this.lb_createBy); - this.panel1.Controls.Add(this.txt_createBy); - - this.panel1.Controls.Add(this.lb_createTime); - this.panel1.Controls.Add(this.txt_createTime); - - this.panel1.Controls.Add(this.lb_conFax); - this.panel1.Controls.Add(this.txt_conFax); - - this.panel1.Controls.Add(this.lb_conTel); - this.panel1.Controls.Add(this.txt_conTel); - - this.panel1.Controls.Add(this.lb_conPeople); - this.panel1.Controls.Add(this.txt_conPeople); - - this.panel1.Controls.Add(this.lb_land); - this.panel1.Controls.Add(this.txt_land); - - this.panel1.Controls.Add(this.lb_address); - this.panel1.Controls.Add(this.txt_address); - - this.panel1.Controls.Add(this.lb_engName); - this.panel1.Controls.Add(this.txt_engName); - - this.panel1.Controls.Add(this.lb_simpleName); - this.panel1.Controls.Add(this.txt_simpleName); - - this.panel1.Controls.Add(this.lb_fullName); - this.panel1.Controls.Add(this.txt_fullName); - - this.panel1.Controls.Add(this.lb_factory); - this.panel1.Controls.Add(this.txt_factory); - - this.panel1.Controls.Add(this.lb_itemNo); - this.panel1.Controls.Add(this.txt_itemNo); - - this.panel1.Controls.Add(this.lb_guid); - this.panel1.Controls.Add(this.txt_guid); - - this.Name = "category1"; - this.Text = ""; + this.Name = "FrmCustomer"; + ((System.ComponentModel.ISupportInitialize)(this.txt_isStatus.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_saleGuid.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_remark.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_lastUpdateBy.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_lastUpdateTime.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_createBy.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_createTime.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_conFax.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_conTel.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_conPeople.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_land.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_address.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_engName.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_simpleName.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_fullName.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_itemNo.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gcMain)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit(); @@ -821,6 +809,7 @@ this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.ResumeLayout(false); + } #endregion private UserControl.ToolBarMenu toolBarMenu1; @@ -848,11 +837,9 @@ private DevExpress.XtraEditors.LabelControl lb_lastUpdateBy; private DevExpress.XtraEditors.TextEdit txt_lastUpdateBy; - private DevExpress.XtraGrid.Columns.GridColumn gv_lastUpdateBy; private DevExpress.XtraEditors.LabelControl lb_lastUpdateTime; private DevExpress.XtraEditors.TextEdit txt_lastUpdateTime; - private DevExpress.XtraGrid.Columns.GridColumn gv_lastUpdateTime; private DevExpress.XtraEditors.LabelControl lb_createBy; private DevExpress.XtraEditors.TextEdit txt_createBy; @@ -894,17 +881,9 @@ private DevExpress.XtraEditors.TextEdit txt_fullName; private DevExpress.XtraGrid.Columns.GridColumn gv_fullName; - private DevExpress.XtraEditors.LabelControl lb_factory; - private DevExpress.XtraEditors.TextEdit txt_factory; - private DevExpress.XtraGrid.Columns.GridColumn gv_factory; - private DevExpress.XtraEditors.LabelControl lb_itemNo; private DevExpress.XtraEditors.TextEdit txt_itemNo; private DevExpress.XtraGrid.Columns.GridColumn gv_itemNo; - - private DevExpress.XtraEditors.LabelControl lb_guid; - private DevExpress.XtraEditors.TextEdit txt_guid; - private DevExpress.XtraGrid.Columns.GridColumn gv_guid; } } \ No newline at end of file diff --git a/DevApp/Gs.DevApp/DevFrm/BasicData/FrmCustomer.cs b/DevApp/Gs.DevApp/DevFrm/BasicData/FrmCustomer.cs index 6397c2e..a415b62 100644 --- a/DevApp/Gs.DevApp/DevFrm/BasicData/FrmCustomer.cs +++ b/DevApp/Gs.DevApp/DevFrm/BasicData/FrmCustomer.cs @@ -17,12 +17,7 @@ public FrmCustomer() { InitializeComponent(); - this.toolBarMenu1.btnAddClick += ToolBarMenu1_btnAddClick; - this.toolBarMenu1.btnEdtClick += ToolBarMenu1_btnEdtClick; - this.toolBarMenu1.btnSaveClick += ToolBarMenu1_btnSaveClick; this.toolBarMenu1.btnLoadClick += ToolBarMenu1_btnLoadClick; - this.toolBarMenu1.btnDelClick += ToolBarMenu1_btnDelClick1; - this.toolBarMenu1.btnEscClick += ToolBarMenu1_btnEscClick; this.toolBarMenu1.btnQueryClick += ToolBarMenu1_btnQueryClick; gcMain.MouseDoubleClick += GcMain_MouseDoubleClick; gridView1.ColumnFilterChanged += GridView1_ColumnFilterChanged; @@ -94,51 +89,6 @@ } /// <summary> - /// 鍙栨秷浜嬩欢 - /// </summary> - /// <param name="sender"></param> - /// <param name="e"></param> - private void ToolBarMenu1_btnEscClick(object sender, EventArgs e) - { - UtilityHelper.ChangeTab(xtraTabControl1, 0); - } - /// <summary> - /// 鍒犻櫎浜嬩欢 - /// </summary> - /// <param name="sender"></param> - /// <param name="e"></param> - private void ToolBarMenu1_btnDelClick1(object sender, EventArgs e) - { - DataRow dr = gridView1.GetFocusedDataRow(); - if (dr == null || string.IsNullOrEmpty(dr["guid"].ToString())) - { - ToolBox.MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�"); - return; - } - if (!MsgHelper.AskQuestion("浣犻�夋嫨浜嗐��" + dr["userName"].ToString() + "銆戯紝纭畾鍒犻櫎鍚楋紵")) - return; - var _obj = new - { - guidList = dr["guid"].ToString(),//涓诲缓 - }; - string strJson = ""; - try - { - strJson = UtilityHelper.HttpPost("", "User/DeleteModel", JsonConvert.SerializeObject(_obj)); - ReturnModel<dynamic> _rtn = ToolBox.UtilityHelper.GetDataByJson(strJson); - if (_rtn.rtnCode > 0) - { - UtilityHelper.ChangeTab(xtraTabControl1, 0); - getPageList(1, UtilityHelper.GetPageSize()); - } - ToolBox.MsgHelper.Warning("鎻愮ず锛�" + _rtn.rtnMsg); - } - catch (Exception ex) - { - ToolBox.MsgHelper.Warning("鎻愮ず锛�" + ex.Message); - } - } - /// <summary> /// 鍒锋柊浜嬩欢 /// </summary> /// <param name="sender"></param> @@ -147,61 +97,6 @@ { UtilityHelper.ChangeTab(xtraTabControl1, 0); getPageList(1, UtilityHelper.GetPageSize()); - } - /// <summary> - /// 淇敼浜嬩欢 - /// </summary> - /// <param name="sender"></param> - /// <param name="e"></param> - private void ToolBarMenu1_btnEdtClick(object sender, EventArgs e) - { - DataRow dr = gridView1.GetFocusedDataRow(); - if (dr == null || string.IsNullOrEmpty(dr["guid"].ToString())) - { - ToolBox.MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�"); - return; - } - getModel(dr["guid"].ToString(), true, 1); - } - /// <summary> - /// 鏂板浜嬩欢 - /// </summary> - /// <param name="sender"></param> - /// <param name="e"></param> - private void ToolBarMenu1_btnAddClick(object sender, EventArgs e) - { - UtilityHelper.ChangeTab(xtraTabControl1, 1); - lbGuid.Text = ""; - UtilityHelper.CleanValue(this.panel1.Controls, true); - } - /// <summary> - /// 淇濆瓨浜嬩欢 - /// </summary> - /// <param name="sender"></param> - /// <param name="e"></param> - private void ToolBarMenu1_btnSaveClick(object sender, EventArgs e) - { - toolBarMenu1.isSetBtn = false; - var _obj = new - { - guid = lbGuid.Text.Trim(),//涓诲缓 - }; - try - { - string strJson = UtilityHelper.HttpPost("", "User/EditModel", JsonConvert.SerializeObject(_obj)); - ReturnModel<dynamic> _rtn = ToolBox.UtilityHelper.GetDataByJson(strJson); - ToolBox.MsgHelper.Warning("鎻愮ず锛�" + _rtn.rtnMsg); - if (_rtn.rtnCode > 0) - { - lbGuid.Text = _rtn.rtnData; - toolBarMenu1.isSetBtn = true; - UtilityHelper.ChangeEnable(this.panel1.Controls, false); - } - } - catch (Exception ex) - { - ToolBox.MsgHelper.Warning("鎻愮ず锛�" + ex.Message); - } } /// <summary> /// diff --git a/DevApp/Gs.DevApp/DevFrm/BasicData/FrmCustomer.resx b/DevApp/Gs.DevApp/DevFrm/BasicData/FrmCustomer.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/DevApp/Gs.DevApp/DevFrm/BasicData/FrmCustomer.resx @@ -0,0 +1,120 @@ +锘�<?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> +</root> \ No newline at end of file diff --git a/DevApp/Gs.DevApp/DevFrm/BasicData/FrmDepartment.Designer.cs b/DevApp/Gs.DevApp/DevFrm/BasicData/FrmDepartment.Designer.cs index 816de21..46c0e66 100644 --- a/DevApp/Gs.DevApp/DevFrm/BasicData/FrmDepartment.Designer.cs +++ b/DevApp/Gs.DevApp/DevFrm/BasicData/FrmDepartment.Designer.cs @@ -30,371 +30,29 @@ /// </summary> private void InitializeComponent() { - //BQSetControlObject this.lb_remark = new DevExpress.XtraEditors.LabelControl(); this.txt_remark = new DevExpress.XtraEditors.TextEdit(); this.gv_remark = new DevExpress.XtraGrid.Columns.GridColumn(); - this.lb_isStatus = new DevExpress.XtraEditors.LabelControl(); this.txt_isStatus = new DevExpress.XtraEditors.TextEdit(); this.gv_isStatus = new DevExpress.XtraGrid.Columns.GridColumn(); - - this.lb_lastUpdateTime = new DevExpress.XtraEditors.LabelControl(); - this.txt_lastUpdateTime = new DevExpress.XtraEditors.TextEdit(); this.gv_lastUpdateTime = new DevExpress.XtraGrid.Columns.GridColumn(); - - this.lb_lastUpdateBy = new DevExpress.XtraEditors.LabelControl(); - this.txt_lastUpdateBy = new DevExpress.XtraEditors.TextEdit(); this.gv_lastUpdateBy = new DevExpress.XtraGrid.Columns.GridColumn(); - this.lb_createTime = new DevExpress.XtraEditors.LabelControl(); this.txt_createTime = new DevExpress.XtraEditors.TextEdit(); this.gv_createTime = new DevExpress.XtraGrid.Columns.GridColumn(); - this.lb_createBy = new DevExpress.XtraEditors.LabelControl(); this.txt_createBy = new DevExpress.XtraEditors.TextEdit(); this.gv_createBy = new DevExpress.XtraGrid.Columns.GridColumn(); - this.lb_fameGuid = new DevExpress.XtraEditors.LabelControl(); this.txt_fameGuid = new DevExpress.XtraEditors.TextEdit(); this.gv_fameGuid = new DevExpress.XtraGrid.Columns.GridColumn(); - this.lb_departmentName = new DevExpress.XtraEditors.LabelControl(); this.txt_departmentName = new DevExpress.XtraEditors.TextEdit(); this.gv_departmentName = new DevExpress.XtraGrid.Columns.GridColumn(); - - this.lb_factory = new DevExpress.XtraEditors.LabelControl(); - this.txt_factory = new DevExpress.XtraEditors.TextEdit(); - this.gv_factory = new DevExpress.XtraGrid.Columns.GridColumn(); - this.lb_itemNo = new DevExpress.XtraEditors.LabelControl(); this.txt_itemNo = new DevExpress.XtraEditors.TextEdit(); this.gv_itemNo = new DevExpress.XtraGrid.Columns.GridColumn(); - - this.lb_guid = new DevExpress.XtraEditors.LabelControl(); - this.txt_guid = new DevExpress.XtraEditors.TextEdit(); - this.gv_guid = new DevExpress.XtraGrid.Columns.GridColumn(); - - //BQSetControlInfo - // - //lb_remark - // - this.lb_remark.Location = new System.Drawing.Point(520, 84); - this.lb_remark.Name = "lb_remark"; - this.lb_remark.Size = new System.Drawing.Size(150, 21); - this.lb_remark.TabIndex = 235; - this.lb_remark.Tag = "remark"; - this.lb_remark.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.lb_remark.Text = "remark锛�"; - // - //txt_remark - // - this.txt_remark.Location = new System.Drawing.Point(580, 84); - this.txt_remark.Name = "lb_remark"; - this.txt_remark.Size = new System.Drawing.Size(150, 21); - this.txt_remark.TabIndex = 235; - this.txt_remark.Tag = "remark"; - this.txt_remark.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_remark.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_remark.AppearanceCell.Options.UseFont = true; - this.gv_remark.FieldName = "remark"; - this.gv_remark.Caption = "remark"; - this.gv_remark.MinWidth = 25; - this.gv_remark.Visible = true; - this.gv_remark.Width = 94; - this.gv_remark.OptionsColumn.AllowEdit = false; - this.gv_remark.VisibleIndex = 0; - - // - //lb_isStatus - // - this.lb_isStatus.Location = new System.Drawing.Point(270, 84); - this.lb_isStatus.Name = "lb_isStatus"; - this.lb_isStatus.Size = new System.Drawing.Size(150, 21); - this.lb_isStatus.TabIndex = 231; - this.lb_isStatus.Tag = "isStatus"; - this.lb_isStatus.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.lb_isStatus.Text = "isStatus锛�"; - // - //txt_isStatus - // - this.txt_isStatus.Location = new System.Drawing.Point(330, 84); - this.txt_isStatus.Name = "lb_isStatus"; - this.txt_isStatus.Size = new System.Drawing.Size(150, 21); - this.txt_isStatus.TabIndex = 231; - this.txt_isStatus.Tag = "isStatus"; - this.txt_isStatus.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_isStatus.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_isStatus.AppearanceCell.Options.UseFont = true; - this.gv_isStatus.FieldName = "isStatus"; - this.gv_isStatus.Caption = "isStatus"; - this.gv_isStatus.MinWidth = 25; - this.gv_isStatus.Visible = true; - this.gv_isStatus.Width = 94; - this.gv_isStatus.OptionsColumn.AllowEdit = false; - this.gv_isStatus.VisibleIndex = 0; - - // - //lb_lastUpdateTime - // - this.lb_lastUpdateTime.Location = new System.Drawing.Point(20, 84); - this.lb_lastUpdateTime.Name = "lb_lastUpdateTime"; - this.lb_lastUpdateTime.Size = new System.Drawing.Size(150, 21); - this.lb_lastUpdateTime.TabIndex = 228; - this.lb_lastUpdateTime.Tag = "lastUpdateTime"; - this.lb_lastUpdateTime.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.lb_lastUpdateTime.Text = "鏈�鍚庝慨鏀规棩鏈燂細"; - // - //txt_lastUpdateTime - // - this.txt_lastUpdateTime.Location = new System.Drawing.Point(80, 84); - this.txt_lastUpdateTime.Name = "lb_lastUpdateTime"; - this.txt_lastUpdateTime.Size = new System.Drawing.Size(150, 21); - this.txt_lastUpdateTime.TabIndex = 228; - this.txt_lastUpdateTime.Tag = "lastUpdateTime"; - this.txt_lastUpdateTime.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_lastUpdateTime.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_lastUpdateTime.AppearanceCell.Options.UseFont = true; - this.gv_lastUpdateTime.FieldName = "lastUpdateTime"; - this.gv_lastUpdateTime.Caption = "鏈�鍚庝慨鏀规棩鏈�"; - this.gv_lastUpdateTime.MinWidth = 25; - this.gv_lastUpdateTime.Visible = true; - this.gv_lastUpdateTime.Width = 94; - this.gv_lastUpdateTime.OptionsColumn.AllowEdit = false; - this.gv_lastUpdateTime.VisibleIndex = 0; - - // - //lb_lastUpdateBy - // - this.lb_lastUpdateBy.Location = new System.Drawing.Point(770, 52); - this.lb_lastUpdateBy.Name = "lb_lastUpdateBy"; - this.lb_lastUpdateBy.Size = new System.Drawing.Size(150, 21); - this.lb_lastUpdateBy.TabIndex = 226; - this.lb_lastUpdateBy.Tag = "lastUpdateBy"; - this.lb_lastUpdateBy.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.lb_lastUpdateBy.Text = "鏈�鍚庝慨鏀逛汉锛�"; - // - //txt_lastUpdateBy - // - this.txt_lastUpdateBy.Location = new System.Drawing.Point(830, 52); - this.txt_lastUpdateBy.Name = "lb_lastUpdateBy"; - this.txt_lastUpdateBy.Size = new System.Drawing.Size(150, 21); - this.txt_lastUpdateBy.TabIndex = 226; - this.txt_lastUpdateBy.Tag = "lastUpdateBy"; - this.txt_lastUpdateBy.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_lastUpdateBy.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_lastUpdateBy.AppearanceCell.Options.UseFont = true; - this.gv_lastUpdateBy.FieldName = "lastUpdateBy"; - this.gv_lastUpdateBy.Caption = "鏈�鍚庝慨鏀逛汉"; - this.gv_lastUpdateBy.MinWidth = 25; - this.gv_lastUpdateBy.Visible = true; - this.gv_lastUpdateBy.Width = 94; - this.gv_lastUpdateBy.OptionsColumn.AllowEdit = false; - this.gv_lastUpdateBy.VisibleIndex = 0; - - // - //lb_createTime - // - this.lb_createTime.Location = new System.Drawing.Point(520, 52); - this.lb_createTime.Name = "lb_createTime"; - this.lb_createTime.Size = new System.Drawing.Size(150, 21); - this.lb_createTime.TabIndex = 222; - this.lb_createTime.Tag = "createTime"; - this.lb_createTime.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.lb_createTime.Text = "鍒涘缓鏃ユ湡锛�"; - // - //txt_createTime - // - this.txt_createTime.Location = new System.Drawing.Point(580, 52); - this.txt_createTime.Name = "lb_createTime"; - this.txt_createTime.Size = new System.Drawing.Size(150, 21); - this.txt_createTime.TabIndex = 222; - this.txt_createTime.Tag = "createTime"; - this.txt_createTime.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_createTime.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_createTime.AppearanceCell.Options.UseFont = true; - this.gv_createTime.FieldName = "createTime"; - this.gv_createTime.Caption = "鍒涘缓鏃ユ湡"; - this.gv_createTime.MinWidth = 25; - this.gv_createTime.Visible = true; - this.gv_createTime.Width = 94; - this.gv_createTime.OptionsColumn.AllowEdit = false; - this.gv_createTime.VisibleIndex = 0; - - // - //lb_createBy - // - this.lb_createBy.Location = new System.Drawing.Point(270, 52); - this.lb_createBy.Name = "lb_createBy"; - this.lb_createBy.Size = new System.Drawing.Size(150, 21); - this.lb_createBy.TabIndex = 219; - this.lb_createBy.Tag = "createBy"; - this.lb_createBy.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.lb_createBy.Text = "鍒涘缓浜猴細"; - // - //txt_createBy - // - this.txt_createBy.Location = new System.Drawing.Point(330, 52); - this.txt_createBy.Name = "lb_createBy"; - this.txt_createBy.Size = new System.Drawing.Size(150, 21); - this.txt_createBy.TabIndex = 219; - this.txt_createBy.Tag = "createBy"; - this.txt_createBy.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_createBy.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_createBy.AppearanceCell.Options.UseFont = true; - this.gv_createBy.FieldName = "createBy"; - this.gv_createBy.Caption = "鍒涘缓浜�"; - this.gv_createBy.MinWidth = 25; - this.gv_createBy.Visible = true; - this.gv_createBy.Width = 94; - this.gv_createBy.OptionsColumn.AllowEdit = false; - this.gv_createBy.VisibleIndex = 0; - - // - //lb_fameGuid - // - this.lb_fameGuid.Location = new System.Drawing.Point(20, 52); - this.lb_fameGuid.Name = "lb_fameGuid"; - this.lb_fameGuid.Size = new System.Drawing.Size(150, 21); - this.lb_fameGuid.TabIndex = 217; - this.lb_fameGuid.Tag = "fameGuid"; - this.lb_fameGuid.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.lb_fameGuid.Text = "涓荤锛�"; - // - //txt_fameGuid - // - this.txt_fameGuid.Location = new System.Drawing.Point(80, 52); - this.txt_fameGuid.Name = "lb_fameGuid"; - this.txt_fameGuid.Size = new System.Drawing.Size(150, 21); - this.txt_fameGuid.TabIndex = 217; - this.txt_fameGuid.Tag = "fameGuid"; - this.txt_fameGuid.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_fameGuid.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_fameGuid.AppearanceCell.Options.UseFont = true; - this.gv_fameGuid.FieldName = "fameGuid"; - this.gv_fameGuid.Caption = "涓荤"; - this.gv_fameGuid.MinWidth = 25; - this.gv_fameGuid.Visible = true; - this.gv_fameGuid.Width = 94; - this.gv_fameGuid.OptionsColumn.AllowEdit = false; - this.gv_fameGuid.VisibleIndex = 0; - - // - //lb_departmentName - // - this.lb_departmentName.Location = new System.Drawing.Point(770, 20); - this.lb_departmentName.Name = "lb_departmentName"; - this.lb_departmentName.Size = new System.Drawing.Size(150, 21); - this.lb_departmentName.TabIndex = 216; - this.lb_departmentName.Tag = "departmentName"; - this.lb_departmentName.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.lb_departmentName.Text = "閮ㄩ棬鍚嶇О锛�"; - // - //txt_departmentName - // - this.txt_departmentName.Location = new System.Drawing.Point(830, 20); - this.txt_departmentName.Name = "lb_departmentName"; - this.txt_departmentName.Size = new System.Drawing.Size(150, 21); - this.txt_departmentName.TabIndex = 216; - this.txt_departmentName.Tag = "departmentName"; - this.txt_departmentName.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_departmentName.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_departmentName.AppearanceCell.Options.UseFont = true; - this.gv_departmentName.FieldName = "departmentName"; - this.gv_departmentName.Caption = "閮ㄩ棬鍚嶇О"; - this.gv_departmentName.MinWidth = 25; - this.gv_departmentName.Visible = true; - this.gv_departmentName.Width = 94; - this.gv_departmentName.OptionsColumn.AllowEdit = false; - this.gv_departmentName.VisibleIndex = 0; - - // - //lb_factory - // - this.lb_factory.Location = new System.Drawing.Point(520, 20); - this.lb_factory.Name = "lb_factory"; - this.lb_factory.Size = new System.Drawing.Size(150, 21); - this.lb_factory.TabIndex = 213; - this.lb_factory.Tag = "factory"; - this.lb_factory.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.lb_factory.Text = "宸ュ巶缂栫爜锛�"; - // - //txt_factory - // - this.txt_factory.Location = new System.Drawing.Point(580, 20); - this.txt_factory.Name = "lb_factory"; - this.txt_factory.Size = new System.Drawing.Size(150, 21); - this.txt_factory.TabIndex = 213; - this.txt_factory.Tag = "factory"; - this.txt_factory.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_factory.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_factory.AppearanceCell.Options.UseFont = true; - this.gv_factory.FieldName = "factory"; - this.gv_factory.Caption = "宸ュ巶缂栫爜"; - this.gv_factory.MinWidth = 25; - this.gv_factory.Visible = true; - this.gv_factory.Width = 94; - this.gv_factory.OptionsColumn.AllowEdit = false; - this.gv_factory.VisibleIndex = 0; - - // - //lb_itemNo - // - this.lb_itemNo.Location = new System.Drawing.Point(270, 20); - this.lb_itemNo.Name = "lb_itemNo"; - this.lb_itemNo.Size = new System.Drawing.Size(150, 21); - this.lb_itemNo.TabIndex = 211; - this.lb_itemNo.Tag = "itemNo"; - this.lb_itemNo.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.lb_itemNo.Text = "缂栧彿锛�"; - // - //txt_itemNo - // - this.txt_itemNo.Location = new System.Drawing.Point(330, 20); - this.txt_itemNo.Name = "lb_itemNo"; - this.txt_itemNo.Size = new System.Drawing.Size(150, 21); - this.txt_itemNo.TabIndex = 211; - this.txt_itemNo.Tag = "itemNo"; - this.txt_itemNo.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_itemNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_itemNo.AppearanceCell.Options.UseFont = true; - this.gv_itemNo.FieldName = "itemNo"; - this.gv_itemNo.Caption = "缂栧彿"; - this.gv_itemNo.MinWidth = 25; - this.gv_itemNo.Visible = true; - this.gv_itemNo.Width = 94; - this.gv_itemNo.OptionsColumn.AllowEdit = false; - this.gv_itemNo.VisibleIndex = 0; - - // - //lb_guid - // - this.lb_guid.Location = new System.Drawing.Point(20, 20); - this.lb_guid.Name = "lb_guid"; - this.lb_guid.Size = new System.Drawing.Size(150, 21); - this.lb_guid.TabIndex = 210; - this.lb_guid.Tag = "guid"; - this.lb_guid.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.lb_guid.Text = "guid锛�"; - // - //txt_guid - // - this.txt_guid.Location = new System.Drawing.Point(80, 20); - this.txt_guid.Name = "lb_guid"; - this.txt_guid.Size = new System.Drawing.Size(150, 21); - this.txt_guid.TabIndex = 210; - this.txt_guid.Tag = "guid"; - this.txt_guid.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_guid.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_guid.AppearanceCell.Options.UseFont = true; - this.gv_guid.FieldName = "guid"; - this.gv_guid.Caption = "guid"; - this.gv_guid.MinWidth = 25; - this.gv_guid.Visible = true; - this.gv_guid.Width = 94; - this.gv_guid.OptionsColumn.AllowEdit = false; - this.gv_guid.VisibleIndex = 0; - this.toolBarMenu1 = new Gs.DevApp.UserControl.ToolBarMenu(); this.gcMain = new DevExpress.XtraGrid.GridControl(); this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); @@ -405,6 +63,13 @@ this.panel1 = new System.Windows.Forms.Panel(); this.labelControl11 = new DevExpress.XtraEditors.LabelControl(); this.lbGuid = new System.Windows.Forms.Label(); + ((System.ComponentModel.ISupportInitialize)(this.txt_remark.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_isStatus.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_createTime.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_createBy.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_fameGuid.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_departmentName.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_itemNo.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gcMain)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit(); @@ -414,14 +79,277 @@ this.panel1.SuspendLayout(); this.SuspendLayout(); // + // lb_remark + // + this.lb_remark.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_remark.Appearance.Options.UseFont = true; + this.lb_remark.Location = new System.Drawing.Point(56, 148); + this.lb_remark.Name = "lb_remark"; + this.lb_remark.Size = new System.Drawing.Size(51, 21); + this.lb_remark.TabIndex = 235; + this.lb_remark.Tag = "remark"; + this.lb_remark.Text = "澶囨敞锛�"; + // + // txt_remark + // + this.txt_remark.Location = new System.Drawing.Point(119, 144); + this.txt_remark.Name = "txt_remark"; + this.txt_remark.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_remark.Properties.Appearance.Options.UseFont = true; + this.txt_remark.Size = new System.Drawing.Size(150, 28); + this.txt_remark.TabIndex = 235; + this.txt_remark.Tag = "remark"; + // + // gv_remark + // + this.gv_remark.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_remark.AppearanceCell.Options.UseFont = true; + this.gv_remark.Caption = "澶囨敞"; + this.gv_remark.FieldName = "remark"; + this.gv_remark.MinWidth = 25; + this.gv_remark.Name = "gv_remark"; + this.gv_remark.OptionsColumn.AllowEdit = false; + this.gv_remark.Visible = true; + this.gv_remark.VisibleIndex = 8; + this.gv_remark.Width = 94; + // + // lb_isStatus + // + this.lb_isStatus.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_isStatus.Appearance.Options.UseFont = true; + this.lb_isStatus.Location = new System.Drawing.Point(348, 16); + this.lb_isStatus.Name = "lb_isStatus"; + this.lb_isStatus.Size = new System.Drawing.Size(51, 21); + this.lb_isStatus.TabIndex = 231; + this.lb_isStatus.Tag = "isStatus"; + this.lb_isStatus.Text = "鐘舵�侊細"; + // + // txt_isStatus + // + this.txt_isStatus.Location = new System.Drawing.Point(411, 12); + this.txt_isStatus.Name = "txt_isStatus"; + this.txt_isStatus.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_isStatus.Properties.Appearance.Options.UseFont = true; + this.txt_isStatus.Size = new System.Drawing.Size(150, 28); + this.txt_isStatus.TabIndex = 231; + this.txt_isStatus.Tag = "isStatus"; + // + // gv_isStatus + // + this.gv_isStatus.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_isStatus.AppearanceCell.Options.UseFont = true; + this.gv_isStatus.Caption = "鐘舵��"; + this.gv_isStatus.FieldName = "isStatusTxt"; + this.gv_isStatus.MinWidth = 25; + this.gv_isStatus.Name = "gv_isStatus"; + this.gv_isStatus.OptionsColumn.AllowEdit = false; + this.gv_isStatus.Visible = true; + this.gv_isStatus.VisibleIndex = 7; + this.gv_isStatus.Width = 94; + // + // gv_lastUpdateTime + // + this.gv_lastUpdateTime.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_lastUpdateTime.AppearanceCell.Options.UseFont = true; + this.gv_lastUpdateTime.Caption = "鏈�鍚庝慨鏀规棩鏈�"; + this.gv_lastUpdateTime.FieldName = "lastUpdateTime"; + this.gv_lastUpdateTime.MinWidth = 25; + this.gv_lastUpdateTime.Name = "gv_lastUpdateTime"; + this.gv_lastUpdateTime.OptionsColumn.AllowEdit = false; + this.gv_lastUpdateTime.Visible = true; + this.gv_lastUpdateTime.VisibleIndex = 6; + this.gv_lastUpdateTime.Width = 94; + // + // gv_lastUpdateBy + // + this.gv_lastUpdateBy.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_lastUpdateBy.AppearanceCell.Options.UseFont = true; + this.gv_lastUpdateBy.Caption = "鏈�鍚庝慨鏀逛汉"; + this.gv_lastUpdateBy.FieldName = "lastUpdateBy"; + this.gv_lastUpdateBy.MinWidth = 25; + this.gv_lastUpdateBy.Name = "gv_lastUpdateBy"; + this.gv_lastUpdateBy.OptionsColumn.AllowEdit = false; + this.gv_lastUpdateBy.Visible = true; + this.gv_lastUpdateBy.VisibleIndex = 5; + this.gv_lastUpdateBy.Width = 94; + // + // lb_createTime + // + this.lb_createTime.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_createTime.Appearance.Options.UseFont = true; + this.lb_createTime.Location = new System.Drawing.Point(314, 99); + this.lb_createTime.Name = "lb_createTime"; + this.lb_createTime.Size = new System.Drawing.Size(85, 21); + this.lb_createTime.TabIndex = 222; + this.lb_createTime.Tag = "createTime"; + this.lb_createTime.Text = "鍒涘缓鏃ユ湡锛�"; + // + // txt_createTime + // + this.txt_createTime.Location = new System.Drawing.Point(411, 95); + this.txt_createTime.Name = "txt_createTime"; + this.txt_createTime.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_createTime.Properties.Appearance.Options.UseFont = true; + this.txt_createTime.Size = new System.Drawing.Size(150, 28); + this.txt_createTime.TabIndex = 222; + this.txt_createTime.Tag = "createTime"; + // + // gv_createTime + // + this.gv_createTime.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_createTime.AppearanceCell.Options.UseFont = true; + this.gv_createTime.Caption = "鍒涘缓鏃ユ湡"; + this.gv_createTime.FieldName = "createTime"; + this.gv_createTime.MinWidth = 25; + this.gv_createTime.Name = "gv_createTime"; + this.gv_createTime.OptionsColumn.AllowEdit = false; + this.gv_createTime.Visible = true; + this.gv_createTime.VisibleIndex = 4; + this.gv_createTime.Width = 94; + // + // lb_createBy + // + this.lb_createBy.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_createBy.Appearance.Options.UseFont = true; + this.lb_createBy.Location = new System.Drawing.Point(331, 53); + this.lb_createBy.Name = "lb_createBy"; + this.lb_createBy.Size = new System.Drawing.Size(68, 21); + this.lb_createBy.TabIndex = 219; + this.lb_createBy.Tag = "createBy"; + this.lb_createBy.Text = "鍒涘缓浜猴細"; + // + // txt_createBy + // + this.txt_createBy.Location = new System.Drawing.Point(411, 49); + this.txt_createBy.Name = "txt_createBy"; + this.txt_createBy.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_createBy.Properties.Appearance.Options.UseFont = true; + this.txt_createBy.Size = new System.Drawing.Size(150, 28); + this.txt_createBy.TabIndex = 219; + this.txt_createBy.Tag = "createBy"; + // + // gv_createBy + // + this.gv_createBy.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_createBy.AppearanceCell.Options.UseFont = true; + this.gv_createBy.Caption = "鍒涘缓浜�"; + this.gv_createBy.FieldName = "createBy"; + this.gv_createBy.MinWidth = 25; + this.gv_createBy.Name = "gv_createBy"; + this.gv_createBy.OptionsColumn.AllowEdit = false; + this.gv_createBy.Visible = true; + this.gv_createBy.VisibleIndex = 3; + this.gv_createBy.Width = 94; + // + // lb_fameGuid + // + this.lb_fameGuid.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_fameGuid.Appearance.Options.UseFont = true; + this.lb_fameGuid.Location = new System.Drawing.Point(56, 99); + this.lb_fameGuid.Name = "lb_fameGuid"; + this.lb_fameGuid.Size = new System.Drawing.Size(51, 21); + this.lb_fameGuid.TabIndex = 217; + this.lb_fameGuid.Tag = "fameGuid"; + this.lb_fameGuid.Text = "涓荤锛�"; + // + // txt_fameGuid + // + this.txt_fameGuid.Location = new System.Drawing.Point(119, 95); + this.txt_fameGuid.Name = "txt_fameGuid"; + this.txt_fameGuid.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_fameGuid.Properties.Appearance.Options.UseFont = true; + this.txt_fameGuid.Size = new System.Drawing.Size(150, 28); + this.txt_fameGuid.TabIndex = 217; + this.txt_fameGuid.Tag = "fameGuid"; + // + // gv_fameGuid + // + this.gv_fameGuid.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_fameGuid.AppearanceCell.Options.UseFont = true; + this.gv_fameGuid.Caption = "涓荤"; + this.gv_fameGuid.FieldName = "fameGuid"; + this.gv_fameGuid.MinWidth = 25; + this.gv_fameGuid.Name = "gv_fameGuid"; + this.gv_fameGuid.OptionsColumn.AllowEdit = false; + this.gv_fameGuid.Visible = true; + this.gv_fameGuid.VisibleIndex = 2; + this.gv_fameGuid.Width = 94; + // + // lb_departmentName + // + this.lb_departmentName.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_departmentName.Appearance.Options.UseFont = true; + this.lb_departmentName.Location = new System.Drawing.Point(22, 53); + this.lb_departmentName.Name = "lb_departmentName"; + this.lb_departmentName.Size = new System.Drawing.Size(85, 21); + this.lb_departmentName.TabIndex = 216; + this.lb_departmentName.Tag = "departmentName"; + this.lb_departmentName.Text = "閮ㄩ棬鍚嶇О锛�"; + // + // txt_departmentName + // + this.txt_departmentName.Location = new System.Drawing.Point(119, 49); + this.txt_departmentName.Name = "txt_departmentName"; + this.txt_departmentName.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_departmentName.Properties.Appearance.Options.UseFont = true; + this.txt_departmentName.Size = new System.Drawing.Size(150, 28); + this.txt_departmentName.TabIndex = 216; + this.txt_departmentName.Tag = "departmentName"; + // + // gv_departmentName + // + this.gv_departmentName.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_departmentName.AppearanceCell.Options.UseFont = true; + this.gv_departmentName.Caption = "閮ㄩ棬鍚嶇О"; + this.gv_departmentName.FieldName = "departmentName"; + this.gv_departmentName.MinWidth = 25; + this.gv_departmentName.Name = "gv_departmentName"; + this.gv_departmentName.OptionsColumn.AllowEdit = false; + this.gv_departmentName.Visible = true; + this.gv_departmentName.VisibleIndex = 1; + this.gv_departmentName.Width = 94; + // + // lb_itemNo + // + this.lb_itemNo.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_itemNo.Appearance.Options.UseFont = true; + this.lb_itemNo.Location = new System.Drawing.Point(56, 13); + this.lb_itemNo.Name = "lb_itemNo"; + this.lb_itemNo.Size = new System.Drawing.Size(51, 21); + this.lb_itemNo.TabIndex = 211; + this.lb_itemNo.Tag = "itemNo"; + this.lb_itemNo.Text = "缂栧彿锛�"; + // + // txt_itemNo + // + this.txt_itemNo.Location = new System.Drawing.Point(119, 9); + this.txt_itemNo.Name = "txt_itemNo"; + this.txt_itemNo.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_itemNo.Properties.Appearance.Options.UseFont = true; + this.txt_itemNo.Size = new System.Drawing.Size(150, 28); + this.txt_itemNo.TabIndex = 211; + this.txt_itemNo.Tag = "itemNo"; + // + // gv_itemNo + // + this.gv_itemNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_itemNo.AppearanceCell.Options.UseFont = true; + this.gv_itemNo.Caption = "缂栧彿"; + this.gv_itemNo.FieldName = "itemNo"; + this.gv_itemNo.MinWidth = 25; + this.gv_itemNo.Name = "gv_itemNo"; + this.gv_itemNo.OptionsColumn.AllowEdit = false; + this.gv_itemNo.Visible = true; + this.gv_itemNo.VisibleIndex = 0; + this.gv_itemNo.Width = 94; + // // toolBarMenu1 // - this.toolBarMenu1.actions = null; this.toolBarMenu1.Dock = System.Windows.Forms.DockStyle.Top; this.toolBarMenu1.isSetBtn = false; this.toolBarMenu1.Location = new System.Drawing.Point(0, 0); this.toolBarMenu1.Name = "toolBarMenu1"; - this.toolBarMenu1.Size = new System.Drawing.Size(1128, 80); + this.toolBarMenu1.Size = new System.Drawing.Size(881, 80); this.toolBarMenu1.TabIndex = 0; // // gcMain @@ -431,7 +359,7 @@ this.gcMain.Location = new System.Drawing.Point(0, 0); this.gcMain.MainView = this.gridView1; this.gcMain.Name = "gcMain"; - this.gcMain.Size = new System.Drawing.Size(1126, 531); + this.gcMain.Size = new System.Drawing.Size(879, 393); this.gcMain.TabIndex = 1; this.gcMain.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView1}); @@ -441,8 +369,17 @@ this.gridView1.Appearance.Row.Font = new System.Drawing.Font("Tahoma", 10F); this.gridView1.Appearance.Row.Options.UseFont = true; this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { - this.gv_guid,this.gv_itemNo,this.gv_factory,this.gv_departmentName,this.gv_fameGuid,this.gv_createBy,this.gv_createTime,this.gv_lastUpdateBy,this.gv_lastUpdateTime,this.gv_isStatus,this.gv_remark}); + this.gv_itemNo, + this.gv_departmentName, + this.gv_fameGuid, + this.gv_createBy, + this.gv_createTime, + this.gv_lastUpdateBy, + this.gv_lastUpdateTime, + this.gv_isStatus, + this.gv_remark}); this.gridView1.GridControl = this.gcMain; + this.gridView1.IndicatorWidth = 50; this.gridView1.Name = "gridView1"; this.gridView1.OptionsFind.ShowSearchNavButtons = false; this.gridView1.OptionsView.ShowAutoFilterRow = true; @@ -454,7 +391,7 @@ this.xtraTabControl1.Location = new System.Drawing.Point(0, 80); this.xtraTabControl1.Name = "xtraTabControl1"; this.xtraTabControl1.SelectedTabPage = this.xtraTabPage1; - this.xtraTabControl1.Size = new System.Drawing.Size(1128, 602); + this.xtraTabControl1.Size = new System.Drawing.Size(881, 464); this.xtraTabControl1.TabIndex = 3; this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { this.xtraTabPage1, @@ -465,19 +402,19 @@ this.xtraTabPage1.Controls.Add(this.gcMain); this.xtraTabPage1.Controls.Add(this.pageBar1); this.xtraTabPage1.Name = "xtraTabPage1"; - this.xtraTabPage1.Size = new System.Drawing.Size(1126, 570); + this.xtraTabPage1.Size = new System.Drawing.Size(879, 432); this.xtraTabPage1.Text = "鏁版嵁鏌ヨ"; // // pageBar1 // this.pageBar1.CurrentPage = 1; this.pageBar1.Dock = System.Windows.Forms.DockStyle.Bottom; - this.pageBar1.Location = new System.Drawing.Point(0, 531); + this.pageBar1.Location = new System.Drawing.Point(0, 393); this.pageBar1.Margin = new System.Windows.Forms.Padding(3, 5, 3, 5); this.pageBar1.Name = "pageBar1"; this.pageBar1.RecordCount = 0; this.pageBar1.RowsCount = 50; - this.pageBar1.Size = new System.Drawing.Size(1126, 39); + this.pageBar1.Size = new System.Drawing.Size(879, 39); this.pageBar1.TabIndex = 3; this.pageBar1.TotalPages = 0; // @@ -486,7 +423,7 @@ this.xtraTabPage2.Controls.Add(this.panel1); this.xtraTabPage2.Name = "xtraTabPage2"; this.xtraTabPage2.PageEnabled = false; - this.xtraTabPage2.Size = new System.Drawing.Size(1126, 570); + this.xtraTabPage2.Size = new System.Drawing.Size(879, 432); this.xtraTabPage2.Text = "鏁版嵁缂栬緫"; // // panel1 @@ -494,15 +431,29 @@ this.panel1.BackColor = System.Drawing.Color.White; this.panel1.Controls.Add(this.labelControl11); this.panel1.Controls.Add(this.lbGuid); + this.panel1.Controls.Add(this.lb_remark); + this.panel1.Controls.Add(this.txt_remark); + this.panel1.Controls.Add(this.lb_isStatus); + this.panel1.Controls.Add(this.txt_isStatus); + this.panel1.Controls.Add(this.lb_createTime); + this.panel1.Controls.Add(this.txt_createTime); + this.panel1.Controls.Add(this.lb_createBy); + this.panel1.Controls.Add(this.txt_createBy); + this.panel1.Controls.Add(this.lb_fameGuid); + this.panel1.Controls.Add(this.txt_fameGuid); + this.panel1.Controls.Add(this.lb_departmentName); + this.panel1.Controls.Add(this.txt_departmentName); + this.panel1.Controls.Add(this.lb_itemNo); + this.panel1.Controls.Add(this.txt_itemNo); this.panel1.Font = new System.Drawing.Font("Tahoma", 10F); this.panel1.Location = new System.Drawing.Point(76, 20); this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(585, 426); + this.panel1.Size = new System.Drawing.Size(662, 352); this.panel1.TabIndex = 1; // // labelControl11 // - this.labelControl11.Location = new System.Drawing.Point(61, 388); + this.labelControl11.Location = new System.Drawing.Point(61, 310); this.labelControl11.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.labelControl11.Name = "labelControl11"; this.labelControl11.Size = new System.Drawing.Size(45, 18); @@ -512,54 +463,26 @@ // lbGuid // this.lbGuid.AutoSize = true; - this.lbGuid.Location = new System.Drawing.Point(112, 388); + this.lbGuid.Location = new System.Drawing.Point(112, 310); this.lbGuid.Name = "lbGuid"; this.lbGuid.Size = new System.Drawing.Size(0, 21); this.lbGuid.TabIndex = 1; // - // category1 + // FrmDepartment // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(1128, 682); + this.ClientSize = new System.Drawing.Size(881, 544); this.Controls.Add(this.xtraTabControl1); this.Controls.Add(this.toolBarMenu1); - //BQAddControltoMContainer - this.panel1.Controls.Add(this.lb_remark); - this.panel1.Controls.Add(this.txt_remark); - - this.panel1.Controls.Add(this.lb_isStatus); - this.panel1.Controls.Add(this.txt_isStatus); - - this.panel1.Controls.Add(this.lb_lastUpdateTime); - this.panel1.Controls.Add(this.txt_lastUpdateTime); - - this.panel1.Controls.Add(this.lb_lastUpdateBy); - this.panel1.Controls.Add(this.txt_lastUpdateBy); - - this.panel1.Controls.Add(this.lb_createTime); - this.panel1.Controls.Add(this.txt_createTime); - - this.panel1.Controls.Add(this.lb_createBy); - this.panel1.Controls.Add(this.txt_createBy); - - this.panel1.Controls.Add(this.lb_fameGuid); - this.panel1.Controls.Add(this.txt_fameGuid); - - this.panel1.Controls.Add(this.lb_departmentName); - this.panel1.Controls.Add(this.txt_departmentName); - - this.panel1.Controls.Add(this.lb_factory); - this.panel1.Controls.Add(this.txt_factory); - - this.panel1.Controls.Add(this.lb_itemNo); - this.panel1.Controls.Add(this.txt_itemNo); - - this.panel1.Controls.Add(this.lb_guid); - this.panel1.Controls.Add(this.txt_guid); - - this.Name = "category1"; - this.Text = ""; + this.Name = "FrmDepartment"; + ((System.ComponentModel.ISupportInitialize)(this.txt_remark.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_isStatus.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_createTime.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_createBy.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_fameGuid.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_departmentName.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_itemNo.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gcMain)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit(); @@ -569,6 +492,7 @@ this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.ResumeLayout(false); + } #endregion private UserControl.ToolBarMenu toolBarMenu1; @@ -589,13 +513,7 @@ private DevExpress.XtraEditors.LabelControl lb_isStatus; private DevExpress.XtraEditors.TextEdit txt_isStatus; private DevExpress.XtraGrid.Columns.GridColumn gv_isStatus; - - private DevExpress.XtraEditors.LabelControl lb_lastUpdateTime; - private DevExpress.XtraEditors.TextEdit txt_lastUpdateTime; private DevExpress.XtraGrid.Columns.GridColumn gv_lastUpdateTime; - - private DevExpress.XtraEditors.LabelControl lb_lastUpdateBy; - private DevExpress.XtraEditors.TextEdit txt_lastUpdateBy; private DevExpress.XtraGrid.Columns.GridColumn gv_lastUpdateBy; private DevExpress.XtraEditors.LabelControl lb_createTime; @@ -614,17 +532,9 @@ private DevExpress.XtraEditors.TextEdit txt_departmentName; private DevExpress.XtraGrid.Columns.GridColumn gv_departmentName; - private DevExpress.XtraEditors.LabelControl lb_factory; - private DevExpress.XtraEditors.TextEdit txt_factory; - private DevExpress.XtraGrid.Columns.GridColumn gv_factory; - private DevExpress.XtraEditors.LabelControl lb_itemNo; private DevExpress.XtraEditors.TextEdit txt_itemNo; private DevExpress.XtraGrid.Columns.GridColumn gv_itemNo; - - private DevExpress.XtraEditors.LabelControl lb_guid; - private DevExpress.XtraEditors.TextEdit txt_guid; - private DevExpress.XtraGrid.Columns.GridColumn gv_guid; } } \ No newline at end of file diff --git a/DevApp/Gs.DevApp/DevFrm/BasicData/FrmDepartment.cs b/DevApp/Gs.DevApp/DevFrm/BasicData/FrmDepartment.cs index afde7b4..814a95c 100644 --- a/DevApp/Gs.DevApp/DevFrm/BasicData/FrmDepartment.cs +++ b/DevApp/Gs.DevApp/DevFrm/BasicData/FrmDepartment.cs @@ -17,17 +17,20 @@ public FrmDepartment() { InitializeComponent(); - this.toolBarMenu1.btnAddClick += ToolBarMenu1_btnAddClick; - this.toolBarMenu1.btnEdtClick += ToolBarMenu1_btnEdtClick; - this.toolBarMenu1.btnSaveClick += ToolBarMenu1_btnSaveClick; this.toolBarMenu1.btnLoadClick += ToolBarMenu1_btnLoadClick; - this.toolBarMenu1.btnDelClick += ToolBarMenu1_btnDelClick1; - this.toolBarMenu1.btnEscClick += ToolBarMenu1_btnEscClick; this.toolBarMenu1.btnQueryClick += ToolBarMenu1_btnQueryClick; gcMain.MouseDoubleClick += GcMain_MouseDoubleClick; gridView1.ColumnFilterChanged += GridView1_ColumnFilterChanged; + gridView1.CustomDrawRowIndicator += GridView1_CustomDrawRowIndicator; pageBar1.PagerEvent += PageBar1_PagerEvent; getPageList(1, UtilityHelper.GetPageSize()); + } + private void GridView1_CustomDrawRowIndicator(object sender, RowIndicatorCustomDrawEventArgs e) + { + if (e.Info.IsRowIndicator && e.RowHandle >= 0) + { + e.Info.DisplayText = (e.RowHandle + 1).ToString(); + } } private void GridView1_ColumnFilterChanged(object sender, EventArgs e) { @@ -92,52 +95,6 @@ string strWhere = e.Data; MessageBox.Show(strWhere); } - - /// <summary> - /// 鍙栨秷浜嬩欢 - /// </summary> - /// <param name="sender"></param> - /// <param name="e"></param> - private void ToolBarMenu1_btnEscClick(object sender, EventArgs e) - { - UtilityHelper.ChangeTab(xtraTabControl1, 0); - } - /// <summary> - /// 鍒犻櫎浜嬩欢 - /// </summary> - /// <param name="sender"></param> - /// <param name="e"></param> - private void ToolBarMenu1_btnDelClick1(object sender, EventArgs e) - { - DataRow dr = gridView1.GetFocusedDataRow(); - if (dr == null || string.IsNullOrEmpty(dr["guid"].ToString())) - { - ToolBox.MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�"); - return; - } - if (!MsgHelper.AskQuestion("浣犻�夋嫨浜嗐��" + dr["userName"].ToString() + "銆戯紝纭畾鍒犻櫎鍚楋紵")) - return; - var _obj = new - { - guidList = dr["guid"].ToString(),//涓诲缓 - }; - string strJson = ""; - try - { - strJson = UtilityHelper.HttpPost("", "User/DeleteModel", JsonConvert.SerializeObject(_obj)); - ReturnModel<dynamic> _rtn = ToolBox.UtilityHelper.GetDataByJson(strJson); - if (_rtn.rtnCode > 0) - { - UtilityHelper.ChangeTab(xtraTabControl1, 0); - getPageList(1, UtilityHelper.GetPageSize()); - } - ToolBox.MsgHelper.Warning("鎻愮ず锛�" + _rtn.rtnMsg); - } - catch (Exception ex) - { - ToolBox.MsgHelper.Warning("鎻愮ず锛�" + ex.Message); - } - } /// <summary> /// 鍒锋柊浜嬩欢 /// </summary> @@ -147,61 +104,6 @@ { UtilityHelper.ChangeTab(xtraTabControl1, 0); getPageList(1, UtilityHelper.GetPageSize()); - } - /// <summary> - /// 淇敼浜嬩欢 - /// </summary> - /// <param name="sender"></param> - /// <param name="e"></param> - private void ToolBarMenu1_btnEdtClick(object sender, EventArgs e) - { - DataRow dr = gridView1.GetFocusedDataRow(); - if (dr == null || string.IsNullOrEmpty(dr["guid"].ToString())) - { - ToolBox.MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�"); - return; - } - getModel(dr["guid"].ToString(), true, 1); - } - /// <summary> - /// 鏂板浜嬩欢 - /// </summary> - /// <param name="sender"></param> - /// <param name="e"></param> - private void ToolBarMenu1_btnAddClick(object sender, EventArgs e) - { - UtilityHelper.ChangeTab(xtraTabControl1, 1); - lbGuid.Text = ""; - UtilityHelper.CleanValue(this.panel1.Controls, true); - } - /// <summary> - /// 淇濆瓨浜嬩欢 - /// </summary> - /// <param name="sender"></param> - /// <param name="e"></param> - private void ToolBarMenu1_btnSaveClick(object sender, EventArgs e) - { - toolBarMenu1.isSetBtn = false; - var _obj = new - { - guid = lbGuid.Text.Trim(),//涓诲缓 - }; - try - { - string strJson = UtilityHelper.HttpPost("", "User/EditModel", JsonConvert.SerializeObject(_obj)); - ReturnModel<dynamic> _rtn = ToolBox.UtilityHelper.GetDataByJson(strJson); - ToolBox.MsgHelper.Warning("鎻愮ず锛�" + _rtn.rtnMsg); - if (_rtn.rtnCode > 0) - { - lbGuid.Text = _rtn.rtnData; - toolBarMenu1.isSetBtn = true; - UtilityHelper.ChangeEnable(this.panel1.Controls, false); - } - } - catch (Exception ex) - { - ToolBox.MsgHelper.Warning("鎻愮ず锛�" + ex.Message); - } } /// <summary> /// diff --git a/DevApp/Gs.DevApp/DevFrm/BasicData/FrmDepartment.resx b/DevApp/Gs.DevApp/DevFrm/BasicData/FrmDepartment.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/DevApp/Gs.DevApp/DevFrm/BasicData/FrmDepartment.resx @@ -0,0 +1,120 @@ +锘�<?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> +</root> \ No newline at end of file diff --git a/DevApp/Gs.DevApp/DevFrm/BasicData/FrmDictionary.Designer.cs b/DevApp/Gs.DevApp/DevFrm/BasicData/FrmDictionary.Designer.cs index ba1e17d..f69cfd0 100644 --- a/DevApp/Gs.DevApp/DevFrm/BasicData/FrmDictionary.Designer.cs +++ b/DevApp/Gs.DevApp/DevFrm/BasicData/FrmDictionary.Designer.cs @@ -384,7 +384,6 @@ // // toolBarMenu1 // - this.toolBarMenu1.actions = null; this.toolBarMenu1.Dock = System.Windows.Forms.DockStyle.Top; this.toolBarMenu1.isSetBtn = false; this.toolBarMenu1.Location = new System.Drawing.Point(0, 0); diff --git a/DevApp/Gs.DevApp/DevFrm/BasicData/FrmItemType.Designer.cs b/DevApp/Gs.DevApp/DevFrm/BasicData/FrmItemType.Designer.cs new file mode 100644 index 0000000..3836bfc --- /dev/null +++ b/DevApp/Gs.DevApp/DevFrm/BasicData/FrmItemType.Designer.cs @@ -0,0 +1,539 @@ +锘� +namespace Gs.DevApp.DevFrm.BasicData +{ + partial class FrmItemType + { + + /// <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.gv_lastUpdateTime = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_lastUpdateBy = new DevExpress.XtraGrid.Columns.GridColumn(); + this.lb_remark = new DevExpress.XtraEditors.LabelControl(); + this.txt_remark = new DevExpress.XtraEditors.TextEdit(); + this.gv_remark = new DevExpress.XtraGrid.Columns.GridColumn(); + this.lb_createTime = new DevExpress.XtraEditors.LabelControl(); + this.txt_createTime = new DevExpress.XtraEditors.TextEdit(); + this.gv_createTime = new DevExpress.XtraGrid.Columns.GridColumn(); + this.lb_createBy = new DevExpress.XtraEditors.LabelControl(); + this.txt_createBy = new DevExpress.XtraEditors.TextEdit(); + this.gv_createBy = new DevExpress.XtraGrid.Columns.GridColumn(); + this.lb_isStatus = new DevExpress.XtraEditors.LabelControl(); + this.txt_isStatus = new DevExpress.XtraEditors.TextEdit(); + this.gv_isStatus = new DevExpress.XtraGrid.Columns.GridColumn(); + this.lb_category = new DevExpress.XtraEditors.LabelControl(); + this.txt_category = new DevExpress.XtraEditors.TextEdit(); + this.gv_category = new DevExpress.XtraGrid.Columns.GridColumn(); + this.lb_name = new DevExpress.XtraEditors.LabelControl(); + this.txt_name = new DevExpress.XtraEditors.TextEdit(); + this.gv_name = new DevExpress.XtraGrid.Columns.GridColumn(); + this.lb_itemNo = new DevExpress.XtraEditors.LabelControl(); + this.txt_itemNo = new DevExpress.XtraEditors.TextEdit(); + this.gv_itemNo = new DevExpress.XtraGrid.Columns.GridColumn(); + this.toolBarMenu1 = new Gs.DevApp.UserControl.ToolBarMenu(); + this.gcMain = new DevExpress.XtraGrid.GridControl(); + this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); + this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl(); + this.xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage(); + this.pageBar1 = new UserControls.Data.PageBar(); + this.xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage(); + this.panel1 = new System.Windows.Forms.Panel(); + this.labelControl11 = new DevExpress.XtraEditors.LabelControl(); + this.lbGuid = new System.Windows.Forms.Label(); + ((System.ComponentModel.ISupportInitialize)(this.txt_remark.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_createTime.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_createBy.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_isStatus.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_category.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_name.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_itemNo.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.gcMain)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit(); + this.xtraTabControl1.SuspendLayout(); + this.xtraTabPage1.SuspendLayout(); + this.xtraTabPage2.SuspendLayout(); + this.panel1.SuspendLayout(); + this.SuspendLayout(); + // + // gv_lastUpdateTime + // + this.gv_lastUpdateTime.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_lastUpdateTime.AppearanceCell.Options.UseFont = true; + this.gv_lastUpdateTime.Caption = "鏇存柊鏃堕棿"; + this.gv_lastUpdateTime.FieldName = "lastUpdateTime"; + this.gv_lastUpdateTime.MinWidth = 25; + this.gv_lastUpdateTime.Name = "gv_lastUpdateTime"; + this.gv_lastUpdateTime.OptionsColumn.AllowEdit = false; + this.gv_lastUpdateTime.Visible = true; + this.gv_lastUpdateTime.VisibleIndex = 8; + this.gv_lastUpdateTime.Width = 94; + // + // gv_lastUpdateBy + // + this.gv_lastUpdateBy.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_lastUpdateBy.AppearanceCell.Options.UseFont = true; + this.gv_lastUpdateBy.Caption = "鏇存柊鑰�"; + this.gv_lastUpdateBy.FieldName = "lastUpdateBy"; + this.gv_lastUpdateBy.MinWidth = 25; + this.gv_lastUpdateBy.Name = "gv_lastUpdateBy"; + this.gv_lastUpdateBy.OptionsColumn.AllowEdit = false; + this.gv_lastUpdateBy.Visible = true; + this.gv_lastUpdateBy.VisibleIndex = 7; + this.gv_lastUpdateBy.Width = 94; + // + // lb_remark + // + this.lb_remark.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_remark.Appearance.Options.UseFont = true; + this.lb_remark.Location = new System.Drawing.Point(20, 154); + this.lb_remark.Name = "lb_remark"; + this.lb_remark.Size = new System.Drawing.Size(51, 21); + this.lb_remark.TabIndex = 228; + this.lb_remark.Tag = "remark"; + this.lb_remark.Text = "澶囨敞锛�"; + // + // txt_remark + // + this.txt_remark.Location = new System.Drawing.Point(80, 150); + this.txt_remark.Name = "txt_remark"; + this.txt_remark.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_remark.Properties.Appearance.Options.UseFont = true; + this.txt_remark.Size = new System.Drawing.Size(150, 28); + this.txt_remark.TabIndex = 228; + this.txt_remark.Tag = "remark"; + // + // gv_remark + // + this.gv_remark.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_remark.AppearanceCell.Options.UseFont = true; + this.gv_remark.Caption = "澶囨敞"; + this.gv_remark.FieldName = "remark"; + this.gv_remark.MinWidth = 25; + this.gv_remark.Name = "gv_remark"; + this.gv_remark.OptionsColumn.AllowEdit = false; + this.gv_remark.Visible = true; + this.gv_remark.VisibleIndex = 6; + this.gv_remark.Width = 94; + // + // lb_createTime + // + this.lb_createTime.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_createTime.Appearance.Options.UseFont = true; + this.lb_createTime.Location = new System.Drawing.Point(291, 64); + this.lb_createTime.Name = "lb_createTime"; + this.lb_createTime.Size = new System.Drawing.Size(85, 21); + this.lb_createTime.TabIndex = 226; + this.lb_createTime.Tag = "createTime"; + this.lb_createTime.Text = "寤虹珛鏃堕棿锛�"; + // + // txt_createTime + // + this.txt_createTime.Location = new System.Drawing.Point(388, 60); + this.txt_createTime.Name = "txt_createTime"; + this.txt_createTime.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_createTime.Properties.Appearance.Options.UseFont = true; + this.txt_createTime.Size = new System.Drawing.Size(150, 28); + this.txt_createTime.TabIndex = 226; + this.txt_createTime.Tag = "createTime"; + // + // gv_createTime + // + this.gv_createTime.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_createTime.AppearanceCell.Options.UseFont = true; + this.gv_createTime.Caption = "寤虹珛鏃堕棿"; + this.gv_createTime.FieldName = "createTime"; + this.gv_createTime.MinWidth = 25; + this.gv_createTime.Name = "gv_createTime"; + this.gv_createTime.OptionsColumn.AllowEdit = false; + this.gv_createTime.Visible = true; + this.gv_createTime.VisibleIndex = 5; + this.gv_createTime.Width = 94; + // + // lb_createBy + // + this.lb_createBy.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_createBy.Appearance.Options.UseFont = true; + this.lb_createBy.Location = new System.Drawing.Point(308, 18); + this.lb_createBy.Name = "lb_createBy"; + this.lb_createBy.Size = new System.Drawing.Size(68, 21); + this.lb_createBy.TabIndex = 222; + this.lb_createBy.Tag = "createBy"; + this.lb_createBy.Text = "寤虹珛鑰咃細"; + // + // txt_createBy + // + this.txt_createBy.Location = new System.Drawing.Point(388, 14); + this.txt_createBy.Name = "txt_createBy"; + this.txt_createBy.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_createBy.Properties.Appearance.Options.UseFont = true; + this.txt_createBy.Size = new System.Drawing.Size(150, 28); + this.txt_createBy.TabIndex = 222; + this.txt_createBy.Tag = "createBy"; + // + // gv_createBy + // + this.gv_createBy.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_createBy.AppearanceCell.Options.UseFont = true; + this.gv_createBy.Caption = "寤虹珛鑰�"; + this.gv_createBy.FieldName = "createBy"; + this.gv_createBy.MinWidth = 25; + this.gv_createBy.Name = "gv_createBy"; + this.gv_createBy.OptionsColumn.AllowEdit = false; + this.gv_createBy.Visible = true; + this.gv_createBy.VisibleIndex = 4; + this.gv_createBy.Width = 94; + // + // lb_isStatus + // + this.lb_isStatus.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_isStatus.Appearance.Options.UseFont = true; + this.lb_isStatus.Location = new System.Drawing.Point(325, 154); + this.lb_isStatus.Name = "lb_isStatus"; + this.lb_isStatus.Size = new System.Drawing.Size(51, 21); + this.lb_isStatus.TabIndex = 219; + this.lb_isStatus.Tag = "isStatus"; + this.lb_isStatus.Text = "鐘舵�侊細"; + // + // txt_isStatus + // + this.txt_isStatus.Location = new System.Drawing.Point(388, 150); + this.txt_isStatus.Name = "txt_isStatus"; + this.txt_isStatus.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_isStatus.Properties.Appearance.Options.UseFont = true; + this.txt_isStatus.Size = new System.Drawing.Size(150, 28); + this.txt_isStatus.TabIndex = 219; + this.txt_isStatus.Tag = "isStatus"; + // + // gv_isStatus + // + this.gv_isStatus.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_isStatus.AppearanceCell.Options.UseFont = true; + this.gv_isStatus.Caption = "鐘舵��"; + this.gv_isStatus.FieldName = "isStatusTxt"; + this.gv_isStatus.MinWidth = 25; + this.gv_isStatus.Name = "gv_isStatus"; + this.gv_isStatus.OptionsColumn.AllowEdit = false; + this.gv_isStatus.Visible = true; + this.gv_isStatus.VisibleIndex = 3; + this.gv_isStatus.Width = 94; + // + // lb_category + // + this.lb_category.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_category.Appearance.Options.UseFont = true; + this.lb_category.Location = new System.Drawing.Point(20, 111); + this.lb_category.Name = "lb_category"; + this.lb_category.Size = new System.Drawing.Size(51, 21); + this.lb_category.TabIndex = 217; + this.lb_category.Tag = "category"; + this.lb_category.Text = "绫诲埆锛�"; + // + // txt_category + // + this.txt_category.Location = new System.Drawing.Point(80, 107); + this.txt_category.Name = "txt_category"; + this.txt_category.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_category.Properties.Appearance.Options.UseFont = true; + this.txt_category.Size = new System.Drawing.Size(150, 28); + this.txt_category.TabIndex = 217; + this.txt_category.Tag = "category"; + // + // gv_category + // + this.gv_category.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_category.AppearanceCell.Options.UseFont = true; + this.gv_category.Caption = "绫诲埆"; + this.gv_category.FieldName = "category"; + this.gv_category.MinWidth = 25; + this.gv_category.Name = "gv_category"; + this.gv_category.OptionsColumn.AllowEdit = false; + this.gv_category.Visible = true; + this.gv_category.VisibleIndex = 2; + this.gv_category.Width = 94; + // + // lb_name + // + this.lb_name.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_name.Appearance.Options.UseFont = true; + this.lb_name.Location = new System.Drawing.Point(20, 64); + this.lb_name.Name = "lb_name"; + this.lb_name.Size = new System.Drawing.Size(51, 21); + this.lb_name.TabIndex = 216; + this.lb_name.Tag = "name"; + this.lb_name.Text = "鍚嶇О锛�"; + // + // txt_name + // + this.txt_name.Location = new System.Drawing.Point(80, 60); + this.txt_name.Name = "txt_name"; + this.txt_name.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_name.Properties.Appearance.Options.UseFont = true; + this.txt_name.Size = new System.Drawing.Size(150, 28); + this.txt_name.TabIndex = 216; + this.txt_name.Tag = "name"; + // + // gv_name + // + this.gv_name.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_name.AppearanceCell.Options.UseFont = true; + this.gv_name.Caption = "鍚嶇О"; + this.gv_name.FieldName = "name"; + this.gv_name.MinWidth = 25; + this.gv_name.Name = "gv_name"; + this.gv_name.OptionsColumn.AllowEdit = false; + this.gv_name.Visible = true; + this.gv_name.VisibleIndex = 1; + this.gv_name.Width = 94; + // + // lb_itemNo + // + this.lb_itemNo.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_itemNo.Appearance.Options.UseFont = true; + this.lb_itemNo.Location = new System.Drawing.Point(20, 18); + this.lb_itemNo.Name = "lb_itemNo"; + this.lb_itemNo.Size = new System.Drawing.Size(51, 21); + this.lb_itemNo.TabIndex = 213; + this.lb_itemNo.Tag = "itemNo"; + this.lb_itemNo.Text = "缂栧彿锛�"; + // + // txt_itemNo + // + this.txt_itemNo.Location = new System.Drawing.Point(80, 14); + this.txt_itemNo.Name = "txt_itemNo"; + this.txt_itemNo.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_itemNo.Properties.Appearance.Options.UseFont = true; + this.txt_itemNo.Size = new System.Drawing.Size(150, 28); + this.txt_itemNo.TabIndex = 213; + this.txt_itemNo.Tag = "itemNo"; + // + // gv_itemNo + // + this.gv_itemNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_itemNo.AppearanceCell.Options.UseFont = true; + this.gv_itemNo.Caption = "缂栧彿"; + this.gv_itemNo.FieldName = "itemNo"; + this.gv_itemNo.MinWidth = 25; + this.gv_itemNo.Name = "gv_itemNo"; + this.gv_itemNo.OptionsColumn.AllowEdit = false; + this.gv_itemNo.Visible = true; + this.gv_itemNo.VisibleIndex = 0; + this.gv_itemNo.Width = 94; + // + // toolBarMenu1 + // + this.toolBarMenu1.Dock = System.Windows.Forms.DockStyle.Top; + this.toolBarMenu1.isSetBtn = false; + this.toolBarMenu1.Location = new System.Drawing.Point(0, 0); + this.toolBarMenu1.Name = "toolBarMenu1"; + this.toolBarMenu1.Size = new System.Drawing.Size(818, 80); + this.toolBarMenu1.TabIndex = 0; + // + // gcMain + // + this.gcMain.Dock = System.Windows.Forms.DockStyle.Fill; + this.gcMain.Font = new System.Drawing.Font("Tahoma", 10F); + this.gcMain.Location = new System.Drawing.Point(0, 0); + this.gcMain.MainView = this.gridView1; + this.gcMain.Name = "gcMain"; + this.gcMain.Size = new System.Drawing.Size(816, 422); + this.gcMain.TabIndex = 1; + this.gcMain.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { + this.gridView1}); + // + // gridView1 + // + this.gridView1.Appearance.Row.Font = new System.Drawing.Font("Tahoma", 10F); + this.gridView1.Appearance.Row.Options.UseFont = true; + this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { + this.gv_itemNo, + this.gv_name, + this.gv_category, + this.gv_isStatus, + this.gv_createBy, + this.gv_createTime, + this.gv_remark, + this.gv_lastUpdateBy, + this.gv_lastUpdateTime}); + this.gridView1.GridControl = this.gcMain; + this.gridView1.Name = "gridView1"; + this.gridView1.OptionsFind.ShowSearchNavButtons = false; + this.gridView1.OptionsView.ShowAutoFilterRow = true; + this.gridView1.OptionsView.ShowGroupPanel = false; + // + // xtraTabControl1 + // + this.xtraTabControl1.Dock = System.Windows.Forms.DockStyle.Fill; + this.xtraTabControl1.Location = new System.Drawing.Point(0, 80); + this.xtraTabControl1.Name = "xtraTabControl1"; + this.xtraTabControl1.SelectedTabPage = this.xtraTabPage1; + this.xtraTabControl1.Size = new System.Drawing.Size(818, 493); + this.xtraTabControl1.TabIndex = 3; + this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { + this.xtraTabPage1, + this.xtraTabPage2}); + // + // xtraTabPage1 + // + this.xtraTabPage1.Controls.Add(this.gcMain); + this.xtraTabPage1.Controls.Add(this.pageBar1); + this.xtraTabPage1.Name = "xtraTabPage1"; + this.xtraTabPage1.Size = new System.Drawing.Size(816, 461); + this.xtraTabPage1.Text = "鏁版嵁鏌ヨ"; + // + // pageBar1 + // + this.pageBar1.CurrentPage = 1; + this.pageBar1.Dock = System.Windows.Forms.DockStyle.Bottom; + this.pageBar1.Location = new System.Drawing.Point(0, 422); + this.pageBar1.Margin = new System.Windows.Forms.Padding(3, 5, 3, 5); + this.pageBar1.Name = "pageBar1"; + this.pageBar1.RecordCount = 0; + this.pageBar1.RowsCount = 50; + this.pageBar1.Size = new System.Drawing.Size(816, 39); + this.pageBar1.TabIndex = 3; + this.pageBar1.TotalPages = 0; + // + // xtraTabPage2 + // + this.xtraTabPage2.Controls.Add(this.panel1); + this.xtraTabPage2.Name = "xtraTabPage2"; + this.xtraTabPage2.PageEnabled = false; + this.xtraTabPage2.Size = new System.Drawing.Size(816, 461); + this.xtraTabPage2.Text = "鏁版嵁缂栬緫"; + // + // panel1 + // + this.panel1.BackColor = System.Drawing.Color.White; + this.panel1.Controls.Add(this.labelControl11); + this.panel1.Controls.Add(this.lbGuid); + this.panel1.Controls.Add(this.lb_remark); + this.panel1.Controls.Add(this.txt_remark); + this.panel1.Controls.Add(this.lb_createTime); + this.panel1.Controls.Add(this.txt_createTime); + this.panel1.Controls.Add(this.lb_createBy); + this.panel1.Controls.Add(this.txt_createBy); + this.panel1.Controls.Add(this.lb_isStatus); + this.panel1.Controls.Add(this.txt_isStatus); + this.panel1.Controls.Add(this.lb_category); + this.panel1.Controls.Add(this.txt_category); + this.panel1.Controls.Add(this.lb_name); + this.panel1.Controls.Add(this.txt_name); + this.panel1.Controls.Add(this.lb_itemNo); + this.panel1.Controls.Add(this.txt_itemNo); + this.panel1.Font = new System.Drawing.Font("Tahoma", 10F); + this.panel1.Location = new System.Drawing.Point(76, 20); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(615, 384); + this.panel1.TabIndex = 1; + // + // labelControl11 + // + this.labelControl11.Location = new System.Drawing.Point(61, 334); + this.labelControl11.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.labelControl11.Name = "labelControl11"; + this.labelControl11.Size = new System.Drawing.Size(45, 18); + this.labelControl11.TabIndex = 130; + this.labelControl11.Text = "涓婚敭锛�"; + // + // lbGuid + // + this.lbGuid.AutoSize = true; + this.lbGuid.Location = new System.Drawing.Point(112, 334); + this.lbGuid.Name = "lbGuid"; + this.lbGuid.Size = new System.Drawing.Size(0, 21); + this.lbGuid.TabIndex = 1; + // + // FrmItemType + // + this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(818, 573); + this.Controls.Add(this.xtraTabControl1); + this.Controls.Add(this.toolBarMenu1); + this.Name = "FrmItemType"; + ((System.ComponentModel.ISupportInitialize)(this.txt_remark.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_createTime.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_createBy.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_isStatus.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_category.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_name.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_itemNo.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.gcMain)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit(); + this.xtraTabControl1.ResumeLayout(false); + this.xtraTabPage1.ResumeLayout(false); + this.xtraTabPage2.ResumeLayout(false); + this.panel1.ResumeLayout(false); + this.panel1.PerformLayout(); + this.ResumeLayout(false); + + } + #endregion + private UserControl.ToolBarMenu toolBarMenu1; + private DevExpress.XtraGrid.GridControl gcMain; + private DevExpress.XtraGrid.Views.Grid.GridView gridView1; + private DevExpress.XtraTab.XtraTabControl xtraTabControl1; + private DevExpress.XtraTab.XtraTabPage xtraTabPage1; + private DevExpress.XtraTab.XtraTabPage xtraTabPage2; + private UserControls.Data.PageBar pageBar1; + private System.Windows.Forms.Panel panel1; + private System.Windows.Forms.Label lbGuid; + private DevExpress.XtraEditors.LabelControl labelControl11; + private DevExpress.XtraGrid.Columns.GridColumn gv_lastUpdateTime; + private DevExpress.XtraGrid.Columns.GridColumn gv_lastUpdateBy; + + private DevExpress.XtraEditors.LabelControl lb_remark; + private DevExpress.XtraEditors.TextEdit txt_remark; + private DevExpress.XtraGrid.Columns.GridColumn gv_remark; + + private DevExpress.XtraEditors.LabelControl lb_createTime; + private DevExpress.XtraEditors.TextEdit txt_createTime; + private DevExpress.XtraGrid.Columns.GridColumn gv_createTime; + + private DevExpress.XtraEditors.LabelControl lb_createBy; + private DevExpress.XtraEditors.TextEdit txt_createBy; + private DevExpress.XtraGrid.Columns.GridColumn gv_createBy; + + private DevExpress.XtraEditors.LabelControl lb_isStatus; + private DevExpress.XtraEditors.TextEdit txt_isStatus; + private DevExpress.XtraGrid.Columns.GridColumn gv_isStatus; + + private DevExpress.XtraEditors.LabelControl lb_category; + private DevExpress.XtraEditors.TextEdit txt_category; + private DevExpress.XtraGrid.Columns.GridColumn gv_category; + + private DevExpress.XtraEditors.LabelControl lb_name; + private DevExpress.XtraEditors.TextEdit txt_name; + private DevExpress.XtraGrid.Columns.GridColumn gv_name; + + private DevExpress.XtraEditors.LabelControl lb_itemNo; + private DevExpress.XtraEditors.TextEdit txt_itemNo; + private DevExpress.XtraGrid.Columns.GridColumn gv_itemNo; + + } +} \ No newline at end of file diff --git a/DevApp/Gs.DevApp/DevFrm/BasicData/FrmItemType.cs b/DevApp/Gs.DevApp/DevFrm/BasicData/FrmItemType.cs new file mode 100644 index 0000000..a16cbf1 --- /dev/null +++ b/DevApp/Gs.DevApp/DevFrm/BasicData/FrmItemType.cs @@ -0,0 +1,158 @@ +锘縰sing DevExpress.XtraGrid.Views.Grid; +using DevExpress.XtraGrid.Views.Grid.ViewInfo; +using Gs.DevApp.Entity; +using Gs.DevApp.ToolBox; +using Newtonsoft.Json; +using System; +using System.Data; +using System.Windows.Forms; + +namespace Gs.DevApp.DevFrm.BasicData +{ + public partial class FrmItemType : DevExpress.XtraEditors.XtraForm + { + public FrmItemType() + { + InitializeComponent(); + this.toolBarMenu1.btnLoadClick += ToolBarMenu1_btnLoadClick; + this.toolBarMenu1.btnQueryClick += ToolBarMenu1_btnQueryClick; + gcMain.MouseDoubleClick += GcMain_MouseDoubleClick; + gridView1.ColumnFilterChanged += GridView1_ColumnFilterChanged; + pageBar1.PagerEvent += PageBar1_PagerEvent; + getPageList(1, UtilityHelper.GetPageSize()); + } + private void GridView1_ColumnFilterChanged(object sender, EventArgs e) + { + //// 鑾峰彇GridView缁勪欢 + //GridView view = sender as GridView; + //// 纭繚view涓嶄负null + //if (view == null) return; + //// 鑾峰彇搴旂敤鐨勭瓫閫夊櫒淇℃伅 + //string filter = view.ActiveFilterString; + //MessageBox.Show(filter); + //getPageList(1, UtilityHelper.GetPageSize()); + } + /// <summary> + /// 鍙屽嚮浜嬩欢 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void GcMain_MouseDoubleClick(object sender, MouseEventArgs e) + { + GridHitInfo info = gridView1.CalcHitInfo(e.Location); + if (info.InRow) + { + GridView view = info.View as GridView; + if (view != null) + { + DataRow row = view.GetDataRow(info.RowHandle); + if (row != null) + { + string rowGuid = (row["guid"].ToString()); + getModel(rowGuid, false, 999); + } + } + } + } + /// <summary> + /// 鍒嗛〉浜嬩欢 + /// </summary> + /// <param name="curPage"></param> + /// <param name="pageSize"></param> + private void PageBar1_PagerEvent(int curPage, int pageSize) + { + getPageList(curPage, pageSize); + } + /// <summary> + /// 鏌ヨ浜嬩欢 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void ToolBarMenu1_btnQueryClick(object sender, EventArgs e) + { + Gs.DevApp.UserControl.ShowFilter frm = new Gs.DevApp.UserControl.ShowFilter(gridView1.Columns); + frm.UpdateParent += Frm_UpdateParent; + frm.ShowDialog(); + } + /// <summary> + /// 鏌ヨ鍥炶皟 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void Frm_UpdateParent(object sender, UpdateParentEventArgs e) + { + string strWhere = e.Data; + MessageBox.Show(strWhere); + } + + /// <summary> + /// 鍒锋柊浜嬩欢 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void ToolBarMenu1_btnLoadClick(object sender, EventArgs e) + { + UtilityHelper.ChangeTab(xtraTabControl1, 0); + getPageList(1, UtilityHelper.GetPageSize()); + } + /// <summary> + /// + /// </summary> + /// <param name="curPage">绗嚑椤�</param> + /// <param name="pageSize">姣忛〉鍑犳潯</param> + private void getPageList(int curPage, int pageSize) + { + PageQueryModel pgq = new PageQueryModel(curPage, pageSize, "createTime", "asc", "", " and a.[category]='鐗╂枡绫诲瀷'"); + string json = JsonConvert.SerializeObject(pgq); + try + { + string strReturn = UtilityHelper.HttpPost("", "Dictionary/GetListPage", json); + ReturnModel<PageListModel> dd = UtilityHelper.GetTableByJson(strReturn); + DataTable dt = dd.rtnData.list; + gcMain.BindingContext = new BindingContext(); + gcMain.DataSource = dt; + gcMain.ForceInitialize(); + int dddd = dd.rtnData.pages;//鎬婚〉 + pageBar1.TotalPages = dddd; + pageBar1.RecordCount = dd.rtnData.total;//璁板綍鎬绘暟 + pageBar1.CurrentPage = curPage;//褰撳墠椤� + pageBar1.RowsCount = pageSize;//姣忛〉鏄剧ず + pageBar1.setTxt(); + } + catch (Exception ex) + { + ToolBox.MsgHelper.Warning("鎻愮ず锛�" + ex.Message); + } + } + private void getModel(string strGuid, bool isEdit, int tabIdx) + { + if (string.IsNullOrEmpty(strGuid)) + { + ToolBox.MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�"); + return; + } + UtilityHelper.ChangeTab(xtraTabControl1, tabIdx); + var _obj = new + { + guid = strGuid,//涓诲缓 + }; + try + { + string strJson = UtilityHelper.HttpPost("", "Dictionary/GetModel", JsonConvert.SerializeObject(_obj)); + ReturnModel<dynamic> _rtn = ToolBox.UtilityHelper.GetDataByJson(strJson); + if (_rtn.rtnCode > 0) + { + dynamic dy = _rtn.rtnData; + lbGuid.Text = strGuid; + UtilityHelper.SetValueByObj(this.panel1.Controls, dy, isEdit); + } + else + ToolBox.MsgHelper.Warning("鎻愮ず锛�" + _rtn.rtnMsg); + } + catch (Exception ex) + { + ToolBox.MsgHelper.Warning("鎻愮ず锛�" + ex.Message); + } + } + } +} \ No newline at end of file diff --git a/DevApp/Gs.DevApp/DevFrm/BasicData/FrmItemType.resx b/DevApp/Gs.DevApp/DevFrm/BasicData/FrmItemType.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/DevApp/Gs.DevApp/DevFrm/BasicData/FrmItemType.resx @@ -0,0 +1,120 @@ +锘�<?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> +</root> \ No newline at end of file diff --git a/DevApp/Gs.DevApp/DevFrm/BasicData/FrmPosition.Designer.cs b/DevApp/Gs.DevApp/DevFrm/BasicData/FrmPosition.Designer.cs new file mode 100644 index 0000000..4ca1cea --- /dev/null +++ b/DevApp/Gs.DevApp/DevFrm/BasicData/FrmPosition.Designer.cs @@ -0,0 +1,531 @@ +锘� +namespace Gs.DevApp.DevFrm.BasicData +{ + partial class FrmPosition + { + + /// <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.gv_lastUpdateTime = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_lastUpdateBy = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_remark = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_createTime = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_createBy = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_isStatus = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_category = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_name = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_itemNo = new DevExpress.XtraGrid.Columns.GridColumn(); + this.toolBarMenu1 = new Gs.DevApp.UserControl.ToolBarMenu(); + this.gcMain = new DevExpress.XtraGrid.GridControl(); + this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); + this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl(); + this.xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage(); + this.pageBar1 = new UserControls.Data.PageBar(); + this.xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage(); + this.panel1 = new System.Windows.Forms.Panel(); + this.labelControl11 = new DevExpress.XtraEditors.LabelControl(); + this.lbGuid = new System.Windows.Forms.Label(); + this.lb_remark = new DevExpress.XtraEditors.LabelControl(); + this.txt_remark = new DevExpress.XtraEditors.TextEdit(); + this.lb_createTime = new DevExpress.XtraEditors.LabelControl(); + this.txt_createTime = new DevExpress.XtraEditors.TextEdit(); + this.lb_createBy = new DevExpress.XtraEditors.LabelControl(); + this.txt_createBy = new DevExpress.XtraEditors.TextEdit(); + this.lb_isStatus = new DevExpress.XtraEditors.LabelControl(); + this.txt_isStatus = new DevExpress.XtraEditors.TextEdit(); + this.lb_category = new DevExpress.XtraEditors.LabelControl(); + this.txt_category = new DevExpress.XtraEditors.TextEdit(); + this.lb_name = new DevExpress.XtraEditors.LabelControl(); + this.txt_name = new DevExpress.XtraEditors.TextEdit(); + this.lb_itemNo = new DevExpress.XtraEditors.LabelControl(); + this.txt_itemNo = new DevExpress.XtraEditors.TextEdit(); + ((System.ComponentModel.ISupportInitialize)(this.gcMain)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit(); + this.xtraTabControl1.SuspendLayout(); + this.xtraTabPage1.SuspendLayout(); + this.xtraTabPage2.SuspendLayout(); + this.panel1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.txt_remark.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_createTime.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_createBy.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_isStatus.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_category.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_name.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_itemNo.Properties)).BeginInit(); + this.SuspendLayout(); + // + // gv_lastUpdateTime + // + this.gv_lastUpdateTime.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_lastUpdateTime.AppearanceCell.Options.UseFont = true; + this.gv_lastUpdateTime.Caption = "鏇存柊鏃堕棿"; + this.gv_lastUpdateTime.FieldName = "lastUpdateTime"; + this.gv_lastUpdateTime.MinWidth = 25; + this.gv_lastUpdateTime.Name = "gv_lastUpdateTime"; + this.gv_lastUpdateTime.OptionsColumn.AllowEdit = false; + this.gv_lastUpdateTime.Visible = true; + this.gv_lastUpdateTime.VisibleIndex = 8; + this.gv_lastUpdateTime.Width = 94; + // + // gv_lastUpdateBy + // + this.gv_lastUpdateBy.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_lastUpdateBy.AppearanceCell.Options.UseFont = true; + this.gv_lastUpdateBy.Caption = "鏇存柊鑰�"; + this.gv_lastUpdateBy.FieldName = "lastUpdateBy"; + this.gv_lastUpdateBy.MinWidth = 25; + this.gv_lastUpdateBy.Name = "gv_lastUpdateBy"; + this.gv_lastUpdateBy.OptionsColumn.AllowEdit = false; + this.gv_lastUpdateBy.Visible = true; + this.gv_lastUpdateBy.VisibleIndex = 7; + this.gv_lastUpdateBy.Width = 94; + // + // gv_remark + // + this.gv_remark.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_remark.AppearanceCell.Options.UseFont = true; + this.gv_remark.Caption = "澶囨敞"; + this.gv_remark.FieldName = "remark"; + this.gv_remark.MinWidth = 25; + this.gv_remark.Name = "gv_remark"; + this.gv_remark.OptionsColumn.AllowEdit = false; + this.gv_remark.Visible = true; + this.gv_remark.VisibleIndex = 6; + this.gv_remark.Width = 94; + // + // gv_createTime + // + this.gv_createTime.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_createTime.AppearanceCell.Options.UseFont = true; + this.gv_createTime.Caption = "寤虹珛鏃堕棿"; + this.gv_createTime.FieldName = "createTime"; + this.gv_createTime.MinWidth = 25; + this.gv_createTime.Name = "gv_createTime"; + this.gv_createTime.OptionsColumn.AllowEdit = false; + this.gv_createTime.Visible = true; + this.gv_createTime.VisibleIndex = 5; + this.gv_createTime.Width = 94; + // + // gv_createBy + // + this.gv_createBy.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_createBy.AppearanceCell.Options.UseFont = true; + this.gv_createBy.Caption = "寤虹珛鑰�"; + this.gv_createBy.FieldName = "createBy"; + this.gv_createBy.MinWidth = 25; + this.gv_createBy.Name = "gv_createBy"; + this.gv_createBy.OptionsColumn.AllowEdit = false; + this.gv_createBy.Visible = true; + this.gv_createBy.VisibleIndex = 4; + this.gv_createBy.Width = 94; + // + // gv_isStatus + // + this.gv_isStatus.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_isStatus.AppearanceCell.Options.UseFont = true; + this.gv_isStatus.Caption = "鐘舵��"; + this.gv_isStatus.FieldName = "isStatusTxt"; + this.gv_isStatus.MinWidth = 25; + this.gv_isStatus.Name = "gv_isStatus"; + this.gv_isStatus.OptionsColumn.AllowEdit = false; + this.gv_isStatus.Visible = true; + this.gv_isStatus.VisibleIndex = 3; + this.gv_isStatus.Width = 94; + // + // gv_category + // + this.gv_category.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_category.AppearanceCell.Options.UseFont = true; + this.gv_category.Caption = "绫诲埆"; + this.gv_category.FieldName = "category"; + this.gv_category.MinWidth = 25; + this.gv_category.Name = "gv_category"; + this.gv_category.OptionsColumn.AllowEdit = false; + this.gv_category.Visible = true; + this.gv_category.VisibleIndex = 2; + this.gv_category.Width = 94; + // + // gv_name + // + this.gv_name.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_name.AppearanceCell.Options.UseFont = true; + this.gv_name.Caption = "鍚嶇О"; + this.gv_name.FieldName = "name"; + this.gv_name.MinWidth = 25; + this.gv_name.Name = "gv_name"; + this.gv_name.OptionsColumn.AllowEdit = false; + this.gv_name.Visible = true; + this.gv_name.VisibleIndex = 1; + this.gv_name.Width = 94; + // + // gv_itemNo + // + this.gv_itemNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_itemNo.AppearanceCell.Options.UseFont = true; + this.gv_itemNo.Caption = "缂栧彿"; + this.gv_itemNo.FieldName = "itemNo"; + this.gv_itemNo.MinWidth = 25; + this.gv_itemNo.Name = "gv_itemNo"; + this.gv_itemNo.OptionsColumn.AllowEdit = false; + this.gv_itemNo.Visible = true; + this.gv_itemNo.VisibleIndex = 0; + this.gv_itemNo.Width = 94; + // + // toolBarMenu1 + // + this.toolBarMenu1.Dock = System.Windows.Forms.DockStyle.Top; + this.toolBarMenu1.isSetBtn = false; + this.toolBarMenu1.Location = new System.Drawing.Point(0, 0); + this.toolBarMenu1.Name = "toolBarMenu1"; + this.toolBarMenu1.Size = new System.Drawing.Size(1128, 80); + this.toolBarMenu1.TabIndex = 0; + // + // gcMain + // + this.gcMain.Dock = System.Windows.Forms.DockStyle.Fill; + this.gcMain.Font = new System.Drawing.Font("Tahoma", 10F); + this.gcMain.Location = new System.Drawing.Point(0, 0); + this.gcMain.MainView = this.gridView1; + this.gcMain.Name = "gcMain"; + this.gcMain.Size = new System.Drawing.Size(1126, 531); + this.gcMain.TabIndex = 1; + this.gcMain.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { + this.gridView1}); + // + // gridView1 + // + this.gridView1.Appearance.Row.Font = new System.Drawing.Font("Tahoma", 10F); + this.gridView1.Appearance.Row.Options.UseFont = true; + this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { + this.gv_itemNo, + this.gv_name, + this.gv_category, + this.gv_isStatus, + this.gv_createBy, + this.gv_createTime, + this.gv_remark, + this.gv_lastUpdateBy, + this.gv_lastUpdateTime}); + this.gridView1.GridControl = this.gcMain; + this.gridView1.Name = "gridView1"; + this.gridView1.OptionsFind.ShowSearchNavButtons = false; + this.gridView1.OptionsView.ShowAutoFilterRow = true; + this.gridView1.OptionsView.ShowGroupPanel = false; + // + // xtraTabControl1 + // + this.xtraTabControl1.Dock = System.Windows.Forms.DockStyle.Fill; + this.xtraTabControl1.Location = new System.Drawing.Point(0, 80); + this.xtraTabControl1.Name = "xtraTabControl1"; + this.xtraTabControl1.SelectedTabPage = this.xtraTabPage1; + this.xtraTabControl1.Size = new System.Drawing.Size(1128, 602); + this.xtraTabControl1.TabIndex = 3; + this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { + this.xtraTabPage1, + this.xtraTabPage2}); + // + // xtraTabPage1 + // + this.xtraTabPage1.Controls.Add(this.gcMain); + this.xtraTabPage1.Controls.Add(this.pageBar1); + this.xtraTabPage1.Name = "xtraTabPage1"; + this.xtraTabPage1.Size = new System.Drawing.Size(1126, 570); + this.xtraTabPage1.Text = "鏁版嵁鏌ヨ"; + // + // pageBar1 + // + this.pageBar1.CurrentPage = 1; + this.pageBar1.Dock = System.Windows.Forms.DockStyle.Bottom; + this.pageBar1.Location = new System.Drawing.Point(0, 531); + this.pageBar1.Margin = new System.Windows.Forms.Padding(3, 5, 3, 5); + this.pageBar1.Name = "pageBar1"; + this.pageBar1.RecordCount = 0; + this.pageBar1.RowsCount = 50; + this.pageBar1.Size = new System.Drawing.Size(1126, 39); + this.pageBar1.TabIndex = 3; + this.pageBar1.TotalPages = 0; + // + // xtraTabPage2 + // + this.xtraTabPage2.Controls.Add(this.panel1); + this.xtraTabPage2.Name = "xtraTabPage2"; + this.xtraTabPage2.PageEnabled = false; + this.xtraTabPage2.Size = new System.Drawing.Size(1126, 570); + this.xtraTabPage2.Text = "鏁版嵁缂栬緫"; + // + // panel1 + // + this.panel1.BackColor = System.Drawing.Color.White; + this.panel1.Controls.Add(this.labelControl11); + this.panel1.Controls.Add(this.lbGuid); + this.panel1.Controls.Add(this.lb_remark); + this.panel1.Controls.Add(this.txt_remark); + this.panel1.Controls.Add(this.lb_createTime); + this.panel1.Controls.Add(this.txt_createTime); + this.panel1.Controls.Add(this.lb_createBy); + this.panel1.Controls.Add(this.txt_createBy); + this.panel1.Controls.Add(this.lb_isStatus); + this.panel1.Controls.Add(this.txt_isStatus); + this.panel1.Controls.Add(this.lb_category); + this.panel1.Controls.Add(this.txt_category); + this.panel1.Controls.Add(this.lb_name); + this.panel1.Controls.Add(this.txt_name); + this.panel1.Controls.Add(this.lb_itemNo); + this.panel1.Controls.Add(this.txt_itemNo); + this.panel1.Font = new System.Drawing.Font("Tahoma", 10F); + this.panel1.Location = new System.Drawing.Point(70, 28); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(615, 384); + this.panel1.TabIndex = 2; + // + // labelControl11 + // + this.labelControl11.Location = new System.Drawing.Point(61, 334); + this.labelControl11.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.labelControl11.Name = "labelControl11"; + this.labelControl11.Size = new System.Drawing.Size(45, 18); + this.labelControl11.TabIndex = 130; + this.labelControl11.Text = "涓婚敭锛�"; + // + // lbGuid + // + this.lbGuid.AutoSize = true; + this.lbGuid.Location = new System.Drawing.Point(112, 334); + this.lbGuid.Name = "lbGuid"; + this.lbGuid.Size = new System.Drawing.Size(0, 21); + this.lbGuid.TabIndex = 1; + // + // lb_remark + // + this.lb_remark.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_remark.Appearance.Options.UseFont = true; + this.lb_remark.Location = new System.Drawing.Point(20, 154); + this.lb_remark.Name = "lb_remark"; + this.lb_remark.Size = new System.Drawing.Size(51, 21); + this.lb_remark.TabIndex = 228; + this.lb_remark.Tag = "remark"; + this.lb_remark.Text = "澶囨敞锛�"; + // + // txt_remark + // + this.txt_remark.Location = new System.Drawing.Point(80, 150); + this.txt_remark.Name = "txt_remark"; + this.txt_remark.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_remark.Properties.Appearance.Options.UseFont = true; + this.txt_remark.Size = new System.Drawing.Size(150, 28); + this.txt_remark.TabIndex = 228; + this.txt_remark.Tag = "remark"; + // + // lb_createTime + // + this.lb_createTime.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_createTime.Appearance.Options.UseFont = true; + this.lb_createTime.Location = new System.Drawing.Point(291, 64); + this.lb_createTime.Name = "lb_createTime"; + this.lb_createTime.Size = new System.Drawing.Size(85, 21); + this.lb_createTime.TabIndex = 226; + this.lb_createTime.Tag = "createTime"; + this.lb_createTime.Text = "寤虹珛鏃堕棿锛�"; + // + // txt_createTime + // + this.txt_createTime.Location = new System.Drawing.Point(388, 60); + this.txt_createTime.Name = "txt_createTime"; + this.txt_createTime.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_createTime.Properties.Appearance.Options.UseFont = true; + this.txt_createTime.Size = new System.Drawing.Size(150, 28); + this.txt_createTime.TabIndex = 226; + this.txt_createTime.Tag = "createTime"; + // + // lb_createBy + // + this.lb_createBy.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_createBy.Appearance.Options.UseFont = true; + this.lb_createBy.Location = new System.Drawing.Point(308, 18); + this.lb_createBy.Name = "lb_createBy"; + this.lb_createBy.Size = new System.Drawing.Size(68, 21); + this.lb_createBy.TabIndex = 222; + this.lb_createBy.Tag = "createBy"; + this.lb_createBy.Text = "寤虹珛鑰咃細"; + // + // txt_createBy + // + this.txt_createBy.Location = new System.Drawing.Point(388, 14); + this.txt_createBy.Name = "txt_createBy"; + this.txt_createBy.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_createBy.Properties.Appearance.Options.UseFont = true; + this.txt_createBy.Size = new System.Drawing.Size(150, 28); + this.txt_createBy.TabIndex = 222; + this.txt_createBy.Tag = "createBy"; + // + // lb_isStatus + // + this.lb_isStatus.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_isStatus.Appearance.Options.UseFont = true; + this.lb_isStatus.Location = new System.Drawing.Point(325, 154); + this.lb_isStatus.Name = "lb_isStatus"; + this.lb_isStatus.Size = new System.Drawing.Size(51, 21); + this.lb_isStatus.TabIndex = 219; + this.lb_isStatus.Tag = "isStatus"; + this.lb_isStatus.Text = "鐘舵�侊細"; + // + // txt_isStatus + // + this.txt_isStatus.Location = new System.Drawing.Point(388, 150); + this.txt_isStatus.Name = "txt_isStatus"; + this.txt_isStatus.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_isStatus.Properties.Appearance.Options.UseFont = true; + this.txt_isStatus.Size = new System.Drawing.Size(150, 28); + this.txt_isStatus.TabIndex = 219; + this.txt_isStatus.Tag = "isStatus"; + // + // lb_category + // + this.lb_category.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_category.Appearance.Options.UseFont = true; + this.lb_category.Location = new System.Drawing.Point(20, 111); + this.lb_category.Name = "lb_category"; + this.lb_category.Size = new System.Drawing.Size(51, 21); + this.lb_category.TabIndex = 217; + this.lb_category.Tag = "category"; + this.lb_category.Text = "绫诲埆锛�"; + // + // txt_category + // + this.txt_category.Location = new System.Drawing.Point(80, 107); + this.txt_category.Name = "txt_category"; + this.txt_category.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_category.Properties.Appearance.Options.UseFont = true; + this.txt_category.Size = new System.Drawing.Size(150, 28); + this.txt_category.TabIndex = 217; + this.txt_category.Tag = "category"; + // + // lb_name + // + this.lb_name.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_name.Appearance.Options.UseFont = true; + this.lb_name.Location = new System.Drawing.Point(20, 64); + this.lb_name.Name = "lb_name"; + this.lb_name.Size = new System.Drawing.Size(51, 21); + this.lb_name.TabIndex = 216; + this.lb_name.Tag = "name"; + this.lb_name.Text = "鍚嶇О锛�"; + // + // txt_name + // + this.txt_name.Location = new System.Drawing.Point(80, 60); + this.txt_name.Name = "txt_name"; + this.txt_name.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_name.Properties.Appearance.Options.UseFont = true; + this.txt_name.Size = new System.Drawing.Size(150, 28); + this.txt_name.TabIndex = 216; + this.txt_name.Tag = "name"; + // + // lb_itemNo + // + this.lb_itemNo.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_itemNo.Appearance.Options.UseFont = true; + this.lb_itemNo.Location = new System.Drawing.Point(20, 18); + this.lb_itemNo.Name = "lb_itemNo"; + this.lb_itemNo.Size = new System.Drawing.Size(51, 21); + this.lb_itemNo.TabIndex = 213; + this.lb_itemNo.Tag = "itemNo"; + this.lb_itemNo.Text = "缂栧彿锛�"; + // + // txt_itemNo + // + this.txt_itemNo.Location = new System.Drawing.Point(80, 14); + this.txt_itemNo.Name = "txt_itemNo"; + this.txt_itemNo.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_itemNo.Properties.Appearance.Options.UseFont = true; + this.txt_itemNo.Size = new System.Drawing.Size(150, 28); + this.txt_itemNo.TabIndex = 213; + this.txt_itemNo.Tag = "itemNo"; + // + // FrmPosition + // + this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(1128, 682); + this.Controls.Add(this.xtraTabControl1); + this.Controls.Add(this.toolBarMenu1); + this.Name = "FrmPosition"; + ((System.ComponentModel.ISupportInitialize)(this.gcMain)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit(); + this.xtraTabControl1.ResumeLayout(false); + this.xtraTabPage1.ResumeLayout(false); + this.xtraTabPage2.ResumeLayout(false); + this.panel1.ResumeLayout(false); + this.panel1.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.txt_remark.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_createTime.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_createBy.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_isStatus.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_category.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_name.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_itemNo.Properties)).EndInit(); + this.ResumeLayout(false); + + } + #endregion + private UserControl.ToolBarMenu toolBarMenu1; + private DevExpress.XtraGrid.GridControl gcMain; + private DevExpress.XtraGrid.Views.Grid.GridView gridView1; + private DevExpress.XtraTab.XtraTabControl xtraTabControl1; + private DevExpress.XtraTab.XtraTabPage xtraTabPage1; + private DevExpress.XtraTab.XtraTabPage xtraTabPage2; + private UserControls.Data.PageBar pageBar1; + private DevExpress.XtraGrid.Columns.GridColumn gv_lastUpdateTime; + private DevExpress.XtraGrid.Columns.GridColumn gv_lastUpdateBy; + private DevExpress.XtraGrid.Columns.GridColumn gv_remark; + private DevExpress.XtraGrid.Columns.GridColumn gv_createTime; + private DevExpress.XtraGrid.Columns.GridColumn gv_createBy; + private DevExpress.XtraGrid.Columns.GridColumn gv_isStatus; + private DevExpress.XtraGrid.Columns.GridColumn gv_category; + private DevExpress.XtraGrid.Columns.GridColumn gv_name; + private DevExpress.XtraGrid.Columns.GridColumn gv_itemNo; + private System.Windows.Forms.Panel panel1; + private DevExpress.XtraEditors.LabelControl labelControl11; + private System.Windows.Forms.Label lbGuid; + private DevExpress.XtraEditors.LabelControl lb_remark; + private DevExpress.XtraEditors.TextEdit txt_remark; + private DevExpress.XtraEditors.LabelControl lb_createTime; + private DevExpress.XtraEditors.TextEdit txt_createTime; + private DevExpress.XtraEditors.LabelControl lb_createBy; + private DevExpress.XtraEditors.TextEdit txt_createBy; + private DevExpress.XtraEditors.LabelControl lb_isStatus; + private DevExpress.XtraEditors.TextEdit txt_isStatus; + private DevExpress.XtraEditors.LabelControl lb_category; + private DevExpress.XtraEditors.TextEdit txt_category; + private DevExpress.XtraEditors.LabelControl lb_name; + private DevExpress.XtraEditors.TextEdit txt_name; + private DevExpress.XtraEditors.LabelControl lb_itemNo; + private DevExpress.XtraEditors.TextEdit txt_itemNo; + } +} \ No newline at end of file diff --git a/DevApp/Gs.DevApp/DevFrm/BasicData/FrmPosition.cs b/DevApp/Gs.DevApp/DevFrm/BasicData/FrmPosition.cs new file mode 100644 index 0000000..483b5d9 --- /dev/null +++ b/DevApp/Gs.DevApp/DevFrm/BasicData/FrmPosition.cs @@ -0,0 +1,162 @@ +锘縰sing DevExpress.XtraEditors; +using DevExpress.XtraGrid.Views.Grid; +using DevExpress.XtraGrid.Views.Grid.ViewInfo; +using Gs.DevApp.Entity; +using Gs.DevApp.ToolBox; +using Newtonsoft.Json; +using System; +using System.Data; +using System.Drawing; +using System.Windows.Forms; + +namespace Gs.DevApp.DevFrm.BasicData +{ + public partial class FrmPosition : DevExpress.XtraEditors.XtraForm + { + public FrmPosition() + { + InitializeComponent(); + this.toolBarMenu1.btnLoadClick += ToolBarMenu1_btnLoadClick; + this.toolBarMenu1.btnQueryClick += ToolBarMenu1_btnQueryClick; + gcMain.MouseDoubleClick += GcMain_MouseDoubleClick; + gridView1.ColumnFilterChanged += GridView1_ColumnFilterChanged; + pageBar1.PagerEvent += PageBar1_PagerEvent; + getPageList(1, UtilityHelper.GetPageSize()); + } + private void GridView1_ColumnFilterChanged(object sender, EventArgs e) + { + //// 鑾峰彇GridView缁勪欢 + //GridView view = sender as GridView; + //// 纭繚view涓嶄负null + //if (view == null) return; + //// 鑾峰彇搴旂敤鐨勭瓫閫夊櫒淇℃伅 + //string filter = view.ActiveFilterString; + //MessageBox.Show(filter); + //getPageList(1, UtilityHelper.GetPageSize()); + } + /// <summary> + /// 鍙屽嚮浜嬩欢 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void GcMain_MouseDoubleClick(object sender, MouseEventArgs e) + { + GridHitInfo info = gridView1.CalcHitInfo(e.Location); + if (info.InRow) + { + GridView view = info.View as GridView; + if (view != null) + { + DataRow row = view.GetDataRow(info.RowHandle); + if (row != null) + { + string rowGuid = (row["guid"].ToString()); + getModel(rowGuid, false, 999); + } + } + } + } + /// <summary> + /// 鍒嗛〉浜嬩欢 + /// </summary> + /// <param name="curPage"></param> + /// <param name="pageSize"></param> + private void PageBar1_PagerEvent(int curPage, int pageSize) + { + getPageList(curPage, pageSize); + } + /// <summary> + /// 鏌ヨ浜嬩欢 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void ToolBarMenu1_btnQueryClick(object sender, EventArgs e) + { + Gs.DevApp.UserControl.ShowFilter frm = new Gs.DevApp.UserControl.ShowFilter(gridView1.Columns); + frm.UpdateParent += Frm_UpdateParent; + frm.ShowDialog(); + } + /// <summary> + /// 鏌ヨ鍥炶皟 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void Frm_UpdateParent(object sender, UpdateParentEventArgs e) + { + string strWhere = e.Data; + MessageBox.Show(strWhere); + } + + /// <summary> + /// 鍒锋柊浜嬩欢 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void ToolBarMenu1_btnLoadClick(object sender, EventArgs e) + { + UtilityHelper.ChangeTab(xtraTabControl1, 0); + getPageList(1, UtilityHelper.GetPageSize()); + } + /// <summary> + /// <summary> + /// + /// </summary> + /// <param name="curPage">绗嚑椤�</param> + /// <param name="pageSize">姣忛〉鍑犳潯</param> + private void getPageList(int curPage, int pageSize) + { + PageQueryModel pgq = new PageQueryModel(curPage, pageSize, "createTime", "asc", "", " and a.[category]='宀椾綅淇℃伅'"); + string json = JsonConvert.SerializeObject(pgq); + try + { + string strReturn = UtilityHelper.HttpPost("", "Dictionary/GetListPage", json); + ReturnModel<PageListModel> dd = UtilityHelper.GetTableByJson(strReturn); + DataTable dt = dd.rtnData.list; + gcMain.BindingContext = new BindingContext(); + gcMain.DataSource = dt; + gcMain.ForceInitialize(); + int dddd = dd.rtnData.pages;//鎬婚〉 + pageBar1.TotalPages = dddd; + pageBar1.RecordCount = dd.rtnData.total;//璁板綍鎬绘暟 + pageBar1.CurrentPage = curPage;//褰撳墠椤� + pageBar1.RowsCount = pageSize;//姣忛〉鏄剧ず + pageBar1.setTxt(); + } + catch (Exception ex) + { + ToolBox.MsgHelper.Warning("鎻愮ず锛�" + ex.Message); + } + } + private void getModel(string strGuid, bool isEdit, int tabIdx) + { + if (string.IsNullOrEmpty(strGuid)) + { + ToolBox.MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�"); + return; + } + UtilityHelper.ChangeTab(xtraTabControl1, tabIdx); + var _obj = new + { + guid = strGuid,//涓诲缓 + }; + try + { + string strJson = UtilityHelper.HttpPost("", "Dictionary/GetModel", JsonConvert.SerializeObject(_obj)); + ReturnModel<dynamic> _rtn = ToolBox.UtilityHelper.GetDataByJson(strJson); + if (_rtn.rtnCode > 0) + { + dynamic dy = _rtn.rtnData; + lbGuid.Text = strGuid; + UtilityHelper.SetValueByObj(this.panel1.Controls, dy, isEdit); + } + else + ToolBox.MsgHelper.Warning("鎻愮ず锛�" + _rtn.rtnMsg); + } + catch (Exception ex) + { + ToolBox.MsgHelper.Warning("鎻愮ず锛�" + ex.Message); + } + } + } +} + diff --git a/DevApp/Gs.DevApp/DevFrm/BasicData/FrmPosition.resx b/DevApp/Gs.DevApp/DevFrm/BasicData/FrmPosition.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/DevApp/Gs.DevApp/DevFrm/BasicData/FrmPosition.resx @@ -0,0 +1,120 @@ +锘�<?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> +</root> \ No newline at end of file diff --git a/DevApp/Gs.DevApp/DevFrm/BasicData/FrmStaff.Designer.cs b/DevApp/Gs.DevApp/DevFrm/BasicData/FrmStaff.Designer.cs index 483b67e..285e08f 100644 --- a/DevApp/Gs.DevApp/DevFrm/BasicData/FrmStaff.Designer.cs +++ b/DevApp/Gs.DevApp/DevFrm/BasicData/FrmStaff.Designer.cs @@ -514,7 +514,6 @@ // // toolBarMenu1 // - this.toolBarMenu1.actions = null; this.toolBarMenu1.Dock = System.Windows.Forms.DockStyle.Top; this.toolBarMenu1.isSetBtn = false; this.toolBarMenu1.Location = new System.Drawing.Point(0, 0); diff --git a/DevApp/Gs.DevApp/DevFrm/BasicData/FrmSupplier.Designer.cs b/DevApp/Gs.DevApp/DevFrm/BasicData/FrmSupplier.Designer.cs index cf7b2ef..606b07c 100644 --- a/DevApp/Gs.DevApp/DevFrm/BasicData/FrmSupplier.Designer.cs +++ b/DevApp/Gs.DevApp/DevFrm/BasicData/FrmSupplier.Designer.cs @@ -31,569 +31,43 @@ /// </summary> private void InitializeComponent() { - //BQSetControlObject - this.lb_t3 = new DevExpress.XtraEditors.LabelControl(); - this.txt_t3 = new DevExpress.XtraEditors.TextEdit(); - this.gv_t3 = new DevExpress.XtraGrid.Columns.GridColumn(); - - this.lb_t2 = new DevExpress.XtraEditors.LabelControl(); - this.txt_t2 = new DevExpress.XtraEditors.TextEdit(); - this.gv_t2 = new DevExpress.XtraGrid.Columns.GridColumn(); - - this.lb_t1 = new DevExpress.XtraEditors.LabelControl(); - this.txt_t1 = new DevExpress.XtraEditors.TextEdit(); - this.gv_t1 = new DevExpress.XtraGrid.Columns.GridColumn(); - this.lb_lastUpdateBy = new DevExpress.XtraEditors.LabelControl(); this.txt_lastUpdateBy = new DevExpress.XtraEditors.TextEdit(); - this.gv_lastUpdateBy = new DevExpress.XtraGrid.Columns.GridColumn(); - this.lb_lastUpdateTtime = new DevExpress.XtraEditors.LabelControl(); this.txt_lastUpdateTtime = new DevExpress.XtraEditors.TextEdit(); - this.gv_lastUpdateTtime = new DevExpress.XtraGrid.Columns.GridColumn(); - this.lb_createBy = new DevExpress.XtraEditors.LabelControl(); this.txt_createBy = new DevExpress.XtraEditors.TextEdit(); this.gv_createBy = new DevExpress.XtraGrid.Columns.GridColumn(); - this.lb_createTime = new DevExpress.XtraEditors.LabelControl(); this.txt_createTime = new DevExpress.XtraEditors.TextEdit(); this.gv_createTime = new DevExpress.XtraGrid.Columns.GridColumn(); - this.lb_conFax = new DevExpress.XtraEditors.LabelControl(); this.txt_conFax = new DevExpress.XtraEditors.TextEdit(); this.gv_conFax = new DevExpress.XtraGrid.Columns.GridColumn(); - this.lb_conTel = new DevExpress.XtraEditors.LabelControl(); this.txt_conTel = new DevExpress.XtraEditors.TextEdit(); this.gv_conTel = new DevExpress.XtraGrid.Columns.GridColumn(); - this.lb_conPeople = new DevExpress.XtraEditors.LabelControl(); this.txt_conPeople = new DevExpress.XtraEditors.TextEdit(); this.gv_conPeople = new DevExpress.XtraGrid.Columns.GridColumn(); - this.lb_isStatus = new DevExpress.XtraEditors.LabelControl(); this.txt_isStatus = new DevExpress.XtraEditors.TextEdit(); this.gv_isStatus = new DevExpress.XtraGrid.Columns.GridColumn(); - this.lb_remark = new DevExpress.XtraEditors.LabelControl(); this.txt_remark = new DevExpress.XtraEditors.TextEdit(); this.gv_remark = new DevExpress.XtraGrid.Columns.GridColumn(); - this.lb_engName = new DevExpress.XtraEditors.LabelControl(); this.txt_engName = new DevExpress.XtraEditors.TextEdit(); this.gv_engName = new DevExpress.XtraGrid.Columns.GridColumn(); - this.lb_fullName = new DevExpress.XtraEditors.LabelControl(); this.txt_fullName = new DevExpress.XtraEditors.TextEdit(); this.gv_fullName = new DevExpress.XtraGrid.Columns.GridColumn(); - this.lb_simpleName = new DevExpress.XtraEditors.LabelControl(); this.txt_simpleName = new DevExpress.XtraEditors.TextEdit(); this.gv_simpleName = new DevExpress.XtraGrid.Columns.GridColumn(); - this.lb_itemNo = new DevExpress.XtraEditors.LabelControl(); this.txt_itemNo = new DevExpress.XtraEditors.TextEdit(); this.gv_itemNo = new DevExpress.XtraGrid.Columns.GridColumn(); - - this.lb_guid = new DevExpress.XtraEditors.LabelControl(); - this.txt_guid = new DevExpress.XtraEditors.TextEdit(); - this.gv_guid = new DevExpress.XtraGrid.Columns.GridColumn(); - - //BQSetControlInfo - // - //lb_t3 - // - this.lb_t3.Location = new System.Drawing.Point(20, 148); - this.lb_t3.Name = "lb_t3"; - this.lb_t3.Size = new System.Drawing.Size(150, 21); - this.lb_t3.TabIndex = 262; - this.lb_t3.Tag = "t3"; - this.lb_t3.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.lb_t3.Text = "t3锛�"; - // - //txt_t3 - // - this.txt_t3.Location = new System.Drawing.Point(80, 148); - this.txt_t3.Name = "lb_t3"; - this.txt_t3.Size = new System.Drawing.Size(150, 21); - this.txt_t3.TabIndex = 262; - this.txt_t3.Tag = "t3"; - this.txt_t3.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_t3.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_t3.AppearanceCell.Options.UseFont = true; - this.gv_t3.FieldName = "t3"; - this.gv_t3.Caption = "t3"; - this.gv_t3.MinWidth = 25; - this.gv_t3.Visible = true; - this.gv_t3.Width = 94; - this.gv_t3.OptionsColumn.AllowEdit = false; - this.gv_t3.VisibleIndex = 0; - - // - //lb_t2 - // - this.lb_t2.Location = new System.Drawing.Point(770, 116); - this.lb_t2.Name = "lb_t2"; - this.lb_t2.Size = new System.Drawing.Size(150, 21); - this.lb_t2.TabIndex = 258; - this.lb_t2.Tag = "t2"; - this.lb_t2.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.lb_t2.Text = "t2锛�"; - // - //txt_t2 - // - this.txt_t2.Location = new System.Drawing.Point(830, 116); - this.txt_t2.Name = "lb_t2"; - this.txt_t2.Size = new System.Drawing.Size(150, 21); - this.txt_t2.TabIndex = 258; - this.txt_t2.Tag = "t2"; - this.txt_t2.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_t2.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_t2.AppearanceCell.Options.UseFont = true; - this.gv_t2.FieldName = "t2"; - this.gv_t2.Caption = "t2"; - this.gv_t2.MinWidth = 25; - this.gv_t2.Visible = true; - this.gv_t2.Width = 94; - this.gv_t2.OptionsColumn.AllowEdit = false; - this.gv_t2.VisibleIndex = 0; - - // - //lb_t1 - // - this.lb_t1.Location = new System.Drawing.Point(520, 116); - this.lb_t1.Name = "lb_t1"; - this.lb_t1.Size = new System.Drawing.Size(150, 21); - this.lb_t1.TabIndex = 252; - this.lb_t1.Tag = "t1"; - this.lb_t1.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.lb_t1.Text = "t1锛�"; - // - //txt_t1 - // - this.txt_t1.Location = new System.Drawing.Point(580, 116); - this.txt_t1.Name = "lb_t1"; - this.txt_t1.Size = new System.Drawing.Size(150, 21); - this.txt_t1.TabIndex = 252; - this.txt_t1.Tag = "t1"; - this.txt_t1.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_t1.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_t1.AppearanceCell.Options.UseFont = true; - this.gv_t1.FieldName = "t1"; - this.gv_t1.Caption = "t1"; - this.gv_t1.MinWidth = 25; - this.gv_t1.Visible = true; - this.gv_t1.Width = 94; - this.gv_t1.OptionsColumn.AllowEdit = false; - this.gv_t1.VisibleIndex = 0; - - // - //lb_lastUpdateBy - // - this.lb_lastUpdateBy.Location = new System.Drawing.Point(270, 116); - this.lb_lastUpdateBy.Name = "lb_lastUpdateBy"; - this.lb_lastUpdateBy.Size = new System.Drawing.Size(150, 21); - this.lb_lastUpdateBy.TabIndex = 247; - this.lb_lastUpdateBy.Tag = "lastUpdateBy"; - this.lb_lastUpdateBy.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.lb_lastUpdateBy.Text = "鏇存柊鑰咃細"; - // - //txt_lastUpdateBy - // - this.txt_lastUpdateBy.Location = new System.Drawing.Point(330, 116); - this.txt_lastUpdateBy.Name = "lb_lastUpdateBy"; - this.txt_lastUpdateBy.Size = new System.Drawing.Size(150, 21); - this.txt_lastUpdateBy.TabIndex = 247; - this.txt_lastUpdateBy.Tag = "lastUpdateBy"; - this.txt_lastUpdateBy.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_lastUpdateBy.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_lastUpdateBy.AppearanceCell.Options.UseFont = true; - this.gv_lastUpdateBy.FieldName = "lastUpdateBy"; - this.gv_lastUpdateBy.Caption = "鏇存柊鑰�"; - this.gv_lastUpdateBy.MinWidth = 25; - this.gv_lastUpdateBy.Visible = true; - this.gv_lastUpdateBy.Width = 94; - this.gv_lastUpdateBy.OptionsColumn.AllowEdit = false; - this.gv_lastUpdateBy.VisibleIndex = 0; - - // - //lb_lastUpdateTtime - // - this.lb_lastUpdateTtime.Location = new System.Drawing.Point(20, 116); - this.lb_lastUpdateTtime.Name = "lb_lastUpdateTtime"; - this.lb_lastUpdateTtime.Size = new System.Drawing.Size(150, 21); - this.lb_lastUpdateTtime.TabIndex = 243; - this.lb_lastUpdateTtime.Tag = "lastUpdateTtime"; - this.lb_lastUpdateTtime.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.lb_lastUpdateTtime.Text = "鏈�鍚庢洿鏂版椂闂达細"; - // - //txt_lastUpdateTtime - // - this.txt_lastUpdateTtime.Location = new System.Drawing.Point(80, 116); - this.txt_lastUpdateTtime.Name = "lb_lastUpdateTtime"; - this.txt_lastUpdateTtime.Size = new System.Drawing.Size(150, 21); - this.txt_lastUpdateTtime.TabIndex = 243; - this.txt_lastUpdateTtime.Tag = "lastUpdateTtime"; - this.txt_lastUpdateTtime.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_lastUpdateTtime.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_lastUpdateTtime.AppearanceCell.Options.UseFont = true; - this.gv_lastUpdateTtime.FieldName = "lastUpdateTtime"; - this.gv_lastUpdateTtime.Caption = "鏈�鍚庢洿鏂版椂闂�"; - this.gv_lastUpdateTtime.MinWidth = 25; - this.gv_lastUpdateTtime.Visible = true; - this.gv_lastUpdateTtime.Width = 94; - this.gv_lastUpdateTtime.OptionsColumn.AllowEdit = false; - this.gv_lastUpdateTtime.VisibleIndex = 0; - - // - //lb_createBy - // - this.lb_createBy.Location = new System.Drawing.Point(770, 84); - this.lb_createBy.Name = "lb_createBy"; - this.lb_createBy.Size = new System.Drawing.Size(150, 21); - this.lb_createBy.TabIndex = 240; - this.lb_createBy.Tag = "createBy"; - this.lb_createBy.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.lb_createBy.Text = "寤虹珛鑰咃細"; - // - //txt_createBy - // - this.txt_createBy.Location = new System.Drawing.Point(830, 84); - this.txt_createBy.Name = "lb_createBy"; - this.txt_createBy.Size = new System.Drawing.Size(150, 21); - this.txt_createBy.TabIndex = 240; - this.txt_createBy.Tag = "createBy"; - this.txt_createBy.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_createBy.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_createBy.AppearanceCell.Options.UseFont = true; - this.gv_createBy.FieldName = "createBy"; - this.gv_createBy.Caption = "寤虹珛鑰�"; - this.gv_createBy.MinWidth = 25; - this.gv_createBy.Visible = true; - this.gv_createBy.Width = 94; - this.gv_createBy.OptionsColumn.AllowEdit = false; - this.gv_createBy.VisibleIndex = 0; - - // - //lb_createTime - // - this.lb_createTime.Location = new System.Drawing.Point(520, 84); - this.lb_createTime.Name = "lb_createTime"; - this.lb_createTime.Size = new System.Drawing.Size(150, 21); - this.lb_createTime.TabIndex = 235; - this.lb_createTime.Tag = "createTime"; - this.lb_createTime.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.lb_createTime.Text = "寤虹珛鏃堕棿锛�"; - // - //txt_createTime - // - this.txt_createTime.Location = new System.Drawing.Point(580, 84); - this.txt_createTime.Name = "lb_createTime"; - this.txt_createTime.Size = new System.Drawing.Size(150, 21); - this.txt_createTime.TabIndex = 235; - this.txt_createTime.Tag = "createTime"; - this.txt_createTime.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_createTime.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_createTime.AppearanceCell.Options.UseFont = true; - this.gv_createTime.FieldName = "createTime"; - this.gv_createTime.Caption = "寤虹珛鏃堕棿"; - this.gv_createTime.MinWidth = 25; - this.gv_createTime.Visible = true; - this.gv_createTime.Width = 94; - this.gv_createTime.OptionsColumn.AllowEdit = false; - this.gv_createTime.VisibleIndex = 0; - - // - //lb_conFax - // - this.lb_conFax.Location = new System.Drawing.Point(270, 84); - this.lb_conFax.Name = "lb_conFax"; - this.lb_conFax.Size = new System.Drawing.Size(150, 21); - this.lb_conFax.TabIndex = 231; - this.lb_conFax.Tag = "conFax"; - this.lb_conFax.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.lb_conFax.Text = "鑱旂郴浼犵湡锛�"; - // - //txt_conFax - // - this.txt_conFax.Location = new System.Drawing.Point(330, 84); - this.txt_conFax.Name = "lb_conFax"; - this.txt_conFax.Size = new System.Drawing.Size(150, 21); - this.txt_conFax.TabIndex = 231; - this.txt_conFax.Tag = "conFax"; - this.txt_conFax.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_conFax.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_conFax.AppearanceCell.Options.UseFont = true; - this.gv_conFax.FieldName = "conFax"; - this.gv_conFax.Caption = "鑱旂郴浼犵湡"; - this.gv_conFax.MinWidth = 25; - this.gv_conFax.Visible = true; - this.gv_conFax.Width = 94; - this.gv_conFax.OptionsColumn.AllowEdit = false; - this.gv_conFax.VisibleIndex = 0; - - // - //lb_conTel - // - this.lb_conTel.Location = new System.Drawing.Point(20, 84); - this.lb_conTel.Name = "lb_conTel"; - this.lb_conTel.Size = new System.Drawing.Size(150, 21); - this.lb_conTel.TabIndex = 228; - this.lb_conTel.Tag = "conTel"; - this.lb_conTel.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.lb_conTel.Text = "鑱旂郴鐢佃瘽锛�"; - // - //txt_conTel - // - this.txt_conTel.Location = new System.Drawing.Point(80, 84); - this.txt_conTel.Name = "lb_conTel"; - this.txt_conTel.Size = new System.Drawing.Size(150, 21); - this.txt_conTel.TabIndex = 228; - this.txt_conTel.Tag = "conTel"; - this.txt_conTel.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_conTel.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_conTel.AppearanceCell.Options.UseFont = true; - this.gv_conTel.FieldName = "conTel"; - this.gv_conTel.Caption = "鑱旂郴鐢佃瘽"; - this.gv_conTel.MinWidth = 25; - this.gv_conTel.Visible = true; - this.gv_conTel.Width = 94; - this.gv_conTel.OptionsColumn.AllowEdit = false; - this.gv_conTel.VisibleIndex = 0; - - // - //lb_conPeople - // - this.lb_conPeople.Location = new System.Drawing.Point(770, 52); - this.lb_conPeople.Name = "lb_conPeople"; - this.lb_conPeople.Size = new System.Drawing.Size(150, 21); - this.lb_conPeople.TabIndex = 226; - this.lb_conPeople.Tag = "conPeople"; - this.lb_conPeople.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.lb_conPeople.Text = "鑱旂郴浜猴細"; - // - //txt_conPeople - // - this.txt_conPeople.Location = new System.Drawing.Point(830, 52); - this.txt_conPeople.Name = "lb_conPeople"; - this.txt_conPeople.Size = new System.Drawing.Size(150, 21); - this.txt_conPeople.TabIndex = 226; - this.txt_conPeople.Tag = "conPeople"; - this.txt_conPeople.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_conPeople.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_conPeople.AppearanceCell.Options.UseFont = true; - this.gv_conPeople.FieldName = "conPeople"; - this.gv_conPeople.Caption = "鑱旂郴浜�"; - this.gv_conPeople.MinWidth = 25; - this.gv_conPeople.Visible = true; - this.gv_conPeople.Width = 94; - this.gv_conPeople.OptionsColumn.AllowEdit = false; - this.gv_conPeople.VisibleIndex = 0; - - // - //lb_isStatus - // - this.lb_isStatus.Location = new System.Drawing.Point(520, 52); - this.lb_isStatus.Name = "lb_isStatus"; - this.lb_isStatus.Size = new System.Drawing.Size(150, 21); - this.lb_isStatus.TabIndex = 222; - this.lb_isStatus.Tag = "isStatus"; - this.lb_isStatus.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.lb_isStatus.Text = "鐘舵�侊細"; - // - //txt_isStatus - // - this.txt_isStatus.Location = new System.Drawing.Point(580, 52); - this.txt_isStatus.Name = "lb_isStatus"; - this.txt_isStatus.Size = new System.Drawing.Size(150, 21); - this.txt_isStatus.TabIndex = 222; - this.txt_isStatus.Tag = "isStatus"; - this.txt_isStatus.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_isStatus.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_isStatus.AppearanceCell.Options.UseFont = true; - this.gv_isStatus.FieldName = "isStatus"; - this.gv_isStatus.Caption = "鐘舵��"; - this.gv_isStatus.MinWidth = 25; - this.gv_isStatus.Visible = true; - this.gv_isStatus.Width = 94; - this.gv_isStatus.OptionsColumn.AllowEdit = false; - this.gv_isStatus.VisibleIndex = 0; - - // - //lb_remark - // - this.lb_remark.Location = new System.Drawing.Point(270, 52); - this.lb_remark.Name = "lb_remark"; - this.lb_remark.Size = new System.Drawing.Size(150, 21); - this.lb_remark.TabIndex = 219; - this.lb_remark.Tag = "remark"; - this.lb_remark.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.lb_remark.Text = "澶囨敞锛�"; - // - //txt_remark - // - this.txt_remark.Location = new System.Drawing.Point(330, 52); - this.txt_remark.Name = "lb_remark"; - this.txt_remark.Size = new System.Drawing.Size(150, 21); - this.txt_remark.TabIndex = 219; - this.txt_remark.Tag = "remark"; - this.txt_remark.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_remark.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_remark.AppearanceCell.Options.UseFont = true; - this.gv_remark.FieldName = "remark"; - this.gv_remark.Caption = "澶囨敞"; - this.gv_remark.MinWidth = 25; - this.gv_remark.Visible = true; - this.gv_remark.Width = 94; - this.gv_remark.OptionsColumn.AllowEdit = false; - this.gv_remark.VisibleIndex = 0; - - // - //lb_engName - // - this.lb_engName.Location = new System.Drawing.Point(20, 52); - this.lb_engName.Name = "lb_engName"; - this.lb_engName.Size = new System.Drawing.Size(150, 21); - this.lb_engName.TabIndex = 217; - this.lb_engName.Tag = "engName"; - this.lb_engName.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.lb_engName.Text = "渚涘簲鍟嗚嫳鏂囧悕锛�"; - // - //txt_engName - // - this.txt_engName.Location = new System.Drawing.Point(80, 52); - this.txt_engName.Name = "lb_engName"; - this.txt_engName.Size = new System.Drawing.Size(150, 21); - this.txt_engName.TabIndex = 217; - this.txt_engName.Tag = "engName"; - this.txt_engName.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_engName.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_engName.AppearanceCell.Options.UseFont = true; - this.gv_engName.FieldName = "engName"; - this.gv_engName.Caption = "渚涘簲鍟嗚嫳鏂囧悕"; - this.gv_engName.MinWidth = 25; - this.gv_engName.Visible = true; - this.gv_engName.Width = 94; - this.gv_engName.OptionsColumn.AllowEdit = false; - this.gv_engName.VisibleIndex = 0; - - // - //lb_fullName - // - this.lb_fullName.Location = new System.Drawing.Point(770, 20); - this.lb_fullName.Name = "lb_fullName"; - this.lb_fullName.Size = new System.Drawing.Size(150, 21); - this.lb_fullName.TabIndex = 216; - this.lb_fullName.Tag = "fullName"; - this.lb_fullName.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.lb_fullName.Text = "渚涘簲鍟嗗叏绉帮細"; - // - //txt_fullName - // - this.txt_fullName.Location = new System.Drawing.Point(830, 20); - this.txt_fullName.Name = "lb_fullName"; - this.txt_fullName.Size = new System.Drawing.Size(150, 21); - this.txt_fullName.TabIndex = 216; - this.txt_fullName.Tag = "fullName"; - this.txt_fullName.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_fullName.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_fullName.AppearanceCell.Options.UseFont = true; - this.gv_fullName.FieldName = "fullName"; - this.gv_fullName.Caption = "渚涘簲鍟嗗叏绉�"; - this.gv_fullName.MinWidth = 25; - this.gv_fullName.Visible = true; - this.gv_fullName.Width = 94; - this.gv_fullName.OptionsColumn.AllowEdit = false; - this.gv_fullName.VisibleIndex = 0; - - // - //lb_simpleName - // - this.lb_simpleName.Location = new System.Drawing.Point(520, 20); - this.lb_simpleName.Name = "lb_simpleName"; - this.lb_simpleName.Size = new System.Drawing.Size(150, 21); - this.lb_simpleName.TabIndex = 213; - this.lb_simpleName.Tag = "simpleName"; - this.lb_simpleName.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.lb_simpleName.Text = "渚涘簲鍟嗙畝绉帮細"; - // - //txt_simpleName - // - this.txt_simpleName.Location = new System.Drawing.Point(580, 20); - this.txt_simpleName.Name = "lb_simpleName"; - this.txt_simpleName.Size = new System.Drawing.Size(150, 21); - this.txt_simpleName.TabIndex = 213; - this.txt_simpleName.Tag = "simpleName"; - this.txt_simpleName.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_simpleName.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_simpleName.AppearanceCell.Options.UseFont = true; - this.gv_simpleName.FieldName = "simpleName"; - this.gv_simpleName.Caption = "渚涘簲鍟嗙畝绉�"; - this.gv_simpleName.MinWidth = 25; - this.gv_simpleName.Visible = true; - this.gv_simpleName.Width = 94; - this.gv_simpleName.OptionsColumn.AllowEdit = false; - this.gv_simpleName.VisibleIndex = 0; - - // - //lb_itemNo - // - this.lb_itemNo.Location = new System.Drawing.Point(270, 20); - this.lb_itemNo.Name = "lb_itemNo"; - this.lb_itemNo.Size = new System.Drawing.Size(150, 21); - this.lb_itemNo.TabIndex = 211; - this.lb_itemNo.Tag = "itemNo"; - this.lb_itemNo.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.lb_itemNo.Text = "渚涘簲鍟嗙紪鍙凤細"; - // - //txt_itemNo - // - this.txt_itemNo.Location = new System.Drawing.Point(330, 20); - this.txt_itemNo.Name = "lb_itemNo"; - this.txt_itemNo.Size = new System.Drawing.Size(150, 21); - this.txt_itemNo.TabIndex = 211; - this.txt_itemNo.Tag = "itemNo"; - this.txt_itemNo.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_itemNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_itemNo.AppearanceCell.Options.UseFont = true; - this.gv_itemNo.FieldName = "itemNo"; - this.gv_itemNo.Caption = "渚涘簲鍟嗙紪鍙�"; - this.gv_itemNo.MinWidth = 25; - this.gv_itemNo.Visible = true; - this.gv_itemNo.Width = 94; - this.gv_itemNo.OptionsColumn.AllowEdit = false; - this.gv_itemNo.VisibleIndex = 0; - - // - //lb_guid - // - this.lb_guid.Location = new System.Drawing.Point(20, 20); - this.lb_guid.Name = "lb_guid"; - this.lb_guid.Size = new System.Drawing.Size(150, 21); - this.lb_guid.TabIndex = 210; - this.lb_guid.Tag = "guid"; - this.lb_guid.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.lb_guid.Text = "guid锛�"; - // - //txt_guid - // - this.txt_guid.Location = new System.Drawing.Point(80, 20); - this.txt_guid.Name = "lb_guid"; - this.txt_guid.Size = new System.Drawing.Size(150, 21); - this.txt_guid.TabIndex = 210; - this.txt_guid.Tag = "guid"; - this.txt_guid.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_guid.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_guid.AppearanceCell.Options.UseFont = true; - this.gv_guid.FieldName = "guid"; - this.gv_guid.Caption = "guid"; - this.gv_guid.MinWidth = 25; - this.gv_guid.Visible = true; - this.gv_guid.Width = 94; - this.gv_guid.OptionsColumn.AllowEdit = false; - this.gv_guid.VisibleIndex = 0; - this.toolBarMenu1 = new Gs.DevApp.UserControl.ToolBarMenu(); this.gcMain = new DevExpress.XtraGrid.GridControl(); this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); @@ -604,6 +78,19 @@ this.panel1 = new System.Windows.Forms.Panel(); this.labelControl11 = new DevExpress.XtraEditors.LabelControl(); this.lbGuid = new System.Windows.Forms.Label(); + ((System.ComponentModel.ISupportInitialize)(this.txt_lastUpdateBy.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_lastUpdateTtime.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_createBy.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_createTime.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_conFax.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_conTel.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_conPeople.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_isStatus.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_remark.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_engName.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_fullName.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_simpleName.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_itemNo.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gcMain)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit(); @@ -613,14 +100,429 @@ this.panel1.SuspendLayout(); this.SuspendLayout(); // + // lb_lastUpdateBy + // + this.lb_lastUpdateBy.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_lastUpdateBy.Appearance.Options.UseFont = true; + this.lb_lastUpdateBy.Location = new System.Drawing.Point(674, 158); + this.lb_lastUpdateBy.Name = "lb_lastUpdateBy"; + this.lb_lastUpdateBy.Size = new System.Drawing.Size(68, 21); + this.lb_lastUpdateBy.TabIndex = 247; + this.lb_lastUpdateBy.Tag = "lastUpdateBy"; + this.lb_lastUpdateBy.Text = "鏇存柊鑰咃細"; + // + // txt_lastUpdateBy + // + this.txt_lastUpdateBy.Location = new System.Drawing.Point(743, 154); + this.txt_lastUpdateBy.Name = "txt_lastUpdateBy"; + this.txt_lastUpdateBy.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_lastUpdateBy.Properties.Appearance.Options.UseFont = true; + this.txt_lastUpdateBy.Size = new System.Drawing.Size(150, 28); + this.txt_lastUpdateBy.TabIndex = 247; + this.txt_lastUpdateBy.Tag = "lastUpdateBy"; + // + // lb_lastUpdateTtime + // + this.lb_lastUpdateTtime.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_lastUpdateTtime.Appearance.Options.UseFont = true; + this.lb_lastUpdateTtime.Location = new System.Drawing.Point(623, 112); + this.lb_lastUpdateTtime.Name = "lb_lastUpdateTtime"; + this.lb_lastUpdateTtime.Size = new System.Drawing.Size(119, 21); + this.lb_lastUpdateTtime.TabIndex = 243; + this.lb_lastUpdateTtime.Tag = "lastUpdateTtime"; + this.lb_lastUpdateTtime.Text = "鏈�鍚庢洿鏂版椂闂达細"; + // + // txt_lastUpdateTtime + // + this.txt_lastUpdateTtime.Location = new System.Drawing.Point(743, 108); + this.txt_lastUpdateTtime.Name = "txt_lastUpdateTtime"; + this.txt_lastUpdateTtime.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_lastUpdateTtime.Properties.Appearance.Options.UseFont = true; + this.txt_lastUpdateTtime.Size = new System.Drawing.Size(150, 28); + this.txt_lastUpdateTtime.TabIndex = 243; + this.txt_lastUpdateTtime.Tag = "lastUpdateTtime"; + // + // lb_createBy + // + this.lb_createBy.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_createBy.Appearance.Options.UseFont = true; + this.lb_createBy.Location = new System.Drawing.Point(674, 65); + this.lb_createBy.Name = "lb_createBy"; + this.lb_createBy.Size = new System.Drawing.Size(68, 21); + this.lb_createBy.TabIndex = 240; + this.lb_createBy.Tag = "createBy"; + this.lb_createBy.Text = "寤虹珛鑰咃細"; + // + // txt_createBy + // + this.txt_createBy.Location = new System.Drawing.Point(743, 61); + this.txt_createBy.Name = "txt_createBy"; + this.txt_createBy.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_createBy.Properties.Appearance.Options.UseFont = true; + this.txt_createBy.Size = new System.Drawing.Size(150, 28); + this.txt_createBy.TabIndex = 240; + this.txt_createBy.Tag = "createBy"; + // + // gv_createBy + // + this.gv_createBy.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_createBy.AppearanceCell.Options.UseFont = true; + this.gv_createBy.Caption = "寤虹珛鑰�"; + this.gv_createBy.FieldName = "createBy"; + this.gv_createBy.MinWidth = 25; + this.gv_createBy.Name = "gv_createBy"; + this.gv_createBy.OptionsColumn.AllowEdit = false; + this.gv_createBy.Visible = true; + this.gv_createBy.VisibleIndex = 10; + this.gv_createBy.Width = 94; + // + // lb_createTime + // + this.lb_createTime.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_createTime.Appearance.Options.UseFont = true; + this.lb_createTime.Location = new System.Drawing.Point(657, 20); + this.lb_createTime.Name = "lb_createTime"; + this.lb_createTime.Size = new System.Drawing.Size(85, 21); + this.lb_createTime.TabIndex = 235; + this.lb_createTime.Tag = "createTime"; + this.lb_createTime.Text = "寤虹珛鏃堕棿锛�"; + // + // txt_createTime + // + this.txt_createTime.Location = new System.Drawing.Point(743, 16); + this.txt_createTime.Name = "txt_createTime"; + this.txt_createTime.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_createTime.Properties.Appearance.Options.UseFont = true; + this.txt_createTime.Size = new System.Drawing.Size(150, 28); + this.txt_createTime.TabIndex = 235; + this.txt_createTime.Tag = "createTime"; + // + // gv_createTime + // + this.gv_createTime.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_createTime.AppearanceCell.Options.UseFont = true; + this.gv_createTime.Caption = "寤虹珛鏃堕棿"; + this.gv_createTime.FieldName = "createTime"; + this.gv_createTime.MinWidth = 25; + this.gv_createTime.Name = "gv_createTime"; + this.gv_createTime.OptionsColumn.AllowEdit = false; + this.gv_createTime.Visible = true; + this.gv_createTime.VisibleIndex = 9; + this.gv_createTime.Width = 94; + // + // lb_conFax + // + this.lb_conFax.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_conFax.Appearance.Options.UseFont = true; + this.lb_conFax.Location = new System.Drawing.Point(349, 112); + this.lb_conFax.Name = "lb_conFax"; + this.lb_conFax.Size = new System.Drawing.Size(85, 21); + this.lb_conFax.TabIndex = 231; + this.lb_conFax.Tag = "conFax"; + this.lb_conFax.Text = "鑱旂郴浼犵湡锛�"; + // + // txt_conFax + // + this.txt_conFax.Location = new System.Drawing.Point(437, 108); + this.txt_conFax.Name = "txt_conFax"; + this.txt_conFax.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_conFax.Properties.Appearance.Options.UseFont = true; + this.txt_conFax.Size = new System.Drawing.Size(150, 28); + this.txt_conFax.TabIndex = 231; + this.txt_conFax.Tag = "conFax"; + // + // gv_conFax + // + this.gv_conFax.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_conFax.AppearanceCell.Options.UseFont = true; + this.gv_conFax.Caption = "鑱旂郴浼犵湡"; + this.gv_conFax.FieldName = "conFax"; + this.gv_conFax.MinWidth = 25; + this.gv_conFax.Name = "gv_conFax"; + this.gv_conFax.OptionsColumn.AllowEdit = false; + this.gv_conFax.Visible = true; + this.gv_conFax.VisibleIndex = 8; + this.gv_conFax.Width = 94; + // + // lb_conTel + // + this.lb_conTel.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_conTel.Appearance.Options.UseFont = true; + this.lb_conTel.Location = new System.Drawing.Point(349, 65); + this.lb_conTel.Name = "lb_conTel"; + this.lb_conTel.Size = new System.Drawing.Size(85, 21); + this.lb_conTel.TabIndex = 228; + this.lb_conTel.Tag = "conTel"; + this.lb_conTel.Text = "鑱旂郴鐢佃瘽锛�"; + // + // txt_conTel + // + this.txt_conTel.Location = new System.Drawing.Point(437, 61); + this.txt_conTel.Name = "txt_conTel"; + this.txt_conTel.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_conTel.Properties.Appearance.Options.UseFont = true; + this.txt_conTel.Size = new System.Drawing.Size(150, 28); + this.txt_conTel.TabIndex = 228; + this.txt_conTel.Tag = "conTel"; + // + // gv_conTel + // + this.gv_conTel.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_conTel.AppearanceCell.Options.UseFont = true; + this.gv_conTel.Caption = "鑱旂郴鐢佃瘽"; + this.gv_conTel.FieldName = "conTel"; + this.gv_conTel.MinWidth = 25; + this.gv_conTel.Name = "gv_conTel"; + this.gv_conTel.OptionsColumn.AllowEdit = false; + this.gv_conTel.Visible = true; + this.gv_conTel.VisibleIndex = 7; + this.gv_conTel.Width = 94; + // + // lb_conPeople + // + this.lb_conPeople.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_conPeople.Appearance.Options.UseFont = true; + this.lb_conPeople.Location = new System.Drawing.Point(366, 20); + this.lb_conPeople.Name = "lb_conPeople"; + this.lb_conPeople.Size = new System.Drawing.Size(68, 21); + this.lb_conPeople.TabIndex = 226; + this.lb_conPeople.Tag = "conPeople"; + this.lb_conPeople.Text = "鑱旂郴浜猴細"; + // + // txt_conPeople + // + this.txt_conPeople.Location = new System.Drawing.Point(437, 16); + this.txt_conPeople.Name = "txt_conPeople"; + this.txt_conPeople.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_conPeople.Properties.Appearance.Options.UseFont = true; + this.txt_conPeople.Size = new System.Drawing.Size(150, 28); + this.txt_conPeople.TabIndex = 226; + this.txt_conPeople.Tag = "conPeople"; + // + // gv_conPeople + // + this.gv_conPeople.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_conPeople.AppearanceCell.Options.UseFont = true; + this.gv_conPeople.Caption = "鑱旂郴浜�"; + this.gv_conPeople.FieldName = "conPeople"; + this.gv_conPeople.MinWidth = 25; + this.gv_conPeople.Name = "gv_conPeople"; + this.gv_conPeople.OptionsColumn.AllowEdit = false; + this.gv_conPeople.Visible = true; + this.gv_conPeople.VisibleIndex = 6; + this.gv_conPeople.Width = 94; + // + // lb_isStatus + // + this.lb_isStatus.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_isStatus.Appearance.Options.UseFont = true; + this.lb_isStatus.Location = new System.Drawing.Point(383, 158); + this.lb_isStatus.Name = "lb_isStatus"; + this.lb_isStatus.Size = new System.Drawing.Size(51, 21); + this.lb_isStatus.TabIndex = 222; + this.lb_isStatus.Tag = "isStatus"; + this.lb_isStatus.Text = "鐘舵�侊細"; + // + // txt_isStatus + // + this.txt_isStatus.Location = new System.Drawing.Point(437, 154); + this.txt_isStatus.Name = "txt_isStatus"; + this.txt_isStatus.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_isStatus.Properties.Appearance.Options.UseFont = true; + this.txt_isStatus.Size = new System.Drawing.Size(150, 28); + this.txt_isStatus.TabIndex = 222; + this.txt_isStatus.Tag = "isStatus"; + // + // gv_isStatus + // + this.gv_isStatus.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_isStatus.AppearanceCell.Options.UseFont = true; + this.gv_isStatus.Caption = "鐘舵��"; + this.gv_isStatus.FieldName = "isStatusTxt"; + this.gv_isStatus.MinWidth = 25; + this.gv_isStatus.Name = "gv_isStatus"; + this.gv_isStatus.OptionsColumn.AllowEdit = false; + this.gv_isStatus.Visible = true; + this.gv_isStatus.VisibleIndex = 5; + this.gv_isStatus.Width = 94; + // + // lb_remark + // + this.lb_remark.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_remark.Appearance.Options.UseFont = true; + this.lb_remark.Location = new System.Drawing.Point(85, 205); + this.lb_remark.Name = "lb_remark"; + this.lb_remark.Size = new System.Drawing.Size(51, 21); + this.lb_remark.TabIndex = 219; + this.lb_remark.Tag = "remark"; + this.lb_remark.Text = "澶囨敞锛�"; + // + // txt_remark + // + this.txt_remark.Location = new System.Drawing.Point(137, 201); + this.txt_remark.Name = "txt_remark"; + this.txt_remark.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_remark.Properties.Appearance.Options.UseFont = true; + this.txt_remark.Size = new System.Drawing.Size(201, 28); + this.txt_remark.TabIndex = 219; + this.txt_remark.Tag = "remark"; + // + // gv_remark + // + this.gv_remark.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_remark.AppearanceCell.Options.UseFont = true; + this.gv_remark.Caption = "澶囨敞"; + this.gv_remark.FieldName = "remark"; + this.gv_remark.MinWidth = 25; + this.gv_remark.Name = "gv_remark"; + this.gv_remark.OptionsColumn.AllowEdit = false; + this.gv_remark.Visible = true; + this.gv_remark.VisibleIndex = 4; + this.gv_remark.Width = 94; + // + // lb_engName + // + this.lb_engName.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_engName.Appearance.Options.UseFont = true; + this.lb_engName.Location = new System.Drawing.Point(17, 158); + this.lb_engName.Name = "lb_engName"; + this.lb_engName.Size = new System.Drawing.Size(119, 21); + this.lb_engName.TabIndex = 217; + this.lb_engName.Tag = "engName"; + this.lb_engName.Text = "渚涘簲鍟嗚嫳鏂囧悕锛�"; + // + // txt_engName + // + this.txt_engName.Location = new System.Drawing.Point(137, 154); + this.txt_engName.Name = "txt_engName"; + this.txt_engName.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_engName.Properties.Appearance.Options.UseFont = true; + this.txt_engName.Size = new System.Drawing.Size(201, 28); + this.txt_engName.TabIndex = 217; + this.txt_engName.Tag = "engName"; + // + // gv_engName + // + this.gv_engName.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_engName.AppearanceCell.Options.UseFont = true; + this.gv_engName.Caption = "渚涘簲鍟嗚嫳鏂囧悕"; + this.gv_engName.FieldName = "engName"; + this.gv_engName.MinWidth = 25; + this.gv_engName.Name = "gv_engName"; + this.gv_engName.OptionsColumn.AllowEdit = false; + this.gv_engName.Visible = true; + this.gv_engName.VisibleIndex = 3; + this.gv_engName.Width = 94; + // + // lb_fullName + // + this.lb_fullName.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_fullName.Appearance.Options.UseFont = true; + this.lb_fullName.Location = new System.Drawing.Point(34, 65); + this.lb_fullName.Name = "lb_fullName"; + this.lb_fullName.Size = new System.Drawing.Size(102, 21); + this.lb_fullName.TabIndex = 216; + this.lb_fullName.Tag = "fullName"; + this.lb_fullName.Text = "渚涘簲鍟嗗叏绉帮細"; + // + // txt_fullName + // + this.txt_fullName.Location = new System.Drawing.Point(137, 61); + this.txt_fullName.Name = "txt_fullName"; + this.txt_fullName.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_fullName.Properties.Appearance.Options.UseFont = true; + this.txt_fullName.Size = new System.Drawing.Size(201, 28); + this.txt_fullName.TabIndex = 216; + this.txt_fullName.Tag = "fullName"; + // + // gv_fullName + // + this.gv_fullName.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_fullName.AppearanceCell.Options.UseFont = true; + this.gv_fullName.Caption = "渚涘簲鍟嗗叏绉�"; + this.gv_fullName.FieldName = "fullName"; + this.gv_fullName.MinWidth = 25; + this.gv_fullName.Name = "gv_fullName"; + this.gv_fullName.OptionsColumn.AllowEdit = false; + this.gv_fullName.Visible = true; + this.gv_fullName.VisibleIndex = 2; + this.gv_fullName.Width = 94; + // + // lb_simpleName + // + this.lb_simpleName.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_simpleName.Appearance.Options.UseFont = true; + this.lb_simpleName.Location = new System.Drawing.Point(34, 112); + this.lb_simpleName.Name = "lb_simpleName"; + this.lb_simpleName.Size = new System.Drawing.Size(102, 21); + this.lb_simpleName.TabIndex = 213; + this.lb_simpleName.Tag = "simpleName"; + this.lb_simpleName.Text = "渚涘簲鍟嗙畝绉帮細"; + // + // txt_simpleName + // + this.txt_simpleName.Location = new System.Drawing.Point(137, 108); + this.txt_simpleName.Name = "txt_simpleName"; + this.txt_simpleName.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_simpleName.Properties.Appearance.Options.UseFont = true; + this.txt_simpleName.Size = new System.Drawing.Size(201, 28); + this.txt_simpleName.TabIndex = 213; + this.txt_simpleName.Tag = "simpleName"; + // + // gv_simpleName + // + this.gv_simpleName.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_simpleName.AppearanceCell.Options.UseFont = true; + this.gv_simpleName.Caption = "渚涘簲鍟嗙畝绉�"; + this.gv_simpleName.FieldName = "simpleName"; + this.gv_simpleName.MinWidth = 25; + this.gv_simpleName.Name = "gv_simpleName"; + this.gv_simpleName.OptionsColumn.AllowEdit = false; + this.gv_simpleName.Visible = true; + this.gv_simpleName.VisibleIndex = 1; + this.gv_simpleName.Width = 94; + // + // lb_itemNo + // + this.lb_itemNo.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_itemNo.Appearance.Options.UseFont = true; + this.lb_itemNo.Location = new System.Drawing.Point(26, 20); + this.lb_itemNo.Name = "lb_itemNo"; + this.lb_itemNo.Size = new System.Drawing.Size(102, 21); + this.lb_itemNo.TabIndex = 211; + this.lb_itemNo.Tag = "itemNo"; + this.lb_itemNo.Text = "渚涘簲鍟嗙紪鍙凤細"; + // + // txt_itemNo + // + this.txt_itemNo.Location = new System.Drawing.Point(137, 16); + this.txt_itemNo.Name = "txt_itemNo"; + this.txt_itemNo.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_itemNo.Properties.Appearance.Options.UseFont = true; + this.txt_itemNo.Size = new System.Drawing.Size(201, 28); + this.txt_itemNo.TabIndex = 211; + this.txt_itemNo.Tag = "itemNo"; + // + // gv_itemNo + // + this.gv_itemNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_itemNo.AppearanceCell.Options.UseFont = true; + this.gv_itemNo.Caption = "渚涘簲鍟嗙紪鍙�"; + this.gv_itemNo.FieldName = "itemNo"; + this.gv_itemNo.MinWidth = 25; + this.gv_itemNo.Name = "gv_itemNo"; + this.gv_itemNo.OptionsColumn.AllowEdit = false; + this.gv_itemNo.Visible = true; + this.gv_itemNo.VisibleIndex = 0; + this.gv_itemNo.Width = 94; + // // toolBarMenu1 // - this.toolBarMenu1.actions = null; this.toolBarMenu1.Dock = System.Windows.Forms.DockStyle.Top; this.toolBarMenu1.isSetBtn = false; this.toolBarMenu1.Location = new System.Drawing.Point(0, 0); this.toolBarMenu1.Name = "toolBarMenu1"; - this.toolBarMenu1.Size = new System.Drawing.Size(1128, 80); + this.toolBarMenu1.Size = new System.Drawing.Size(1060, 80); this.toolBarMenu1.TabIndex = 0; // // gcMain @@ -630,7 +532,7 @@ this.gcMain.Location = new System.Drawing.Point(0, 0); this.gcMain.MainView = this.gridView1; this.gcMain.Name = "gcMain"; - this.gcMain.Size = new System.Drawing.Size(1126, 531); + this.gcMain.Size = new System.Drawing.Size(1058, 531); this.gcMain.TabIndex = 1; this.gcMain.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView1}); @@ -640,8 +542,19 @@ this.gridView1.Appearance.Row.Font = new System.Drawing.Font("Tahoma", 10F); this.gridView1.Appearance.Row.Options.UseFont = true; this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { - this.gv_guid,this.gv_itemNo,this.gv_simpleName,this.gv_fullName,this.gv_engName,this.gv_remark,this.gv_isStatus,this.gv_conPeople,this.gv_conTel,this.gv_conFax,this.gv_createTime,this.gv_createBy,this.gv_lastUpdateTtime,this.gv_lastUpdateBy,this.gv_t1,this.gv_t2,this.gv_t3}); + this.gv_itemNo, + this.gv_simpleName, + this.gv_fullName, + this.gv_engName, + this.gv_remark, + this.gv_isStatus, + this.gv_conPeople, + this.gv_conTel, + this.gv_conFax, + this.gv_createTime, + this.gv_createBy}); this.gridView1.GridControl = this.gcMain; + this.gridView1.IndicatorWidth = 50; this.gridView1.Name = "gridView1"; this.gridView1.OptionsFind.ShowSearchNavButtons = false; this.gridView1.OptionsView.ShowAutoFilterRow = true; @@ -653,7 +566,7 @@ this.xtraTabControl1.Location = new System.Drawing.Point(0, 80); this.xtraTabControl1.Name = "xtraTabControl1"; this.xtraTabControl1.SelectedTabPage = this.xtraTabPage1; - this.xtraTabControl1.Size = new System.Drawing.Size(1128, 602); + this.xtraTabControl1.Size = new System.Drawing.Size(1060, 486); this.xtraTabControl1.TabIndex = 3; this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { this.xtraTabPage1, @@ -664,7 +577,7 @@ this.xtraTabPage1.Controls.Add(this.gcMain); this.xtraTabPage1.Controls.Add(this.pageBar1); this.xtraTabPage1.Name = "xtraTabPage1"; - this.xtraTabPage1.Size = new System.Drawing.Size(1126, 570); + this.xtraTabPage1.Size = new System.Drawing.Size(1058, 570); this.xtraTabPage1.Text = "鏁版嵁鏌ヨ"; // // pageBar1 @@ -676,7 +589,7 @@ this.pageBar1.Name = "pageBar1"; this.pageBar1.RecordCount = 0; this.pageBar1.RowsCount = 50; - this.pageBar1.Size = new System.Drawing.Size(1126, 39); + this.pageBar1.Size = new System.Drawing.Size(1058, 39); this.pageBar1.TabIndex = 3; this.pageBar1.TotalPages = 0; // @@ -685,7 +598,7 @@ this.xtraTabPage2.Controls.Add(this.panel1); this.xtraTabPage2.Name = "xtraTabPage2"; this.xtraTabPage2.PageEnabled = false; - this.xtraTabPage2.Size = new System.Drawing.Size(1126, 570); + this.xtraTabPage2.Size = new System.Drawing.Size(1058, 454); this.xtraTabPage2.Text = "鏁版嵁缂栬緫"; // // panel1 @@ -693,15 +606,41 @@ this.panel1.BackColor = System.Drawing.Color.White; this.panel1.Controls.Add(this.labelControl11); this.panel1.Controls.Add(this.lbGuid); + this.panel1.Controls.Add(this.lb_lastUpdateBy); + this.panel1.Controls.Add(this.txt_lastUpdateBy); + this.panel1.Controls.Add(this.lb_lastUpdateTtime); + this.panel1.Controls.Add(this.txt_lastUpdateTtime); + this.panel1.Controls.Add(this.lb_createBy); + this.panel1.Controls.Add(this.txt_createBy); + this.panel1.Controls.Add(this.lb_createTime); + this.panel1.Controls.Add(this.txt_createTime); + this.panel1.Controls.Add(this.lb_conFax); + this.panel1.Controls.Add(this.txt_conFax); + this.panel1.Controls.Add(this.lb_conTel); + this.panel1.Controls.Add(this.txt_conTel); + this.panel1.Controls.Add(this.lb_conPeople); + this.panel1.Controls.Add(this.txt_conPeople); + this.panel1.Controls.Add(this.lb_isStatus); + this.panel1.Controls.Add(this.txt_isStatus); + this.panel1.Controls.Add(this.lb_remark); + this.panel1.Controls.Add(this.txt_remark); + this.panel1.Controls.Add(this.lb_engName); + this.panel1.Controls.Add(this.txt_engName); + this.panel1.Controls.Add(this.lb_fullName); + this.panel1.Controls.Add(this.txt_fullName); + this.panel1.Controls.Add(this.lb_simpleName); + this.panel1.Controls.Add(this.txt_simpleName); + this.panel1.Controls.Add(this.lb_itemNo); + this.panel1.Controls.Add(this.txt_itemNo); this.panel1.Font = new System.Drawing.Font("Tahoma", 10F); this.panel1.Location = new System.Drawing.Point(76, 20); this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(585, 426); + this.panel1.Size = new System.Drawing.Size(935, 388); this.panel1.TabIndex = 1; // // labelControl11 // - this.labelControl11.Location = new System.Drawing.Point(61, 388); + this.labelControl11.Location = new System.Drawing.Point(61, 323); this.labelControl11.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.labelControl11.Name = "labelControl11"; this.labelControl11.Size = new System.Drawing.Size(45, 18); @@ -711,72 +650,32 @@ // lbGuid // this.lbGuid.AutoSize = true; - this.lbGuid.Location = new System.Drawing.Point(112, 388); + this.lbGuid.Location = new System.Drawing.Point(112, 323); this.lbGuid.Name = "lbGuid"; this.lbGuid.Size = new System.Drawing.Size(0, 21); this.lbGuid.TabIndex = 1; // - // category1 + // FrmSupplier // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(1128, 682); + this.ClientSize = new System.Drawing.Size(1060, 566); this.Controls.Add(this.xtraTabControl1); this.Controls.Add(this.toolBarMenu1); - //BQAddControltoMContainer - this.panel1.Controls.Add(this.lb_t3); - this.panel1.Controls.Add(this.txt_t3); - - this.panel1.Controls.Add(this.lb_t2); - this.panel1.Controls.Add(this.txt_t2); - - this.panel1.Controls.Add(this.lb_t1); - this.panel1.Controls.Add(this.txt_t1); - - this.panel1.Controls.Add(this.lb_lastUpdateBy); - this.panel1.Controls.Add(this.txt_lastUpdateBy); - - this.panel1.Controls.Add(this.lb_lastUpdateTtime); - this.panel1.Controls.Add(this.txt_lastUpdateTtime); - - this.panel1.Controls.Add(this.lb_createBy); - this.panel1.Controls.Add(this.txt_createBy); - - this.panel1.Controls.Add(this.lb_createTime); - this.panel1.Controls.Add(this.txt_createTime); - - this.panel1.Controls.Add(this.lb_conFax); - this.panel1.Controls.Add(this.txt_conFax); - - this.panel1.Controls.Add(this.lb_conTel); - this.panel1.Controls.Add(this.txt_conTel); - - this.panel1.Controls.Add(this.lb_conPeople); - this.panel1.Controls.Add(this.txt_conPeople); - - this.panel1.Controls.Add(this.lb_isStatus); - this.panel1.Controls.Add(this.txt_isStatus); - - this.panel1.Controls.Add(this.lb_remark); - this.panel1.Controls.Add(this.txt_remark); - - this.panel1.Controls.Add(this.lb_engName); - this.panel1.Controls.Add(this.txt_engName); - - this.panel1.Controls.Add(this.lb_fullName); - this.panel1.Controls.Add(this.txt_fullName); - - this.panel1.Controls.Add(this.lb_simpleName); - this.panel1.Controls.Add(this.txt_simpleName); - - this.panel1.Controls.Add(this.lb_itemNo); - this.panel1.Controls.Add(this.txt_itemNo); - - this.panel1.Controls.Add(this.lb_guid); - this.panel1.Controls.Add(this.txt_guid); - - this.Name = "category1"; - this.Text = ""; + this.Name = "FrmSupplier"; + ((System.ComponentModel.ISupportInitialize)(this.txt_lastUpdateBy.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_lastUpdateTtime.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_createBy.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_createTime.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_conFax.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_conTel.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_conPeople.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_isStatus.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_remark.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_engName.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_fullName.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_simpleName.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_itemNo.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gcMain)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit(); @@ -786,6 +685,7 @@ this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.ResumeLayout(false); + } #endregion private UserControl.ToolBarMenu toolBarMenu1; @@ -798,26 +698,12 @@ private System.Windows.Forms.Panel panel1; private System.Windows.Forms.Label lbGuid; private DevExpress.XtraEditors.LabelControl labelControl11; - //BQCreateConrolObejct - private DevExpress.XtraEditors.LabelControl lb_t3; - private DevExpress.XtraEditors.TextEdit txt_t3; - private DevExpress.XtraGrid.Columns.GridColumn gv_t3; - - private DevExpress.XtraEditors.LabelControl lb_t2; - private DevExpress.XtraEditors.TextEdit txt_t2; - private DevExpress.XtraGrid.Columns.GridColumn gv_t2; - - private DevExpress.XtraEditors.LabelControl lb_t1; - private DevExpress.XtraEditors.TextEdit txt_t1; - private DevExpress.XtraGrid.Columns.GridColumn gv_t1; private DevExpress.XtraEditors.LabelControl lb_lastUpdateBy; private DevExpress.XtraEditors.TextEdit txt_lastUpdateBy; - private DevExpress.XtraGrid.Columns.GridColumn gv_lastUpdateBy; private DevExpress.XtraEditors.LabelControl lb_lastUpdateTtime; private DevExpress.XtraEditors.TextEdit txt_lastUpdateTtime; - private DevExpress.XtraGrid.Columns.GridColumn gv_lastUpdateTtime; private DevExpress.XtraEditors.LabelControl lb_createBy; private DevExpress.XtraEditors.TextEdit txt_createBy; @@ -862,10 +748,6 @@ private DevExpress.XtraEditors.LabelControl lb_itemNo; private DevExpress.XtraEditors.TextEdit txt_itemNo; private DevExpress.XtraGrid.Columns.GridColumn gv_itemNo; - - private DevExpress.XtraEditors.LabelControl lb_guid; - private DevExpress.XtraEditors.TextEdit txt_guid; - private DevExpress.XtraGrid.Columns.GridColumn gv_guid; } } \ No newline at end of file diff --git a/DevApp/Gs.DevApp/DevFrm/BasicData/FrmSupplier.cs b/DevApp/Gs.DevApp/DevFrm/BasicData/FrmSupplier.cs index d5f0bf5..ffebf1b 100644 --- a/DevApp/Gs.DevApp/DevFrm/BasicData/FrmSupplier.cs +++ b/DevApp/Gs.DevApp/DevFrm/BasicData/FrmSupplier.cs @@ -1,12 +1,5 @@ -锘縰sing DevExpress.XtraEditors; -using System; -using System.Collections.Generic; -using System.ComponentModel; +锘縰sing System; using System.Data; -using System.Drawing; -using System.Linq; -using System.Text; -using System.Threading.Tasks; using System.Windows.Forms; using Gs.DevApp.ToolBox; using Gs.DevApp.Entity; @@ -21,17 +14,20 @@ public FrmSupplier() { InitializeComponent(); - this.toolBarMenu1.btnAddClick += ToolBarMenu1_btnAddClick; - this.toolBarMenu1.btnEdtClick += ToolBarMenu1_btnEdtClick; - this.toolBarMenu1.btnSaveClick += ToolBarMenu1_btnSaveClick; this.toolBarMenu1.btnLoadClick += ToolBarMenu1_btnLoadClick; - this.toolBarMenu1.btnDelClick += ToolBarMenu1_btnDelClick1; - this.toolBarMenu1.btnEscClick += ToolBarMenu1_btnEscClick; this.toolBarMenu1.btnQueryClick += ToolBarMenu1_btnQueryClick; gcMain.MouseDoubleClick += GcMain_MouseDoubleClick; gridView1.ColumnFilterChanged += GridView1_ColumnFilterChanged; + gridView1.CustomDrawRowIndicator += GridView1_CustomDrawRowIndicator; pageBar1.PagerEvent += PageBar1_PagerEvent; getPageList(1, UtilityHelper.GetPageSize()); + } + private void GridView1_CustomDrawRowIndicator(object sender, RowIndicatorCustomDrawEventArgs e) + { + if (e.Info.IsRowIndicator && e.RowHandle >= 0) + { + e.Info.DisplayText = (e.RowHandle + 1).ToString(); + } } private void GridView1_ColumnFilterChanged(object sender, EventArgs e) { @@ -96,52 +92,6 @@ string strWhere = e.Data; MessageBox.Show(strWhere); } - - /// <summary> - /// 鍙栨秷浜嬩欢 - /// </summary> - /// <param name="sender"></param> - /// <param name="e"></param> - private void ToolBarMenu1_btnEscClick(object sender, EventArgs e) - { - UtilityHelper.ChangeTab(xtraTabControl1, 0); - } - /// <summary> - /// 鍒犻櫎浜嬩欢 - /// </summary> - /// <param name="sender"></param> - /// <param name="e"></param> - private void ToolBarMenu1_btnDelClick1(object sender, EventArgs e) - { - DataRow dr = gridView1.GetFocusedDataRow(); - if (dr == null || string.IsNullOrEmpty(dr["guid"].ToString())) - { - ToolBox.MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�"); - return; - } - if (!MsgHelper.AskQuestion("浣犻�夋嫨浜嗐��" + dr["userName"].ToString() + "銆戯紝纭畾鍒犻櫎鍚楋紵")) - return; - var _obj = new - { - guidList = dr["guid"].ToString(),//涓诲缓 - }; - string strJson = ""; - try - { - strJson = UtilityHelper.HttpPost("", "Supplier/DeleteModel", JsonConvert.SerializeObject(_obj)); - ReturnModel<dynamic> _rtn = ToolBox.UtilityHelper.GetDataByJson(strJson); - if (_rtn.rtnCode > 0) - { - UtilityHelper.ChangeTab(xtraTabControl1, 0); - getPageList(1, UtilityHelper.GetPageSize()); - } - ToolBox.MsgHelper.Warning("鎻愮ず锛�" + _rtn.rtnMsg); - } - catch (Exception ex) - { - ToolBox.MsgHelper.Warning("鎻愮ず锛�" + ex.Message); - } - } /// <summary> /// 鍒锋柊浜嬩欢 /// </summary> @@ -151,61 +101,6 @@ { UtilityHelper.ChangeTab(xtraTabControl1, 0); getPageList(1, UtilityHelper.GetPageSize()); - } - /// <summary> - /// 淇敼浜嬩欢 - /// </summary> - /// <param name="sender"></param> - /// <param name="e"></param> - private void ToolBarMenu1_btnEdtClick(object sender, EventArgs e) - { - DataRow dr = gridView1.GetFocusedDataRow(); - if (dr == null || string.IsNullOrEmpty(dr["guid"].ToString())) - { - ToolBox.MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�"); - return; - } - getModel(dr["guid"].ToString(), true, 1); - } - /// <summary> - /// 鏂板浜嬩欢 - /// </summary> - /// <param name="sender"></param> - /// <param name="e"></param> - private void ToolBarMenu1_btnAddClick(object sender, EventArgs e) - { - UtilityHelper.ChangeTab(xtraTabControl1, 1); - lbGuid.Text = ""; - UtilityHelper.CleanValue(this.panel1.Controls, true); - } - /// <summary> - /// 淇濆瓨浜嬩欢 - /// </summary> - /// <param name="sender"></param> - /// <param name="e"></param> - private void ToolBarMenu1_btnSaveClick(object sender, EventArgs e) - { - toolBarMenu1.isSetBtn = false; - var _obj = new - { - guid = lbGuid.Text.Trim(),//涓诲缓 - }; - try - { - string strJson = UtilityHelper.HttpPost("", "User/EditModel", JsonConvert.SerializeObject(_obj)); - ReturnModel<dynamic> _rtn = ToolBox.UtilityHelper.GetDataByJson(strJson); - ToolBox.MsgHelper.Warning("鎻愮ず锛�" + _rtn.rtnMsg); - if (_rtn.rtnCode > 0) - { - lbGuid.Text = _rtn.rtnData; - toolBarMenu1.isSetBtn = true; - UtilityHelper.ChangeEnable(this.panel1.Controls, false); - } - } - catch (Exception ex) - { - ToolBox.MsgHelper.Warning("鎻愮ず锛�" + ex.Message); - } } /// <summary> /// diff --git a/DevApp/Gs.DevApp/DevFrm/BasicData/FrmSupplier.resx b/DevApp/Gs.DevApp/DevFrm/BasicData/FrmSupplier.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/DevApp/Gs.DevApp/DevFrm/BasicData/FrmSupplier.resx @@ -0,0 +1,120 @@ +锘�<?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> +</root> \ No newline at end of file -- Gitblit v1.9.3