From a9e7dd0920d8d57dc5e3831a8a01a4b81457fb1c Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期四, 03 四月 2025 10:26:10 +0800 Subject: [PATCH] 字典 --- DevApp/Gs.DevApp/DevFrm/QC/Frm_MesDefectCode.Designer.cs | 567 ++++++++++++-------------------------------------------- 1 files changed, 125 insertions(+), 442 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesDefectCode.Designer.cs b/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesDefectCode.Designer.cs index c4c1724..0ea60c3 100644 --- a/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesDefectCode.Designer.cs +++ b/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesDefectCode.Designer.cs @@ -29,44 +29,22 @@ /// </summary> private void InitializeComponent() { - DevExpress.XtraLayout.ColumnDefinition columnDefinition1 = new DevExpress.XtraLayout.ColumnDefinition(); - DevExpress.XtraLayout.ColumnDefinition columnDefinition2 = new DevExpress.XtraLayout.ColumnDefinition(); - DevExpress.XtraLayout.ColumnDefinition columnDefinition3 = new DevExpress.XtraLayout.ColumnDefinition(); - DevExpress.XtraLayout.RowDefinition rowDefinition1 = new DevExpress.XtraLayout.RowDefinition(); - DevExpress.XtraLayout.RowDefinition rowDefinition2 = new DevExpress.XtraLayout.RowDefinition(); - DevExpress.XtraLayout.RowDefinition rowDefinition3 = new DevExpress.XtraLayout.RowDefinition(); + this.components = new System.ComponentModel.Container(); this.toolBarMenu1 = new Gs.DevApp.UserControl.UcToolBarMenu(); this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl(); this.xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage(); this.split1 = new DevExpress.XtraEditors.SplitContainerControl(); - this.gcMain1 = new DevExpress.XtraGrid.GridControl(); - this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); - this.gv_defectCode = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gv_defectName = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gv_memo = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gv_defectSort = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gv_defectRate = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gv_createBy = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gv_createDate = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gv_lastupdateBy = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gv_lastupdateDate = new DevExpress.XtraGrid.Columns.GridColumn(); - this.pageBar1 = new UserControls.Data.UcPageBar(); - this.xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage(); - this.splitMx1 = new DevExpress.XtraEditors.SplitContainerControl(); - this.txt_pid = new Gs.DevApp.UserControl.UcLookDefectType(); - this.txt_memo = new DevExpress.XtraEditors.MemoEdit(); - this.txt_typeMemo = new DevExpress.XtraEditors.MemoEdit(); - this.lbGuid = new System.Windows.Forms.Label(); - this.txt_defectName = new DevExpress.XtraEditors.TextEdit(); - this.txt_defectCode = new DevExpress.XtraEditors.TextEdit(); - this.layoutMx1 = new DevExpress.XtraLayout.LayoutControl(); - this.Root = new DevExpress.XtraLayout.LayoutControlGroup(); - this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); + this.tlMenu = new DevExpress.XtraTreeList.TreeList(); + this.tlcModuleID = new DevExpress.XtraTreeList.Columns.TreeListColumn(); + this.tlcMenuCaption = new DevExpress.XtraTreeList.Columns.TreeListColumn(); + this.tlcMenuName = new DevExpress.XtraTreeList.Columns.TreeListColumn(); + this.tlcActions = new DevExpress.XtraTreeList.Columns.TreeListColumn(); + this.tl8 = new DevExpress.XtraTreeList.Columns.TreeListColumn(); + this.tl9 = new DevExpress.XtraTreeList.Columns.TreeListColumn(); + this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); + this.toolStripMenuItemAdd = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripMenuItemEdt = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripMenuItemDel = new System.Windows.Forms.ToolStripMenuItem(); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit(); this.xtraTabControl1.SuspendLayout(); this.xtraTabPage1.SuspendLayout(); @@ -75,27 +53,8 @@ this.split1.Panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.split1.Panel2)).BeginInit(); this.split1.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.gcMain1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); - this.xtraTabPage2.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.splitMx1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.splitMx1.Panel1)).BeginInit(); - this.splitMx1.Panel1.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.splitMx1.Panel2)).BeginInit(); - this.splitMx1.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.txt_memo.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.txt_typeMemo.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.txt_defectName.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.txt_defectCode.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutMx1)).BeginInit(); - this.layoutMx1.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.tlMenu)).BeginInit(); + this.contextMenuStrip1.SuspendLayout(); this.SuspendLayout(); // // toolBarMenu1 @@ -123,8 +82,7 @@ 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}); + this.xtraTabPage1}); // // xtraTabPage1 // @@ -140,371 +98,132 @@ this.split1.Location = new System.Drawing.Point(0, 0); this.split1.Name = "split1"; // - // split1.split1_Panel1 + // split1.Panel1 // - this.split1.Panel1.Controls.Add(this.gcMain1); - this.split1.Panel1.Controls.Add(this.pageBar1); + this.split1.Panel1.Controls.Add(this.tlMenu); this.split1.Panel1.Text = "Panel1"; // - // split1.split1_Panel2 + // split1.Panel2 // this.split1.Panel2.Text = "Panel2"; this.split1.Size = new System.Drawing.Size(1126, 570); this.split1.SplitterPosition = 558; this.split1.TabIndex = 0; // - // gcMain1 + // tlMenu // - this.gcMain1.Dock = System.Windows.Forms.DockStyle.Fill; - this.gcMain1.Location = new System.Drawing.Point(0, 0); - this.gcMain1.MainView = this.gridView1; - this.gcMain1.Name = "gcMain1"; - this.gcMain1.Size = new System.Drawing.Size(1126, 519); - this.gcMain1.TabIndex = 2; - this.gcMain1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { - this.gridView1}); + this.tlMenu.Appearance.Row.Options.UseFont = true; + this.tlMenu.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { + this.tlcModuleID, + this.tlcMenuCaption, + this.tlcMenuName, + this.tlcActions, + this.tl8, + this.tl9}); + this.tlMenu.Cursor = System.Windows.Forms.Cursors.Default; + this.tlMenu.Dock = System.Windows.Forms.DockStyle.Fill; + this.tlMenu.Location = new System.Drawing.Point(0, 0); + this.tlMenu.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.tlMenu.MinWidth = 23; + this.tlMenu.Name = "tlMenu"; + this.tlMenu.OptionsBehavior.Editable = false; + this.tlMenu.OptionsFind.AlwaysVisible = true; + this.tlMenu.OptionsMenu.EnableColumnMenu = false; + this.tlMenu.OptionsMenu.EnableFooterMenu = false; + this.tlMenu.OptionsMenu.EnableNodeMenu = false; + this.tlMenu.OptionsMenu.ShowAddNodeItems = DevExpress.Utils.DefaultBoolean.False; + this.tlMenu.OptionsMenu.ShowAutoFilterRowItem = false; + this.tlMenu.OptionsView.TreeLineStyle = DevExpress.XtraTreeList.LineStyle.Solid; + this.tlMenu.Size = new System.Drawing.Size(1126, 558); + this.tlMenu.TabIndex = 3; + this.tlMenu.TreeLevelWidth = 21; // - // gridView1 + // tlcModuleID // - this.gridView1.Appearance.Row.Options.UseFont = true; - this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { - this.gv_defectCode, - this.gv_defectName, - this.gv_memo, - this.gv_defectSort, - this.gv_defectRate, - this.gv_createBy, - this.gv_createDate, - this.gv_lastupdateBy, - this.gv_lastupdateDate}); - this.gridView1.GridControl = this.gcMain1; - this.gridView1.IndicatorWidth = 50; - this.gridView1.Name = "gridView1"; - this.gridView1.OptionsFind.ShowSearchNavButtons = false; - this.gridView1.OptionsView.ShowAutoFilterRow = true; - this.gridView1.OptionsView.ShowGroupPanel = false; + this.tlcModuleID.Caption = "guid"; + this.tlcModuleID.FieldName = "guid"; + this.tlcModuleID.MinWidth = 23; + this.tlcModuleID.Name = "tlcModuleID"; + this.tlcModuleID.Visible = true; + this.tlcModuleID.VisibleIndex = 0; + this.tlcModuleID.Width = 103; // - // gv_defectCode + // tlcMenuCaption // - this.gv_defectCode.AppearanceCell.Options.UseFont = true; - this.gv_defectCode.Caption = "缂洪櫡浠g爜"; - this.gv_defectCode.FieldName = "defectCode"; - this.gv_defectCode.MinWidth = 50; - this.gv_defectCode.Name = "gv_defectCode"; - this.gv_defectCode.OptionsColumn.AllowEdit = false; - this.gv_defectCode.Tag = "query_a.defect_code"; - this.gv_defectCode.Visible = true; - this.gv_defectCode.VisibleIndex = 0; - this.gv_defectCode.Width = 94; + this.tlcMenuCaption.Caption = "瀛楀吀缂栧彿"; + this.tlcMenuCaption.FieldName = "defectCode"; + this.tlcMenuCaption.MinWidth = 23; + this.tlcMenuCaption.Name = "tlcMenuCaption"; + this.tlcMenuCaption.Visible = true; + this.tlcMenuCaption.VisibleIndex = 1; + this.tlcMenuCaption.Width = 139; // - // gv_defectName + // tlcMenuName // - this.gv_defectName.AppearanceCell.Options.UseFont = true; - this.gv_defectName.Caption = "缂洪櫡鍚嶇О"; - this.gv_defectName.FieldName = "defectName"; - this.gv_defectName.MinWidth = 25; - this.gv_defectName.Name = "gv_defectName"; - this.gv_defectName.OptionsColumn.AllowEdit = false; - this.gv_defectName.Tag = "query_a.defect_name"; - this.gv_defectName.Visible = true; - this.gv_defectName.VisibleIndex = 1; - this.gv_defectName.Width = 94; + this.tlcMenuName.Caption = "瀛楀吀鍚嶇О"; + this.tlcMenuName.FieldName = "defectName"; + this.tlcMenuName.MinWidth = 38; + this.tlcMenuName.Name = "tlcMenuName"; + this.tlcMenuName.Visible = true; + this.tlcMenuName.VisibleIndex = 2; + this.tlcMenuName.Width = 215; // - // gv_memo + // tlcActions // - this.gv_memo.AppearanceCell.Options.UseFont = true; - this.gv_memo.Caption = "缂洪櫡澶囨敞"; - this.gv_memo.FieldName = "memo"; - this.gv_memo.MinWidth = 25; - this.gv_memo.Name = "gv_memo"; - this.gv_memo.OptionsColumn.AllowEdit = false; - this.gv_memo.Tag = "query_a.memo"; - this.gv_memo.Visible = true; - this.gv_memo.VisibleIndex = 2; - this.gv_memo.Width = 94; + this.tlcActions.Caption = "瀛楀吀绫诲瀷"; + this.tlcActions.FieldName = "sType"; + this.tlcActions.MinWidth = 23; + this.tlcActions.Name = "tlcActions"; + this.tlcActions.Visible = true; + this.tlcActions.VisibleIndex = 3; + this.tlcActions.Width = 50; // - // gv_defectSort + // tl8 // - this.gv_defectSort.AppearanceCell.Options.UseFont = true; - this.gv_defectSort.Caption = "缂洪櫡绫诲埆"; - this.gv_defectSort.FieldName = "typeNo"; - this.gv_defectSort.MinWidth = 25; - this.gv_defectSort.Name = "gv_defectSort"; - this.gv_defectSort.OptionsColumn.AllowEdit = false; - this.gv_defectSort.Tag = "query_a.defect_sort"; - this.gv_defectSort.Visible = true; - this.gv_defectSort.VisibleIndex = 3; - this.gv_defectSort.Width = 94; + this.tl8.Caption = "鏈�鍚庢洿鏂颁汉"; + this.tl8.FieldName = "lastupdateBy"; + this.tl8.Name = "tl8"; + this.tl8.Visible = true; + this.tl8.VisibleIndex = 4; // - // gv_defectRate + // tl9 // - this.gv_defectRate.AppearanceCell.Options.UseFont = true; - this.gv_defectRate.Caption = "缂洪櫡绫诲埆鎻忚堪"; - this.gv_defectRate.FieldName = "typeMemo"; - this.gv_defectRate.MinWidth = 25; - this.gv_defectRate.Name = "gv_defectRate"; - this.gv_defectRate.OptionsColumn.AllowEdit = false; - this.gv_defectRate.Tag = "query_a.defect_rate"; - this.gv_defectRate.Visible = true; - this.gv_defectRate.VisibleIndex = 4; - this.gv_defectRate.Width = 150; + this.tl9.Caption = "鏈�鍚庢洿鏂版椂闂�"; + this.tl9.FieldName = "lastupdateDate"; + this.tl9.Name = "tl9"; + this.tl9.Visible = true; + this.tl9.VisibleIndex = 5; // - // gv_createBy + // contextMenuStrip1 // - 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.Tag = "query_a.create_by"; - this.gv_createBy.Visible = true; - this.gv_createBy.VisibleIndex = 5; - this.gv_createBy.Width = 94; + this.contextMenuStrip1.ImageScalingSize = new System.Drawing.Size(20, 20); + this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.toolStripMenuItemAdd, + this.toolStripMenuItemEdt, + this.toolStripMenuItemDel}); + this.contextMenuStrip1.Name = "contextMenuStrip1"; + this.contextMenuStrip1.Size = new System.Drawing.Size(143, 82); // - // gv_createDate + // toolStripMenuItemAdd // - this.gv_createDate.AppearanceCell.Options.UseFont = true; - this.gv_createDate.Caption = "鍒涘缓鏃堕棿 "; - this.gv_createDate.FieldName = "createDate"; - this.gv_createDate.MinWidth = 25; - this.gv_createDate.Name = "gv_createDate"; - this.gv_createDate.OptionsColumn.AllowEdit = false; - this.gv_createDate.Tag = "query_a.create_date"; - this.gv_createDate.Visible = true; - this.gv_createDate.VisibleIndex = 6; - this.gv_createDate.Width = 180; + this.toolStripMenuItemAdd.Image = global::Gs.DevApp.Properties.Resources.trackingchanges_allmarkup_16x16; + this.toolStripMenuItemAdd.Name = "toolStripMenuItemAdd"; + this.toolStripMenuItemAdd.Size = new System.Drawing.Size(142, 26); + this.toolStripMenuItemAdd.Text = "澧炲姞瀛愰」"; // - // gv_lastupdateBy + // toolStripMenuItemEdt // - 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.Tag = "query_a.lastupdate_by"; - this.gv_lastupdateBy.Visible = true; - this.gv_lastupdateBy.VisibleIndex = 7; - this.gv_lastupdateBy.Width = 94; + this.toolStripMenuItemEdt.Image = global::Gs.DevApp.Properties.Resources.trackingchanges_trackchanges_16x16; + this.toolStripMenuItemEdt.Name = "toolStripMenuItemEdt"; + this.toolStripMenuItemEdt.Size = new System.Drawing.Size(142, 26); + this.toolStripMenuItemEdt.Text = "缂栬緫璇ラ」"; // - // gv_lastupdateDate + // toolStripMenuItemDel // - this.gv_lastupdateDate.AppearanceCell.Options.UseFont = true; - this.gv_lastupdateDate.Caption = "鏇存柊鏃堕棿 "; - this.gv_lastupdateDate.FieldName = "lastupdateDate"; - this.gv_lastupdateDate.MinWidth = 25; - this.gv_lastupdateDate.Name = "gv_lastupdateDate"; - this.gv_lastupdateDate.OptionsColumn.AllowEdit = false; - this.gv_lastupdateDate.Tag = "query_a.lastupdate_date"; - this.gv_lastupdateDate.Visible = true; - this.gv_lastupdateDate.VisibleIndex = 8; - this.gv_lastupdateDate.Width = 180; - // - // pageBar1 - // - this.pageBar1.CurrentPage = 1; - this.pageBar1.Dock = System.Windows.Forms.DockStyle.Bottom; - this.pageBar1.Location = new System.Drawing.Point(0, 519); - this.pageBar1.Margin = new System.Windows.Forms.Padding(3, 5, 3, 5); - this.pageBar1.Name = "pageBar1"; - this.pageBar1.RecordCount = 0; - this.pageBar1.Size = new System.Drawing.Size(1126, 39); - this.pageBar1.TabIndex = 4; - this.pageBar1.TotalPages = 0; - // - // xtraTabPage2 - // - this.xtraTabPage2.Controls.Add(this.splitMx1); - this.xtraTabPage2.Name = "xtraTabPage2"; - this.xtraTabPage2.Size = new System.Drawing.Size(1126, 570); - this.xtraTabPage2.Text = "鏁版嵁璇︾粏"; - // - // splitMx1 - // - this.splitMx1.Dock = System.Windows.Forms.DockStyle.Fill; - this.splitMx1.Horizontal = false; - this.splitMx1.Location = new System.Drawing.Point(0, 0); - this.splitMx1.Name = "splitMx1"; - // - // splitMx1.splitMx1_Panel1 - // - this.splitMx1.Panel1.Controls.Add(this.layoutMx1); - this.splitMx1.Panel1.Text = "Panel1"; - // - // splitMx1.splitMx1_Panel2 - // - this.splitMx1.Panel2.Text = "Panel2"; - this.splitMx1.Size = new System.Drawing.Size(1126, 570); - this.splitMx1.TabIndex = 0; - // - // txt_pid - // - this.txt_pid.IsReadly = false; - this.txt_pid.Location = new System.Drawing.Point(480, 12); - this.txt_pid.Name = "txt_pid"; - this.txt_pid.Size = new System.Drawing.Size(251, 24); - this.txt_pid.TabIndex = 310; - // - // txt_memo - // - this.txt_memo.Location = new System.Drawing.Point(119, 68); - this.txt_memo.Name = "txt_memo"; - this.txt_memo.Size = new System.Drawing.Size(250, 24); - this.txt_memo.StyleController = this.layoutMx1; - this.txt_memo.TabIndex = 309; - // - // txt_typeMemo - // - this.txt_typeMemo.Location = new System.Drawing.Point(480, 40); - this.txt_typeMemo.Name = "txt_typeMemo"; - this.txt_typeMemo.Size = new System.Drawing.Size(613, 24); - this.txt_typeMemo.StyleController = this.layoutMx1; - this.txt_typeMemo.TabIndex = 308; - this.txt_typeMemo.Tag = "readOnly"; - // - // lbGuid - // - this.lbGuid.Location = new System.Drawing.Point(735, 12); - this.lbGuid.Name = "lbGuid"; - this.lbGuid.Size = new System.Drawing.Size(358, 25); - this.lbGuid.TabIndex = 1; - this.lbGuid.Text = "lbGuid"; - this.lbGuid.Visible = false; - // - // txt_defectName - // - this.txt_defectName.Location = new System.Drawing.Point(119, 40); - this.txt_defectName.Name = "txt_defectName"; - this.txt_defectName.Properties.Appearance.Options.UseFont = true; - this.txt_defectName.Size = new System.Drawing.Size(250, 24); - this.txt_defectName.StyleController = this.layoutMx1; - this.txt_defectName.TabIndex = 213; - // - // txt_defectCode - // - this.txt_defectCode.Location = new System.Drawing.Point(119, 12); - this.txt_defectCode.Name = "txt_defectCode"; - this.txt_defectCode.Properties.Appearance.Options.UseFont = true; - this.txt_defectCode.Size = new System.Drawing.Size(250, 24); - this.txt_defectCode.StyleController = this.layoutMx1; - this.txt_defectCode.TabIndex = 211; - // - // layoutMx1 - // - this.layoutMx1.Controls.Add(this.lbGuid); - this.layoutMx1.Controls.Add(this.txt_typeMemo); - this.layoutMx1.Controls.Add(this.txt_pid); - this.layoutMx1.Controls.Add(this.txt_memo); - this.layoutMx1.Controls.Add(this.txt_defectCode); - this.layoutMx1.Controls.Add(this.txt_defectName); - this.layoutMx1.Dock = System.Windows.Forms.DockStyle.Fill; - this.layoutMx1.HiddenItems.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { - this.layoutControlItem6}); - this.layoutMx1.Location = new System.Drawing.Point(0, 0); - this.layoutMx1.Name = "layoutMx1"; - this.layoutMx1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(1108, 0, 812, 500); - this.layoutMx1.Root = this.Root; - this.layoutMx1.Size = new System.Drawing.Size(1126, 100); - this.layoutMx1.TabIndex = 0; - this.layoutMx1.Text = "layoutControl1"; - // - // Root - // - this.Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; - this.Root.GroupBordersVisible = false; - this.Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { - this.layoutControlItem1, - this.layoutControlItem2, - this.layoutControlItem3, - this.layoutControlItem4, - this.layoutControlItem5}); - this.Root.LayoutMode = DevExpress.XtraLayout.Utils.LayoutMode.Table; - this.Root.Name = "Root"; - columnDefinition1.SizeType = System.Windows.Forms.SizeType.Percent; - columnDefinition1.Width = 100D; - columnDefinition2.SizeType = System.Windows.Forms.SizeType.Percent; - columnDefinition2.Width = 100D; - columnDefinition3.SizeType = System.Windows.Forms.SizeType.Percent; - columnDefinition3.Width = 100D; - this.Root.OptionsTableLayoutGroup.ColumnDefinitions.AddRange(new DevExpress.XtraLayout.ColumnDefinition[] { - columnDefinition1, - columnDefinition2, - columnDefinition3}); - rowDefinition1.Height = 100D; - rowDefinition1.SizeType = System.Windows.Forms.SizeType.Percent; - rowDefinition2.Height = 100D; - rowDefinition2.SizeType = System.Windows.Forms.SizeType.Percent; - rowDefinition3.Height = 100D; - rowDefinition3.SizeType = System.Windows.Forms.SizeType.Percent; - this.Root.OptionsTableLayoutGroup.RowDefinitions.AddRange(new DevExpress.XtraLayout.RowDefinition[] { - rowDefinition1, - rowDefinition2, - rowDefinition3}); - this.Root.Size = new System.Drawing.Size(1105, 104); - this.Root.TextVisible = false; - // - // layoutControlItem1 - // - this.layoutControlItem1.Control = this.txt_defectCode; - this.layoutControlItem1.Location = new System.Drawing.Point(0, 0); - this.layoutControlItem1.Name = "layoutControlItem1"; - this.layoutControlItem1.Size = new System.Drawing.Size(361, 28); - this.layoutControlItem1.Text = "缂洪櫡浠g爜:"; - this.layoutControlItem1.TextSize = new System.Drawing.Size(95, 18); - // - // layoutControlItem2 - // - this.layoutControlItem2.Control = this.txt_defectName; - this.layoutControlItem2.Location = new System.Drawing.Point(0, 28); - this.layoutControlItem2.Name = "layoutControlItem2"; - this.layoutControlItem2.OptionsTableLayoutItem.RowIndex = 1; - this.layoutControlItem2.Size = new System.Drawing.Size(361, 28); - this.layoutControlItem2.Text = "缂洪櫡鍚嶇О:"; - this.layoutControlItem2.TextSize = new System.Drawing.Size(95, 18); - // - // layoutControlItem3 - // - this.layoutControlItem3.Control = this.txt_memo; - this.layoutControlItem3.Location = new System.Drawing.Point(0, 56); - this.layoutControlItem3.Name = "layoutControlItem3"; - this.layoutControlItem3.OptionsTableLayoutItem.RowIndex = 2; - this.layoutControlItem3.Size = new System.Drawing.Size(361, 28); - this.layoutControlItem3.Text = "澶囨敞:"; - this.layoutControlItem3.TextSize = new System.Drawing.Size(95, 18); - // - // layoutControlItem4 - // - this.layoutControlItem4.Control = this.txt_pid; - this.layoutControlItem4.Location = new System.Drawing.Point(361, 0); - this.layoutControlItem4.Name = "layoutControlItem4"; - this.layoutControlItem4.OptionsTableLayoutItem.ColumnIndex = 1; - this.layoutControlItem4.Size = new System.Drawing.Size(362, 28); - this.layoutControlItem4.Text = "缂洪櫡绫诲埆:"; - this.layoutControlItem4.TextSize = new System.Drawing.Size(95, 18); - // - // layoutControlItem5 - // - this.layoutControlItem5.Control = this.txt_typeMemo; - this.layoutControlItem5.Location = new System.Drawing.Point(361, 28); - this.layoutControlItem5.Name = "layoutControlItem5"; - this.layoutControlItem5.OptionsTableLayoutItem.ColumnIndex = 1; - this.layoutControlItem5.OptionsTableLayoutItem.ColumnSpan = 2; - this.layoutControlItem5.OptionsTableLayoutItem.RowIndex = 1; - this.layoutControlItem5.Size = new System.Drawing.Size(724, 28); - this.layoutControlItem5.Text = "缂洪櫡绫诲埆鎻忚堪:"; - this.layoutControlItem5.TextSize = new System.Drawing.Size(95, 18); - // - // layoutControlItem6 - // - this.layoutControlItem6.Control = this.lbGuid; - this.layoutControlItem6.Location = new System.Drawing.Point(723, 0); - this.layoutControlItem6.Name = "layoutControlItem6"; - this.layoutControlItem6.OptionsTableLayoutItem.ColumnIndex = 2; - this.layoutControlItem6.Size = new System.Drawing.Size(362, 29); - this.layoutControlItem6.Text = "lbGuid"; - this.layoutControlItem6.TextSize = new System.Drawing.Size(0, 0); - this.layoutControlItem6.TextVisible = false; + this.toolStripMenuItemDel.Image = global::Gs.DevApp.Properties.Resources.deletelist2_16x16; + this.toolStripMenuItemDel.Name = "toolStripMenuItemDel"; + this.toolStripMenuItemDel.Size = new System.Drawing.Size(142, 26); + this.toolStripMenuItemDel.Text = "鍒犻櫎璇ラ」"; // // Frm_MesDefectCode // @@ -514,7 +233,7 @@ this.Controls.Add(this.xtraTabControl1); this.Controls.Add(this.toolBarMenu1); this.Name = "Frm_MesDefectCode"; - this.Text = "缂洪櫡浠g爜"; + this.Text = "瀛楀吀閰嶇疆"; ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit(); this.xtraTabControl1.ResumeLayout(false); this.xtraTabPage1.ResumeLayout(false); @@ -523,27 +242,8 @@ ((System.ComponentModel.ISupportInitialize)(this.split1.Panel2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.split1)).EndInit(); this.split1.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.gcMain1)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); - this.xtraTabPage2.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.splitMx1.Panel1)).EndInit(); - this.splitMx1.Panel1.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.splitMx1.Panel2)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.splitMx1)).EndInit(); - this.splitMx1.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.txt_memo.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.txt_typeMemo.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.txt_defectName.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.txt_defectCode.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutMx1)).EndInit(); - this.layoutMx1.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.tlMenu)).EndInit(); + this.contextMenuStrip1.ResumeLayout(false); this.ResumeLayout(false); } @@ -552,33 +252,16 @@ private DevExpress.XtraTab.XtraTabControl xtraTabControl1; private DevExpress.XtraTab.XtraTabPage xtraTabPage1; private DevExpress.XtraEditors.SplitContainerControl split1; - private DevExpress.XtraGrid.GridControl gcMain1; - private DevExpress.XtraGrid.Views.Grid.GridView gridView1; - private DevExpress.XtraGrid.Columns.GridColumn gv_defectCode; - private DevExpress.XtraGrid.Columns.GridColumn gv_defectName; - private DevExpress.XtraGrid.Columns.GridColumn gv_memo; - private DevExpress.XtraGrid.Columns.GridColumn gv_defectSort; - private DevExpress.XtraGrid.Columns.GridColumn gv_defectRate; - private DevExpress.XtraGrid.Columns.GridColumn gv_createBy; - private DevExpress.XtraGrid.Columns.GridColumn gv_createDate; - private DevExpress.XtraGrid.Columns.GridColumn gv_lastupdateBy; - private DevExpress.XtraGrid.Columns.GridColumn gv_lastupdateDate; - private UserControls.Data.UcPageBar pageBar1; - private DevExpress.XtraTab.XtraTabPage xtraTabPage2; - private DevExpress.XtraEditors.SplitContainerControl splitMx1; - private UserControl.UcLookDefectType txt_pid; - private DevExpress.XtraEditors.MemoEdit txt_memo; - private DevExpress.XtraEditors.MemoEdit txt_typeMemo; - private System.Windows.Forms.Label lbGuid; - private DevExpress.XtraEditors.TextEdit txt_defectName; - private DevExpress.XtraEditors.TextEdit txt_defectCode; - private DevExpress.XtraLayout.LayoutControl layoutMx1; - private DevExpress.XtraLayout.LayoutControlGroup Root; - private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1; - private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; - private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3; - private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4; - private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5; - private DevExpress.XtraLayout.LayoutControlItem layoutControlItem6; + private DevExpress.XtraTreeList.TreeList tlMenu; + private DevExpress.XtraTreeList.Columns.TreeListColumn tlcModuleID; + private DevExpress.XtraTreeList.Columns.TreeListColumn tlcMenuCaption; + private DevExpress.XtraTreeList.Columns.TreeListColumn tlcMenuName; + private DevExpress.XtraTreeList.Columns.TreeListColumn tlcActions; + private System.Windows.Forms.ContextMenuStrip contextMenuStrip1; + private System.Windows.Forms.ToolStripMenuItem toolStripMenuItemAdd; + private System.Windows.Forms.ToolStripMenuItem toolStripMenuItemDel; + private System.Windows.Forms.ToolStripMenuItem toolStripMenuItemEdt; + private DevExpress.XtraTreeList.Columns.TreeListColumn tl8; + private DevExpress.XtraTreeList.Columns.TreeListColumn tl9; } } \ No newline at end of file -- Gitblit v1.9.3