From dc5ce426fbcfefc31e8d95983cd482e1332c2749 Mon Sep 17 00:00:00 2001 From: Shuxia Ning <NingShuxia0927@outlook.com> Date: 星期三, 11 十二月 2024 17:27:11 +0800 Subject: [PATCH] 导出图片 --- Desktop/HStation.Desktop.Xhs.Core/Login/LoginFrm.cs | 26 ++++++++------------------ 1 files changed, 8 insertions(+), 18 deletions(-) diff --git a/Desktop/HStation.Desktop.Xhs.Core/Login/LoginFrm.cs b/Desktop/HStation.Desktop.Xhs.Core/Login/LoginFrm.cs index 0daa72c..65631f7 100644 --- a/Desktop/HStation.Desktop.Xhs.Core/Login/LoginFrm.cs +++ b/Desktop/HStation.Desktop.Xhs.Core/Login/LoginFrm.cs @@ -1,14 +1,5 @@ -锘縰sing System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Data; -using System.Drawing; -using System.Text; -using System.Linq; -using System.Threading.Tasks; -using System.Windows.Forms; -using System.Configuration; -using DevExpress.XtraEditors; +锘縰sing DevExpress.XtraEditors; +using Yw.WinFrmUI; namespace HStation.Desktop { @@ -17,9 +8,8 @@ public LoginFrm() { InitializeComponent(); - //this.IconOptions.Icon = Properties.Resources.App; - //this.layoutControl1.SetupLayoutControl(); - //this.layoutControl2.SetupLayoutControl(); + this.layoutControl1.SetupLayoutControl(); + this.layoutControl2.SetupLayoutControl(); this.Load += LoginBigFrm_Load; } @@ -56,10 +46,10 @@ protected override void OnPaint(PaintEventArgs e) { base.OnPaint(e); - using (var pen = new Pen(Color.FromArgb(0, 122, 204), 1f)) - { - e.Graphics.DrawRectangle(pen, 0.5f, 0.5f, this.Width - 1, this.Height - 1); - } + //using (var pen = new Pen(Color.FromArgb(0, 122, 204), 1f)) + //{ + // e.Graphics.DrawRectangle(pen, 0.5f, 0.5f, this.Width - 1, this.Height - 1); + //} } //楠岃瘉 -- Gitblit v1.9.3