using DevExpress.Utils; using DevExpress.XtraEditors; using DevExpress.XtraLayout; namespace Yw.WinFrmUI { /// /// /// partial class SetHydroWorkingBottomCtrl { /// /// Required designer variable. /// private System.ComponentModel.IContainer components = null; /// /// Clean up any resources being used. /// /// true if managed resources should be disposed; otherwise, false. protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Component Designer generated code /// /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// private void InitializeComponent() { ComponentResourceManager resources = new ComponentResourceManager(typeof(SetHydroWorkingBottomCtrl)); layoutControl1 = new LayoutControl(); btnOk = new SimpleButton(); btnCancel = new SimpleButton(); Root = new LayoutControlGroup(); itemForCancelButton = new LayoutControlItem(); itemForOkButton = new LayoutControlItem(); emptySpaceItem1 = new EmptySpaceItem(); ((ISupportInitialize)layoutControl1).BeginInit(); layoutControl1.SuspendLayout(); ((ISupportInitialize)Root).BeginInit(); ((ISupportInitialize)itemForCancelButton).BeginInit(); ((ISupportInitialize)itemForOkButton).BeginInit(); ((ISupportInitialize)emptySpaceItem1).BeginInit(); SuspendLayout(); // // layoutControl1 // layoutControl1.Controls.Add(btnOk); layoutControl1.Controls.Add(btnCancel); layoutControl1.Dock = DockStyle.Fill; layoutControl1.Location = new Point(0, 0); layoutControl1.Name = "layoutControl1"; layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new Rectangle(517, 297, 650, 400); layoutControl1.Root = Root; layoutControl1.Size = new Size(520, 27); layoutControl1.TabIndex = 3; layoutControl1.Text = "layoutControl1"; // // btnOk // btnOk.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Primary; btnOk.Appearance.ForeColor = Color.White; btnOk.Appearance.Options.UseBackColor = true; btnOk.Appearance.Options.UseForeColor = true; btnOk.ImageOptions.AllowGlyphSkinning = DefaultBoolean.True; btnOk.ImageOptions.ImageToTextAlignment = ImageAlignToText.LeftCenter; btnOk.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("btnOk.ImageOptions.SvgImage"); btnOk.ImageOptions.SvgImageSize = new Size(16, 16); btnOk.Location = new Point(320, 2); btnOk.Name = "btnOk"; btnOk.Size = new Size(98, 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(422, 2); btnCancel.Name = "btnCancel"; btnCancel.Size = new Size(98, 22); btnCancel.StyleController = layoutControl1; btnCancel.TabIndex = 5; btnCancel.Text = "取消"; // // Root // Root.EnableIndentsWithoutBorders = DefaultBoolean.True; Root.GroupBordersVisible = false; Root.Items.AddRange(new BaseLayoutItem[] { itemForCancelButton, itemForOkButton, emptySpaceItem1 }); Root.Name = "Root"; Root.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); Root.Size = new Size(520, 27); Root.TextVisible = false; // // itemForCancelButton // itemForCancelButton.ContentHorzAlignment = HorzAlignment.Center; itemForCancelButton.ContentVertAlignment = VertAlignment.Center; itemForCancelButton.Control = btnCancel; itemForCancelButton.Location = new Point(420, 0); itemForCancelButton.MaxSize = new Size(100, 26); itemForCancelButton.MinSize = new Size(100, 26); itemForCancelButton.Name = "itemForCancelButton"; itemForCancelButton.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 0, 0, 0); itemForCancelButton.Size = new Size(100, 27); itemForCancelButton.SizeConstraintsType = SizeConstraintsType.Custom; itemForCancelButton.TextSize = new Size(0, 0); itemForCancelButton.TextVisible = false; // // itemForOkButton // itemForOkButton.ContentHorzAlignment = HorzAlignment.Center; itemForOkButton.ContentVertAlignment = VertAlignment.Center; itemForOkButton.Control = btnOk; itemForOkButton.Location = new Point(320, 0); itemForOkButton.MaxSize = new Size(100, 26); itemForOkButton.MinSize = new Size(100, 26); itemForOkButton.Name = "itemForOkButton"; itemForOkButton.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 2, 0, 0); itemForOkButton.Size = new Size(100, 27); itemForOkButton.SizeConstraintsType = SizeConstraintsType.Custom; itemForOkButton.TextSize = new Size(0, 0); itemForOkButton.TextVisible = false; // // emptySpaceItem1 // emptySpaceItem1.AllowHotTrack = false; emptySpaceItem1.Location = new Point(0, 0); emptySpaceItem1.MinSize = new Size(1, 1); emptySpaceItem1.Name = "emptySpaceItem1"; emptySpaceItem1.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); emptySpaceItem1.Size = new Size(320, 27); emptySpaceItem1.SizeConstraintsType = SizeConstraintsType.Custom; emptySpaceItem1.TextSize = new Size(0, 0); // // SetHydroWorkingBottomCtrl // AutoScaleDimensions = new SizeF(7F, 14F); AutoScaleMode = AutoScaleMode.Font; Controls.Add(layoutControl1); Name = "SetHydroWorkingBottomCtrl"; Size = new Size(520, 27); ((ISupportInitialize)layoutControl1).EndInit(); layoutControl1.ResumeLayout(false); ((ISupportInitialize)Root).EndInit(); ((ISupportInitialize)itemForCancelButton).EndInit(); ((ISupportInitialize)itemForOkButton).EndInit(); ((ISupportInitialize)emptySpaceItem1).EndInit(); ResumeLayout(false); } #endregion private LayoutControl layoutControl1; private SimpleButton btnOk; private SimpleButton btnCancel; private LayoutControlGroup Root; private LayoutControlItem itemForCancelButton; private LayoutControlItem itemForOkButton; private EmptySpaceItem emptySpaceItem1; } }