Пример #1
0
        private void dgvcargo_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            frmCargo        car      = new frmCargo();
            DataGridViewRow rellenar = dgvcargo.Rows[e.RowIndex];

            car.txtId.Text          = rellenar.Cells["idcargo"].Value.ToString();
            car.txtdescriccion.Text = rellenar.Cells["descricargo"].Value.ToString();
            car.Show();
        }
Пример #2
0
        private void cargoToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            frmCargo ca = new frmCargo();

            ca.Show();
        }
Пример #3
0
        private void btncrear_Click(object sender, EventArgs e)
        {
            frmCargo ca = new frmCargo();

            ca.Show();
        }