| | |
| | | TextEditCode = new DevExpress.XtraEditors.TextEdit(); |
| | | TextEditName = new DevExpress.XtraEditors.TextEdit(); |
| | | TextEditDescription = new DevExpress.XtraEditors.MemoEdit(); |
| | | ComboBoxEditParentsChoice = new DevExpress.XtraEditors.TreeListLookUpEdit(); |
| | | treeListLookUpEdit1TreeList = new DevExpress.XtraTreeList.TreeList(); |
| | | Root = new DevExpress.XtraLayout.LayoutControlGroup(); |
| | | layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | |
| | | layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem(); |
| | | layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | dxErrorProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider(components); |
| | | treeListColumn1 = new DevExpress.XtraTreeList.Columns.TreeListColumn(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControl1).BeginInit(); |
| | | layoutControl1.SuspendLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)TextEditCode.Properties).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)TextEditName.Properties).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)TextEditDescription.Properties).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)ComboBoxEditParentsChoice.Properties).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)treeListLookUpEdit1TreeList).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)Root).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem3).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem5).BeginInit(); |
| | |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem6).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)emptySpaceItem1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem4).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem2).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)dxErrorProvider1).BeginInit(); |
| | | SuspendLayout(); |
| | | // |
| | |
| | | layoutControl1.Controls.Add(TextEditCode); |
| | | layoutControl1.Controls.Add(TextEditName); |
| | | layoutControl1.Controls.Add(TextEditDescription); |
| | | layoutControl1.Controls.Add(ComboBoxEditParentsChoice); |
| | | layoutControl1.Dock = DockStyle.Fill; |
| | | layoutControl1.Location = new Point(0, 0); |
| | | layoutControl1.Name = "layoutControl1"; |
| | |
| | | // |
| | | // TextEditCode |
| | | // |
| | | TextEditCode.Location = new Point(48, 32); |
| | | TextEditCode.Location = new Point(55, 32); |
| | | TextEditCode.Name = "TextEditCode"; |
| | | TextEditCode.Size = new Size(455, 20); |
| | | TextEditCode.Size = new Size(448, 20); |
| | | TextEditCode.StyleController = layoutControl1; |
| | | TextEditCode.TabIndex = 3; |
| | | // |
| | | // TextEditName |
| | | // |
| | | TextEditName.Location = new Point(48, 8); |
| | | TextEditName.Location = new Point(55, 8); |
| | | TextEditName.Name = "TextEditName"; |
| | | TextEditName.Size = new Size(455, 20); |
| | | TextEditName.Size = new Size(448, 20); |
| | | TextEditName.StyleController = layoutControl1; |
| | | TextEditName.TabIndex = 0; |
| | | // |
| | | // TextEditDescription |
| | | // |
| | | TextEditDescription.Location = new Point(48, 56); |
| | | TextEditDescription.Location = new Point(55, 80); |
| | | TextEditDescription.Name = "TextEditDescription"; |
| | | TextEditDescription.Size = new Size(455, 185); |
| | | TextEditDescription.Size = new Size(448, 161); |
| | | TextEditDescription.StyleController = layoutControl1; |
| | | TextEditDescription.TabIndex = 4; |
| | | // |
| | | // ComboBoxEditParentsChoice |
| | | // |
| | | ComboBoxEditParentsChoice.Location = new Point(55, 56); |
| | | ComboBoxEditParentsChoice.Name = "ComboBoxEditParentsChoice"; |
| | | ComboBoxEditParentsChoice.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); |
| | | ComboBoxEditParentsChoice.Properties.DisplayMember = "Name"; |
| | | ComboBoxEditParentsChoice.Properties.NullText = ""; |
| | | ComboBoxEditParentsChoice.Properties.PopupSizeable = false; |
| | | ComboBoxEditParentsChoice.Properties.TreeList = treeListLookUpEdit1TreeList; |
| | | ComboBoxEditParentsChoice.Properties.ValueMember = "ID"; |
| | | ComboBoxEditParentsChoice.Size = new Size(448, 20); |
| | | ComboBoxEditParentsChoice.StyleController = layoutControl1; |
| | | ComboBoxEditParentsChoice.TabIndex = 7; |
| | | // |
| | | // treeListLookUpEdit1TreeList |
| | | // |
| | | treeListLookUpEdit1TreeList.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { treeListColumn1 }); |
| | | treeListLookUpEdit1TreeList.Location = new Point(0, 0); |
| | | treeListLookUpEdit1TreeList.Name = "treeListLookUpEdit1TreeList"; |
| | | treeListLookUpEdit1TreeList.OptionsView.ShowIndentAsRowStyle = true; |
| | | treeListLookUpEdit1TreeList.Size = new Size(400, 200); |
| | | treeListLookUpEdit1TreeList.TabIndex = 0; |
| | | treeListLookUpEdit1TreeList.ViewStyle = DevExpress.XtraTreeList.TreeListViewStyle.TreeView; |
| | | // |
| | | // Root |
| | | // |
| | |
| | | Root.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; |
| | | Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; |
| | | Root.GroupBordersVisible = false; |
| | | Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem3, layoutControlItem5, layoutControlItem1, layoutControlItem6, emptySpaceItem1, layoutControlItem4 }); |
| | | Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem3, layoutControlItem5, layoutControlItem1, layoutControlItem6, emptySpaceItem1, layoutControlItem4, layoutControlItem2 }); |
| | | Root.Name = "Root"; |
| | | Root.Padding = new DevExpress.XtraLayout.Utils.Padding(6, 6, 6, 6); |
| | | Root.Size = new Size(511, 275); |
| | |
| | | layoutControlItem3.Name = "layoutControlItem3"; |
| | | layoutControlItem3.Size = new Size(499, 24); |
| | | layoutControlItem3.Text = "编码:"; |
| | | layoutControlItem3.TextSize = new Size(28, 14); |
| | | layoutControlItem3.TextSize = new Size(35, 14); |
| | | // |
| | | // layoutControlItem5 |
| | | // |
| | | layoutControlItem5.Control = TextEditDescription; |
| | | layoutControlItem5.Location = new Point(0, 48); |
| | | layoutControlItem5.Location = new Point(0, 72); |
| | | layoutControlItem5.Name = "layoutControlItem5"; |
| | | layoutControlItem5.Size = new Size(499, 189); |
| | | layoutControlItem5.Size = new Size(499, 165); |
| | | layoutControlItem5.Text = "说明:"; |
| | | layoutControlItem5.TextSize = new Size(28, 14); |
| | | layoutControlItem5.TextSize = new Size(35, 14); |
| | | // |
| | | // layoutControlItem1 |
| | | // |
| | | layoutControlItem1.AllowHtmlStringInCaption = true; |
| | | layoutControlItem1.Control = TextEditName; |
| | | layoutControlItem1.Location = new Point(0, 0); |
| | | layoutControlItem1.Name = "layoutControlItem1"; |
| | | layoutControlItem1.Size = new Size(499, 24); |
| | | layoutControlItem1.Text = "名称:"; |
| | | layoutControlItem1.TextSize = new Size(28, 14); |
| | | layoutControlItem1.Text = "<color=red>*</color>名称:"; |
| | | layoutControlItem1.TextSize = new Size(35, 14); |
| | | // |
| | | // layoutControlItem6 |
| | | // |
| | |
| | | layoutControlItem4.TextSize = new Size(0, 0); |
| | | layoutControlItem4.TextVisible = false; |
| | | // |
| | | // layoutControlItem2 |
| | | // |
| | | layoutControlItem2.Control = ComboBoxEditParentsChoice; |
| | | layoutControlItem2.Location = new Point(0, 48); |
| | | layoutControlItem2.Name = "layoutControlItem2"; |
| | | layoutControlItem2.Size = new Size(499, 24); |
| | | layoutControlItem2.Text = "父级:"; |
| | | layoutControlItem2.TextSize = new Size(35, 14); |
| | | // |
| | | // dxErrorProvider1 |
| | | // |
| | | dxErrorProvider1.ContainerControl = this; |
| | | // |
| | | // AddCatlogDlg |
| | | // treeListColumn1 |
| | | // |
| | | treeListColumn1.Caption = "treeListColumn1"; |
| | | treeListColumn1.FieldName = "Name"; |
| | | treeListColumn1.Name = "treeListColumn1"; |
| | | treeListColumn1.Visible = true; |
| | | treeListColumn1.VisibleIndex = 0; |
| | | // |
| | | // AddSysCatalogDlg |
| | | // |
| | | AutoScaleDimensions = new SizeF(7F, 14F); |
| | | AutoScaleMode = AutoScaleMode.Font; |
| | | ClientSize = new Size(511, 275); |
| | | Controls.Add(layoutControl1); |
| | | Name = "AddCatlogDlg"; |
| | | Name = "AddSysCatalogDlg"; |
| | | StartPosition = FormStartPosition.CenterScreen; |
| | | Text = "添加类型"; |
| | | Text = "添加分类"; |
| | | ((System.ComponentModel.ISupportInitialize)layoutControl1).EndInit(); |
| | | layoutControl1.ResumeLayout(false); |
| | | ((System.ComponentModel.ISupportInitialize)TextEditCode.Properties).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)TextEditName.Properties).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)TextEditDescription.Properties).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)ComboBoxEditParentsChoice.Properties).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)treeListLookUpEdit1TreeList).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)Root).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem3).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem5).EndInit(); |
| | |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem6).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)emptySpaceItem1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem4).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem2).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)dxErrorProvider1).EndInit(); |
| | | ResumeLayout(false); |
| | | } |
| | |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem6; |
| | | private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem1; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; |
| | | private DevExpress.XtraEditors.TreeListLookUpEdit ComboBoxEditParentsChoice; |
| | | private DevExpress.XtraTreeList.TreeList treeListLookUpEdit1TreeList; |
| | | private DevExpress.XtraTreeList.Columns.TreeListColumn treeListColumn1; |
| | | } |
| | | } |