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; namespace MorClient.UserFrmFrame { public partial class FrmUserExits : Form { static bool openState = false; public bool GetOpenState() { return openState; } public FrmUserExits() { InitializeComponent(); } /// /// 确定 关闭系统 /// /// /// private void uiButton1_Click(object sender, EventArgs e) { openState = true; this.Close(); } /// /// 关闭 /// /// /// private void uiButton3_Click(object sender, EventArgs e) { this.Close(); } } }