lu
2025-10-11 3b5e7bea9ef940163d782ec3e38f3b024e47e370
更新采集提示
已修改3个文件
23 ■■■■ 文件已修改
DevApp/Gs.DevApp/App.config 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DevApp/Gs.DevApp/UserControl/Toast.Designer.cs 16 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DevApp/Gs.DevApp/UserControl/Toast.cs 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DevApp/Gs.DevApp/App.config
@@ -37,8 +37,8 @@
    <appSettings>
        <!--<add key="webapiurl" value="http://localhost:5263/" />-->
        <!--<add key="WebApiUrl" value="http://192.168.1.145:8081/" />-->
        <add key="WebApiUrl" value="http://192.168.1.145:81/" />
        <add key="WebApiUrl" value="http://192.168.1.145:8081/" />
        <!--<add key="WebApiUrl" value="http://192.168.1.145:81/" />-->
        <add key="LogPath" value="logs" />
        <add key="ProductName" value="G-MES V2.0" />
        <add key="PageSize" value="50" />
DevApp/Gs.DevApp/UserControl/Toast.Designer.cs
@@ -63,13 +63,13 @@
            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.Size = new System.Drawing.Size(543, 486);
            this.panel1.TabIndex = 8;
            // 
            // testo
            // 
            this.testo.Appearance.BackColor = System.Drawing.Color.Firebrick;
            this.testo.Appearance.Font = new System.Drawing.Font("Tahoma", 22F);
            this.testo.Appearance.Font = new System.Drawing.Font("Tahoma", 38F);
            this.testo.Appearance.ForeColor = System.Drawing.Color.White;
            this.testo.Appearance.Options.UseBackColor = true;
            this.testo.Appearance.Options.UseFont = true;
@@ -79,9 +79,9 @@
            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.Location = new System.Drawing.Point(12, 502);
            this.testo.Name = "testo";
            this.testo.Size = new System.Drawing.Size(543, 45);
            this.testo.Size = new System.Drawing.Size(543, 76);
            this.testo.StyleController = this.layoutControl1;
            this.testo.TabIndex = 7;
            this.testo.Text = "labelControl1";
@@ -101,7 +101,7 @@
            columnDefinition1});
            rowDefinition1.Height = 100D;
            rowDefinition1.SizeType = System.Windows.Forms.SizeType.Percent;
            rowDefinition2.Height = 49D;
            rowDefinition2.Height = 80D;
            rowDefinition2.SizeType = System.Windows.Forms.SizeType.AutoSize;
            this.Root.OptionsTableLayoutGroup.RowDefinitions.AddRange(new DevExpress.XtraLayout.RowDefinition[] {
            rowDefinition1,
@@ -114,7 +114,7 @@
            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.Size = new System.Drawing.Size(547, 490);
            this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0);
            this.layoutControlItem2.TextVisible = false;
            // 
@@ -123,10 +123,10 @@
            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.Location = new System.Drawing.Point(0, 490);
            this.layoutControlItem1.Name = "layoutControlItem1";
            this.layoutControlItem1.OptionsTableLayoutItem.RowIndex = 1;
            this.layoutControlItem1.Size = new System.Drawing.Size(547, 49);
            this.layoutControlItem1.Size = new System.Drawing.Size(547, 80);
            this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0);
            this.layoutControlItem1.TextVisible = false;
            // 
DevApp/Gs.DevApp/UserControl/Toast.cs
@@ -17,7 +17,7 @@
        /// <param name="it">1成功,-1失败</param>
        /// <param name="messageText"></param>
        /// <param name="vanishingSeconds">动画延长时间</param>
        public Toast(int it, string messageText, int vanishingSeconds = 3)
        public Toast(int it, string messageText, int vanishingSeconds = 5)
        {
            InitializeComponent();
            try
@@ -28,6 +28,7 @@
            }
            catch (Exception)
            {
            }
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Toast));
            if (it > 0)