Exemple #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            string    barcode = randNumbers();
            String    price   = (Convert.ToDouble(tbxPack.Text) * Convert.ToInt32(lblPrice.Text)).ToString();
            printForm prt     = new printForm(tbxName.Text, price, barcode);

            prt.ShowDialog();
        }
Exemple #2
0
        private void btnBarcode_Click(object sender, EventArgs e)
        {
            printForm pr = new printForm(tbxName.Text, tbxPrice.Text, tbxShtrix.Text);

            pr.ShowDialog();
        }