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;

        public CenterResult()
        {
            InitializeComponent();
        }

        private void btnCancel_Click(object sender, EventArgs e)
        {
            this.returnData = "{infcode:-1}";
            DialogResult = DialogResult.OK;
            Close();
        }

        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();
        }
    }
}
