Пример #1
0
        public FormPrintBarCode( )
        {
            InitializeComponent( );

            barCodeDao.Bll.barCodeReportBll _bll = new barCodeDao.Bll.barCodeReportBll( );

            DateTime dtOne = _bll.GetTime( );

            textBox3.Text = (Convert.ToInt32(dtOne.Year.ToString( ).Substring(2, 2)) + 50).ToString( ) + (dtOne.Month + 50).ToString( ) + (dtOne.Day).ToString( ).PadLeft(2, '0');
            //BarCodeUtility . GetDataSource ( comboBox4 ,"BAR006" );
            BarCodeUtility.GetDataSource(comboBox1, "BAR007");
            textBox1.Text = "1";
        }
Пример #2
0
 private void combar011_Click(object sender, EventArgs e)
 {
     BarCodeUtility.GetDataSource(combar011, "BAR011");
 }