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 Diaoyong { public partial class Form1 : Form { public Form1() { InitializeComponent(); } protected override void OnShown(EventArgs e) { displayResult1.init(); base.OnShown(e); } protected override void OnClosing(CancelEventArgs e) { displayResult1.close(); base.OnClosing(e); } private void displayResult1_Load(object sender, EventArgs e) { } } }