private void Frm_Main_Load(object sender, EventArgs e) { BBI_Reg.Enabled = BET_ToolCode.Enabled = !TxtData.XMLConfigure.Reged; BSI_RegStatus.Caption = TxtData.XMLConfigure.Reged ? "已注册" : "未注册"; BSI_ToolCode.Caption = PublicFunc.GetDiskVolumeSerialNumber() + PublicFunc.GetCpuSerialNumber(); BI_RobotImfor_LinkClicked(this, null); // TxtData.XMLConfigure.Login = true; }