private void tlsGetRandomData_Click(object sender, EventArgs e) { if (!this.tlsStartSimulator.Enabled) { MessageBox.Show("在提取坐标点之前, 请先停止GPS模拟器服务.", "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning); return; } frmLoadRandomLocation oFrmLoadRandomLocation = new frmLoadRandomLocation(); oFrmLoadRandomLocation.Show(); }