Exemple #1
0
        private void dgvParts_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            var _partID = int.Parse(dgvParts.SelectedRows[0].Cells[0].Value.ToString());
            frmCarPartsAddingUpdateDelete frm = new frmCarPartsAddingUpdateDelete(_carServiceID, _partID);

            frm.Show();
        }
Exemple #2
0
        private void txtAddCarPart_Click(object sender, EventArgs e)
        {
            frmCarPartsAddingUpdateDelete frm = new frmCarPartsAddingUpdateDelete(_carServiceID, null);

            frm.Show();
        }