예제 #1
0
        private void buttonGetPayDetail_Click(object sender, EventArgs e)
        {
            groupBoxPayDetail.Visible = false;
            String payKey = textBoxPayDetail_PayKey.Text;

            if (payKey == "")
            {
                f**k();
                return;
            }
            String res = PaymentDetail.request(textBoxPayDetail_PayKey.Text);

            groupBoxPayDetail.Visible = true;
            richTextBoxPayDetail.Text = res;

            NVPCodec decoder = new NVPCodec();

            decoder.Decode(res);

            textBoxPayDetail_Amount.Text   = decoder["paymentInfoList.paymentInfo(0).receiver.amount"];
            textBoxPayDetail_Status.Text   = decoder["status"];
            textBoxPayDetail_Sender.Text   = decoder["senderEmail"];
            textBoxPayDetail_Receiver.Text = decoder["paymentInfoList.paymentInfo(0).receiver.email"];
        }