private void btnImage_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
        {
            try
            {
                if (tbBarcode.Text.Equals(""))
                {
                    XtraMessageBox.Show("请输入 Barcode No", "提示");
                    tbBarcode.Focus();
                    return;
                }

                ImageUploadForm frmNew = new ImageUploadForm(tbBarcode.Text.Trim());
                DialogResult    dg     = frmNew.ShowDialog();
                if (dg == DialogResult.OK)
                {
                    btnImage.Text = frmNew.ReturnValue;
                }
            }
            catch (Exception btnImage_ButtonClick)
            {
                XtraMessageBox.Show(this, "System error[btnImage_ButtonClick]: " + btnImage_ButtonClick.Message);
            }
        }
        private void btnUpload_Click(object sender, EventArgs e)
        {
            try
            {
                if (tbBarcode.Text.Equals(""))
                {
                    XtraMessageBox.Show("请输入 Barcode No", "提示");
                    tbBarcode.Focus();
                    return;
                }

                ImageUploadForm frmNew = new ImageUploadForm(tbBarcode.Text.Trim());
                DialogResult    dg     = frmNew.ShowDialog();
                if (dg == DialogResult.OK)
                {
                    lbImg.Text      = "图片上传成功";
                    lbImg.ForeColor = Color.Green;
                }
            }
            catch (Exception btnImage_ButtonClick)
            {
                XtraMessageBox.Show(this, "System error[btnImage_ButtonClick]: " + btnImage_ButtonClick.Message);
            }
        }