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 SanSystem { /// /// /// public partial class frmExceptionWindow : Form { /// /// /// /// public frmExceptionWindow(string message) { InitializeComponent(); txt_error.Text = message; txt_error.ReadOnly = true; } private void Button1_Click(object sender, EventArgs e) { Environment.Exit(0); } } }