using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;
namespace Member
{
public partial class frmMember : Form
{
public frmMember()
{
InitializeComponent();
}
/// <summary>
/// 增加按钮事件
/// </summary>
private void btnAdd_Click(object sender, EventArgs e)
{
string sex = rdoMan.Checked ? rdoMan.Text : rdoWomen.Text;//判断性别
if(txtName.Text=="")
{
MessageBox.Show("姓名不能为空!","提示",MessageBoxButtons.OK,MessageBoxIcon.Information);
}
if (txtCardNo.Text=="")