private void 注册本软件_Click(object sender, EventArgs e) { frmReg frm = new frmReg(); frm.StartPosition = FormStartPosition.CenterParent; frm.ShowDialog(); }