using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace InvoicingTool { public partial class PaymentMenu : Form { string _PayType = ""; public string PayType { get { return _PayType; } set { _PayType = value; } } public PaymentMenu() { InitializeComponent(); } private void btnAlipay_Click(object sender, EventArgs e) { _PayType = "ALIPAY"; DialogResult = DialogResult.OK; Close(); } private void btnWechat_Click(object sender, EventArgs e) { _PayType = "WECHAT"; DialogResult = DialogResult.OK; Close(); } } }