| | |
| | | { |
| | | components = new Container(); |
| | | layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); |
| | | btnOk = new DevExpress.XtraEditors.SimpleButton(); |
| | | btnCancel = new DevExpress.XtraEditors.SimpleButton(); |
| | | txtDescription = new DevExpress.XtraEditors.MemoEdit(); |
| | | txtTagName = new DevExpress.XtraEditors.TextEdit(); |
| | | setFlagsEditCtrl1 = new SetFlagsEditCtrl(); |
| | |
| | | txtName = new DevExpress.XtraEditors.TextEdit(); |
| | | Root = new DevExpress.XtraLayout.LayoutControlGroup(); |
| | | layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem(); |
| | | layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | dxErrorProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider(components); |
| | | generalOkAndCancelCtrl1 = new GeneralOkAndCancelCtrl(); |
| | | layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | ((ISupportInitialize)layoutControl1).BeginInit(); |
| | | layoutControl1.SuspendLayout(); |
| | | ((ISupportInitialize)txtDescription.Properties).BeginInit(); |
| | |
| | | ((ISupportInitialize)txtName.Properties).BeginInit(); |
| | | ((ISupportInitialize)Root).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem1).BeginInit(); |
| | | ((ISupportInitialize)emptySpaceItem1).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem2).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem3).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem5).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem6).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem7).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem4).BeginInit(); |
| | | ((ISupportInitialize)dxErrorProvider1).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem6).BeginInit(); |
| | | SuspendLayout(); |
| | | // |
| | | // layoutControl1 |
| | | // |
| | | layoutControl1.Controls.Add(btnOk); |
| | | layoutControl1.Controls.Add(btnCancel); |
| | | layoutControl1.Controls.Add(generalOkAndCancelCtrl1); |
| | | layoutControl1.Controls.Add(txtDescription); |
| | | layoutControl1.Controls.Add(txtTagName); |
| | | layoutControl1.Controls.Add(setFlagsEditCtrl1); |
| | |
| | | layoutControl1.TabIndex = 0; |
| | | layoutControl1.Text = "layoutControl1"; |
| | | // |
| | | // btnOk |
| | | // |
| | | btnOk.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Primary; |
| | | btnOk.Appearance.Options.UseBackColor = true; |
| | | btnOk.Location = new Point(388, 325); |
| | | btnOk.Name = "btnOk"; |
| | | btnOk.Size = new Size(96, 22); |
| | | btnOk.StyleController = layoutControl1; |
| | | btnOk.TabIndex = 6; |
| | | btnOk.Text = "确定"; |
| | | btnOk.Click += btnOk_Click; |
| | | // |
| | | // btnCancel |
| | | // |
| | | btnCancel.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Warning; |
| | | btnCancel.Appearance.Options.UseBackColor = true; |
| | | btnCancel.DialogResult = DialogResult.Cancel; |
| | | btnCancel.Location = new Point(488, 325); |
| | | btnCancel.Name = "btnCancel"; |
| | | btnCancel.Size = new Size(96, 22); |
| | | btnCancel.StyleController = layoutControl1; |
| | | btnCancel.TabIndex = 7; |
| | | btnCancel.Text = "取消"; |
| | | // |
| | | // txtDescription |
| | | // |
| | | txtDescription.Location = new Point(59, 60); |
| | | txtDescription.Name = "txtDescription"; |
| | | txtDescription.Size = new Size(525, 261); |
| | | txtDescription.Size = new Size(525, 257); |
| | | txtDescription.StyleController = layoutControl1; |
| | | txtDescription.TabIndex = 5; |
| | | // |
| | |
| | | // |
| | | // 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[] { layoutControlItem1, emptySpaceItem1, layoutControlItem2, layoutControlItem3, layoutControlItem5, layoutControlItem6, layoutControlItem7, layoutControlItem4 }); |
| | | Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem1, layoutControlItem2, layoutControlItem3, layoutControlItem5, layoutControlItem4, layoutControlItem6 }); |
| | | Root.Name = "Root"; |
| | | Root.Size = new Size(596, 359); |
| | | Root.TextVisible = false; |
| | |
| | | layoutControlItem1.Size = new Size(288, 24); |
| | | layoutControlItem1.Text = "<color=red>*</color>名称:"; |
| | | layoutControlItem1.TextSize = new Size(35, 14); |
| | | // |
| | | // emptySpaceItem1 |
| | | // |
| | | emptySpaceItem1.AllowHotTrack = false; |
| | | emptySpaceItem1.Location = new Point(0, 313); |
| | | emptySpaceItem1.Name = "emptySpaceItem1"; |
| | | emptySpaceItem1.Size = new Size(376, 26); |
| | | emptySpaceItem1.TextSize = new Size(0, 0); |
| | | // |
| | | // layoutControlItem2 |
| | | // |
| | |
| | | layoutControlItem5.Control = txtDescription; |
| | | layoutControlItem5.Location = new Point(0, 48); |
| | | layoutControlItem5.Name = "layoutControlItem5"; |
| | | layoutControlItem5.Size = new Size(576, 265); |
| | | layoutControlItem5.Size = new Size(576, 261); |
| | | layoutControlItem5.Text = "说明:"; |
| | | layoutControlItem5.TextSize = new Size(35, 14); |
| | | // |
| | | // layoutControlItem6 |
| | | // |
| | | layoutControlItem6.Control = btnCancel; |
| | | layoutControlItem6.Location = new Point(476, 313); |
| | | layoutControlItem6.MaxSize = new Size(100, 0); |
| | | layoutControlItem6.MinSize = new Size(100, 26); |
| | | layoutControlItem6.Name = "layoutControlItem6"; |
| | | layoutControlItem6.Size = new Size(100, 26); |
| | | layoutControlItem6.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; |
| | | layoutControlItem6.TextSize = new Size(0, 0); |
| | | layoutControlItem6.TextVisible = false; |
| | | // |
| | | // layoutControlItem7 |
| | | // |
| | | layoutControlItem7.Control = btnOk; |
| | | layoutControlItem7.Location = new Point(376, 313); |
| | | layoutControlItem7.MaxSize = new Size(100, 0); |
| | | layoutControlItem7.MinSize = new Size(100, 26); |
| | | layoutControlItem7.Name = "layoutControlItem7"; |
| | | layoutControlItem7.Size = new Size(100, 26); |
| | | layoutControlItem7.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; |
| | | layoutControlItem7.TextSize = new Size(0, 0); |
| | | layoutControlItem7.TextVisible = false; |
| | | // |
| | | // layoutControlItem4 |
| | | // |
| | |
| | | // |
| | | dxErrorProvider1.ContainerControl = this; |
| | | // |
| | | // generalOkAndCancelCtrl1 |
| | | // |
| | | generalOkAndCancelCtrl1.ButtonCancelMaxSize = new Size(100, 26); |
| | | generalOkAndCancelCtrl1.ButtonCancelMinSize = new Size(100, 26); |
| | | generalOkAndCancelCtrl1.ButtonOkMaxSize = new Size(100, 26); |
| | | generalOkAndCancelCtrl1.ButtonOkMinSize = new Size(100, 26); |
| | | generalOkAndCancelCtrl1.Location = new Point(12, 321); |
| | | generalOkAndCancelCtrl1.Name = "generalOkAndCancelCtrl1"; |
| | | generalOkAndCancelCtrl1.Size = new Size(572, 26); |
| | | generalOkAndCancelCtrl1.TabIndex = 6; |
| | | // |
| | | // layoutControlItem6 |
| | | // |
| | | layoutControlItem6.Control = generalOkAndCancelCtrl1; |
| | | layoutControlItem6.Location = new Point(0, 309); |
| | | layoutControlItem6.Name = "layoutControlItem6"; |
| | | layoutControlItem6.Size = new Size(576, 30); |
| | | layoutControlItem6.TextSize = new Size(0, 0); |
| | | layoutControlItem6.TextVisible = false; |
| | | // |
| | | // AddHydroSceneDlg |
| | | // |
| | | AutoScaleDimensions = new SizeF(7F, 14F); |
| | |
| | | ClientSize = new Size(596, 359); |
| | | Controls.Add(layoutControl1); |
| | | Name = "AddHydroSceneDlg"; |
| | | Text = "添加场景"; |
| | | StartPosition = FormStartPosition.CenterParent; |
| | | Text = "添加"; |
| | | ((ISupportInitialize)layoutControl1).EndInit(); |
| | | layoutControl1.ResumeLayout(false); |
| | | ((ISupportInitialize)txtDescription.Properties).EndInit(); |
| | |
| | | ((ISupportInitialize)txtName.Properties).EndInit(); |
| | | ((ISupportInitialize)Root).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem1).EndInit(); |
| | | ((ISupportInitialize)emptySpaceItem1).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem2).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem3).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem5).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem6).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem7).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem4).EndInit(); |
| | | ((ISupportInitialize)dxErrorProvider1).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem6).EndInit(); |
| | | ResumeLayout(false); |
| | | } |
| | | |
| | |
| | | private DevExpress.XtraEditors.TextEdit txtCode; |
| | | private DevExpress.XtraEditors.TextEdit txtName; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1; |
| | | private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem1; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; |
| | | private DevExpress.XtraEditors.SimpleButton btnOk; |
| | | private DevExpress.XtraEditors.SimpleButton btnCancel; |
| | | private DevExpress.XtraEditors.MemoEdit txtDescription; |
| | | private DevExpress.XtraEditors.TextEdit txtTagName; |
| | | private SetFlagsEditCtrl setFlagsEditCtrl1; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem6; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem7; |
| | | private DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider dxErrorProvider1; |
| | | private GeneralOkAndCancelCtrl generalOkAndCancelCtrl1; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem6; |
| | | } |
| | | } |