From fbe33a615f1c4e798a0f8e58163e68c3ce789614 Mon Sep 17 00:00:00 2001
From: lg <123456>
Date: 星期四, 20 十一月 2025 10:17:49 +0800
Subject: [PATCH] 初始化标准版
---
DevApp/Gs.DevApp/UserControl/Toast.Designer.cs | 125 ++++-------------------------------------
1 files changed, 14 insertions(+), 111 deletions(-)
diff --git a/DevApp/Gs.DevApp/UserControl/Toast.Designer.cs b/DevApp/Gs.DevApp/UserControl/Toast.Designer.cs
index b654e33..e7456e5 100644
--- a/DevApp/Gs.DevApp/UserControl/Toast.Designer.cs
+++ b/DevApp/Gs.DevApp/UserControl/Toast.Designer.cs
@@ -28,105 +28,18 @@
/// </summary>
private void InitializeComponent()
{
- DevExpress.XtraLayout.ColumnDefinition columnDefinition1 = new DevExpress.XtraLayout.ColumnDefinition();
- DevExpress.XtraLayout.RowDefinition rowDefinition1 = new DevExpress.XtraLayout.RowDefinition();
- DevExpress.XtraLayout.RowDefinition rowDefinition2 = new DevExpress.XtraLayout.RowDefinition();
- this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
- this.panel1 = new System.Windows.Forms.Panel();
- this.testo = new DevExpress.XtraEditors.LabelControl();
- this.Root = new DevExpress.XtraLayout.LayoutControlGroup();
- this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
- this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
- ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
- this.layoutControl1.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
+ this.lbMsg = new DevExpress.XtraEditors.LabelControl();
this.SuspendLayout();
//
- // layoutControl1
+ // lbMsg
//
- this.layoutControl1.Controls.Add(this.panel1);
- this.layoutControl1.Controls.Add(this.testo);
- this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.layoutControl1.Location = new System.Drawing.Point(0, 0);
- this.layoutControl1.Name = "layoutControl1";
- this.layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(1108, 126, 812, 500);
- this.layoutControl1.Root = this.Root;
- this.layoutControl1.Size = new System.Drawing.Size(567, 590);
- this.layoutControl1.TabIndex = 9;
- this.layoutControl1.Text = "layoutControl1";
- //
- // panel1
- //
- this.panel1.BackgroundImage = global::Gs.DevApp.Properties.Resources.ok123;
- this.panel1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.panel1.Location = new System.Drawing.Point(12, 12);
- this.panel1.Name = "panel1";
- this.panel1.Size = new System.Drawing.Size(543, 517);
- this.panel1.TabIndex = 8;
- //
- // testo
- //
- this.testo.Appearance.Font = new System.Drawing.Font("Tahoma", 22F);
- this.testo.Appearance.ForeColor = System.Drawing.Color.Black;
- this.testo.Appearance.Options.UseFont = true;
- this.testo.Appearance.Options.UseForeColor = true;
- this.testo.Appearance.Options.UseTextOptions = true;
- this.testo.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
- this.testo.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
- this.testo.Appearance.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
- this.testo.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.Vertical;
- this.testo.Location = new System.Drawing.Point(12, 533);
- this.testo.Name = "testo";
- this.testo.Size = new System.Drawing.Size(543, 45);
- this.testo.StyleController = this.layoutControl1;
- this.testo.TabIndex = 7;
- this.testo.Text = "labelControl1";
- //
- // Root
- //
- this.Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
- this.Root.GroupBordersVisible = false;
- this.Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
- this.layoutControlItem2,
- this.layoutControlItem1});
- this.Root.LayoutMode = DevExpress.XtraLayout.Utils.LayoutMode.Table;
- this.Root.Name = "Root";
- columnDefinition1.SizeType = System.Windows.Forms.SizeType.Percent;
- columnDefinition1.Width = 100D;
- this.Root.OptionsTableLayoutGroup.ColumnDefinitions.AddRange(new DevExpress.XtraLayout.ColumnDefinition[] {
- columnDefinition1});
- rowDefinition1.Height = 100D;
- rowDefinition1.SizeType = System.Windows.Forms.SizeType.Percent;
- rowDefinition2.Height = 49D;
- rowDefinition2.SizeType = System.Windows.Forms.SizeType.AutoSize;
- this.Root.OptionsTableLayoutGroup.RowDefinitions.AddRange(new DevExpress.XtraLayout.RowDefinition[] {
- rowDefinition1,
- rowDefinition2});
- this.Root.Size = new System.Drawing.Size(567, 590);
- this.Root.TextVisible = false;
- //
- // layoutControlItem2
- //
- this.layoutControlItem2.Control = this.panel1;
- this.layoutControlItem2.Location = new System.Drawing.Point(0, 0);
- this.layoutControlItem2.Name = "layoutControlItem2";
- this.layoutControlItem2.Size = new System.Drawing.Size(547, 521);
- this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0);
- this.layoutControlItem2.TextVisible = false;
- //
- // layoutControlItem1
- //
- this.layoutControlItem1.ContentHorzAlignment = DevExpress.Utils.HorzAlignment.Center;
- this.layoutControlItem1.ContentVertAlignment = DevExpress.Utils.VertAlignment.Center;
- this.layoutControlItem1.Control = this.testo;
- this.layoutControlItem1.Location = new System.Drawing.Point(0, 521);
- this.layoutControlItem1.Name = "layoutControlItem1";
- this.layoutControlItem1.OptionsTableLayoutItem.RowIndex = 1;
- this.layoutControlItem1.Size = new System.Drawing.Size(547, 49);
- this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0);
- this.layoutControlItem1.TextVisible = false;
+ this.lbMsg.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.lbMsg.Location = new System.Drawing.Point(0, 0);
+ this.lbMsg.Name = "lbMsg";
+ this.lbMsg.Padding = new System.Windows.Forms.Padding(4);
+ this.lbMsg.Size = new System.Drawing.Size(89, 26);
+ this.lbMsg.TabIndex = 0;
+ this.lbMsg.Text = "labelControl1";
//
// Toast
//
@@ -134,32 +47,22 @@
this.Appearance.Options.UseBackColor = true;
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(567, 590);
+ this.ClientSize = new System.Drawing.Size(298, 260);
this.ControlBox = false;
- this.Controls.Add(this.layoutControl1);
+ this.Controls.Add(this.lbMsg);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "Toast";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
- this.Text = "VanishingMessage";
this.TopMost = true;
- this.TransparencyKey = System.Drawing.Color.White;
- ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
- this.layoutControl1.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
this.ResumeLayout(false);
+ this.PerformLayout();
}
#endregion
- private System.Windows.Forms.Panel panel1;
- private DevExpress.XtraLayout.LayoutControl layoutControl1;
- private DevExpress.XtraLayout.LayoutControlGroup Root;
- private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2;
- private DevExpress.XtraEditors.LabelControl testo;
- private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1;
+
+ private DevExpress.XtraEditors.LabelControl lbMsg;
}
}
\ No newline at end of file
--
Gitblit v1.9.3