lu
2024-12-06 9bc81b5d30e53e8e819bdc0a36de148f5ef0e69f
调整分辨率
已修改2个文件
27 ■■■■ 文件已修改
DevApp/Gs.DevApp/DevFrm/FrmLogin.Designer.cs 22 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DevApp/Gs.DevApp/DevFrm/FrmLogin.cs 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DevApp/Gs.DevApp/DevFrm/FrmLogin.Designer.cs
@@ -72,10 +72,10 @@
            this.panel1.Controls.Add(this.labelControl2);
            this.panel1.Controls.Add(this.labelControl1);
            this.panel1.Font = new System.Drawing.Font("Tahoma", 10F);
            this.panel1.Location = new System.Drawing.Point(218, 465);
            this.panel1.Location = new System.Drawing.Point(264, 457);
            this.panel1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size(392, 276);
            this.panel1.Size = new System.Drawing.Size(270, 276);
            this.panel1.TabIndex = 243;
            // 
            // comOrg
@@ -83,9 +83,9 @@
            this.comOrg.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.comOrg.Font = new System.Drawing.Font("Tahoma", 10F);
            this.comOrg.FormattingEnabled = true;
            this.comOrg.Location = new System.Drawing.Point(101, 97);
            this.comOrg.Location = new System.Drawing.Point(100, 97);
            this.comOrg.Name = "comOrg";
            this.comOrg.Size = new System.Drawing.Size(156, 29);
            this.comOrg.Size = new System.Drawing.Size(154, 29);
            this.comOrg.TabIndex = 245;
            // 
            // txtUser
@@ -134,10 +134,10 @@
            this.btnCancel.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.HotFlat;
            this.btnCancel.Cursor = System.Windows.Forms.Cursors.Hand;
            this.btnCancel.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnCancel.ImageOptions.Image")));
            this.btnCancel.Location = new System.Drawing.Point(223, 193);
            this.btnCancel.Location = new System.Drawing.Point(153, 193);
            this.btnCancel.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.btnCancel.Name = "btnCancel";
            this.btnCancel.Size = new System.Drawing.Size(87, 37);
            this.btnCancel.Size = new System.Drawing.Size(103, 37);
            this.btnCancel.TabIndex = 15;
            this.btnCancel.Text = "取消 (&C)";
            // 
@@ -164,10 +164,10 @@
            this.btnLogin.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.HotFlat;
            this.btnLogin.Cursor = System.Windows.Forms.Cursors.Hand;
            this.btnLogin.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnLogin.ImageOptions.Image")));
            this.btnLogin.Location = new System.Drawing.Point(102, 193);
            this.btnLogin.Location = new System.Drawing.Point(36, 193);
            this.btnLogin.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.btnLogin.Name = "btnLogin";
            this.btnLogin.Size = new System.Drawing.Size(87, 37);
            this.btnLogin.Size = new System.Drawing.Size(102, 37);
            this.btnLogin.TabIndex = 14;
            this.btnLogin.Text = "登录 (&L)";
            // 
@@ -208,7 +208,7 @@
            this.label1.AutoSize = true;
            this.label1.BackColor = System.Drawing.Color.Transparent;
            this.label1.Font = new System.Drawing.Font("Tahoma", 10F);
            this.label1.Location = new System.Drawing.Point(13, 779);
            this.label1.Location = new System.Drawing.Point(13, 758);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(163, 21);
            this.label1.TabIndex = 245;
@@ -220,9 +220,9 @@
            this.Appearance.Options.UseBackColor = true;
            this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackgroundImageLayoutStore = System.Windows.Forms.ImageLayout.None;
            this.BackgroundImageLayoutStore = System.Windows.Forms.ImageLayout.Stretch;
            this.BackgroundImageStore = global::Gs.DevApp.Properties.Resources.login_bg6;
            this.ClientSize = new System.Drawing.Size(782, 806);
            this.ClientSize = new System.Drawing.Size(782, 793);
            this.Controls.Add(this.label1);
            this.Controls.Add(this.lbVersion);
            this.Controls.Add(this.panel1);
DevApp/Gs.DevApp/DevFrm/FrmLogin.cs
@@ -21,10 +21,11 @@
                _autoUpdate();
            else
                getTree();
            Text = lbVersion.Text =
                ConfigurationManager.AppSettings["ProductName"];
            Text = lbVersion.Text = ConfigurationManager.AppSettings["ProductName"];
            btnLogin.Click += BtnLogin_Click;
            btnCancel.Click += BtnCancel_Click;
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
        }
        /// <summary>