예제 #1
0
        //申请开户
        private void buttonApplyCheck_Click(object sender, EventArgs e)
        {
            string allocated_card = this.labelApplyCard.Text;

            try
            {
                bool flag = User.Register_Card(CurUserName, allocated_card);
                Bank.productinitial(allocated_card);
                if (flag)
                {
                    MessageBox.Show("申请成功!");
                }
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message.ToString());
            }
        }