| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows.Forms;
- namespace PTMedicalInsurance.Forms
- {
- public partial class CenterResult : Form
- {
- public string returnData;
- private string tradeNo;
- public CenterResult()
- {
- InitializeComponent();
- }
- private void btnCancel_Click(object sender, EventArgs e)
- {
- this.returnData = "{infcode:-1}";
- DialogResult = DialogResult.OK;
- Close();
- }
- public void setTradeNo(string no, string input)
- {
- this.tradeNo = no;
- //this.txtInput.AppendText(input);
- this.label4.Text = string.Format("请输入【{0}】交易的返回结果:", no);
- }
- public void setTradeNo(string no)
- {
- this.label4.Text = string.Format("请输入【{0}】交易的返回结果:",no);
- }
- private void btnOK_Click(object sender, EventArgs e)
- {
- this.returnData = txtOutput.Text.Trim();
- DialogResult = DialogResult.OK;
- Close();
- }
- }
- }
|