ningshuxia
13 小时以前 71c12ff40d58c3dbdde6867396dd99224e57fc32
Desktop/PBS.Desktop/Login/SystemLoginCtrl.cs
@@ -1,15 +1,4 @@
using DevExpress.XtraEditors;
using HStation.WinFrmUI;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Yw;
using Yw;
using Yw.WinFrmUI;
namespace PBS.Desktop
@@ -37,13 +26,12 @@
        /// </summary>
        public event Action<Yw.Dto.UserLoginOutput> LoginEndEvet;
        private bool _isInitialized = false;//初始化
        private const string _software = "HStation_XHS_DESKTOP";//软件编码
        private const string _software = "YW_PBS_DESKTOP";//软件编码
        /// <summary>
        /// 初始化
        /// </summary>
        /// </summary>
        public void Initial()
        {
            if (_isInitialized)
@@ -66,7 +54,6 @@
            {
            }
        }
        //取消登录
        private void btnCancel_Click(object sender, EventArgs e)
@@ -98,7 +85,6 @@
            }
        }
        //验证
        private bool Valid()
        {
@@ -117,7 +103,6 @@
            }
            return true;
        }
        //登录
        private async void Login()
@@ -144,6 +129,5 @@
            settings.Save();
            this.LoginEndEvet?.Invoke(result);
        }
    }
}
}