void tsmPrint_Click(object sender, EventArgs e) { if (_contract == null || _details == null) { MessageBox.Show("请查询出合同信息再打印。"); return; } _contract.moneydaxie = ctlmoney.Text; PrintUtil.PrintContract1(_contract, _details); }