示例#1
0
        private void button3_Click(object sender, EventArgs e)
        {
            if (InOrderNo == null)
            {
                MessageBox.Show("请选手动选择入场车辆");
                return;
            }
            string LicensePlateNo = InLicensePlateNo.Text.ToString();
            string result         = PBLL.UpdateLicensePlateNo(LicensePlateNo, InOrderNo);

            MessageBox.Show(result);
        }
示例#2
0
        private void button3_Click(object sender, EventArgs e)
        {
            string LicensePlateNo = InLicensePlateNo.Text.ToString();
            int    result         = PBLL.UpdateLicensePlateNo(LicensePlateNo, InOrderNo);

            if (result == 0)
            {
                MessageBox.Show("车牌修正失败,请联系管理员!");
            }
            else
            {
                MessageBox.Show("车牌修正成功!");
            }
        }
示例#3
0
        /// <summary>
        /// 修正车牌号码
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void buttonXiuzheng_Click(object sender, EventArgs e)
        {
            if (string.IsNullOrEmpty(xiuzhengOrderNo))
            {
                MessageBox.Show("请在左侧选择需要修正的车牌数据!");
                return;
            }
            if (string.IsNullOrEmpty(textBoxCarNum.Text.ToString().Trim()))
            {
                MessageBox.Show("请输入修正的车牌号码!");
                return;
            }
            string LicensePlateNo = textBoxCarNum.Text.ToString();
            string result         = Pbll.UpdateLicensePlateNo(LicensePlateNo, xiuzhengOrderNo);

            MessageBox.Show(result);
        }