| 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 NationCodeInfo : Form
 
-     {
 
-         public string NationCode = "", NationName = "";
 
-         public NationCodeInfo(string standardCode)
 
-         {
 
-             InitializeComponent();
 
-             tb_NationCode.Text = standardCode;
 
-         }
 
-         private void btn_OK_Click(object sender, EventArgs e)
 
-         {            
 
-             NationCode = tb_NationCode.Text;
 
-             NationName = tb_NatiionName.Text;
 
-             if (string.IsNullOrEmpty(NationCode))
 
-             {
 
-                 MessageBox.Show("贯标代码不能为空!");
 
-                 return;
 
-             }
 
-             DialogResult = DialogResult.OK;
 
-         }
 
-         private void NationCodeInfo_Shown(object sender, EventArgs e)
 
-         {
 
-             tb_NationCode.Focus();
 
-         }
 
-         private void btn_Cancel_Click(object sender, EventArgs e)
 
-         {
 
-             DialogResult = DialogResult.Cancel;
 
-         }
 
-     }
 
- }
 
 
  |