| | |
| | | dataLayoutControl1 = new DevExpress.XtraDataLayout.DataLayoutControl(); |
| | | textEditParents = new TreeListLookUpEdit(); |
| | | treeListLookUpEdit1TreeList = new DevExpress.XtraTreeList.TreeList(); |
| | | treeListColumn1 = new DevExpress.XtraTreeList.Columns.TreeListColumn(); |
| | | btnOk = new SimpleButton(); |
| | | btnCancel = new SimpleButton(); |
| | | NameTextEdit = new TextEdit(); |
| | |
| | | layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | dxErrorProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider(components); |
| | | treeListColumn1 = new DevExpress.XtraTreeList.Columns.TreeListColumn(); |
| | | ((ISupportInitialize)dataLayoutControl1).BeginInit(); |
| | | dataLayoutControl1.SuspendLayout(); |
| | | ((ISupportInitialize)textEditParents.Properties).BeginInit(); |
| | |
| | | dataLayoutControl1.Controls.Add(ADCodeTextEdit); |
| | | dataLayoutControl1.Dock = DockStyle.Fill; |
| | | dataLayoutControl1.Location = new Point(0, 0); |
| | | dataLayoutControl1.Margin = new Padding(3, 4, 3, 4); |
| | | dataLayoutControl1.Name = "dataLayoutControl1"; |
| | | dataLayoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new Rectangle(900, 230, 650, 400); |
| | | dataLayoutControl1.Root = Root; |
| | | dataLayoutControl1.Size = new Size(530, 342); |
| | | dataLayoutControl1.Size = new Size(606, 440); |
| | | dataLayoutControl1.TabIndex = 0; |
| | | dataLayoutControl1.Text = "dataLayoutControl1"; |
| | | // |
| | | // textEditParents |
| | | // |
| | | textEditParents.Location = new Point(99, 108); |
| | | textEditParents.Location = new Point(120, 136); |
| | | textEditParents.Margin = new Padding(3, 4, 3, 4); |
| | | textEditParents.Name = "textEditParents"; |
| | | textEditParents.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); |
| | | textEditParents.Properties.DisplayMember = "Name"; |
| | |
| | | textEditParents.Properties.PopupSizeable = false; |
| | | textEditParents.Properties.TreeList = treeListLookUpEdit1TreeList; |
| | | textEditParents.Properties.ValueMember = "ID"; |
| | | textEditParents.Size = new Size(419, 20); |
| | | textEditParents.Size = new Size(473, 24); |
| | | textEditParents.StyleController = dataLayoutControl1; |
| | | textEditParents.TabIndex = 9; |
| | | // |
| | |
| | | // |
| | | treeListLookUpEdit1TreeList.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { treeListColumn1 }); |
| | | treeListLookUpEdit1TreeList.Location = new Point(0, 71); |
| | | treeListLookUpEdit1TreeList.MinWidth = 23; |
| | | treeListLookUpEdit1TreeList.Name = "treeListLookUpEdit1TreeList"; |
| | | treeListLookUpEdit1TreeList.OptionsView.ShowIndentAsRowStyle = true; |
| | | treeListLookUpEdit1TreeList.Size = new Size(400, 200); |
| | | treeListLookUpEdit1TreeList.TabIndex = 0; |
| | | treeListLookUpEdit1TreeList.TreeLevelWidth = 21; |
| | | // |
| | | // treeListColumn1 |
| | | // |
| | | treeListColumn1.Caption = "名称"; |
| | | treeListColumn1.FieldName = "Name"; |
| | | treeListColumn1.MinWidth = 23; |
| | | treeListColumn1.Name = "treeListColumn1"; |
| | | treeListColumn1.Visible = true; |
| | | treeListColumn1.VisibleIndex = 0; |
| | | treeListColumn1.Width = 86; |
| | | // |
| | | // btnOk |
| | | // |
| | | btnOk.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Primary; |
| | | btnOk.Appearance.Options.UseBackColor = true; |
| | | btnOk.Location = new Point(303, 308); |
| | | btnOk.Location = new Point(346, 397); |
| | | btnOk.Margin = new Padding(3, 4, 3, 4); |
| | | btnOk.Name = "btnOk"; |
| | | btnOk.Size = new Size(105, 22); |
| | | btnOk.Size = new Size(121, 27); |
| | | btnOk.StyleController = dataLayoutControl1; |
| | | btnOk.TabIndex = 7; |
| | | btnOk.Text = "确定"; |
| | |
| | | btnCancel.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Warning; |
| | | btnCancel.Appearance.Options.UseBackColor = true; |
| | | btnCancel.DialogResult = DialogResult.Cancel; |
| | | btnCancel.Location = new Point(412, 308); |
| | | btnCancel.Location = new Point(471, 397); |
| | | btnCancel.Margin = new Padding(3, 4, 3, 4); |
| | | btnCancel.Name = "btnCancel"; |
| | | btnCancel.Size = new Size(106, 22); |
| | | btnCancel.Size = new Size(122, 27); |
| | | btnCancel.StyleController = dataLayoutControl1; |
| | | btnCancel.TabIndex = 8; |
| | | btnCancel.Text = "取消"; |
| | | // |
| | | // NameTextEdit |
| | | // |
| | | NameTextEdit.Location = new Point(99, 12); |
| | | NameTextEdit.Location = new Point(120, 16); |
| | | NameTextEdit.Margin = new Padding(3, 4, 3, 4); |
| | | NameTextEdit.Name = "NameTextEdit"; |
| | | NameTextEdit.Size = new Size(419, 20); |
| | | NameTextEdit.Size = new Size(473, 24); |
| | | NameTextEdit.StyleController = dataLayoutControl1; |
| | | NameTextEdit.TabIndex = 0; |
| | | // |
| | | // DescriptionTextEdit |
| | | // |
| | | DescriptionTextEdit.Location = new Point(99, 132); |
| | | DescriptionTextEdit.Location = new Point(120, 166); |
| | | DescriptionTextEdit.Margin = new Padding(3, 4, 3, 4); |
| | | DescriptionTextEdit.Name = "DescriptionTextEdit"; |
| | | DescriptionTextEdit.Size = new Size(419, 172); |
| | | DescriptionTextEdit.Size = new Size(473, 225); |
| | | DescriptionTextEdit.StyleController = dataLayoutControl1; |
| | | DescriptionTextEdit.TabIndex = 6; |
| | | // |
| | | // TagNameTextEdit |
| | | // |
| | | TagNameTextEdit.Location = new Point(99, 84); |
| | | TagNameTextEdit.Location = new Point(120, 106); |
| | | TagNameTextEdit.Margin = new Padding(3, 4, 3, 4); |
| | | TagNameTextEdit.Name = "TagNameTextEdit"; |
| | | TagNameTextEdit.Size = new Size(419, 20); |
| | | TagNameTextEdit.Size = new Size(473, 24); |
| | | TagNameTextEdit.StyleController = dataLayoutControl1; |
| | | TagNameTextEdit.TabIndex = 4; |
| | | // |
| | | // TypeImageComboBoxEdit |
| | | // |
| | | TypeImageComboBoxEdit.Location = new Point(99, 36); |
| | | TypeImageComboBoxEdit.Margin = new Padding(2); |
| | | TypeImageComboBoxEdit.Location = new Point(120, 46); |
| | | TypeImageComboBoxEdit.Margin = new Padding(2, 3, 2, 3); |
| | | TypeImageComboBoxEdit.Name = "TypeImageComboBoxEdit"; |
| | | TypeImageComboBoxEdit.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); |
| | | TypeImageComboBoxEdit.Size = new Size(419, 20); |
| | | TypeImageComboBoxEdit.Size = new Size(473, 24); |
| | | TypeImageComboBoxEdit.StyleController = dataLayoutControl1; |
| | | TypeImageComboBoxEdit.TabIndex = 10; |
| | | // |
| | | // ADCodeTextEdit |
| | | // |
| | | ADCodeTextEdit.Location = new Point(99, 60); |
| | | ADCodeTextEdit.Margin = new Padding(2); |
| | | ADCodeTextEdit.Location = new Point(120, 76); |
| | | ADCodeTextEdit.Margin = new Padding(2, 3, 2, 3); |
| | | ADCodeTextEdit.Name = "ADCodeTextEdit"; |
| | | ADCodeTextEdit.Size = new Size(419, 20); |
| | | ADCodeTextEdit.Size = new Size(473, 24); |
| | | ADCodeTextEdit.StyleController = dataLayoutControl1; |
| | | ADCodeTextEdit.TabIndex = 11; |
| | | // |
| | |
| | | Root.GroupBordersVisible = false; |
| | | Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlGroup1 }); |
| | | Root.Name = "Root"; |
| | | Root.Size = new Size(530, 342); |
| | | Root.Size = new Size(606, 440); |
| | | Root.TextVisible = false; |
| | | // |
| | | // layoutControlGroup1 |
| | |
| | | layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { ItemForName, ItemForDescription, layoutControlItem1, layoutControlItem2, emptySpaceItem1, ItemForTagName, layoutControlItem4, layoutControlItem5, layoutControlItem3 }); |
| | | layoutControlGroup1.Location = new Point(0, 0); |
| | | layoutControlGroup1.Name = "autoGeneratedGroup0"; |
| | | layoutControlGroup1.Size = new Size(510, 322); |
| | | layoutControlGroup1.Size = new Size(584, 414); |
| | | // |
| | | // ItemForName |
| | | // |
| | |
| | | ItemForName.Control = NameTextEdit; |
| | | ItemForName.Location = new Point(0, 0); |
| | | ItemForName.Name = "ItemForName"; |
| | | ItemForName.Size = new Size(510, 24); |
| | | ItemForName.Size = new Size(584, 30); |
| | | ItemForName.Text = "<color=red>*</color>名称:"; |
| | | ItemForName.TextSize = new Size(75, 14); |
| | | ItemForName.TextSize = new Size(93, 18); |
| | | // |
| | | // ItemForDescription |
| | | // |
| | | ItemForDescription.Control = DescriptionTextEdit; |
| | | ItemForDescription.Location = new Point(0, 120); |
| | | ItemForDescription.Location = new Point(0, 150); |
| | | ItemForDescription.Name = "ItemForDescription"; |
| | | ItemForDescription.Size = new Size(510, 176); |
| | | ItemForDescription.Size = new Size(584, 231); |
| | | ItemForDescription.Text = "说明:"; |
| | | ItemForDescription.TextSize = new Size(75, 14); |
| | | ItemForDescription.TextSize = new Size(93, 18); |
| | | // |
| | | // layoutControlItem1 |
| | | // |
| | | layoutControlItem1.Control = btnCancel; |
| | | layoutControlItem1.Location = new Point(400, 296); |
| | | layoutControlItem1.Location = new Point(458, 381); |
| | | layoutControlItem1.Name = "layoutControlItem1"; |
| | | layoutControlItem1.Size = new Size(110, 26); |
| | | layoutControlItem1.Size = new Size(126, 33); |
| | | layoutControlItem1.TextSize = new Size(0, 0); |
| | | layoutControlItem1.TextVisible = false; |
| | | // |
| | | // layoutControlItem2 |
| | | // |
| | | layoutControlItem2.Control = btnOk; |
| | | layoutControlItem2.Location = new Point(291, 296); |
| | | layoutControlItem2.Location = new Point(333, 381); |
| | | layoutControlItem2.Name = "layoutControlItem2"; |
| | | layoutControlItem2.Size = new Size(109, 26); |
| | | layoutControlItem2.Size = new Size(125, 33); |
| | | layoutControlItem2.TextSize = new Size(0, 0); |
| | | layoutControlItem2.TextVisible = false; |
| | | // |
| | | // emptySpaceItem1 |
| | | // |
| | | emptySpaceItem1.AllowHotTrack = false; |
| | | emptySpaceItem1.Location = new Point(0, 296); |
| | | emptySpaceItem1.Location = new Point(0, 381); |
| | | emptySpaceItem1.Name = "emptySpaceItem1"; |
| | | emptySpaceItem1.Size = new Size(291, 26); |
| | | emptySpaceItem1.Size = new Size(333, 33); |
| | | emptySpaceItem1.TextSize = new Size(0, 0); |
| | | // |
| | | // ItemForTagName |
| | |
| | | ItemForTagName.AppearanceItemCaption.Options.UseTextOptions = true; |
| | | ItemForTagName.AppearanceItemCaption.TextOptions.HAlignment = HorzAlignment.Far; |
| | | ItemForTagName.Control = TagNameTextEdit; |
| | | ItemForTagName.Location = new Point(0, 72); |
| | | ItemForTagName.Location = new Point(0, 90); |
| | | ItemForTagName.Name = "ItemForTagName"; |
| | | ItemForTagName.Size = new Size(510, 24); |
| | | ItemForTagName.Size = new Size(584, 30); |
| | | ItemForTagName.Text = "标签名称:"; |
| | | ItemForTagName.TextSize = new Size(75, 14); |
| | | ItemForTagName.TextSize = new Size(93, 18); |
| | | // |
| | | // layoutControlItem4 |
| | | // |
| | | layoutControlItem4.Control = TypeImageComboBoxEdit; |
| | | layoutControlItem4.ControlAlignment = ContentAlignment.TopLeft; |
| | | layoutControlItem4.CustomizationFormText = "类型:"; |
| | | layoutControlItem4.Location = new Point(0, 24); |
| | | layoutControlItem4.Location = new Point(0, 30); |
| | | layoutControlItem4.Name = "layoutControlItem4"; |
| | | layoutControlItem4.Size = new Size(510, 24); |
| | | layoutControlItem4.Size = new Size(584, 30); |
| | | layoutControlItem4.Text = "类型:"; |
| | | layoutControlItem4.TextSize = new Size(75, 14); |
| | | layoutControlItem4.TextSize = new Size(93, 18); |
| | | // |
| | | // layoutControlItem5 |
| | | // |
| | | layoutControlItem5.Control = ADCodeTextEdit; |
| | | layoutControlItem5.ControlAlignment = ContentAlignment.TopLeft; |
| | | layoutControlItem5.CustomizationFormText = "城市编码(ad):"; |
| | | layoutControlItem5.Location = new Point(0, 48); |
| | | layoutControlItem5.Location = new Point(0, 60); |
| | | layoutControlItem5.Name = "layoutControlItem5"; |
| | | layoutControlItem5.Size = new Size(510, 24); |
| | | layoutControlItem5.Size = new Size(584, 30); |
| | | layoutControlItem5.Text = "城市编码(ad):"; |
| | | layoutControlItem5.TextSize = new Size(75, 14); |
| | | layoutControlItem5.TextSize = new Size(93, 18); |
| | | // |
| | | // layoutControlItem3 |
| | | // |
| | | layoutControlItem3.Control = textEditParents; |
| | | layoutControlItem3.Location = new Point(0, 96); |
| | | layoutControlItem3.Location = new Point(0, 120); |
| | | layoutControlItem3.Name = "layoutControlItem3"; |
| | | layoutControlItem3.Size = new Size(510, 24); |
| | | layoutControlItem3.Size = new Size(584, 30); |
| | | layoutControlItem3.Text = "父级:"; |
| | | layoutControlItem3.TextSize = new Size(75, 14); |
| | | layoutControlItem3.TextSize = new Size(93, 18); |
| | | // |
| | | // dxErrorProvider1 |
| | | // |
| | | dxErrorProvider1.ContainerControl = this; |
| | | // |
| | | // treeListColumn1 |
| | | // |
| | | treeListColumn1.Caption = "treeListColumn1"; |
| | | treeListColumn1.FieldName = "Name"; |
| | | treeListColumn1.Name = "treeListColumn1"; |
| | | treeListColumn1.Visible = true; |
| | | treeListColumn1.VisibleIndex = 0; |
| | | // |
| | | // EditDivisionDlg |
| | | // |
| | | AutoScaleDimensions = new SizeF(7F, 14F); |
| | | AutoScaleDimensions = new SizeF(8F, 18F); |
| | | AutoScaleMode = AutoScaleMode.Font; |
| | | ClientSize = new Size(530, 342); |
| | | ClientSize = new Size(606, 440); |
| | | Controls.Add(dataLayoutControl1); |
| | | Margin = new Padding(3, 4, 3, 4); |
| | | Name = "EditDivisionDlg"; |
| | | StartPosition = FormStartPosition.CenterParent; |
| | | Text = "编辑"; |