Shuxia Ning
2024-12-11 dc5ce426fbcfefc31e8d95983cd482e1332c2749
Desktop/HStation.Desktop.Xhs.Core/Login/LoginFrm.cs
@@ -1,14 +1,5 @@
using 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;
using 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);
            //}
        }
        //验证