示例: private FamilyComputerCore.FamilyComputer fc = null; private void 开始ToolStripMenuItem_Click(object sender, EventArgs e) { if (fc != null) { fc.Close(); } fc = new FamilyComputerCore.FamilyComputer(); fc.SetDisplayControl(panel1.Handle);