private void btnGetId_Click(object sender, EventArgs e) { GetPCId getpcid = new GetPCId(); txtRWcontent.Text = "IP地址为:\r\n" + getpcid.StrAddr + "\r\n" + getpcid.GetCPUName() + "\r\n" + getpcid.GetHostName() + "\r\n" + getpcid.GetMemoryInfo() + "\r\n" + getpcid.GetGPUInfo() + "\r\n" + getpcid.GetSolutionInfo(); this.labInfo.Text = "支持的信息已被读入!"; }