using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Data.SqlTypes; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using PTMedicalInsurance.Common; namespace PTMedicalInsurance.Forms { public partial class ChooseCard : Form { public string cardType; public string businessType; public string ID; public string prmYabtch;//同城化标识 public ChooseCard() { InitializeComponent(); cbCardType.SelectedIndex = 3; rbGuiYang.Checked = true; } private void btOk_Click(object sender, EventArgs e) { cardType = cbCardType.Text.Substring(0, 2); if (rbGuiZhou.Checked) { prmYabtch = "9900"; } if (rbGuiYang.Checked) { prmYabtch = "0100"; } if (rbGongShang.Checked) { prmYabtch = "GS01"; } this.DialogResult = DialogResult.OK; } private void btCancle_Click(object sender, EventArgs e) { this.DialogResult = DialogResult.Cancel; } } }