예제 #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            Form alta = new AbmFactura.AltaFactura(this);

            alta.Show();
            this.Hide();
        }
예제 #2
0
 public ListarClientes(AbmFactura.AltaFactura altaFactura)
 {
     InitializeComponent();
     _altaFactura   = altaFactura;
     cmdEditar.Text = "Seleccionar";
     cmdMenu.Hide();
     cmdCancelar.Show();
 }
예제 #3
0
        private void generarFactura_Click(object sender, EventArgs e)
        {
            if (dataGridView1.Rows.Count == 0)
            {
                MessageBox.Show("Debe registrar al menos un item ", "error", MessageBoxButtons.OK);
                return;
            }
            Form formularioSiguiente = new AbmFactura.AltaFactura(dataGridView1);

            formularioSiguiente.Visible = true;
            this.Visible = false;
        }