Exemple #1
0
        private void dataGridViewBookingPassengers_DoubleClick(object sender, EventArgs e)
        {
            var editForm = new BookingPassengerEdit();

            editForm.MdiParent = this.MdiParent;
            editForm.ShowAsEdit((System.Guid)dataGridViewBookingPassengers.CurrentRow.Cells["BookingPassengerId"].Value);
        }
Exemple #2
0
        private void buttonCrudeBookingPassengerAdd_Click(object sender, EventArgs e)
        {
            var editForm = new BookingPassengerEdit();

            editForm.MdiParent = this.MdiParent;
            editForm.ShowAsAddByBookingAndUser(_bookingContract.Booking.BookingId, _userId);
        }