Пример #1
0
 private void button5_Click(object sender, EventArgs e)
 {
     if (lab_kahao.Text != "")
     {
         if (lab_zhuangtai.Text == "报销")
         {
             MessageBox.Show("该会员已报销不可使用!");
             return;
         }
         else if (lab_zhuangtai.Text == "挂失")
         {
             MessageBox.Show("该会员已挂失不可使用!");
             return;
         }
         else
         {
             Frm_ShouYi frm = new Frm_ShouYi();
             frm.kaHao = lab_kahao.Text;
             frm.Show();
         }
     }
     else
     {
         MessageBox.Show("卡号为空!");
     }
 }
Пример #2
0
 private void toolStripButton1_Click(object sender, EventArgs e)
 {
     if (lab_kahao.Text != "")
     {
         Frm_ShouYi frm = new Frm_ShouYi();
         frm.kaHao = lab_kahao.Text;
         frm.Show();
     }
     else
     {
         MessageBox.Show("卡号为空!");
     }
 }