| | |
| | | { |
| | | components = new System.ComponentModel.Container(); |
| | | layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); |
| | | BtnOk = new DevExpress.XtraEditors.SimpleButton(); |
| | | btnCancel = new DevExpress.XtraEditors.SimpleButton(); |
| | | TextEditCode = new DevExpress.XtraEditors.TextEdit(); |
| | | TextEditName = new DevExpress.XtraEditors.TextEdit(); |
| | | TextEditDescription = new DevExpress.XtraEditors.MemoEdit(); |
| | | TextEditFormat = new DevExpress.XtraEditors.TextEdit(); |
| | | TextEditUnitName = new DevExpress.XtraEditors.TextEdit(); |
| | | TextEditDefaultValue = new DevExpress.XtraEditors.TextEdit(); |
| | | CheckEditIsNull = new DevExpress.XtraEditors.CheckEdit(); |
| | | TextEditFormat = new DevExpress.XtraEditors.ImageComboBoxEdit(); |
| | | 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(); |
| | | layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | dxErrorProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider(components); |
| | | layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | btnCancel = new DevExpress.XtraEditors.SimpleButton(); |
| | | layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | BtnOk = new DevExpress.XtraEditors.SimpleButton(); |
| | | emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem(); |
| | | emptySpaceItem2 = new DevExpress.XtraLayout.EmptySpaceItem(); |
| | | ((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)TextEditFormat.Properties).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)TextEditUnitName.Properties).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)TextEditDefaultValue.Properties).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)CheckEditIsNull.Properties).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)TextEditFormat.Properties).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)Root).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem3).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem5).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem6).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)emptySpaceItem1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem4).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem2).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem7).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem8).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem9).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)dxErrorProvider1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem6).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem4).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)emptySpaceItem1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)emptySpaceItem2).BeginInit(); |
| | | SuspendLayout(); |
| | | // |
| | | // layoutControl1 |
| | |
| | | layoutControl1.Controls.Add(TextEditCode); |
| | | layoutControl1.Controls.Add(TextEditName); |
| | | layoutControl1.Controls.Add(TextEditDescription); |
| | | layoutControl1.Controls.Add(TextEditFormat); |
| | | layoutControl1.Controls.Add(TextEditUnitName); |
| | | layoutControl1.Controls.Add(TextEditDefaultValue); |
| | | layoutControl1.Controls.Add(CheckEditIsNull); |
| | | layoutControl1.Controls.Add(TextEditFormat); |
| | | layoutControl1.Dock = DockStyle.Fill; |
| | | layoutControl1.Location = new Point(0, 0); |
| | | layoutControl1.Name = "layoutControl1"; |
| | |
| | | layoutControl1.TabIndex = 0; |
| | | layoutControl1.Text = "layoutControl1"; |
| | | // |
| | | // 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.Danger; |
| | | 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 = "取消"; |
| | | // |
| | | // TextEditCode |
| | | // |
| | | TextEditCode.Location = new Point(72, 32); |
| | | TextEditCode.Name = "TextEditCode"; |
| | | TextEditCode.Size = new Size(431, 20); |
| | | TextEditCode.StyleController = layoutControl1; |
| | | TextEditCode.TabIndex = 3; |
| | | TextEditCode.TabIndex = 2; |
| | | // |
| | | // TextEditName |
| | | // |
| | |
| | | TextEditDescription.Name = "TextEditDescription"; |
| | | TextEditDescription.Size = new Size(431, 89); |
| | | TextEditDescription.StyleController = layoutControl1; |
| | | TextEditDescription.TabIndex = 4; |
| | | // |
| | | // TextEditFormat |
| | | // |
| | | TextEditFormat.Location = new Point(72, 56); |
| | | TextEditFormat.Name = "TextEditFormat"; |
| | | TextEditFormat.Size = new Size(431, 20); |
| | | TextEditFormat.StyleController = layoutControl1; |
| | | TextEditFormat.TabIndex = 7; |
| | | TextEditDescription.TabIndex = 7; |
| | | // |
| | | // TextEditUnitName |
| | | // |
| | |
| | | TextEditUnitName.Name = "TextEditUnitName"; |
| | | TextEditUnitName.Size = new Size(431, 20); |
| | | TextEditUnitName.StyleController = layoutControl1; |
| | | TextEditUnitName.TabIndex = 8; |
| | | TextEditUnitName.TabIndex = 4; |
| | | // |
| | | // TextEditDefaultValue |
| | | // |
| | |
| | | TextEditDefaultValue.Name = "TextEditDefaultValue"; |
| | | TextEditDefaultValue.Size = new Size(431, 20); |
| | | TextEditDefaultValue.StyleController = layoutControl1; |
| | | TextEditDefaultValue.TabIndex = 9; |
| | | TextEditDefaultValue.TabIndex = 5; |
| | | // |
| | | // CheckEditIsNull |
| | | // |
| | |
| | | CheckEditIsNull.Properties.GlyphAlignment = DevExpress.Utils.HorzAlignment.Default; |
| | | CheckEditIsNull.Size = new Size(495, 20); |
| | | CheckEditIsNull.StyleController = layoutControl1; |
| | | CheckEditIsNull.TabIndex = 10; |
| | | CheckEditIsNull.TabIndex = 6; |
| | | // |
| | | // TextEditFormat |
| | | // |
| | | TextEditFormat.Location = new Point(72, 56); |
| | | TextEditFormat.Name = "TextEditFormat"; |
| | | TextEditFormat.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); |
| | | TextEditFormat.Properties.Items.AddRange(new DevExpress.XtraEditors.Controls.ImageComboBoxItem[] { new DevExpress.XtraEditors.Controls.ImageComboBoxItem("整数", 1, -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("长整数", "2", -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("数值", "3", -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("文本", "4", -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("多文本", "5", -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("时间", "6", -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("布尔值", "7", -1) }); |
| | | TextEditFormat.Size = new Size(431, 20); |
| | | TextEditFormat.StyleController = layoutControl1; |
| | | TextEditFormat.TabIndex = 3; |
| | | // |
| | | // 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, layoutControlItem2, layoutControlItem7, layoutControlItem8, layoutControlItem9 }); |
| | | Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem3, layoutControlItem5, layoutControlItem1, layoutControlItem6, layoutControlItem4, layoutControlItem2, layoutControlItem7, layoutControlItem8, layoutControlItem9, emptySpaceItem2 }); |
| | | Root.Name = "Root"; |
| | | Root.Padding = new DevExpress.XtraLayout.Utils.Padding(6, 6, 6, 6); |
| | | Root.Size = new Size(511, 275); |
| | |
| | | layoutControlItem1.Size = new Size(499, 24); |
| | | layoutControlItem1.Text = "名称:"; |
| | | layoutControlItem1.TextSize = new Size(52, 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 |
| | | // |
| | |
| | | // |
| | | dxErrorProvider1.ContainerControl = this; |
| | | // |
| | | // AddPropDlg |
| | | // 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; |
| | | // |
| | | // btnCancel |
| | | // |
| | | btnCancel.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Danger; |
| | | 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 = 9; |
| | | btnCancel.Text = "取消"; |
| | | // |
| | | // layoutControlItem4 |
| | | // |
| | | layoutControlItem4.Control = BtnOk; |
| | | layoutControlItem4.Location = new Point(352, 237); |
| | | layoutControlItem4.Name = "layoutControlItem4"; |
| | | layoutControlItem4.Size = new Size(70, 26); |
| | | layoutControlItem4.TextSize = new Size(0, 0); |
| | | layoutControlItem4.TextVisible = false; |
| | | // |
| | | // BtnOk |
| | | // |
| | | BtnOk.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Primary; |
| | | BtnOk.Appearance.Options.UseBackColor = true; |
| | | BtnOk.Location = new Point(360, 245); |
| | | BtnOk.Name = "BtnOk"; |
| | | BtnOk.Size = new Size(66, 22); |
| | | BtnOk.StyleController = layoutControl1; |
| | | BtnOk.TabIndex = 8; |
| | | BtnOk.Text = "完成"; |
| | | BtnOk.Click += BtnOk_ClickAsync; |
| | | // |
| | | // 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); |
| | | // |
| | | // emptySpaceItem2 |
| | | // |
| | | emptySpaceItem2.AllowHotTrack = false; |
| | | emptySpaceItem2.Location = new Point(0, 237); |
| | | emptySpaceItem2.Name = "emptySpaceItem2"; |
| | | emptySpaceItem2.Size = new Size(352, 26); |
| | | emptySpaceItem2.TextSize = new Size(0, 0); |
| | | // |
| | | // AddSysPropDlg |
| | | // |
| | | AutoScaleDimensions = new SizeF(7F, 14F); |
| | | AutoScaleMode = AutoScaleMode.Font; |
| | | ClientSize = new Size(511, 275); |
| | | Controls.Add(layoutControl1); |
| | | Name = "AddPropDlg"; |
| | | Name = "AddSysPropDlg"; |
| | | StartPosition = FormStartPosition.CenterScreen; |
| | | Text = "添加属性"; |
| | | ((System.ComponentModel.ISupportInitialize)layoutControl1).EndInit(); |
| | |
| | | ((System.ComponentModel.ISupportInitialize)TextEditCode.Properties).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)TextEditName.Properties).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)TextEditDescription.Properties).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)TextEditFormat.Properties).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)TextEditUnitName.Properties).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)TextEditDefaultValue.Properties).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)CheckEditIsNull.Properties).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)TextEditFormat.Properties).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)Root).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem3).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem5).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem6).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)emptySpaceItem1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem4).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem2).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem7).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem8).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem9).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)dxErrorProvider1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem6).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem4).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)emptySpaceItem1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)emptySpaceItem2).EndInit(); |
| | | ResumeLayout(false); |
| | | } |
| | | |
| | |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5; |
| | | private DevExpress.XtraEditors.MemoEdit TextEditDescription; |
| | | 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.TextEdit TextEditFormat; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; |
| | | private DevExpress.XtraEditors.TextEdit TextEditUnitName; |
| | | private DevExpress.XtraEditors.TextEdit TextEditDefaultValue; |
| | |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem7; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem8; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem9; |
| | | private DevExpress.XtraEditors.ImageComboBoxEdit TextEditFormat; |
| | | private DevExpress.XtraEditors.SimpleButton BtnOk; |
| | | private DevExpress.XtraEditors.SimpleButton btnCancel; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem6; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4; |
| | | private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem2; |
| | | private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem1; |
| | | } |
| | | } |