Пример #1
0
        private void btnCrear_Click(object sender, EventArgs e)
        {
            PickUp p = new PickUp(txtPatentee.Text, txtModelo.Text);

            MessageBox.Show(p.ConsultarDatos());
            MessageBox.Show(p.ImprimirTicket());
        }
Пример #2
0
        private void btnCrear_Click(object sender, EventArgs e)
        {
            PickUp pu = new PickUp(this.txtPatente.Text, this.txtModelo.Text);

            MessageBox.Show(pu.ImprimirTicket(), "PickUp", MessageBoxButtons.OK);
        }