Example #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            //producto.Codigo = "";
            Form_factura Facturas = new Form_factura();

            Facturas.Show(this);
        }
Example #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            Form_factura form_interface = this.Owner as Form_factura;

            foreach (DataGridViewRow row in dtTrasferencias.Rows)
            {
                if (Convert.ToBoolean(row.Cells["chk"].Value) == true)
                {
                    form_interface.dtdocumentos.Rows.Add(row.Cells["id"].Value.ToString(), "traspaso");
                }
            }
            form_interface.txtIdCliente.Text = txtIdSucursal.Text;
            form_interface.txtCliente.Text   = txtSucursal.Text;

            this.Close();
        }