示例#1
0
        /// <summary>
        /// 检查批准文号
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnCheckApprovalNumber_Click(object sender, EventArgs e)
        {
            CloseForm();
            BaseForm.frmCheckData CheckApprovalNumber = new BaseForm.frmCheckData(panel1.Height, iden, 2, CheckDataType.批准文号);

            if (panel1.Controls.Count > 0)
            {
                (panel1.Controls[0] as DevComponents.DotNetBar.Office2007Form).Close();
            }
            panel1.Controls.Clear();
            panel1.Controls.Add(CheckApprovalNumber);
            CheckApprovalNumber.Show();
        }
示例#2
0
        /// <summary>
        /// 检查销售单位
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnCheckGoodsUnit_Click(object sender, EventArgs e)
        {
            CloseForm();
            BaseForm.frmCheckData CheckUnit = new BaseForm.frmCheckData(panel1.Height, iden, 2, CheckDataType.销售单位);

            if (panel1.Controls.Count > 0)
            {
                (panel1.Controls[0] as DevComponents.DotNetBar.Office2007Form).Close();
            }
            panel1.Controls.Clear();
            panel1.Controls.Add(CheckUnit);
            CheckUnit.Show();
        }