| | |
| | | /// </summary> |
| | | private void InitializeComponent() |
| | | { |
| | | this.components = new System.ComponentModel.Container(); |
| | | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
| | | this.Text = "AddAssetsCoolingFactorDlg"; |
| | | components = new Container(); |
| | | layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); |
| | | textEditParentList = new DevExpress.XtraEditors.TreeListLookUpEdit(); |
| | | treeListLookUpEdit1TreeList = new DevExpress.XtraTreeList.TreeList(); |
| | | treeListColumn1 = new DevExpress.XtraTreeList.Columns.TreeListColumn(); |
| | | BtnOk = new DevExpress.XtraEditors.SimpleButton(); |
| | | btnCancel = new DevExpress.XtraEditors.SimpleButton(); |
| | | TagNameTextEdit = new DevExpress.XtraEditors.TextEdit(); |
| | | NameTextEdit = new DevExpress.XtraEditors.TextEdit(); |
| | | DescriptionTextEdit = new DevExpress.XtraEditors.MemoEdit(); |
| | | Root = new DevExpress.XtraLayout.LayoutControlGroup(); |
| | | layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem1 = 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); |
| | | ((ISupportInitialize)layoutControl1).BeginInit(); |
| | | layoutControl1.SuspendLayout(); |
| | | ((ISupportInitialize)textEditParentList.Properties).BeginInit(); |
| | | ((ISupportInitialize)treeListLookUpEdit1TreeList).BeginInit(); |
| | | ((ISupportInitialize)TagNameTextEdit.Properties).BeginInit(); |
| | | ((ISupportInitialize)NameTextEdit.Properties).BeginInit(); |
| | | ((ISupportInitialize)DescriptionTextEdit.Properties).BeginInit(); |
| | | ((ISupportInitialize)Root).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem3).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem5).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem1).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem6).BeginInit(); |
| | | ((ISupportInitialize)emptySpaceItem1).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem4).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem2).BeginInit(); |
| | | ((ISupportInitialize)dxErrorProvider1).BeginInit(); |
| | | SuspendLayout(); |
| | | // |
| | | // layoutControl1 |
| | | // |
| | | layoutControl1.Controls.Add(textEditParentList); |
| | | layoutControl1.Controls.Add(BtnOk); |
| | | layoutControl1.Controls.Add(btnCancel); |
| | | layoutControl1.Controls.Add(TagNameTextEdit); |
| | | layoutControl1.Controls.Add(NameTextEdit); |
| | | layoutControl1.Controls.Add(DescriptionTextEdit); |
| | | layoutControl1.Dock = DockStyle.Fill; |
| | | layoutControl1.Location = new Point(0, 0); |
| | | layoutControl1.Name = "layoutControl1"; |
| | | layoutControl1.Root = Root; |
| | | layoutControl1.Size = new Size(511, 275); |
| | | layoutControl1.TabIndex = 0; |
| | | layoutControl1.Text = "layoutControl1"; |
| | | // |
| | | // textEditParentList |
| | | // |
| | | textEditParentList.Location = new Point(55, 56); |
| | | textEditParentList.Name = "textEditParentList"; |
| | | textEditParentList.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); |
| | | textEditParentList.Properties.DisplayMember = "Name"; |
| | | textEditParentList.Properties.NullText = ""; |
| | | textEditParentList.Properties.TreeList = treeListLookUpEdit1TreeList; |
| | | textEditParentList.Properties.ValueMember = "ID"; |
| | | textEditParentList.Size = new Size(448, 20); |
| | | textEditParentList.StyleController = layoutControl1; |
| | | textEditParentList.TabIndex = 11; |
| | | // |
| | | // treeListLookUpEdit1TreeList |
| | | // |
| | | treeListLookUpEdit1TreeList.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { treeListColumn1 }); |
| | | treeListLookUpEdit1TreeList.Location = new Point(7, 37); |
| | | treeListLookUpEdit1TreeList.Name = "treeListLookUpEdit1TreeList"; |
| | | treeListLookUpEdit1TreeList.OptionsView.ShowIndentAsRowStyle = true; |
| | | treeListLookUpEdit1TreeList.Size = new Size(400, 200); |
| | | treeListLookUpEdit1TreeList.TabIndex = 0; |
| | | treeListLookUpEdit1TreeList.ViewStyle = DevExpress.XtraTreeList.TreeListViewStyle.TreeView; |
| | | // |
| | | // treeListColumn1 |
| | | // |
| | | treeListColumn1.Caption = "treeListColumn1"; |
| | | treeListColumn1.FieldName = "Name"; |
| | | treeListColumn1.Name = "treeListColumn1"; |
| | | treeListColumn1.Visible = true; |
| | | treeListColumn1.VisibleIndex = 0; |
| | | // |
| | | // BtnOk |
| | | // |
| | | BtnOk.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Primary; |
| | | BtnOk.Appearance.Options.UseBackColor = true; |
| | | BtnOk.Location = new Point(356, 245); |
| | | BtnOk.Name = "BtnOk"; |
| | | BtnOk.Size = new Size(70, 22); |
| | | BtnOk.StyleController = layoutControl1; |
| | | BtnOk.TabIndex = 5; |
| | | BtnOk.Text = "确定"; |
| | | BtnOk.Click += BtnOk_ClickAsync; |
| | | // |
| | | // btnCancel |
| | | // |
| | | btnCancel.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Warning; |
| | | btnCancel.Appearance.Options.UseBackColor = true; |
| | | btnCancel.DialogResult = DialogResult.Cancel; |
| | | btnCancel.Location = new Point(430, 245); |
| | | btnCancel.Name = "btnCancel"; |
| | | btnCancel.Size = new Size(73, 22); |
| | | btnCancel.StyleController = layoutControl1; |
| | | btnCancel.TabIndex = 6; |
| | | btnCancel.Text = "取消"; |
| | | // |
| | | // TagNameTextEdit |
| | | // |
| | | TagNameTextEdit.Location = new Point(55, 32); |
| | | TagNameTextEdit.Name = "TagNameTextEdit"; |
| | | TagNameTextEdit.Size = new Size(448, 20); |
| | | TagNameTextEdit.StyleController = layoutControl1; |
| | | TagNameTextEdit.TabIndex = 3; |
| | | // |
| | | // NameTextEdit |
| | | // |
| | | NameTextEdit.Location = new Point(55, 8); |
| | | NameTextEdit.Name = "NameTextEdit"; |
| | | NameTextEdit.Size = new Size(448, 20); |
| | | NameTextEdit.StyleController = layoutControl1; |
| | | NameTextEdit.TabIndex = 0; |
| | | // |
| | | // DescriptionTextEdit |
| | | // |
| | | DescriptionTextEdit.Location = new Point(55, 80); |
| | | DescriptionTextEdit.Name = "DescriptionTextEdit"; |
| | | DescriptionTextEdit.Size = new Size(448, 161); |
| | | DescriptionTextEdit.StyleController = layoutControl1; |
| | | DescriptionTextEdit.TabIndex = 4; |
| | | // |
| | | // Root |
| | | // |
| | | Root.AppearanceItemCaption.Options.UseTextOptions = true; |
| | | 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, layoutControlItem2 }); |
| | | Root.Name = "Root"; |
| | | Root.Padding = new DevExpress.XtraLayout.Utils.Padding(6, 6, 6, 6); |
| | | Root.Size = new Size(511, 275); |
| | | Root.TextVisible = false; |
| | | // |
| | | // layoutControlItem3 |
| | | // |
| | | layoutControlItem3.Control = TagNameTextEdit; |
| | | layoutControlItem3.Location = new Point(0, 24); |
| | | layoutControlItem3.Name = "layoutControlItem3"; |
| | | layoutControlItem3.Size = new Size(499, 24); |
| | | layoutControlItem3.Text = "标签:"; |
| | | layoutControlItem3.TextSize = new Size(35, 14); |
| | | // |
| | | // layoutControlItem5 |
| | | // |
| | | layoutControlItem5.Control = DescriptionTextEdit; |
| | | layoutControlItem5.Location = new Point(0, 72); |
| | | layoutControlItem5.Name = "layoutControlItem5"; |
| | | layoutControlItem5.Size = new Size(499, 165); |
| | | layoutControlItem5.Text = "说明:"; |
| | | layoutControlItem5.TextSize = new Size(35, 14); |
| | | // |
| | | // layoutControlItem1 |
| | | // |
| | | layoutControlItem1.AllowHtmlStringInCaption = true; |
| | | layoutControlItem1.Control = NameTextEdit; |
| | | layoutControlItem1.Location = new Point(0, 0); |
| | | layoutControlItem1.Name = "layoutControlItem1"; |
| | | layoutControlItem1.Size = new Size(499, 24); |
| | | layoutControlItem1.Text = "<color=red>*</color>名称:"; |
| | | layoutControlItem1.TextSize = new Size(35, 14); |
| | | // |
| | | // layoutControlItem6 |
| | | // |
| | | layoutControlItem6.Control = btnCancel; |
| | | layoutControlItem6.Location = new Point(422, 237); |
| | | layoutControlItem6.Name = "layoutControlItem6"; |
| | | layoutControlItem6.Size = new Size(77, 26); |
| | | layoutControlItem6.TextSize = new Size(0, 0); |
| | | layoutControlItem6.TextVisible = false; |
| | | // |
| | | // emptySpaceItem1 |
| | | // |
| | | emptySpaceItem1.AllowHotTrack = false; |
| | | emptySpaceItem1.Location = new Point(0, 237); |
| | | emptySpaceItem1.Name = "emptySpaceItem1"; |
| | | emptySpaceItem1.Size = new Size(348, 26); |
| | | emptySpaceItem1.TextSize = new Size(0, 0); |
| | | // |
| | | // layoutControlItem4 |
| | | // |
| | | layoutControlItem4.Control = BtnOk; |
| | | layoutControlItem4.Location = new Point(348, 237); |
| | | layoutControlItem4.Name = "layoutControlItem4"; |
| | | layoutControlItem4.Size = new Size(74, 26); |
| | | layoutControlItem4.TextSize = new Size(0, 0); |
| | | layoutControlItem4.TextVisible = false; |
| | | // |
| | | // layoutControlItem2 |
| | | // |
| | | layoutControlItem2.Control = textEditParentList; |
| | | 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; |
| | | // |
| | | // AddAssetsCoolingSeriesDlg |
| | | // |
| | | AutoScaleDimensions = new SizeF(7F, 14F); |
| | | AutoScaleMode = AutoScaleMode.Font; |
| | | ClientSize = new Size(511, 275); |
| | | Controls.Add(layoutControl1); |
| | | Name = "AddAssetsCoolingSeriesDlg"; |
| | | StartPosition = FormStartPosition.CenterScreen; |
| | | Text = "添加系列"; |
| | | ((ISupportInitialize)layoutControl1).EndInit(); |
| | | layoutControl1.ResumeLayout(false); |
| | | ((ISupportInitialize)textEditParentList.Properties).EndInit(); |
| | | ((ISupportInitialize)treeListLookUpEdit1TreeList).EndInit(); |
| | | ((ISupportInitialize)TagNameTextEdit.Properties).EndInit(); |
| | | ((ISupportInitialize)NameTextEdit.Properties).EndInit(); |
| | | ((ISupportInitialize)DescriptionTextEdit.Properties).EndInit(); |
| | | ((ISupportInitialize)Root).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem3).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem5).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem1).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem6).EndInit(); |
| | | ((ISupportInitialize)emptySpaceItem1).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem4).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem2).EndInit(); |
| | | ((ISupportInitialize)dxErrorProvider1).EndInit(); |
| | | ResumeLayout(false); |
| | | } |
| | | |
| | | #endregion |
| | | |
| | | private DevExpress.XtraLayout.LayoutControl layoutControl1; |
| | | private DevExpress.XtraEditors.TextEdit NameTextEdit; |
| | | private DevExpress.XtraLayout.LayoutControlGroup Root; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1; |
| | | private DevExpress.XtraEditors.TextEdit TagNameTextEdit; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5; |
| | | private DevExpress.XtraEditors.MemoEdit DescriptionTextEdit; |
| | | private DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider dxErrorProvider1; |
| | | private DevExpress.XtraEditors.SimpleButton BtnOk; |
| | | private DevExpress.XtraEditors.SimpleButton btnCancel; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem6; |
| | | private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem1; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4; |
| | | private DevExpress.XtraEditors.TreeListLookUpEdit textEditParentList; |
| | | private DevExpress.XtraTreeList.TreeList treeListLookUpEdit1TreeList; |
| | | private DevExpress.XtraTreeList.Columns.TreeListColumn treeListColumn1; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; |
| | | } |
| | | } |