コード例 #1
0
        private void btnAdd_Click(object sender, EventArgs e)  //为添加做准备
        {
            DisbleButton();
            txtPrizeID.Enabled = false;
            txtPrizeID.Text    = objPrizeService.GetNewPrizeID(Program.objListPrize);

            txtPrizeLevel.Text  = string.Empty;
            txtPrizeName.Text   = string.Empty;
            txtPrizeNumber.Text = string.Empty;

            txtPrizeLevel.Focus();
            actionFlag = 1;
        }