Ejemplo n.º 1
0
        private void buttonEdit_Click(object sender, EventArgs e)
        {
            int selectedIndex  = dataGridView1.CurrentCell.RowIndex;
            int Id             = (int)dataGridView1.Rows[selectedIndex].Cells[0].Value;
            ShipmentEditForm f = new ShipmentEditForm(getInstance(), Id);

            f.ShowDialog();
        }
Ejemplo n.º 2
0
        private void buttonCreate_Click(object sender, EventArgs e)
        {
            ShipmentEditForm f = new ShipmentEditForm(getInstance());

            f.ShowDialog();
        }